所以我写了这个py程序。你知道吗
import subprocess
string="ihateminority.py"
process=subprocess.Popen(string,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
res=process.communicate("3 5")
print res[0]
我犯了一个窗口错误。你知道吗
http://oi59.tinypic.com/xkvwx1.jpg/
显然,错误来自图书馆,而不是我。是否有任何方法来解决这个问题,或者只是简单地避免id(我不能使用外部库)
那是因为”ihateminority.py文件“”不是有效的Win32应用程序。“你应该打电话”python.exe“把它传过来”ihateminority.py文件“作为论据。你知道吗
相关问题 更多 >
编程相关推荐