I am running Python 3.3 on Windows 7. I have a script that succeeds when I call it like this:
c:\python33\python.exe my_script.py
But it doesnβt work when I call it like this:
c:\python33\pythonw.exe my_script.py
I want to run it regularly with help pythonw, as it should start once an hour, and I don't want to see an ugly console window every time I start it.
(I know that the script fails in pythonw, because (a.) It exits immediately when it takes about two minutes, and (b) it must send an email, which is not the case.)
How do I debug it? Since it pythonwdoes not show any conclusion, I have no idea what to do.
source
share