From: Leonardo M. <lm...@ud...> - 2003-08-22 08:58:07
|
Hi all Anyone running python 2.3 ? To run the setup script, I had to change one line in gp_java.py I don't use Jython, so I can't test. But the installer complains: ----- byte-compiling /usr/lib/python2.3/site-packages/Gnuplot/gp_java.py to gp_java.pyc File "/usr/lib/python2.3/site-packages/Gnuplot/gp_java.py", line 130 self.process = Runtime.getRuntime().exec(command) ^ SyntaxError: invalid syntax ----- Michael, should this be exec or eval() ? I am not sure, but it might need to be "eval(command)" according to http://www.python.org/doc/current/lib/bltin-code-objects.html#l2h-259 Using eval byte-compiles ok, but who knows. Ideas ? Best, -- leo |