Photo by Tima Miroshnichenko from Pexels

Taming Time in Python

Timers, stopwatches, threading and more.

Keno Leon
6 min readNov 10, 2021

--

So your project demands that you do something with time and you find the subject a little hard to approach ? I’ve been there a few times and so I wanted to write a little about time related things in Python, (mostly to keep track) come along I’ll try my best to make it beginner friendly.

Image source: https://commons.wikimedia.org/wiki/File:Down_the_Rabbit_Hole.png
👋👋 Hi there 👋👋 all my content is free for Medium subscribers, if you are already a subscriber I wanted to say thank you ! 🎉 If not and you are considering subscribing, you can use my membership referral link, you will be supporting this and other high quality content, Thank you !⭐️⭐ Subscribe to Medium ! ⭐️⭐️

Measuring time

By that I mean you just want to see time go by in your terminal, this is a script that does just that :

Not much going on here, we just import the time library ( which should be part of your…

--

--