python官方的编辑器 python运行程序代码: import py_compile py_compile.compile(r'H:\game\test.py') 红色部分为要编译运行的代码所在的路径