autocode.py 文件源码

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

项目:AutoCode 作者: HashCode55 项目源码 文件源码
def gmode(self):
        """
        Types automatically
        """
        try:
            fileptr = 0 
            while (fileptr + self.n) < len(self.file):                  
                text = self.get_text(fileptr)                    
                fileptr += self.n        
                self.stdscr.addstr(text)
                self.stdscr.refresh()
                sleep(0.1)  
            curses.endwin()                                                                                
        except KeyboardInterrupt:            
            curses.endwin()
            exit()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号