how do you learn python APIs?

John J. Lee jjl at
Sat Jun 21 14:00:24 CEST 2003

Keith Beattie <KSBeattie at> writes:
> pydoc is close, but the lack of types make it difficult so discern
> what a method does without other documentation.  Doing dir(foo) on
> objects directly in the interpreter which is helpful but, I guess
> I'd like to know what the pythonic way of doing things is, or ask
> how people go about learning a new module.

help(object) in the interactive interpreter is useful -- shows
docstring *and* args.


More information about the Python-list mailing list