Use the eval function:

>>> eval("30/(6+9)")
2

Michael

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

Reply via email to