pylab quick reference? (matplotlib)

Esmail ebonak at hotmail.com
Thu Apr 23 18:48:06 CEST 2009


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




More information about the Python-list mailing list