Re: signed vs unsigned int
On Jun 2, 12:04 am, Christian Heimes wrote: > > i'm reading bytes from a serial port, and storing it into an array. > > > each byte represents a signed 8-bit int. > > > currently, the code i'm looking at converts them to an unsigned int by > > doing ord(array[i]). however, what i'd like is to get
signed vs unsigned int
way to do this? thanks in advance. johnty -- http://mail.python.org/mailman/listinfo/python-list