📅  最后修改于: 2022-03-11 14:45:44.703000             🧑  作者: Mango
import boto3
s3 = boto3.client('s3')
#bucket name with out the leading s3://
data = s3.get_object(Bucket='[bucket name]', Key='[file path after bucket name]')