Code Challenge 52 - Create your own Pomodoro Timer

PyBites, Mon 24 September 2018, Challenge

challenges, code challenge, datetime, Pomodoro, time

It's not that I'm so smart, it's just that I stay with problems longer. - A. Einstein

Hey Pythonistas,

It's TIME for another Code Challenge! (Pun totally intended!)

We're keeping it simple this week. Create your own Pomodoro Timer!

Pomodoro?

What's a Pomodoro Timer? We're glad you asked! (If you didn't ask, you can read anyway!)

A Pomodoro Timer is a countdown timer that enables you to focus on a given task. You set the timer for a specific duration, 20 minutes for example, and for that duration you are completely offline and focused. No email, no phone, no texts, no kids (a man can dream!)... no interruptions. Just pure, focus. This is the Pomodoro Technique.

At the end of the timer, you're back online.

The idea is that the minutes of focus time allow you to achieve more than you otherwise would given the usual swathe of interruptions we all suffer.

The real fanatics will do a set period of the Pomodoro Technique followed by a short break, then another Pomodoro set and repeat.

The Challenge

Now for the challenge:

Here's an example: Tomato Timer!

It doesn't matter how complex or simple you make your app - just that you get coding.

If you need help getting ready with Github, see our new instruction video.

PyBites Community

A few more things before we take off:


>>> from pybites import Bob, Julian

Keep Calm and Code in Python!

PyBites Python Tips

Do you want to get 250+ concise and applicable Python tips in an ebook that will cost you less than 10 bucks (future updates included), check it out here.

Get our Python Tips Book

"The discussions are succinct yet thorough enough to give you a solid grasp of the particular problem. I just wish I would have had this book when I started learning Python." - Daniel H

"Bob and Julian are the masters at aggregating these small snippets of code that can really make certain aspects of coding easier." - Jesse B

"This is now my favourite first Python go-to reference." - Anthony L

"Do you ever go on one of those cooking websites for a recipe and have to scroll for what feels like an eternity to get to the ingredients and the 4 steps the recipe actually takes? This is the opposite of that." - Sergio S

Get the book