I'm 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 fails when I call it like this:
c:\python33\pythonw.exe my_script.py
I want to be launching it regularly using pythonw
, since it's supposed to run once every hour and I don't want to see the ugly console window every time it's launched.
(I know the script fails under pythonw
because (a.) it exits immediately, when it should take about two minutes, and (b.) it's supposed to send an email and it doesn't.)
How do I even debug it? Since pythonw
doesn't show any output, I have no idea what to do.