deref in a string into an operand

John Doe atterdan at yahoo.com
Fri Nov 5 03:01:59 EST 2004


I've got the action '+' stored as the variable 'plus',
that is plus='+'

Now I want to use the variable plus in an equation:
5 plus 7, just line 5 + 7

How do I do that?

Dan




More information about the Python-list mailing list