擅长:python、mysql、java
<p>您需要在启动时启动脚本。这实际上是一个linux问题,有很多方法可以实现这一点。这里有两个:</p>
<ol>
<li><a href="http://www.instructables.com/id/Raspberry-Pi-Launch-Python-script-on-startup/" rel="nofollow noreferrer">Launch Python from crontab</a></li>
<li><a href="https://raspberrypi.stackexchange.com/questions/8734/execute-script-on-start-up#8735">Launch script at startup</a></li>
</ol>