GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — App-Development-with-Python-using-GUI-Tools/23.Clock.py at main · sarincr/App-Development-with-Python-using-GUI-Tools Expand file tree/ Copy path23.Clock.pyMore file actions 14 lines (13 loc) · 363 Bytes / Copy path23.Clock.pyFile metadata and controls14 lines (13 loc) · 363 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 from tkinter import * from tkinter.ttk import * from time import strftime root = Tk() root.title('Digital Clock') def time(): string = strftime('%H:%M:%S %p') label.config(text = string) label.after(1000, time) label = Label(root, font = ('times', 50, 'bold'),background = 'grey',foreground = 'white') label.pack(anchor = 'center') time() mainloop() |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |