Che M wrote: [... snip solution around mis-handling a string split ...]
Glad you solved it. Thanks for coming back with
an update. Depending on your circs, you might want
to try a more general solution to that problem, like:
<code>
s = "This, is,a, string, with, varying, amounts, of,space"
print [s.strip () for s in s.split (",")]
</code>
TJG
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
