Well, the point of declaring it as a char was to have it as an 8 bit integer, as is requested later on in the program. Anyways, I tried making the changes, similar results. The len value was always right, the problem seems to be in this com value. BTW, it doesn't give me one single warning, so I don't think it's a casting problem... I did a full check, and this can_han variable is right. Hmmm... Other ideas?
-- http://mail.python.org/mailman/listinfo/python-list