FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-examples-python/aws_test.py at master · unodeej/code-examples-python · GitHub
unodeej
/
code-examples-python
Public
forked from
docusign/code-examples-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
code-examples-python
/
aws_test.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (6 loc) · 218 Bytes
Breadcrumbs
code-examples-python
/
aws_test.py
Copy path
File metadata and controls
9 lines (6 loc) · 218 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
import
boto3
s3
=
boto3
.
resource
(
's3'
)
for
bucket
in
s3
.
buckets
.
all
():
print
(
bucket
.
name
)
data
=
open
(
'requirements.txt'
,
'rb'
)
s3
.
Bucket
(
'enrollhero-test'
).
put_object
(
Key
=
'AARPTESTDOC.txt'
,
Body
=
data
)
Back
|
FazBrowse Home
|
New Git URL