开发者

When running a python script from command line, PythonWin also runs. How can I avoid this?

I'm trying to run a script from the command line (command prompt). I type:

python开发者_如何学Python.exe full_script_path.py parameters

And for some reason, PythonWin opens up. I have to close it for execution to finish. Unfortunately, this keeps me from being able to do multiple executions in a batch file.

What can I do to avoid PythonWin from opening?


I think you should launch pythonw.exe instead of plain python.exe, but I am not on a windows box right now, so I cannot test it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜