Image

Imageyornick wrote in Imageru_python

Добрий день Ол
I need to calculate CheckSum of a binary file DWORD by DWORD
and I use
reduce(lambda x,y:int(x+y),(unpack('L'* (size/4) , data[0 : size]))
so I get the Long
Is there any alegant way to get an Integer (I mean DWORD 32 bits) instead of unlimited Python Long

Спасибо