![]() |
I need to MODIFY this to list all of the s3 buckets in my account , right now it will - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: I need to MODIFY this to list all of the s3 buckets in my account , right now it will (/thread-10737.html) |
I need to MODIFY this to list all of the s3 buckets in my account , right now it will - quantum_1 - Jun-04-2018 Python script , I need to MODIFY this to list all of the s3 buckets in my account , right now it will LIST what is in a specific bucket import boto3 s3 = boto3.resource('s3') my_bucket = s3.Bucket('public-resources.sandbox.vizuri.com') for object in my_bucket.objects.all(): print(object)please help thankshttps://python-forum.io/images/smilies/eusa_wall.gif |