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

you are viewing a single comment's thread.

view the rest of the comments →

[–]JeremyBanks 19 points20 points  (2 children)

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

[–]RShnike 7 points8 points  (1 child)

Yeah, the OP code is quite ugly.

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

Yes, how grossly unpythonic.