Python equivalent to perldoc?

Richard Jones rjones at ekit-inc.com
Wed Sep 18 20:18:40 EDT 2002


On Thu, 19 Sep 2002 12:34 am, Thorsten Kampe wrote:
> *  Bob X
>
> > "Thorsten Kampe" <thorsten at thorstenkampe.de> wrote in message
> >
> >>> Shouldn't Python know its own libs?
> >>
> >> It does:
> >> ,---
> >>
> >> | Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on
> >> | win32 Type "help", "copyright", "credits" or "license" for more
> >> | information.
> >> |
> >> | >>> import pydoc
> >>
> >> `---
> >
> > It doesn't...you are executing from with Python...I am trying to do a ViM
> > script that executes it.
>
> So Vim doesn't doesn't know about Python's libs. No surprise.

Actually, vim's been able to import and use python libs for a long, long time. 
There's no reason why vim shouldn't be able to hook into pydoc.


    Richard





More information about the Python-list mailing list