3 byte network ordered int, How To ?

mudit tuli mudit.tuli at gmail.com
Wed Jan 6 13:01:46 EST 2010


For a single byte, struct.pack('<B',<int>)
For two bytes, struct.pack('<H',<int>)
what if I want three bytes ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100106/47703f15/attachment.html>


More information about the Python-list mailing list