Question #688770 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688770

Manfred Hampl proposed the following answer:
The behavior of integer divisions has changed between python2 and
python3.

In python2 dividing an integer by an integer (5/2) results in an integer (=2) 
(fraction of result cut off).
In python3 dividing an integer by an integer (5/2) results in a float result 
(=2.5). There is now a//b giving an integer result.

Maybe this is the explanation of the difference.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to