Upload a file to s3 import boto3 s3 = boto3.resource('s3') s3.meta.client.upload_file('filename', 'mybucket', 'filename')