获取在Mac上启动时运行的python脚本 [英] Get python script to run on boot up in mac

查看:358
本文介绍了获取在Mac上启动时运行的python脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在每次启动计算机时运行python脚本?

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

推荐答案

如何在启动(OSX)时运行Shell脚本

然后在该脚本中调用您的程序

And in that script just call your program

python path/to/yourScript.py

自2010年以来,以上链接已损坏.但自2010年以来,出现了一些描述类似方法的答案,例如.

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

登录mac时运行脚本

如何获取shell脚本在启动时运行-优胜美地

这篇关于获取在Mac上启动时运行的python脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆