In the MS Windows operating system, what is the best way to start a Python script on OS start, and keep restarting that script when it (the script) ends? In Linux, I have defined a service in /usr/lib/systemd/system/myScript.service that does this. A portion of this script is below,
[Service]
Type=simple
ExecStart=/usr/local/bin/myScript/myScript.py
Restart=always
I'd like the same functionality for the windows box. I suspect the windows versions that will be used are more the recent 64-bit versions (Win7 or later).