Create a PDF Calendar with Python + ReportLab
Today, I needed a quick and dirty PDF calendar generator. Fortunately, with python handy, it was blazingly easy to knock one up. Using the calendar moduule and the ReportLab PDF library, it took me about 10 minutes to learn enough of the API to get started, and another couple of hours to finish the script - you can find it here.Usage is pretty simple:
This script will create a PDF file called "blog_calendar.pdf" with two pages, one for December 2005 followed by one for January 2006. More details can be found inside the script.
update: Now with sample output.