CRC16 in Python

我的梦境 提交于 2019-12-07 14:01:22

问题


How do I calculate CRC16 in Python?

In Perl I would write something like:

use Digest::CRC "crc16";
$result = crc16($str);

How do I do same thing in Python?


回答1:


There is a library for calculating CRC16 here http://pypi.python.org/pypi/crc16/0.1.0



来源:https://stackoverflow.com/questions/5292290/crc16-in-python

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!