MCPcopy
hub / github.com/ZiniuLu/Python-100-Days / main

Function main

Day01-15/Day13/singlethread2.py:26–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def main():
27 top = tkinter.Tk()
28 top.title('单线程')
29 top.geometry('200x150')
30 top.wm_attributes('-topmost', True)
31
32 panel = tkinter.Frame(top)
33 button1 = tkinter.Button(panel, text='下载', command=download)
34 button1.pack(side='left')
35 button2 = tkinter.Button(panel, text='关于', command=show_about)
36 button2.pack(side='right')
37 panel.pack(side='bottom')
38
39 tkinter.mainloop()
40
41
42if __name__ == '__main__':

Callers 1

singlethread2.pyFile · 0.70

Calls 1

titleMethod · 0.80

Tested by

no test coverage detected