This is my calendar code in Python and I have saved it to my folder as calendar.py.
calendar.py
import calendar a = calendar.month(2016, 3) print (a) print
The problem is that you used the name calendar.py for your file. Use any other name, and you will be able to import the python module calendar.