【发布时间】:2015-03-11 17:57:06
【问题描述】:
我正在尝试从另一个 Python 脚本 second.py 中运行一个 Python 脚本 first.py。
second.py 包含语句os.system("python first.py")。
first.py:以前默认打开的应用是记事本。但是,我将默认程序更改为python.exe,现在什么也没有发生。 first.py 甚至没有运行。
谁能帮忙?
【问题讨论】:
-
在将默认程序更改为
python.exe之前发生了什么?
标签: python