pack/unpack zero terminated string

tmp123 tmp123 at menta.net
Wed May 2 09:56:31 EDT 2007


Hello,

Thanks for your time.

After review the "struct" documentation, it seems there are no option
to pack/unpack zero terminated strings.

By example, if the packed data contains: byte + zero terminated string
+ zero terminated string + byte, it seems no possible to unpack it
using "struct".

Please, has someone any hint or pointer to another librarian to be
used?

Thanks.




More information about the Python-list mailing list