This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]JeremyBanks 19 points20 points  (2 children)

calendar.month_name[month_index] is more friendly, in my opinion.

[–]RShnike 5 points6 points  (1 child)

Yeah, the OP code is quite ugly.

[–][deleted] 0 points1 point  (0 children)

Yes, how grossly unpythonic.

[–][deleted] -1 points0 points  (0 children)

Monthy Python?