Files
CyberPanel/plogical/test.py

8 lines
142 B
Python
Raw Normal View History

2018-12-13 04:23:08 +05:00
import boto3
# Let's use Amazon S3
s3 = boto3.resource('s3')
# Print out bucket names
for bucket in s3.buckets.all():
print(bucket.name)