Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: MatplotibTicks every 24 hours
Post: RE: MatplotibTicks every 24 hours

(Oct-02-2022, 04:31 PM)Larz60+ Wrote: when using tkinter, you can use 'after' to interrupt a process see: https://stackoverflow.com/a/25753719 Yes but that does not help my ticks problem
TamP General Coding Help 4 1,105 Oct-03-2022, 08:13 AM
    Thread: MatplotibTicks every 24 hours
Post: RE: MatplotibTicks every 24 hours

I have two python scripts. One gathers Time, Date and temperature from a BME280 sensor on a raspberry Pi. The second script displays a chart of the date time and temperature. However it defaults to ho...
TamP General Coding Help 4 1,105 Oct-02-2022, 11:12 AM
    Thread: MatplotibTicks every 24 hours
Post: MatplotibTicks every 24 hours

My code displays temperatures imported from an excel sheet. The graph works as I want but I cannot see how to show an xtick every 24 hours rather than the hourly ticks it is currently showing This beg...
TamP General Coding Help 4 1,105 Sep-18-2022, 10:48 AM
    Thread: Python script on windows 10 shuts down
Post: Python script on windows 10 shuts down

My python script runs on Windows 10. It uses various libraries including tkinter. Opening it in idle, it runs perfectly. I right click on the script and associate it with python. When I double click t...
TamP General Coding Help 2 2,475 Mar-07-2021, 08:55 AM
    Thread: Open windows media player minimised
Post: Open windows media player minimised

I am trying to open windows media player, minimised, from Python like so os.system ("start wmplayer.exe /min C:\\Users\user\Desktop\output.mp3") Can anyone help ?
TamP General Coding Help 1 2,169 Aug-02-2020, 08:56 AM
    Thread: Pillow on windows
Post: RE: Pillow on windows

You were correct of course. I uninstalled python completely and reinstalled All is well Thanks
TamP General Coding Help 2 1,623 Jul-29-2020, 12:50 PM
    Thread: Pillow on windows
Post: Pillow on windows

I am running python 32bit 3.8.4 on Windows 10 I installed pillow with, pip install Pillow but python does not like this and returns PIL not found from tkinter import * from PIL import ImageTk,Image ...
TamP General Coding Help 2 1,623 Jul-29-2020, 11:17 AM
    Thread: pyinstaller problem
Post: RE: pyinstaller problem

I dont know why, but this script works for me using pyinstaller The resulting avi plays back import cv2 import numpy as np import time # Create a VideoCapture object cap = cv2.VideoCapture(1) #cam...
TamP Data Science 8 7,277 Apr-02-2018, 10:51 AM
    Thread: pyinstaller problem
Post: RE: pyinstaller problem

There are two cameras but I only use camera(1) Can I point out that the script works perfectly and the output is fine. It is only when I make an exe with Pyinstaller that the output is Zero bytes
TamP Data Science 8 7,277 Mar-28-2018, 08:01 AM
    Thread: pyinstaller problem
Post: RE: pyinstaller problem

No error messages. It writes the output avi but when I go to playback, the avi fails as it is zero bytes Where do I look for the log. I am entering pyinstaller --onefile myscript.pyw to make the exe I...
TamP Data Science 8 7,277 Mar-27-2018, 11:48 AM
    Thread: pyinstaller problem
Post: pyinstaller problem

I am using python 3.5 on Windows 10 I use a simple script to capture from the WebCam It produces an avi file called output.avi This works well However Using pyinstaller the exe works but the resulting...
TamP Data Science 8 7,277 Mar-27-2018, 07:54 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020