how to run a python script in the background using cmd on windows code example Example: how to run a python script in background windows > pythonw script.py