Re: Function parameters list

2009-12-01 Thread Mohsen Pahlevanzadeh
You need to define a function same following definition: def myfunc(*arglist): yourbody calling function: myfunc("it's first argument","It's second argument","It's thr argument") On Tue, 2009-12-01 at 10:15 +0200, Nadav Chernin wrote: > Hello, all > > > > I need to know dynamically

Re: Function parameters list

2009-12-01 Thread Chris Rebert
On Tue, Dec 1, 2009 at 12:15 AM, Nadav Chernin wrote: > Hello, all > > I need to know dynamically parameters of any function (prototype). > > Is there some way to get it? The `inspect` module: http://docs.python.org/library/inspect.html#inspect.getargspec http://docs.python.org/library/inspect.h

Function parameters list

2009-12-01 Thread Nadav Chernin
Hello, all I need to know dynamically parameters of any function (prototype). Is there some way to get it? Thanks, Nadav -- http://mail.python.org/mailman/listinfo/python-list