Bruno Desthuilliers wrote:
> In the python shell, typing 'help()' should get you started most
> of the time.
And honestly, it should work all of the time. If it doesn't, file a bug
report. I can't stand it when that doesn't work. Some of us don't do
all of our work with a browser handy, and a net
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, bu
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,
On Sun, 26 Mar 2006 17:19:35 +0200, Rene Pijlman wrote:
> Tony Burrows:
>>With something like Java I can find the syntax of a method call with no
>>problems, how do I do the same with Python?
>
> The basic syntax is just the name, with parameters in brakcets:
>
>object.method(par1, par2, ...
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
Tony Burrows:
>With something like Java I can find the syntax of a method call with no
>problems, how do I do the same with Python?
The basic syntax is just the name, with parameters in brakcets:
object.method(par1, par2, ...)
This is explained in the documentation, of course.
>how do I find