All Questions
38 questions
3
votes
1
answer
166
views
Synchronize clock tick for timed action
The code shown below goes back to the tutorial How to Use a Timer in Tkinter.
I first simplified the tkinter import by restriction to Python 3.
Then I found a ...
3
votes
1
answer
2k
views
Script to stop a program after a certain amount of time
I created this script because the Spotify desktop app doesn't have a built in sleep timer, and I needed one. I made it as easy to use as possible, and it can close other programs because it asks for ...
2
votes
1
answer
593
views
Clear output line in terminal after use for countdown (different length strings)
The method to overwrite the same line is well known and I use it for countdown, but what about when the next output string has a different size and will be generated by a single print? That's the ...
1
vote
0
answers
172
views
Timer with input, sound and flashing ( Just timer :) )
I know that this program is not very outstanding, but I'm learning "Python" and decided to publish this code in order to get some advice and parting words and overall evaluation of the ...
6
votes
3
answers
1k
views
Python analog clock with turtle - runs slow
I made a python analog clock program with turtle. The problem is, it takes about 1.4 seconds to loop, so it only moves the second hand every 1.4 seconds. Its probably cuz my computer is slow...
...
7
votes
1
answer
971
views
Digital clock with Python Tkinter
While learning about python tkinter, I decided to make a digital clock:
...
3
votes
0
answers
81
views
Python script that getting list of all files with specific ext starting from the current folder. Using timer for reporting about the process
I am using a function that returns a list of all files (full path for each of them) with the given extension in the given folder and all subfolders.
As the process is quite long and user can get ...
4
votes
2
answers
900
views
Timer with interval function
I've been tasked with writing a function that executes a passed function every interval, passed to the function by the user. Below is the code, and how to call it:
...
6
votes
2
answers
354
views
Productivity/Timer app that uses twilio to send SMS-reminders
I wrote a timer app in python using both twilio and the timer module; sends an sms to my phone after a certain amount of time has passed. While it works without a doubt, I wanted to gather some ideas/...
3
votes
1
answer
120
views
Plot timings for a range of inputs MkII
To celebrate questions getting more reputation points per upvote, I revisited my previous question, Plot timings for a range of inputs.
Since the time of that original question (more than two years!),...
5
votes
2
answers
97
views
Report time on whole hours
Report time at whole hours
...
6
votes
2
answers
312
views
pydoro - terminal tomato timer
I've recently created a tomato timer for terminal. It's hosted in github.
My concerns are how Pythonic my code is? Is the way I'm handling state transitions good? Which areas of the text user ...
5
votes
1
answer
129
views
Game clock with configurable rate
Licensed source can be found here.
The intent behind this class is to allow different game systems to run at their own clock rate. The physics integration rate should not be connected to the screen ...
3
votes
1
answer
3k
views
Tkinter stopwatch
As part of a personal project, I wanted to make a stopwatch with Python. I wish to show my friend but at the moment it is a little messy and long. Is there any way to make it more compact or easier to ...
6
votes
1
answer
21k
views
Countdown Timer in Python
I am a beginner in Python and I am yet to move on from the basics to things like OOP.I wrote all of this code (Python 3) in an hour or so for a simple countdown timer.Although some parts of it are ...