Answers for "how to download excel file from s3 using python"

1

how to download excel file from s3 using python

import boto3

BUCKET_NAME = 'Enter Your Bucket Name'
BUCKET_FILE_NAME = 'Enter File To be download'
LOCAL_FILE_NAME = 'Local File Name'

def download_s3_file():
    s3 = boto3.client('s3')
    s3.download_file(BUCKET_NAME, BUCKET_FILE_NAME, LOCAL_FILE_NAME)
Posted by: Guest on April-02-2021

Code answers related to "how to download excel file from s3 using python"

Python Answers by Framework

Browse Popular Code Answers by Language