rexec in jython??

Diez B. Roggisch deets at nospam.web.de
Sun Feb 5 07:56:57 EST 2006


Mark Fink wrote:

> this is really funny...
> I tried to use eval(String) as an replacement. It works now but the
> calculation results from my tests are not as expected: 2 + 3 = 23 !!! 2
> - 3 = 2-3...
> I have the feeling that there is a really easy solution for this.
> Unfortunately I have no enough experience

How about showing code? Otherwise we all have to use our crystal balls, and
these thingies tend to be not so precise...

Diez



More information about the Python-list mailing list