Arnaud Delobelle wrote:


 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

Ah .. and there I thought I'd impress everyone with my python
command line :-)

I had heard of pydoc before, but am not familiar with (it's on
my list of Python tools to explore), so many thanks for showing
me how to get a nice html formatted page.

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

Reply via email to