Replies: 1 comment 2 replies
-
Basic example: with open('local_file', 'rb') as fin:
with open('s3://bucket/key.gz', 'wb') as fout:
fout.write(fin.read()) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have local uncompressed file, I would like to save its gzip version on s3. but don't want to store the gzip locally
Beta Was this translation helpful? Give feedback.
All reactions