Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10813

Re: parsing function parameters

From Stefan Behnel <stefan_ml@behnel.de>
Subject Re: parsing function parameters
Date 2011-08-03 18:23 +0200
References <SNT106-W25A79F03CB12FDF1A4230CB13A0@phx.gbl>
Newsgroups comp.lang.python
Message-ID <mailman.1847.1312388603.1164.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: parsing function parameters Stefan Behnel <stefan_ml@behnel.de> - 2011-08-03 18:23 +0200

csiph-web