Anyone who wants to produce Postscript files (including multi-page publications) with Python can do so with PyScript. The approach is quite interesting: basically a graphics library that translates to Postscript. So you can develop everything in Python, modify, combine, and layout all graphics there, etc., and then use the result as a Postscript file (e.g., convert to PDF).

Here is the original article.