manager.py 文件源码

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

项目:rolld 作者: Hipo 项目源码 文件源码
def get_config():
    if not len(sys.argv) > 1:
        raise Exception('please give config file path')
    if not os.path.exists(sys.argv[1]):
        raise Exception("config file doesn't exists")
    stream = open(sys.argv[1], "r")
    docs = yaml.load_all(stream)
    for f in docs:
        return f
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号