Re: Module documentation

2006-03-27 Thread msoulier
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

Re: Module documentation

2006-03-26 Thread Georg Brandl
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

Re: Module documentation

2006-03-26 Thread Bruno Desthuilliers
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,

Re: Module documentation

2006-03-26 Thread Tony Burrows
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, ...

Re: Module documentation

2006-03-26 Thread Paul Boddie
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

Re: Module documentation

2006-03-26 Thread Rene Pijlman
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