interactive_shell.py 文件源码

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

项目:bptc_wallet 作者: ceddie 项目源码 文件源码
def __init__(self, title='Interactive Shell', add_help=True):
        self.title = title
        self.style = style_from_dict({
            Token.Toolbar: '#ffffff bg:#333333',
        })
        if add_help:
            self.commands['help'] = dict(
                help = 'Show this help message',
            )
        self.history = InMemoryHistory()
        self.completer = WordCompleter(sorted(self.commands.keys()))
        self.parser = self._create_parser()
        self.registry = self._create_keybindings_registry()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号