parsing equations

munehiro munehiro at moc.emani.remove.and.reverse.it
Tue Dec 9 16:58:38 CET 2003


Diez B. Roggisch wrote:
  > Use the builtin function eval to evaluate an arbitrary python 
expression:
> 
> 
>>>>eval("3+2*6")


many thanks... it's exactly what i need :)





More information about the Python-list mailing list