__main__.py 文件源码

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

项目:asciidots 作者: aaronduino 项目源码 文件源码
def get_input(self, ascii_char=False):
        """Get an input from the user."""
        if not self.debug or self.compat_debug:
            if ascii_char:
                return getch()
            else:
                if not sys.stdin.isatty():
                    return input('')
                else:
                    return input('?: ')
        else:
            return self.curses_input(self.stdscr, curses.LINES - 3, 2, '?: ', ascii_char)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号