On May 29, 1:36 am, loial <[EMAIL PROTECTED]> wrote:
> only those lines that appear in the 2nd file but not in the 1st file.

set(file_2_recs).difference(set(file_1_recs)) will give the recs in
file_2 that are not in file_1 if you can store both files in memory.
Sets are indexed and so are faster than lists.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to