ZetCode

PyCairo tutorial

last modified July 17, 2023

This is PyCairo tutorial. In this tutorial, we are going to learn 2D graphics programming in Python and the Cairo library.

Table of Contents

PyCairo

PyCairo is a Python module for working with the Cairo library. It is a set of Python bindings to the Cairo C library. It closely matches the C API with the exception of cases, where more Pythonic way is desirable.

Related tutorials

The Cairo graphics tutorial covers the Cairo library in the C programming language.

Author

I am Jan Bodnar, a programmer and technical writer. I have been writing programming tutorials at ZetCode since 2007 and have published eight e-books. See about the author.