1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00

Update boto3 python document

This commit is contained in:
Harshavardhana
2015-02-09 17:39:00 -08:00
parent 5e8e673e82
commit 39badc18bf
3 changed files with 39 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env python
import boto3
s3 = boto3.resource('s3', use_ssl=False, endpoint_url="http://localhost:9000")
for bucket in s3.buckets.all():
print(bucket.name)