Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read data from s3 bucket python

# read data from s3 bucket python
s3 = boto3.resource('s3')
bucket = s3.Bucket('test-bucket')
for object in bucket.objects.all():
    key = object.key
    body = object.get()['Body'].read()
Source by boto3.amazonaws.com #
 
PREVIOUS NEXT
Tagged: #read #data #bucket #python
ADD COMMENT
Topic
Name
7+6 =