On 9/7/06, Kent Johnson <[EMAIL PROTECTED]> wrote:

> No, it doesn't. You are confused somewhere; my guess is your original
> data has newlines.

Sorry, my bad. When I created the original list I was splitting a
string in two pieces. The latter portion of the string had a newline
at the end. I had taken the slice with [index:] instead of [index:-1].

Thanks for the help and the tips regarding other ways to do it.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to