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
On Tue, Dec 1, 2009 at 12:15 AM, Nadav Chernin nada...@qualisystems.com 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
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 parameters