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

2015-02-16 Thread Joel Goldstick
On Mon, Feb 16, 2015 at 10:09 PM, Dave Angel wrote: > On 02/16/2015 09:26 PM, Joel Goldstick wrote: > >> On Sun, Feb 15, 2015 at 2:14 PM, Peter Otten <__pete...@web.de> wrote: >> >> Joel Goldstick wrote: >>> >>> You can dispense with the slicing if you use the str.split() method. It will

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

2015-02-16 Thread Dave Angel
On 02/16/2015 09:26 PM, Joel Goldstick wrote: On Sun, Feb 15, 2015 at 2:14 PM, Peter Otten <__pete...@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 fiel

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

2015-02-16 Thread Joel Goldstick
On Sun, Feb 15, 2015 at 2:14 PM, Peter Otten <__pete...@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 ar