mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-18 03:01:01 +01:00
8 lines
142 B
Python
8 lines
142 B
Python
import boto3
|
|
|
|
# Let's use Amazon S3
|
|
s3 = boto3.resource('s3')
|
|
|
|
# Print out bucket names
|
|
for bucket in s3.buckets.all():
|
|
print(bucket.name) |