some questions unanswered - new programmer ...

Lee Harr missive at frontiernet.net
Sat Aug 4 17:58:41 EDT 2001


On Sat, 4 Aug 2001 23:22:41 +0400 (MSD), Roman Suzi <rnd at onego.ru> wrote:

<snip>

>>>> help('dir')
> Help on built-in function dir:
> 
> dir(...)
>     dir([object]) -> list of strings
> 
>     Return an alphabetized list of names comprising (some of) the
<snip>

What is this 'help'?

I can do:
print dir.__doc__

but for
help('dir')
I get:

NameError ...





More information about the Python-list mailing list