iPython help, Docstring [source file open failed]

P. Kaminski CGenie at gmail.com
Wed Apr 15 18:05:59 CEST 2009


On 15 Kwi, 03:27, alex23 <wuwe... at gmail.com> wrote:
> On Apr 15, 5:35 am, Przemyslaw Kaminski <cge... at gmail.com> wrote:
>
> > You may want to try:
> > import pydoc
> > b = pydoc.render_doc(timedelta)
> > print b
>
> Isn't this exactly the same output you get from typing 'help
> (timedelta)' though?

Well, from this:

Lets say I want more information about timedelta right at the shell
(as oppose lookup at Python Doc).

I understood that Kegan wanted python documentation, as in help, but
without the pager, right at the shell. Correct me if I'm wrong.



More information about the Python-list mailing list