Answers for "python boto3 put_object to s3"

0

python boto3 put_object to s3

file = open(r"/tmp/" + filename)
response = s3.meta.client.Bucket('<bucket-name>').put_object(Key='folder/{}'.format(filename), Body=file)
Posted by: Guest on September-03-2021

Browse Popular Code Answers by Language