> Is there any tools to generate literate program in python?
Google for: reStructuredText literate programming python
--
__Pascal Bourguignon__ http://www.informatimago.com/
A quick Google with "python literate" yields 87,000 hits (many of them
are false positives). I have tried some of them, but I choose Nuweb
-- it's language independent, fast as blazes, respects (and preserves)
indentation, and generates LaTeX output.
I have been using nuweb for about a year and like it very much. I use
it for C++ and ASM code. It is the simplest of the literate
programming tools. I had used Funnelweb before nuweb and also like
that one, but it has the "problem" of trying to be independent of the
target documentation language with the two choices of latex (actually
tex) or html. That would be OK, but there are no macros defined to
allow for inclusion of graphics. Nuweb only produces latex (better
than tex) so any latex commands are accepted and it is easy to add
graphics.
If you like Emacs and only want to work at edit-level (no export to
other formats, like html or LaTeX), please give QWE a chance.
Although it is in a very early stage of development, in no more than
20 minutes you'll see what QWE can do for you.
Please visit http://www.nongnu.org/qwe for more information.