struct enhancements?

lee_merrill at yahoo.com lee_merrill at yahoo.com
Thu Apr 7 14:32:01 EDT 2005


Thanks! I have 16 zillion ... well 16,000 strings that need trimming.

Lee

Larry Bates wrote:
> Can't address the 8-byte longs, but to strip off null padding
> in strings you merely do
> 
> s=s.rstrip('\x00')
> 
> Larry Bates




More information about the Python-list mailing list