Correction in the last input line...

In [16]: result = struct.unpack('5p', os_inst[11:16])
---------------------------------------------------------------------------
error                                     Traceback (most recent call last)
<ipython-input-16-42b59e00d5af> in <module>()
----> 1 result = struct.unpack('5p', os_inst[11:16])

error: unpack requires a bytes object of length 5

In [17]: 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to