Skip to content

h2110040094/digital-clock-internpe-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

internpe's second assignment DIGITAL CLOCK USING PYTHON

The code starts by importing the necessary modules. The first module is the tkinter library, which provides basic functionality for creating graphical user interfaces (GUIs). Next, the strftime function is imported to retrieve system time. Next, a window is created and given a title of “Clock.” A function called time() is then created to display the current time on the label widget. This function uses the strftime() function to format the time string according to system conventions. The last part of this code sets up styling for the label widget so that it will look nicer. Finally, an instance of Label is created and placed at the center of the window.

About

intern pe 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published