Do you think of pydoc? Just make comments in your code this way:

def add10(x):
    """this function adds ten to the given variable"""

Then save this into add.py and now (in the same directory):

pydoc add

Voila, your documentation.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to