1import boto3
2
3BUCKET_NAME = 'Enter Your Bucket Name'
4BUCKET_FILE_NAME = 'Enter File To be download'
5LOCAL_FILE_NAME = 'Local File Name'
6
7def download_s3_file():
8 s3 = boto3.client('s3')
9 s3.download_file(BUCKET_NAME, BUCKET_FILE_NAME, LOCAL_FILE_NAME)