config.py 文件源码

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

项目:audio-feeder 作者: pganssle 项目源码 文件源码
def to_file(self, file_loc):
        """
        Dumps the configuration to a YAML file in the specified location.

        This will not reflect any runtime modifications to the configuration
        object.
        """
        with open(file_loc, 'w') as yf:
            yaml.dump(self._base_dict, stream=yf, default_flow_style=False)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号