Hello and welcome to the Python Forum on TheScripts.com.
LaTex is also available for python. Some documentation is here.
There is also a cool-looking project called PyTex.
Hope that gets you pointed in the right direction.
Thank you for your promptness, but, as far as I can tell, these are both dead ends. Here's what I found...
The first link is for assistance in documenting python files, for which process (I'm told) many users often employ LaTEX. Presented here, related to LaTEX, is only a very basic overview of how LaTEX works. A comprehensive understanding of LaTex can be gained from Kopka/Daly's "Guide to LaTEX".
The second link directs to two projects in the early stages of development: QaTEX and PyTEX. The PyTEX download claims to work for style files but contains only something called 'catalog' which appears to note how to "stay archival and manage change" and which also mentions a few of the ambitions for later versions. I don't even know what to say about QaTEX. If this version does anything, I haven't discovered how. It's newborn though, and surely doesn't do all they'd like it to (Noting that it doesn't work with windows yet and in the qatex.py file there's this handy comment: "# this does not work - need to change def'n of link fn") attempting to use latex to open the provided sample file gave me an error I'd never seen:
$ qatex nestA.tex
bash: qatex: command not found
$ latex nestA.tex
.
.
.
!Q=qalib.qatex.import,qalib
!A=
^cursor here, waiting for input.