Module documentation

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sun Mar 26 23:48:27 CEST 2006


Tony Burrows a écrit :
> 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 the python shell, typing 'help(<symbol>)' should get you started most 
of the time.




More information about the Python-list mailing list