pydoc&readline Re: some questions unanswered - new programmer ...
Roman Suzi
rnd at onego.ru
Sun Aug 5 02:54:10 EDT 2001
On Sat, 4 Aug 2001, Skip Montanaro wrote:
>
> Lee> What is this 'help'?
>
> Lee> I can do:
> Lee> print dir.__doc__
>
> Lee> but for
> Lee> help('dir')
> Lee> I get:
>
> Lee> NameError ...
Oh... My fault! I forgot that I load help in Python startup.
>
>Try
>
> from pydoc import help
> help(pydoc)
>
>I have this in my PYTHONSTARTUP file. Pydoc is pretty damn cool.
It could be even cooler if it supported readline!
Sincerely yours, Roman Suzi
--
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Sunday, August 05, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "By all means, let's not confuse ourselves with the facts!" _/
More information about the Python-list
mailing list