Thanks,
So simple...DAA just do an equivalency on the list...no need to do sets
or step through each line.
John
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 29, 2005 06:05
Cc: Tutor@python.org
Subject: Re: [Tutor] Diffing two files.
OK
nson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 15:23
Cc: Tutor@python.org
Subject: Re: [Tutor] Diffing two files.
You don't really say what you are trying to accomplish. Do you want to
identify the common text, or
find the pieces that differ?
If the common text is always the same
Sdfsdfasd
Sdfasdf
s
-Original Message-
From: Kent Johnson [mailto:[EMAIL PROTECTED]
Sent: Friday, January 28, 2005 15:23
Cc: Tutor@python.org
Subject: Re: [Tutor] Diffing two files.
You don't really say what you are trying to accomplish. Do you want to
identify the common text, or
fin
You don't really say what you are trying to accomplish. Do you want to identify the common text, or
find the pieces that differ?
If the common text is always the same and you know it ahead of time, you can just search the lines
of each file to find it.
If you need to identify the common part, d