Best way to get months name in Python language
Python calendar in-built library is best to use to get month name. By using this you don’t need to do dirty way to create dictionary of month.
import calendar for i in range(1,13): print calendar.month_name[i]
>>> January February March April May June July August September October November December
31st October 2015
3rd December 2014
30th November 2014