[Tutor] RE: List of available modules
Alan Gauld
alan.gauld at blueyonder.co.uk
Sat Apr 10 16:46:10 EDT 2004
> > How long has Python had help()?
>
> I think just about forever :).
After 1.5 and before 2.3....
Browsing the old documentation I found this in
the "whats new in 2.2" for 2.2.3, dated May 30, 2003
---------
In the interpreter's interactive mode, there's a new
built-in function help() that uses the pydoc module
introduced in Python 2.1 to provide interactive help.
help(object) displays any available help text about object.
help() with no argument puts you in an online help utility,
where you can enter the names of functions, classes,
or modules to read their help text.
(Contributed by Guido van Rossum, using Ka-Ping Yee's pydoc module.)
--------------
HTH,
Alan G
Author of the Learn to Program web tutor
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Tutor
mailing list