pack/unpack zero terminated string
Tim Roberts
timr at probo.com
Fri May 4 01:59:36 EDT 2007
tmp123 <tmp123 at menta.net> wrote:
>
>After review the "struct" documentation, it seems there are no option
>to pack/unpack zero terminated strings.
Right. Just as there is no way to describe such a thing as a C struct.
You'll have to unpack the fields by hand, which is that case won't be hard.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list