Gathering variable names from within a function.

Peter Hansen peter at
Fri Jul 4 14:44:35 CEST 2003

Xavier wrote:
> I was wondering if there was a way to get a list of all the variables which
> were executed/created/modified within a function?

Have you looked at the "inspect" standard module?

More information about the Python-list mailing list