0

What I want to achieve is that I want to make sure that the script starts running on it's own in the background as the system starts and alerts at some specific point in the code. Now I was thinking of adding the script to the 'startup' folder of windows, but how do I make sure that it runs in background and is there any other method other than the 'startup folder'.

#some random code
....
if value==2:
    alert()
...
ForceBru
  • 43,482
  • 10
  • 63
  • 98
  • I'm voting to close this question as off-topic because the question is not about Python per se, but rather on how to startup a script on Windows. – alec_djinn Aug 06 '19 at 11:35
  • 2
    Possible duplicate of [How to start a python file while Windows starts?](https://stackoverflow.com/questions/4438020/how-to-start-a-python-file-while-windows-starts) – Wimanicesir Aug 06 '19 at 11:36
  • 1
    Possible duplicate of [How do you run a Python script as a service in Windows?](https://stackoverflow.com/questions/32404/how-do-you-run-a-python-script-as-a-service-in-windows) – brunns Aug 06 '19 at 11:41

0 Answers0