Created
September 3, 2019 19:56
-
-
Save sergiorgiraldo/94eedfc83bc8437c1140a2d6b491bb29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3, os | |
s3 = boto3.resource('s3') | |
my_bucket = s3.Bucket(name='NAME_OF_BUCKET') #not a path. if path is s3://foo, put _foo_ | |
for object in my_bucket.objects.all(): | |
print(object) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment