Skip to content

Oluwaseyiae/Digital-Clock

Repository files navigation

Digital Clock

A simple Digital Clock with GUI using Tkinter in python.


Python offers a lot of options to develop GUI applications, but Tkinter is the most usable module for developing GUI(Graphical User Interface). Since Tkinter is cross-platform so it works on both windows and Linux. So here i am using Tkinter module to create a simple python Digital Clock.

The fastest and easiest way of developing GUI applications in python is working with Tkinter. So let’s took a quick look on Tkinter.

What is Tkinter


The Tkinter module (“Tk interface”) is the standard Python interface to the Tk GUI toolkit.

Both Tk and Tkinter are available on most Unix platforms, as well as on Windows systems.

If you work on Linux/Ubuntu then you have to install Tkinter module on your machine for running programs, but on windows you don’t need to install it because it comes with the default python installation.


Prerequisite for Digital Clock

For developing a simple GUI calculator in python you must have to prior knowledge of following –

  1. Tkinter

  2. Time

  3. Datetime


And now we will start writing codes for making this. To create this we have to do four things

  1. Importing Tkinter module

  2. Creating the main interface(window for digital clock)

  3. Create a function and adding all the properties to the main interface.

  4. Call the function.



How to Use

  1. Clone this repository.

  2. Allow execution of the Calculator.py

  3. Execute Calculator.py


How to Contribute

  1. Fork the the project

  2. Create your feature branch (git checkout -b my-new-feature)

  3. Make required changes and commit (git commit -am 'Add some feature')

  4. Push to the branch (git push origin my-new-feature)

  5. Create new Pull Request


Feel free to contribute

Questions ?

Hit me on


kingdom2203



Show your support

Give a ⭐ if you like this website and kindly follow for more!

Buy Me A Coffee

About

A well design digital clock with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages