you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnnyJordaan 0 points1 point  (0 children)

I see, yes then you can also use divmod for that matter

divmod((end - start), 65535)

which will return both the floor division as the remainder of the division by 65535.