2's complement conversion. Is this right?
John Machin
sjmachin at lexicon.net
Sun Apr 20 02:01:59 EDT 2008
Ross Ridge wrote:
> Ross Ridge <rri... at caffeine.csclub.uwaterloo.ca> wrote:
>> It's the same as the previous version except that it "precompiles"
>> the struct.unpack() format string. =A0It works similar to the way Python
>> handles regular expressions.
>
> George Sakkis <george.sakkis at gmail.com> wrote:
>> I didn't know about the Struct class; pretty neat. It's amazing that
>> this version without Psyco is as fast Bob's version with Psyco!
>
> Unfortunately, it doesn't seem to documented in the Python 2.5 manual.
It seems to me that it's documented:
http://docs.python.org/lib/struct-objects.html
The struct module doc page
(http://docs.python.org/lib/module-struct.html) provides links but no
explicit mention of the Struct class in its text.
More information about the Python-list
mailing list