what if i have a sqrt(a+c-3*y)?
i will change the value of a, c and y to any value that the user will define

> In [23]: c = "a+b+c+d+e+f+g"
> In [24]: v = "12,23,34,45,11,22,1"
> In [25]: v = map(lambda x: int(x), v.split(','))
> 
> In [26]: eval(c, dict(zip(c.split('+'), v)))
> 
> Out[26]: 148
> 
> In [27]: 


------------------------
Joel Cabral
F S 3 Consulting Inc.
[EMAIL PROTECTED]
http://www.fs3.ph




-------------------- m2f --------------------

--
http://www.openerp.com/forum/viewtopic.php?p=24323#24323

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to