<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=214253119-03112005><FONT face=Arial color=#0000ff size=2>Oops,
I see I just doubled up on Danny's advice. </FONT></SPAN></DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=en-nz><B><FONT face=Verdana color=#800000 size=2>Liam
Clarke-Hutchinson</FONT></B><FONT face=Verdana color=#808080
size=2>| Contact Centre Advisor|</FONT><B> <FONT face=Verdana color=#808080
size=2>Ministry of Economic Development </FONT></B></SPAN><BR><SPAN
lang=en-nz><FONT face=Verdana color=#808080 size=2>DDI +64 3 962 2639 | Fax +64
3 962 6220<BR></FONT><U></U></SPAN><A href="http://www.med.govt.nz/"><SPAN
lang=en-nz><U><FONT face=Verdana color=#0000ff
size=2>www.med.govt.nz</FONT></U><U></U></SPAN></A><SPAN
lang=en-nz><U></U><U></U><FONT face=Arial> </FONT></SPAN></P>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
tutor-bounces@python.org [mailto:tutor-bounces@python.org] <B>On Behalf Of
</B>Pujo Aji<BR><B>Sent:</B> Thursday, 3 November 2005 10:03
p.m.<BR><B>To:</B> Tutor<BR><B>Subject:</B> [Tutor] avoid eval
how???<BR><BR></FONT></DIV>
<DIV>Hello</DIV>
<DIV> </DIV>
<DIV>I have a dynamic functions which created by some algorithms during
runtime.</DIV>
<DIV>These functions are in string type.</DIV>
<DIV>When I want to use it, I can use eval command.</DIV>
<DIV>But can someone give me more suggestion about how to handle this problem,
I want to avoid eval.</DIV>
<DIV> </DIV>
<DIV>Example :</DIV>
<DIV>L = ['x+sin(x)', '1/(2.2 + pow(2,3)/sin(30)']</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Sincerely Yours,</DIV>
<DIV>pujo</DIV></BLOCKQUOTE>
<P> </P>
<P><EM>A new monthly electronic newsletter covering all aspects of MED's work is
now available. Subscribers can choose to receive news from any or all of
seven categories, free of charge: Growth and Innovation, Strategic Directions,
Energy and Resources, Business News, ICT, Consumer Issues and Tourism. See
</EM><A
href="http://news.business.govt.nz/"><EM>http://news.business.govt.nz</EM></A><EM>
for more details.</EM></P>
<P><EM></EM> </P>
<P> </P>
<P><BR> </P>
<FONT size=2><FONT color=#808080><FONT size=2>
<DIV><A href="http://www.govt.nz/">govt.nz</A> - connecting you to New
Zealand central & local government services<BR></DIV></FONT></FONT></FONT>
<P><FONT size=2><FONT color=#808080><FONT size=2>
<HR>
Any opinions expressed in this message are not necessarily those of the Ministry
of Economic Development. This message and any files transmitted with it are
confidential and solely for the use of the intended recipient. If you are not
the intended recipient or the person responsible for delivery to the intended
recipient, be advised that you have received this message in error and that any
use is strictly prohibited. Please contact the sender and delete the message and
any attachment from your computer.
<HR>
<P></P>
<P></P>
<P></FONT></FONT></FONT></P>
</BODY></HTML>