how to run a python file as a background service in windows code example Example: how to run a python script in background windows > pythonw script.py