use strings to call functions

Jean-Michel Pichavant jeanmichel at sequans.com
Mon Feb 8 20:50:13 EST 2010


Aahz wrote:
> In article <0efe23a6-b16d-4f92-8bc0-12d056bf599d at z26g2000yqm.googlegroups.com>,
> OdarR  <olivier.darge at gmail.com> wrote:
>   
>> and with eval(), did you try ?
>>     
>
> WARNING: eval() is almost always the wrong answer to any question
>   
Some say that eval is evil !

JM



More information about the Python-list mailing list