Python Forum
Please help me to convert a function from vb to python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please help me to convert a function from vb to python
#10
if you call it like this

calc ('11010003000C')
your function returns '3601'

One of the packages I testes - PyCRC calculates it as 3191

>>> from PyCRC.CRC16 import CRC16
>>> print CRC16().calculate('11010003000C')
3191
>>>
both not what you expect

CE9F
Reply


Messages In This Thread
RE: Please help me to convert a function from vb to python - by buran - May-23-2017, 08:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Convert a string to a function mikepy 8 2,676 May-13-2022, 07:28 PM
Last Post: mikepy

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020