<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 15, 2015 at 2:14 PM, Peter Otten <span dir="ltr"><<a href="mailto:__peter__@web.de" target="_blank">__peter__@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Joel Goldstick wrote:<br>
<br>
> You can dispense with the slicing if you use the str.split() method. It<br>
> will put each item in a list.<br>
<br>
</span>Only if there are no whitespace chars in the field.<br>
<br>
OT:<br>
<br>
Joel, your comments are already quoted when you first post them. Something<br>
is broken in your workflow.<br>
<div class="HOEnZb"><div class="h5"><br>
not sure about quoting.. but the op didn't seem to have spaces in each field<br>
_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://mail.python.org/mailman/listinfo/tutor" target="_blank">https://mail.python.org/mailman/listinfo/tutor</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Joel Goldstick<br></div><a href="http://joelgoldstick.com" target="_blank">http://joelgoldstick.com</a><br></div></div>
</div></div>