> You should really use the struct module for that type of conversion, but > you also need to know that indexing of lists and tuples starts at 0, not 1.
indeed, i used to have temp = unpack('h', tBuf[1,3]) but it was a hack (and as such a bit off ;) as i was having troubles casting not quite used to python yet, will get there... thanks again !! -- http://mail.python.org/mailman/listinfo/python-list