Re: [Tutor] Searching through files for values

2015-08-14 Thread Jason Brown
als = [ 'value1', 'value2', 'value3' ] And I still get the same issue. Only the first value in the list is looked up. Jason On Thu, Aug 13, 2015 at 7:32 PM, Cameron Simpson wrote: > On 13Aug2015 16:48, Jason Brown wrote: > >> I'm trying to search

[Tutor] Searching through files for values

2015-08-13 Thread Jason Brown
Hi, I'm trying to search for list values in a set of files. The goal is to generate a list of lists that can later be sorted. I can only get a match on the first value in the list: contents of value_file: value1 value2 value3 ... The desired output is: file1 value1 file1 value2 file2 value3 f