paint-brush
Python Hack: How to Make a Digital Clock by@kalebujordan
827 reads
827 reads

Python Hack: How to Make a Digital Clock

by Kalebu Jordan 3mNovember 13th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Python Hack: How to Make a Digital Clock using Python programming in just a few lines of code. The idea is really simple, firstly we will create an empty window using the Tkinter, then we gonna configure and place a Label widget within our empty window. Finally we will be updating the value of the label to be the current time after every 0.08s. We are going to use strftime() to get time into the Hour: Minutes: Seconds format. If you're on window OS you don't really need to install anything since our simple digital clock app will be using only built-in modules time and TKinter.

Company Mentioned

Mention Thumbnail
featured image - Python Hack: How to Make a Digital Clock
Kalebu Jordan  HackerNoon profile picture
Kalebu Jordan

Kalebu Jordan

@kalebujordan

I'm a Mechatronics engineer | Pro Python Developer | AI Enthusiast

Learn More
LEARN MORE ABOUT @KALEBUJORDAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kalebu Jordan  HackerNoon profile picture
Kalebu Jordan @kalebujordan
I'm a Mechatronics engineer | Pro Python Developer | AI Enthusiast

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite