Question: I keep getting a 404 error when testing an application migration to a new server. The file exists in the root folder (it's a login page), the spelling in the URL is correct. I saw a few forums and posts here suggesting to add it to the default document in IIS but that also gives the 404 error. There is nothing blocking the file type either.

I saw some other suggestions saying to check to make sure the extension is right and not typed as part of the file name, but that also was no issue for me.

would anyone have any suggestions? I am out of ideas and seemingly tried all the solutions that I found on the internet with no luck.

Answer: 
Use list comprehension to creat a new list of month names. `month_name` expect a single integer value to resolve it to a month name and you are passing the entire list or may be a part of the list.

```
import calendar
month_value = [1,2,3,4,5,6,7,8,9,10,11,12]  
print(month_value)

bn = [calendar.month_name[i] for i in month_value]

print(bn)

```

Output:

```
['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']

```

Or you just need the name\_list then use range(1,13)

```
bn = [calendar.month_name[i] for i in range(1,13)]

```

or just use slice 

```
bn = calendar.month_name[1:13]

```
the method `month_name` receives as a parameter an integer, not a list as you did.

if you would like to print all month names, I suggest:

```
import calendar
month_value = [1,2,3,4,5,6,7,8,9,10,11,12]
for month_number in month_value:
    print(calendar.month_name[month_number]) 

```