Re: [Tutor] Script to search in string of values from file A in file B

2012-05-09 Thread aduarte
Dear All, Sorry it seems that I got the wrong mailing list to subscribe ... I got the idea that this list was open to newbies ... by the answers I got I see that I was wrong " In that case, what do you use for data of the last key? If you really have to handle the case where there is a

Re: [Tutor] Script to search in string of values from file A in file B

2012-05-09 Thread aduarte
On 2012-05-09 15:22, BRAGA, Bruno wrote: On Thursday, May 10, 2012, Afonso Duarte wrote: Dear All,   I’m new to Python and started to use it to search text strings in big (>500Mb) txt files. > I have a list on text file (e.g. A.txt) that I want to use as a key to search another file (e.g.