Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
 
PREVIOUS NEXT
Tagged: #download #excel #file #python
ADD COMMENT
Topic
Name
4+2 =