I attempted to utilize the python calendar module in version 3.5.2 with:
import calendar
yy = 2016
mm = 12
# To ask month and year from the user
# yy = int(input("Enter year: "))
# mm = int(input("Enter month: "))
display=calendar.calendar(yy,mm)
# display the calendar
print(display)
be that as it may, each time I attempt to run it crashes and says:
line 2, in <module>
import calendar
line 4, in <module>
cal = calendar.month(2016, 2)
AttributeError: module 'calendar' has no attribute 'month'
Alternately, I attempted this in terminal (utilizing Python 2.7), and it does what it is told...!
Simply uncertain why this doesn't work in one of the most recent versions of Python