mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-29 03:04:38 +08:00
* Add _tkinter module and gate * add tkinter module * add tcl_error * fix tk setup and add demo * fix TK_VERSION * create and TkApp
8 lines
148 B
Python
Vendored
8 lines
148 B
Python
Vendored
"""Main entry point"""
|
|
|
|
import sys
|
|
if sys.argv[0].endswith("__main__.py"):
|
|
sys.argv[0] = "python -m tkinter"
|
|
from . import _test as main
|
|
main()
|