PyDocs

Nav

Data Types

TextCalendar

  • TextCalendar(firstweekday=0)
Subclass of Calendar that outputs a calendar as a simple plain text
similar to the UNIX program cal.
Members of TextCalendar

f

formatday
Returns a formatted day.
formatmonth
Return a month's calendar string (multi-line).
formatmonthname
Return a formatted month name.
formatweek
Returns a single week in a string (no newline).
formatweekday
Returns a formatted week day name.
formatweekheader
Return a header for a week.
formatyear
Returns a year's calendar as a multi-line string.

p

prmonth
Print a month's calendar.
prweek
Print a single week (no newline).
pryear
Print a year's calendar.
0 Examples
No examples for calendar/TextCalendar.
See Also
No see-alsos for calendar/TextCalendar
0 Notes
No notes for TextCalendar