Search code examples
pythonmacosboot

Get python script to run on boot up in mac


How would I get a python script to run everytime the computer boots?


Solution

  • How to run a shell script on startup (OSX)

    And in that script just call your program

    python path/to/yourScript.py
    

    EDIT: Since 2010 the above link has gone sour. But also since 2010 have some answers popped up the describe similar methods, eg.

    Running script upon login mac

    How to get shell scripts to run on startup - Yosemite