thanks for help. formerly I only know to use the struct like bellow:
>>> unpack('hhl', '\x00\x01\x00\x02\x00\x00\x00\x03')
Great, python can work like this:
>>> l = list(struct.unpack('h'*(len(s)/2), s))
I will try to use the numarray also
>>>there are some good exensions for Python,
>>>numarray and numpy and so on ...
>>>(http://numeric.scipy.org/)-- http://mail.python.org/mailman/listinfo/python-list
