J
Jive
I've got a program with Python 2.3 embedded. When I try to run a script
containing "from __future__ import division", I get an exception:
File "main2.py", line 3
from __future__ import divison
SyntaxError: future feature divison is not defined
Anyone know how to fix that? BTW, when I run the program with
CO_FUTURE_DIVISION set in PyCompilerFlags, division works the new way, as it
should.
containing "from __future__ import division", I get an exception:
File "main2.py", line 3
from __future__ import divison
SyntaxError: future feature divison is not defined
Anyone know how to fix that? BTW, when I run the program with
CO_FUTURE_DIVISION set in PyCompilerFlags, division works the new way, as it
should.