[Tutor] Python referrence

Rikard Bosnjakovic rikard.bosnjakovic at gmail.com
Fri Feb 9 19:20:24 CET 2007

On 2/9/07, johnf <jfabiani at yolo.com> wrote:

> Is there a Python tool/document that is similar?  Just a simple way to help
> understand.

Yes, use the __doc__ property.

>>> print list.__doc__
list() -> new list
list(sequence) -> new list initialized from sequence's items
>>> import os.path
>>> print os.path.__doc__
Common operations on Posix pathnames.

- Rikard.

More information about the Tutor mailing list