[Tutor] sql-like join on two lists or dictionaries

Joel Goldstick joel.goldstick at gmail.com
Mon Feb 16 21:26:23 EST 2015


On Sun, Feb 15, 2015 at 2:14 PM, Peter Otten <__peter__ at web.de> wrote:

> Joel Goldstick wrote:
>
> > You can dispense with the slicing if you use the str.split() method.  It
> > will put each item in a list.
>
> Only if there are no whitespace chars in the field.
>
> OT:
>
> Joel, your comments are already quoted when you first post them. Something
> is broken in your workflow.
>
> not sure about quoting.. but the op didn't seem to have spaces in each
> field
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>



-- 
Joel Goldstick
http://joelgoldstick.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150216/c48a679e/attachment.html>


More information about the Python-list mailing list