struct module...
Richard Brodie
R.Brodie at rl.ac.uk
Fri Mar 21 12:36:21 EST 2003
"Tim Peters" <tim.one at comcast.net> wrote in message
news:mailman.1048262974.10758.python-list at python.org...
> > did someone extend struct module to manage not fixed lengh of
> > array.
>
> Doesn't seem worth the confusion or bother to me.
The p format does seem to have rather curious semantics; I would
have thought the 'least surprising' thing would be for it to take a string
and store it as a counted length string.
'B?(1)c' looks like ugly syntax though. What about *p for an implied
length byte-counted string?
More information about the Python-list
mailing list