Skip to content

Instantly share code, notes, and snippets.

@ikobi12
Created October 17, 2022 15:36
Show Gist options
  • Save ikobi12/9cb2d7511d78f5bed6cf270b0a9b7050 to your computer and use it in GitHub Desktop.
Save ikobi12/9cb2d7511d78f5bed6cf270b0a9b7050 to your computer and use it in GitHub Desktop.
[boto3] boto3 #python #aws
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