-
I wrote 4 short scripts that use UC. All 4 work when I run it in the python IDLE shell. I tried to automate them to run overnight using windows task scheduler and 3 are working fine. The 4th one always fails, whether running in scheduler, command line, or double clicking the script. When I run it in IDLE, it's not in headless mode, everything is displayed on screen. When I run it any other way, everything is invisible; I'm guessing this is the problem. In scheduler I'm using python.exe as the called program and the script as an argument. I have triple checked the path variables and tried this on a different computer, where I got the same results. Is there another way to call the python script so that it will run exactly as it does in IDLE? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Got it with: |
Beta Was this translation helpful? Give feedback.
Got it with:
python -m idlelib -r filepath.py