Last active
January 25, 2019 07:50
-
-
Save arnaud9/b9fddac2a4f4e3f3d2f5ba8016692046 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto3 | |
s3 = boto3.resource('s3') | |
def upload_file_to_S3(filename, key, bucket_name): | |
s3.Bucket(bucket_name).upload_file(filename, key) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment