Question about struct.unpack
Eric Jacoboni
jaco at neottia.net
Wed Feb 22 15:23:17 EST 2006
Scott David Daniels <scott.daniels at acm.org> writes:
Thanks for your explanations.
But :
> nom = nomz.rstrip('\0')
doesn't work for me:
>>> nomz
'Dupont\x00\x80\xbf\xff\xf70\x8f\xe0u\xa4\x00\x00.8\xfe\xfe\xfe\xff\x80\x80\x80\x80'
>>> nom = nomz.rstrip('\0')
>>> nom
'Dupont\x00\x80\xbf\xff\xf70\x8f\xe0u\xa4\x00\x00.8\xfe\xfe\xfe\xff\x80\x80\x80\x80'
--
Eric Jacoboni, ne il y a 1444080064 secondes
More information about the Python-list
mailing list