mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +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()
|