s3.py 文件源码

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

项目:smtk 作者: Data4Democracy 项目源码 文件源码
def cli(ctx, config):
    s3_config = {}

    try:
        with open(config, 'r') as config_file:
            s3_config = json.load(config_file)
            l.INFO("Using custom CSV configuration: %s" % (s3_config))
    except TypeError:
        l.WARN("Unable to parse s3 config")

    input_ = click.get_text_stream('stdin')
    convert(input_, configuration=s3_config)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号