MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / main

Function main

tools/python-3.11.9-amd64/Tools/demo/redemo.py:164–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162# Main function, run when invoked as a stand-alone Python program.
163
164def main():
165 root = Tk()
166 demo = ReDemo(root)
167 root.protocol('WM_DELETE_WINDOW', root.quit)
168 root.mainloop()
169
170if __name__ == '__main__':
171 main()

Callers 1

redemo.pyFile · 0.70

Calls 4

ReDemoClass · 0.85
TkClass · 0.50
protocolMethod · 0.45
mainloopMethod · 0.45

Tested by

no test coverage detected