Module documentation

Georg Brandl g.brandl-nospam at gmx.net
Mon Mar 27 02:07:21 EST 2006


Tony Burrows wrote:
> Just getting to grips with Python, a great language BUT
> With something like Java I can find the syntax of a method call with no
> problems, how do I do the same with Python?
> 
> For example, using MySQLdb or SGMLParser I can see what the available
> methods are with dir, but how do I find out what parameters are needed and
> what they represent?

In case of extension modules and libraries not in the Python standard library,
they should have a documentation somewhere too.

And if they are implemented in Python, just look at the source to understand
how the methods work.

Georg



More information about the Python-list mailing list