开发者

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

开发者 https://www.devze.com 2023-03-11 02:54 出处:网络
I\'m trying to run a script from the command line (command prompt). I type: python开发者_如何学Python.exe full_script_path.py parameters

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

精彩评论

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

关注公众号