Clayton Kirkwood wrote:
> Small problem:
> Import zlib
> For file in files:
> checksum = zlib.adler32(file)
>
> traceback
> checksum = zlib.adler32(file)
> TypeError: a bytes-like object is required, not 'str'
>
> Obvious question, how do I make a bytes-like object. I've read through the
Small problem:
Import zlib
For file in files:
checksum = zlib.adler32(file)
traceback
checksum = zlib.adler32(file)
TypeError: a bytes-like object is required, not 'str'
Obvious question, how do I make a bytes-like object. I've read through the
documentation and didn't find a way to do th