/Digital-clock

This is a digital style clock built with Python Tkinter module. You may modify the code to your own preference.

Primary LanguagePython

Fullscreen-digital-clock

Feel free to fork into your Github and modify it with your own design!

You may modify this from the constant variable:

  1. FONT_SIZE = 240 (set the font size)
  2. FONT_STYLE = "ds-digital" (set the font style)
  3. TEXT_COLOR = "lightgreen" (set the text color)
  4. BACKGROUND_COLOR = "black" (set the background color)
  5. TIME_FORMAT = "%I:%M:%S %p" (this is 12 hour time format)
  6. TIME_FORMAT = "%H:%M:%S" (this is 24 hour time format)
This is the sample output.

12 hour format

12-hour-format-digial-clock-output

24 hour format

24-hour-format-digial-clock-output