problems when unpacking tuple ...
Rene Pijlman
reply.in.the.newsgroup at my.address.is.invalid
Sat Apr 22 12:34:03 EDT 2006
harold:
>The output (when given the data I want to parse) is:
If you'd told us that data, and told us what version of Python you're
using, we could have reproduced the problem to look into it.
>ValueError: need more than 3 values to unpack
>
>Why does python think that I want to unpack the outcome of
>line.split() into three values instead of four?
That's not what it says. It says there are only 3 values in the outcome,
and it needs more (4 to be precise).
--
René Pijlman
More information about the Python-list
mailing list