Flavio codeco coelho wrote:
[EMAIL PROTECTED] (Michael Fuhr) wrote in message news:<[EMAIL PROTECTED]>...
If the actual byte and/or bit order is different then you'll have to modify the expression, but this should at least give you ideas.
Thanks Michael and Steve,
I'll put your Ideas to the test ASAP, meanwhile, could you point me to references to these bit operations in Python? I am new to this stuff, and might need to do more of this to support other hardware...
I havent been able to find anything about this on the python documentation..
Thanks a lot!!
Flavio
ord() is documented in section 2.1 of the library reference manual (Built-in Functions) - see http://docs.python.org/lib/built-in-funcs.html#l2h-53 for further information.
Bitstring operations are at http://docs.python.org/lib/bitstring-ops.html#l2h-150
Hope this helps.
regards Steve -- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/ Holden Web LLC +1 703 861 4237 +1 800 494 3119 -- http://mail.python.org/mailman/listinfo/python-list