terminal.py 文件源码

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

项目:weevely3-stealth 作者: edibledinos 项目源码 文件源码
def _load_history(self):
        """Load history file and register dump on exit."""

        # Create a file without truncating it in case it exists.
        open(config.history_path, 'a').close()

        readline.set_history_length(100)
        try:
            readline.read_history_file(config.history_path)
        except IOError:
            pass
        atexit.register(readline.write_history_file,
            config.history_path)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号