Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send data to amazon S3 #6

Open
prodriguez19994 opened this issue Jun 9, 2018 · 1 comment
Open

Send data to amazon S3 #6

prodriguez19994 opened this issue Jun 9, 2018 · 1 comment

Comments

@prodriguez19994
Copy link
Collaborator

No description provided.

@prodriguez19994
Copy link
Collaborator Author

OK : here is the code example

import boto3

if name == 'main':
s3 = boto3.resource("s3")
s3.Object('s3-rgb-explorers', 'dest-name').put(Body=open('src-file-path', 'rb'))

boto3.readthedocs.io/ is a code doc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant