Guest User

Untitled

a guest
Jul 16th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. import boto3
  2. s3=boto3.client('s3')
  3. list=s3.list_objects(Bucket='my_bucket_name')['Contents']
  4. for l in list:
  5. print(l[u'Key'])
Add Comment
Please, Sign In to add comment