s3.py 文件源码

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

项目:epilepsy_diary 作者: bfortuner 项目源码 文件源码
def upload_file(file_key, file_path, bucket_name):
    # items_log.info("Uploading file: %s" % file_key)
    k = Key(get_bucket(get_connection(), bucket_name))
    k.key = file_key
    k.set_contents_from_filename(file_path)
    # items_log.info("Upload complete!")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号