Can't address the 8-byte longs, but to strip off null padding
in strings you merely do
s=s.rstrip('\x00')
Larry Bates
[EMAIL PROTECTED] wrote:
> Hi everyone,
>
> I would like to be able to pack/unpack 8-byte longs, and have strings
> with null padding to be able to have the nulls trimmed off
> automatically.
>
> Just thought I would mention these two items on my wish list, since I
> searched a bit, and haven't yet found a mention of this...
>
> Regards,
> Lee
>
--
http://mail.python.org/mailman/listinfo/python-list