names of parameters as string
From: andrea valle (andrea.valle_at_unito.it)
Date: 10/29/04
- Next message: Grant Edwards: "Re: Real-time graphs"
- Previous message: Peter Hansen: "OT: invalid email bounces (was Re: Looking for more Cookbook contributors)"
- Next in thread: Richie Hindle: "Re: names of parameters as string"
- Maybe reply: Richie Hindle: "Re: names of parameters as string"
- Maybe reply: andrea valle: "Re: names of parameters as string"
- Maybe reply: Josiah Carlson: "Re: names of parameters as string"
- Reply: Jean Brouwers: "Re: names of parameters as string"
- Maybe reply: Terry Reedy: "Re: names of parameters as string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Oct 2004 17:57:25 +0200 To: python-list@python.org
Hi to all,
I'd like to access the parameter list of a function (or better of a
method) in order to generate GUI elements.
That is.
If I have this:
>>> def foo( foo_param1, foo_param2):
print foo_param
I'd like to have something like:
>>> print foo.param_list
>>> 'foo_param1', 'foo_param2'
My idea is to use the foo_params strings in Tkinter as text for Label
and as variables for Entries.
What have I to do?
Thanks a lot as usual
Best
-a-
_____________________________________________________________________
For your security, this mail has been scanned and protected by Inflex
- Next message: Grant Edwards: "Re: Real-time graphs"
- Previous message: Peter Hansen: "OT: invalid email bounces (was Re: Looking for more Cookbook contributors)"
- Next in thread: Richie Hindle: "Re: names of parameters as string"
- Maybe reply: Richie Hindle: "Re: names of parameters as string"
- Maybe reply: andrea valle: "Re: names of parameters as string"
- Maybe reply: Josiah Carlson: "Re: names of parameters as string"
- Reply: Jean Brouwers: "Re: names of parameters as string"
- Maybe reply: Terry Reedy: "Re: names of parameters as string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]