Get python script to run on boot up in mac
问题 How would I get a python script to run everytime the computer boots? 回答1: 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 回答2: You could create a login hook (be careful, it runs as root) 来源: https://stackoverflow.com