how do you learn python APIs?

Tyler Eaves ninja114 at spl.at
Fri Jun 20 23:05:40 EDT 2003


On Fri, 20 Jun 2003 20:03:22 -0700, Keith Beattie wrote:

> Hello,
> 
> I'm relatively new to python and would like to know how more seasoned python programmers learn new APIs.  My inclination (as a recent Java programmer) is to have a javadoc like interface, and 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.
> 
> Thanks,
> ksb

Maybe I'm missing something here, but the standard doc covers the standard
library in great detail, and most add-on modules have pretty good doc as
well. 

Beyond that, I tend to just fire up an interactive session, import the
module and 'play' with it.





More information about the Python-list mailing list