# coding: latin-1 import calendar c = calendar.Calendar () for d in c.itermonthdays2 (1975,8) : print d