Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
164
def
main():
165
root = Tk()
166
demo = ReDemo(root)
167
root.protocol(
'WM_DELETE_WINDOW'
, root.quit)
168
root.mainloop()
169
170
if
__name__ ==
'__main__'
:
171
main()
Callers
1
redemo.py
File · 0.70
Calls
4
ReDemo
Class · 0.85
Tk
Class · 0.50
protocol
Method · 0.45
mainloop
Method · 0.45
Tested by
no test coverage detected