PythonByteSize
  • Home
  • Video Index
    • 1. The Basics
    • 2. Python Program Structures
    • 3. Python Operators
    • 4. Python Functions
    • 5. Introduction to Classes and Objects
    • 6. Python Strings
    • 7. User Defined Functions
    • 8. Classes and Objects
    • 9. Python Dictionaries
    • 10. Python tkinter
    • 11. Python Lists
    • 12. Python Namespaces
    • 13. Turtle Graphics
    • 14. Python Tips
  • Exercise Index
    • 1. The Basics Exercises
    • 2. Python Program Structures Exercises
    • 3. Python Operators Exercises
    • 4. Python Functions Exercises
  • Educators
  • Donate
  • Contact
  • Computing Topics
  • Mathematics
  • About

10.72. ​Displaying the current time in a Python tkinter window

During this video I explain how the strftime() method is used to return the current time as an appropriately formatted string. Once returned the current time is displayed in a Python tkinter window. The follow on video will use the information supplied by this video to show how to build a digital clock in a tkinter window.
<< Previous Video
Next Video >>
Please consider donating to help with the costs incurred in developing this website.             Donate >>