mpfshell.py 文件源码

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

项目:mpfshell 作者: wendlers 项目源码 文件源码
def __init__(self, color=False, caching=False, reset=False):
        if color:
            colorama.init()
            cmd.Cmd.__init__(self, stdout=colorama.initialise.wrapped_stdout)
        else:
            cmd.Cmd.__init__(self)

        if platform.system() == 'Windows':
            self.use_rawinput = False

        self.color = color
        self.caching = caching
        self.reset = reset

        self.fe = None
        self.repl = None
        self.tokenizer = Tokenizer()

        self.__intro()
        self.__set_prompt_path()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号