parsing function parameters

Stefan Behnel stefan_ml at behnel.de
Wed Aug 3 12:23:08 EDT 2011


Lee Harr, 03.08.2011 18:02:
> I am trying to get some information about a function
> before (and without) calling it.
>
> Here is what I have so far. I chose to go with a
> regular expression, so now I have 2 problems :o)

Can't you just use runtime introspection? Take a look at the inspect module.

Stefan




More information about the Python-list mailing list