Todo: 集成多平台 解决因SaiNiu线程抢占资源问题 本地提交测试环境打包 和 正式打包脚本与正式环境打包bat 提交Python32环境包 改进多日志文件生成情况修改打包日志细节
This commit is contained in:
14
Utils/PythonNew32/Lib/idlelib/idle.py
Normal file
14
Utils/PythonNew32/Lib/idlelib/idle.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import os.path
|
||||
import sys
|
||||
|
||||
|
||||
# Enable running IDLE with idlelib in a non-standard location.
|
||||
# This was once used to run development versions of IDLE.
|
||||
# Because PEP 434 declared idle.py a public interface,
|
||||
# removal should require deprecation.
|
||||
idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
if idlelib_dir not in sys.path:
|
||||
sys.path.insert(0, idlelib_dir)
|
||||
|
||||
from idlelib.pyshell import main # This is subject to change
|
||||
main()
|
||||
Reference in New Issue
Block a user