[Tutor] 1 to N searches in files

2012-12-02 Thread Spectral None
Hi all I have two files (File A and File B) with strings of data in them (each string on a separate line). Basically, each string in File B will be compared with all the strings in File A and the resulting output is to show a list of matched/unmatched lines and optionally to write to a third Fi

Re: [Tutor] Tutor Digest, Vol 106, Issue 5

2012-12-03 Thread Spectral None
." Today's Topics:   1. Re: reverse diagonal (Dave Angel)   2. To Find the Answers (Sujit Baniya)   3. Re: To Find the Answers (Dave Angel)   4. Re: reverse diagonal (Steven D'Aprano)   5. 1 to N searches in files (Spectral None)   6. Re: 1

Re: [Tutor] 1 to N searches in files

2012-12-03 Thread Spectral None
From: Dave Angel To: Spectral None Cc: "tutor@python.org" Sent: Sunday, 2 December 2012, 20:05 Subject: Re: [Tutor] 1 to N searches in files On 12/02/2012 03:53 AM, Spectral None wrote: > Hi all > > I have two files (File A and File B) with strings of data in them (

Re: [Tutor] 1 to N searches in files

2012-12-03 Thread Spectral None
." Today's Topics:   1. Re: Tutor Digest, Vol 106, Issue 5 (Spectral None) -- Message: 1 Date: Mon, 3 Dec 2012 21:55:35 +0800 (SGT) From: Spectral None To: "tutor@python.org" Subject: Re: [Tut