ppo.py 文件源码

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

项目:planetplanet 作者: rodluger 项目源码 文件源码
def toggle(self, event):
        '''
        Pause/play the animation. Unfortunately I haven't been able to
        figure out how to freeze the animation so that it resumes at the
        same frame it was paused on...

        '''

        if self.pause:
            self.button.label.set_text('Pause')
        else:
            self.button.label.set_text('Play')
        self.pause ^= True
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号