Python TextCalendar Class Methods

Python TextCalendar Class has the following built-in functions.

Method Description
formatmonth() Returns a multi-line string representing the calendar of the given month.
formatyear() Returns a multi-line string representation of an m-column calendar of the given year.
prmonth() Prints the month of the given year. Also, there is no need for writing "print" operation.
pryear() Prints the calendar for an entire year Also, there is no need for a "print" operation to execute this.





Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.