Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Let's code a CLOCK PROGRAM in python! 🕒
Play lesson

Python tkinter tutorial for beginners 🐍 - Let's code a CLOCK PROGRAM in python! 🕒

5.0 (2)
22 learners

What you'll learn

This course includes

  • 5.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Python clock program app tutorial for beginners #Python #clock #program #app #code #GUI #tkinter #tutorial from tkinter import * from time import * def update(): time_string = strftime("%I:%M:%S %p") time_label.config(text=time_string) day_string = strftime("%A") day_label.config(text=day_string) date_string = strftime("%B %d, %Y") date_label.config(text=date_string) window.after(1000,update) window = Tk() time_label = Label(window,font=("Arial",50),fg="#00FF00",bg="black") time_label.pack() day_label = Label(window,font=("Ink Free",25,"bold")) day_label.pack() date_label = Label(window,font=("Ink Free",30)) date_label.pack() update() window.mainloop()

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere