generate a pdf with embedded vector art using reportlab and svglib
I was looking around for this and had a bit of trouble finding it, hopefully it will help out someone.
As far as I can tell getting vector artwork into reportlab in a sensible manner (i.e. aside from generating raw pdf commands) is practically restricted to using svg.
Dinu Gherman’s svglib is the tool to use.
Given tiger.svg, […]
komodo tab macro to ease django development
One annoyance I came across while using komodo for django development was the barrage of ‘models.py’ and ‘views.py’ in editor tab titles.
I looked into what writing this macro would mean by going through the open komodo source only to arrive to the conclusion that it wasn’t possible. I started this thread on the activestate community forums: tab title restriction hurts Komodo’s usability for Django projects. Shane Caraveo came to the rescue and thankfully proved me wrong by posting a macro that sets tab titles. Here’s what I see now:
