Download a file

Use the following code snippet to download a file.

response = s3.Bucket('bucket1').download_file('README.md', 'download.md')
print(response)

This will download ‘README.md’ from Ozone volume ‘s3v’ to local and create a file with name ‘download.md’.