GujuBoy wrote:
i have the following code...which works fine in UNIX but then i move it
over to WINDOWS XP and check the sum on the same file that i tested on
unix and i get different results.
def checksum(fileobj):
filedata = array.array('B', fileobj.read())
Did you make sure you opened this "f
[GujuBoy wrote]
> i have the following code...which works fine in UNIX but then i move it
> over to WINDOWS XP and check the sum on the same file that i tested on
> unix and i get different results.
>
> def checksum(fileobj):
> filedata = array.array('B', fileobj.read())
> totbytes = len(f
i have the following code...which works fine in UNIX but then i move it
over to WINDOWS XP and check the sum on the same file that i tested on
unix and i get different results.
def checksum(fileobj):
filedata = array.array('B', fileobj.read())
totbytes = len(filedata)
result = 0
de