struct.pack and perl's 'B' code for bitstrings

Troy Melhase troy at gci.net
Sat Jun 28 06:28:02 EDT 2003


>> Is there a better version of struct somewhere, or how are
>> people overcoming some of these problems?
> 
> I've heard of some alternative version of struct. I've never checked if
> they have bitstring options.

Justin, Oren:

You might be thinking of (or interested in) the SuperStruct module by Just
van Rossum:

http://starship.python.net/crew/just/code/sstruct.py

Or the unavailable-except-by-google-cache Python xstruct module:

http://216.239.57.100/search?q=cache:1FDMgaAXns0J:www.sis.nl/python/xstruct/xstruct.html+xstruct&hl=en&ie=UTF-8

Good luck,
troy






More information about the Python-list mailing list