issue with struct.unpack

9bizy a.m.akingbulu-11 at student.lboro.ac.uk
Sat Aug 25 14:34:39 EDT 2012


I am trying to unpack values from sensor data I am retrieving through a serial cable, but I get errors while using struct.unpack, how can I use struct.unpack to unload the data in a readable format?

I checked the python documentation for struct and I can seen to find any argument for this.

I have data = struct.unpack('char',data) but I still get errors



More information about the Python-list mailing list