Sebastian
Apr 13, 2013 - 11:18
Ok, so I'm trying to create a scene based calculator and everything works fine, except the division part. If you type 3/2 you get 1 as the answer, because python 2.x uses floor division on integers. So then I thought I could just do
from future import divisionbut that seems to stop the script from running at all.
Why does the script fail to start when I try to import division? Is it just me, or does it happen to everyone?
PS: It's only when I'm using the scene module, it works just fine with console based applications.
Edit: I got it working now when I imported division before I imported the scene module. Strange :P