Re: fetching method names from a class, and the parameter list from a methodRe: fetching method names from a class, and the parameter list from a method

2005-01-11 Thread Philippe C. Martin
>>> import inspect >>> help(inspect) Thanks, I have not seen the func params yet, but the default values are so Regards, Philippe -- *** Philippe C. Martin SnakeCard LLC www.snakecard.com *** -- http://mail.python.org/mailman/listinfo/py

Re: fetching method names from a class, and the parameter list from a method

2005-01-10 Thread John Lenton
On Mon, Jan 10, 2005 at 08:29:40PM +0100, Philippe C. Martin wrote: > Is this possible ? > > I am trying to have auto-completion working in a shell I wrote but I > currently have the method lists done by hand (ie; if I add/subtract a > method from that class, then my auto-completion is out of date

fetching method names from a class, and the parameter list from a method

2005-01-10 Thread Philippe C. Martin
Is this possible ? I am trying to have auto-completion working in a shell I wrote but I currently have the method lists done by hand (ie; if I add/subtract a method from that class, then my auto-completion is out of date). Same issue with method parameters. I have parsed through many of the attr