Created
October 17, 2022 15:36
-
-
Save ikobi12/9cb2d7511d78f5bed6cf270b0a9b7050 to your computer and use it in GitHub Desktop.
[boto3] boto3 #python #aws
This file contains 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
s3 = boto3.client('s3') | |
with open('FILE_NAME', 'wb') as f: | |
s3.download_fileobj('BUCKET_NAME', 'OBJECT_NAME', f) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment