import os os.system(r'E:\start.py') # 错误写法,没声明文件类型,默认按你系统文件原始格式打开 os.system(r'python E:\start.py') # 正确写法,声明定义为Python文件,Python运行