阅读背景:

如何让python脚本在10秒后自动停止?

来源:互联网 

I am working on a project of my own that involves servos on a raspberry pi. I have them spinning when I execute the code but I'd prefer to have the python script kill itself after 10 seconds, rather then having to hit CTRL + C all the time. Is there a way to do this with this particular code? I am working on a project of my own that involv




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: