EmaBot.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:EmaProject 作者: halkliff 项目源码 文件源码
def main_loop():
    while True:
        try:
            bot.polling(none_stop=True)
        except Exception as e:
            print("Exception occurred:", e)
            break
            time.sleep(2)
            os.execv(sys.executable, ['python'] + sys.argv)
            pass
        else:
            break
    while 1:
        time.sleep(3)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号