Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python script pops up console when run by scheduler [duplicate]

Possible Duplicate:
Run python script without DOS shell appearing

I have a python script that Windows Scheduler runs every 5 minutes for me. The script works fine but every time it runs it's loading up the console really quick on my desktop before it automatically closes. Does anyone know how to remove this behavior? I'd like it to just run in the background without me knowing.

like image 561
Splashlin Avatar asked Jan 18 '23 07:01

Splashlin


1 Answers

Run it through pythonw instead of python (pyw if you're using the new launcher).

like image 170
Cat Plus Plus Avatar answered Jan 28 '23 16:01

Cat Plus Plus