On Thursday, March 2, 2017 at 9:33:14 PM UTC+5:30, Andrew Zyman wrote:
> Hello,
> please advise.
>
> I'd like search and append the internal list in the list-of-the-lists.
>
> Example:
> ll =[ [a,1], [b,2], [c,3], [blah, 1000] ]
>
> i want to search for the internal [] based on the string fi
On Thursday, March 2, 2017 at 3:53:25 PM UTC-5, Andrew Zyman wrote:
> On Thursday, March 2, 2017 at 3:31:36 PM UTC-5, Jussi Piitulainen wrote:
> > Andrew Zyman writes:
> >
> > > On Thursday, March 2, 2017 at 2:57:02 PM UTC-5, Jussi Piitulainen wrote:
> > >> Peter Otten <__pete...@web.de> writes:
>
On Thursday, March 2, 2017 at 3:31:36 PM UTC-5, Jussi Piitulainen wrote:
> Andrew Zyman writes:
>
> > On Thursday, March 2, 2017 at 2:57:02 PM UTC-5, Jussi Piitulainen wrote:
> >> Peter Otten <__pete...@web.de> writes:
> >>
> >> > Andrew Zyman wrote:
> >> >
> >> >> On Thursday, March 2, 2017 at 1
Andrew Zyman writes:
> On Thursday, March 2, 2017 at 2:57:02 PM UTC-5, Jussi Piitulainen wrote:
>> Peter Otten <__pete...@web.de> writes:
>>
>> > Andrew Zyman wrote:
>> >
>> >> On Thursday, March 2, 2017 at 11:27:34 AM UTC-5, Peter Otten wrote:
>> >>> Andrew Zyman wrote:
>> >>> .
>> >>> .
On Thursday, March 2, 2017 at 2:57:02 PM UTC-5, Jussi Piitulainen wrote:
> Peter Otten <__pete...@web.de> writes:
>
> > Andrew Zyman wrote:
> >
> >> On Thursday, March 2, 2017 at 11:27:34 AM UTC-5, Peter Otten wrote:
> >>> Andrew Zyman wrote:
> >>> .
> >>> .
> >>> > End result:
> >>> > ll
Peter Otten <__pete...@web.de> writes:
> Andrew Zyman wrote:
>
>> On Thursday, March 2, 2017 at 11:27:34 AM UTC-5, Peter Otten wrote:
>>> Andrew Zyman wrote:
>>> .
>>> .
>>> > End result:
>>> > ll =[ [a,1], [b,2], [c,3], [blah, 1000, 'new value'] ]
>>>
>>> >>> outer = [["a", 1], ["b", 2]
Andrew Zyman wrote:
> On Thursday, March 2, 2017 at 11:27:34 AM UTC-5, Peter Otten wrote:
>> Andrew Zyman wrote:
>> .
>> .
>> > End result:
>> > ll =[ [a,1], [b,2], [c,3], [blah, 1000, 'new value'] ]
>>
>> >>> outer = [["a", 1], ["b", 2], ["c", 3], ["blah", 1000]]
>> >>> for inner in out
On Thursday, March 2, 2017 at 11:27:34 AM UTC-5, Peter Otten wrote:
> Andrew Zyman wrote:
> .
> .
> > End result:
> > ll =[ [a,1], [b,2], [c,3], [blah, 1000, 'new value'] ]
>
> >>> outer = [["a", 1], ["b", 2], ["c", 3], ["blah", 1000]]
> >>> for inner in outer:
> ... if inner[0] == "b
Andrew Zyman wrote:
> Hello,
> please advise.
>
> I'd like search and append the internal list in the list-of-the-lists.
>
> Example:
> ll =[ [a,1], [b,2], [c,3], [blah, 1000] ]
>
> i want to search for the internal [] based on the string field and, if
> matches, append that list with a va
Hello,
please advise.
I'd like search and append the internal list in the list-of-the-lists.
Example:
ll =[ [a,1], [b,2], [c,3], [blah, 1000] ]
i want to search for the internal [] based on the string field and, if
matches, append that list with a value.
if internal_list[0] == 'blah':
10 matches
Mail list logo