Skip to content

Instantly share code, notes, and snippets.

@brinnaebent
Created April 12, 2023 21:05
Show Gist options
  • Save brinnaebent/a1f7ed57e7b6424496e338ba944ca8fb to your computer and use it in GitHub Desktop.
Save brinnaebent/a1f7ed57e7b6424496e338ba944ca8fb to your computer and use it in GitHub Desktop.
s3 = boto3.client('s3')
s3.put_object(Bucket=your_output_bucket_name, Key=file_name, Body=text_to_upload.encode())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment