Literate Programming with reStructuredText

The idea is that you do not document programs (after the fact), but write documents that contain the programs. [1]


PyLit (Python Literate) provides a plain but efficient tool for literate programming: a bidirectional text/code converter.

Project page

The PyLit3 project is hosted on GitHub.


The original PyLit project was hosted at BerliOS.


The PyLit source has change history and chapter on open questions and ideas.

About this site

The PyLit site is created from reStructuredText sources with Sphinx. (Earlier versions used the rest2web site builder.)

It is located at Documentation is located at

[1]John Max Skaller in a Charming Python interview