Код: Выделить всё
>>> message='hello world!'
>>> import binascii
>>> binascii.crc32(message)
Traceback (most recent call last):
File "", line 1, in
TypeError: a bytes-like object is required, not 'str'
Подробнее здесь: https://stackoverflow.com/questions/473 ... -of-string