[Tutor] What Eval() Hath Men Wrought
Tim Johnson
tim at johnsons-web.com
Thu Jun 17 22:34:55 EDT 2004
<gr>Couldn't resist that subject since I hear
the eval (the built-in) is 'evil'. </gr>
I've been looking through the Python Cookbook, and
there's an example at
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66018
look for
class Eval:
# ...... code following
This appears to be a handy class, but given the concerns about
built-in function eval, I would welcome comments and caveats.
Thanks
tim
--
Tim Johnson <tim at johnsons-web.com>
http://www.alaska-internet-solutions.com
More information about the Tutor
mailing list