some questions unanswered - new programmer ...

Skip Montanaro skip at pobox.com
Sat Aug 4 23:35:08 EDT 2001


    Lee> What is this 'help'?

    Lee> I can do:
    Lee> print dir.__doc__

    Lee> but for
    Lee> help('dir')
    Lee> I get:

    Lee> NameError ...

Try

    from pydoc import help
    help(pydoc)

I have this in my PYTHONSTARTUP file.  Pydoc is pretty damn cool.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list