1

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

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?

3
  • 1
    Did you try pythonw.exe instead of python.exe? Commented Jun 8, 2011 at 16:17
  • Yes, it still opened PythonWin. I also tried renaming to .pyw (which uses pythonw.exe) and got the same result. Commented Jun 8, 2011 at 16:40
  • It turns out I had this Python-Win32 module installed. I removed that, then reset my file associations to use pythonw.exe, and it worked again. Thanks for your reply! Commented Jun 8, 2011 at 17:19

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

Hi, sorry, that still opened PythonWin.
It turns out I had this Python-Win32 module installed. I removed that, then reset my file associations to use pythonw.exe, and it worked again. Thanks for your reply!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.