Create python script that runs at startup [closed]
Background I need to create a python script that runs at start-up. The problem is that this script must be platform independent because it will be used on different operating systems. It needs to be an automatic set up because it will be run by the user and so I won't be able to set task schedulers up on each individual machine. Questions How to find out which OS a computer is running on in Python? How to make a script run at startup (Linux, Mac OSX, Windows) Question 1 is easy: How to find out which OS a computer is running on in Python? That's sys.platform : if sys.platform.startswith('win')