Converting month number to month name

Greg Pinero posted a nice, succinct solution to converting the month number to the month name:
>>>import datetime
>>>named_month = lambda month_num:datetime.date(1900,month_num,1).strftime(‘%B’)
>>> named_month(3)
‘March’

Tagged ,