Getting list of parameter names inside python function [duplicate]

Possible Duplicate:
Getting method parameter names in python

Is there an easy way to be inside a python function and get a list of the parameter names?

For example:

def func(a,b,c):
    print magic_that_does_what_I_want()

>>> func()
['a','b','c']

Thanks

4 Answers
4

Leave a Comment