- 4050 Views
- 1 replies
- 1 kudos
Latest Reply
We can check using this method:-import boto3from botocore.errorfactory import ClientErrors3 = boto3.client('s3')try: s3.head_object(Bucket='bucket_name', Key='file_path')except ClientError: # Not found pass
- 1 kudos