pycairo tutorial
Sympl uses Cairo library to draw 2D images. It uses the pycairo module to interface to the library.
pycairo if not included with the standard Python install, you must install it separately. See the Getting started guide for more information.
This short tutorial shows the basics of how to use pycairo.