# 重启程序 def restart_program(): print("重启。。。。。。。") python = sys.executable os.execl(python, python, * sys.argv)