[pycrypto] Python 3.x vs. Python 2.1 - prep the axe

Thorsten Behrens sbehrens at gmx.li
Wed Dec 29 12:16:37 CST 2010

On 12/29/2010 12:21 PM, don at amberfisharts.com wrote:
>   Hi
>   If the only occurrence of this problem is with divisions by 2 then
>   couldn't you use a>>1 instead?
It's actually very_large_number // another_very_large_number.

Dwayne's divmod(a,b)[0] method works perfectly.


More information about the pycrypto mailing list