autorestart a python file only after it raises error

后端 未结 0 456
清酒与你
清酒与你 2020-12-23 00:31

i am using python for web crawling and i have a program which i want to be run forever. unfortunately i may run into errors at any time. for example:

import s         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题