Hard to understand 'eval'

TheSaint fc14301589 at icqmail.com
Sun Jun 15 05:16:56 EDT 2008


On 04:08, domenica 15 giugno 2008 bruno.desthuilliers at gmail.com wrote:

> what's wrong with getattr(cp, nn) ?

The learning curve to get into these programming ways.
Does gettattr run the snippet passed in?
Considering that nn is a name of function, which will be called and (cfl,
value) are the parameters to passed to that function.

I'll spend some bit on getattr use.
-- 
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html



More information about the Python-list mailing list