how do you learn python APIs?
John J. Lee
jjl at pobox.com
Sat Jun 21 08:00:24 EDT 2003
Keith Beattie <KSBeattie at lbl.gov> 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.
John
More information about the Python-list
mailing list