Names of function's args?

vigasinus vi at rial.net
Tue Jan 29 09:56:26 EST 2002


--- In python-list at y..., Michael Hudson <mwh at p...> wrote:

> > Hello, All

> > ....
> > How to get them outside of a function?

> f.func_code.co_varnames[:f.func_code.co_argcount]
> 
> Is that what you meant?
Yes. Great thanks for your answer!

Regards, Ivan





More information about the Python-list mailing list