On 2009-10-14, Nikos Alexandris wrote:
> On Wed, 2009-10-14 at 12:45 -0700, Rich Shepard wrote:
>> On Wed, 14 Oct 2009, Nikos Alexandris wrote:

>> > Does anybody use LyX to document python code? Any hints? I've read about
>> > noweb but it looks a bit more complicated than it should be... (?).

> thanks for the reply. I have in mind (most of the times) a documentation
> to describe/ explain step by step what is done. I am a very beginner
> with Python, not a good programmer at all and I like to spend a lot of
> time to write down what each piece of code does.

This sounds like "literate programming":

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

and if you are looking for a simple solution, I recommend PyLit
(http://pylit.berlios.de).

Günter

Reply via email to