Esmail <esmail...@gmail.com> writes: > norseman wrote: >> >> Just out of curiosity, have you tried: >> >> import pylab >> help(pylab) >> >> The next step is to print it, > > Ah .. I didn't know this, great idea. This is what I used to get > the contents into a file for printing > > python -c 'import pylab; help(pylab)' > pylab.txt
Do you know pydoc? >From the (shell) command line, try: $ pydoc pylab # piped through less $ pydoc pylab > pylab.txt # stored in a file $ pydoc -w pylab # Creates a 'pylab.html' file wrote pylab.html -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list