Question: I'm just a new with **boto3** and i can not understand how i can get URL link for file that i have just uploaded to s3 amazon. 

Please clarify.

Thank you

```
import boto3

s3 = boto3.resource('s3')

data = open ('file.xlsx', 'rb')
s3.Bucket ('dimxxx1').put_object (Key='file.xlsx', Body=data)

```

Answer: 
in python3, 

```
url = f"https://{bucket}.s3.{region}.amazonaws.com/{folder}{file_name}"

```
This is proper sequence with python formatter:

```
url = f"https://s3.{region}.amazonaws.com/{bucket}/{folder}...N/{file_name}"

```