parsing equations

munehiro munehiro at
Tue Dec 9 15:40:14 CET 2003

hi all,

i have a question.
Given the string '3+2*6' i need to parse it and obtain the result, so 
15. Does a module for this operation exists? i need to do simple 
operations, but also on floating point numbers.

many thanks

More information about the Python-list mailing list