2 Channel CAN BUS FD Shield for Raspberry Pi send data with python, bytearray issue

The wiki page at

is out of date for Python.

  1. Go to python-can — python-can 4.0.0 documentation to get the latest.
  2. The network open must now be used with a ‘with’ statement or the interface will never close properly.
  3. ‘socketcan_native’ no longer works, use ‘socketcan’

There is likely more, I am still debugging.