Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
Wolf's user avatar
  • 375
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 ...
user avatar
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 ...
Digital Farmer's user avatar
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 ...
Feraun's user avatar
  • 41
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... ...
Kovy Jacob's user avatar
7 votes
1 answer
971 views

Digital clock with Python Tkinter

While learning about python tkinter, I decided to make a digital clock: ...
TheHappyBee's user avatar
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 ...
SlavaB's user avatar
  • 31
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: ...
Ben A's user avatar
  • 10.7k
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/...
Red Mango's user avatar
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!),...
Graipher's user avatar
  • 41.6k
5 votes
2 answers
97 views

Report time on whole hours

Report time at whole hours ...
Wizard's user avatar
  • 439
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 ...
JaDogg's user avatar
  • 4,551
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 ...
user avatar
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 ...
jayco 10125's user avatar
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 ...
user avatar

15 30 50 per page