📜  从 s3 读取数据并打印 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:08.043000             🧑  作者: Mango

代码示例1
data = s3.get_object(Bucket=bucket, Key=o.get('Key'))
    contents = data['Body'].read()
    print(contents.decode("utf-8"))