app.py 文件源码

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

项目:Arduino_Semi-Tesla 作者: jpdik 项目源码 文件源码
def restart_program():
    """Restarts the current program.
    Note: this function does not return. Any cleanup action (like
    saving data) must be done before calling this function."""
    python = sys.executable
    os.execl(python, python, * sys.argv)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号