import boto3 import os def downloadDirectoryFroms3(remoteDirectoryName): aws_access_key_id = "" aws_secret_access_key = "" BUCKET_NAME = "" s3_resource = boto3.resource('s3', aws_access_key_id=aws_access_key_id, ...