The py2tex script formats Python source code. The result can be typeset by LaTeX using the accompanying style sheet.
Download: zip or tar.gz.
Documentation and formatted source: pdf.
Back home.