evaluating a string

prakash.ojha at hope.edu prakash.ojha at hope.edu
Tue Oct 17 00:01:24 EDT 2000


I am new to Python and would like to know how can I evaluate a string
like "1+2*3/4" to give a numeric result. Is there any built in function
that will give me this result. Any help would be greatly appreciated.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list