kettle <[EMAIL PROTECTED]> writes:
> # pack $length as a 32-bit network-independent long
> my $len = pack('N', $length);
[...]
> the sticking point seems to be the $len variable.
Use len = struct.pack('!L', length) in Python. See
http://docs.python.org/lib/module-struct.html for details.
--
http://mail.python.org/mailman/listinfo/python-list
