Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ def_time
Function
def_time
digital_clock.py:26–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
# This function is used to
25
# display time on the label
26
def
def_time():
27
string = strftime(
"%H:%M:%S %p"
)
28
lbl.config(text=string)
29
lbl.after(1000, time)
30
31
32
# Styling the label widget so that clock
Callers
1
digital_clock.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected