Hey all,
I'm new to python, but I'm finding it really cool and nice.
My questions is how would I limit a integer to 16bits, as I'm making a LZW implementation for college and I want to constrain the codewords to 16bits instead of pythons default 32.

Basically I want to end up with the encoded file containing only 2byte integer codewords. I havent seen any way of doing this in the docs yet, perhaps someone here will know.

Diarmuid.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to