use strings to call functions

Aahz aahz at pythoncraft.com
Mon Feb 8 17:43:46 EST 2010


In article <5790c33c-13d0-4596-91b0-b3c9aeebf637 at f8g2000yqn.googlegroups.com>,
OdarR  <olivier.darge at gmail.com> wrote:
>On 8 f=E9v, 22:28, a... at pythoncraft.com (Aahz) wrote:
>> In article <0efe23a6-b16d-4f92-8bc0-12d056bf5... at z26g2000yqm.googlegroups=
>.com>,
>> OdarR =A0<olivier.da... at gmail.com> wrote:
>>>
>>>and with eval(), did you try ?
>>
>> WARNING: eval() is almost always the wrong answer to any question
>
>warning : it works !

Works for what?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

import antigravity



More information about the Python-list mailing list