MCPcopy Create free account
hub / github.com/ActiveState/code / main

Function main

recipes/Python/576830_analog_clock/recipe-576830.py:127–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 self.root.after(200,self.poll)
126
127def main():
128 root= Tk()
129 # deltahours: how far are you from utc?
130 # someone should automatize that, but I sometimes want to display
131 # time as if I am in another timezone ...
132 clock(root,deltahours = -2)
133 if not _inidle:
134 root.mainloop()
135
136if __name__=='__main__':
137 main()

Callers 1

recipe-576830.pyFile · 0.70

Calls 3

mainloopMethod · 0.80
clockClass · 0.70
TkClass · 0.50

Tested by

no test coverage detected