mirror of
https://github.com/python/cpython.git
synced 2024-12-01 05:45:40 +08:00
8 lines
148 B
Python
8 lines
148 B
Python
"""Main entry point"""
|
|
|
|
import sys
|
|
if sys.argv[0].endswith("__main__.py"):
|
|
sys.argv[0] = "python -m tkinter"
|
|
from . import _test as main
|
|
main()
|