I want to upload files to S3 bucket and download files from S3 bucket using python api connected to html pages
Asked
Active
Viewed 2,203 times
1 Answers
1
There is a library for this 'boto3', that upload files in S3. For quick setup of boto3 follow:
To upload a file :
import boto3
s3 = boto3.resource('s3')
s3.meta.client.upload_file('filename', 'bucketname', 'desired filename in s3')

Vidya Sagar
- 1,496
- 14
- 23