config.py 文件源码

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

项目:PlebNet 作者: rjwvandenberg 项目源码 文件源码
def save(self):
        config_dir = user_config_dir()
        filename = os.path.join(config_dir, CONFIG_NAME)
        with open(filename, 'w') as f:
            json.dump(self.config, f, indent=3)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号