Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: pylab quick reference? (matplotlib)

Reply
Thread Tools

Re: pylab quick reference? (matplotlib)

 
 
Esmail
Guest
Posts: n/a
 
      04-22-2009
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

Thanks,
Esmail


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


 
Reply With Quote
 
 
 
 
Arnaud Delobelle
Guest
Posts: n/a
 
      04-22-2009
Esmail <> 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
 
Reply With Quote
 
 
 
 
Esmail
Guest
Posts: n/a
 
      04-23-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
 
Reply With Quote
 
Esmail
Guest
Posts: n/a
 
      04-23-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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pylab quick reference? (matplotlib) Esmail Python 0 04-22-2009 03:28 PM
Is there a better interactive plotter then pylab? Charles Krug Python 2 04-28-2005 02:31 AM
pylab strange error message ajikoe@gmail.com Python 0 04-22-2005 09:43 AM
MatPlotLib.MatLab troubles (how to install/run matplotlib.PyLab?) Dr. Colombes Python 3 02-23-2005 04:32 PM
problem with import pylab from a website jean.rossier@epfl.ch Python 1 01-19-2005 01:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57