【发布时间】:2011-03-02 14:37:54
【问题描述】:
我收到以下错误:
WindowsError: [Error 2] The system cannot find the file specified
我的代码是:
subprocess.call(["<<executable file found in PATH>>"])
Windows 7、64 位。 Python 3.x 最新、稳定。
有什么想法吗?
谢谢,
【问题讨论】:
-
这个可执行文件是什么?
-
Android SDK 的“android”可执行部分
-
并且 is 在 PATH 上可用
-
可以从命令行运行吗?
-
我想要完成的事情的一点背景。这适用于 Opendevice - 一个将 HTML5 应用程序转换为特定于设备的应用程序的开源项目。我正在尝试将bitbucket.org/srirangan/opendevice/src/tip/tools/net/srirangan/… 中的 os.system() 替换为 subprocess.call()
标签: python path python-3.x