On 8/25/10, Wayne Werner wrote:
> On Wed, Aug 25, 2010 at 4:58 PM, Alex Hall wrote:
>
>> Hi all,
>> If I wanted to have a dictionary containing functions, could I pass
>> args to those functions? For example:
>> menu={
>> "option 1":f1,
>> "option 2":f2
>> }
>> How would I pass args to f1 or f2
On Wed, Aug 25, 2010 at 4:58 PM, Alex Hall wrote:
> Hi all,
> If I wanted to have a dictionary containing functions, could I pass
> args to those functions? For example:
> menu={
> "option 1":f1,
> "option 2":f2
> }
> How would I pass args to f1 or f2 in this case? TIA.
You sure could, becaus
Hi all,
If I wanted to have a dictionary containing functions, could I pass
args to those functions? For example:
menu={
"option 1":f1,
"option 2":f2
}
How would I pass args to f1 or f2 in this case? TIA.
--
Have a great day,
Alex (msg sent from GMail website)
mehg...@gmail.com; http://www.face