Shed my a light :)
fc14301589 at icqmail.com
Mon Jun 2 12:35:02 CEST 2008
I using eval for quite strange reason, as long as I don't know a different
way to implement.
actions= ('print', 'sum', 'divide', 'myfunction')
parameters=(5, 'nothing',5.63, object)
for routines in actions:
I'd like to note that actions are string or string expressions of the program
functions or python itself, so I've in my program something like:
for nn in actions:
Where cp is an instance.
So I'm asking here whether exist a way that these string become functions
inside my program, without using eval()
Mailsweeper Home : http://it.geocities.com/call_me_not_now/index.html
More information about the Python-list