On Sat, Feb 05, 2005 at 02:11:07PM -0800, Michael Hartl wrote:
> Use the eval function:
> 
> >>> eval("30/(6+9)")
> 2
> 

Thanks, just what I was looking for!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to