My Coding >
Programming language >
Python >
Python libraries and packages >
Calendar
CalendarCalendar - a Python library from the standard installation. Very simple with very basic results, but can be convenient when you need to print or have a text version of the calendar for any month year or other time selection. This library has a lot of formatting tools for different selections. Import the library and define the Year and Month for printing
Now one can print them in a calendar format and it is not necessary to use complicated libraries to select or generate them these days. For example, printing month:
To print a calendar for a year, use:
The result will look like the following:
This is our short video on how to use it:
|
Last 10 artitles
9 popular artitles
|
|||
© 2020 MyCoding.uk -My blog about coding and further learning. This blog was writen with pure Perl and front-end output was performed with TemplateToolkit. |