conan.py 文件源码

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

项目:cmany 作者: biojppm 项目源码 文件源码
def load_settings():
        conandir = os.path.expanduser("~/.conan/")
        if not os.path.exists(conandir):
            return
        settings_file = os.path.join(conandir, 'settings.yml')
        with open(settings_file) as f:
            txt = f.read()
            YAML = yaml.YAML()
            data = YAML.load(txt)
            settings = odict(data)
            return settings
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号