differences while file comparison. Is
there any easy way to do this..?
What I want to actually compare and be alerted for are any differences here :
File 1 File 2
< nor_ic -= pi.cConfig.Isthere ? 9 : 7; < nor_ic -= pi.cConfig.Isthere ?
learner learner wrote:
Firstly thanks for showing the interest. I shall elobarate more on the
problem:
file-1.txt
--
hai
how
r
u
file-2.txt
---
r
hai
u
The two files have some lines in common.
For eg: File-1.txt-first line-"hai" does not match with File-2.txt-first
li
En Fri, 31 Jul 2009 06:25:17 -0300, learner learner
escribió:
I want to compare two text files line by line and eliminate the
matching/repeated line and store the unmatched/leftout lines into a third
file or overwrite into one of them.
Look at the difflib module: http://docs.python.org/libr
Hendrik van Rooyen wrote:
On Friday 31 July 2009 11:25:17 learner learner wrote:
Hi all,
I want to compare two text files line by line and eliminate the
matching/repeated line and store the unmatched/leftout lines into a third
file or overwrite into one of them.
This is not as simple
On Friday 31 July 2009 11:25:17 learner learner wrote:
> Hi all,
>
> I want to compare two text files line by line and eliminate the
> matching/repeated line and store the unmatched/leftout lines into a third
> file or overwrite into one of them.
This is not as simple as it seems.
You will probab
On Fri, Jul 31, 2009 at 2:25 AM, learner learner wrote:
> Hi all,
>
> I want to compare two text files line by line and eliminate the
> matching/repeated line and store the unmatched/leftout lines into a third
> file or overwrite into one of them.
See the `difflib` module:
http://docs.python.org/l
learner learner wrote:
> Hi all,
>
> I want to compare two text files line by line and eliminate the
> matching/repeated line and store the unmatched/leftout lines into a
> third file or overwrite into one of them.
gl & hf!
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Jul 31, 2009 at 7:25 PM, learner learner wrote:
> Hi all,
>
> I want to compare two text files line by line and eliminate the
> matching/repeated line and store the unmatched/leftout lines into a third
> file or overwrite into one of them.
>
Sounds like homework to me. Why not look into:
Hi all,
I want to compare two text files line by line and eliminate the
matching/repeated line and store the unmatched/leftout lines into a third
file or overwrite into one of them.
regards
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
HI,
I'm thinking of writing a file comparison utility in python. This
utility will work as:
1. Compare 2 files for the differences. Both files contain some
numerical results.
2. Generate a common file containing the differences (the same way as
'diff
HI,
I'm thinking of writing a file comparison utility in python. This utility
will work as:
1. Compare 2 files for the differences. Both files contain some numerical
results.
2. Generate a common file containing the differences (the same way as 'diff'
generate an output)
3. Now, I
On Sep 3, 2:40 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I looking for a file comparison utility in Python that works like
> 'diff' command in Unix and 'comp' in Windows.
> The present 'cmd' in filecmp module only presents output in the form
> of 1 or
On Wed, 3 Sep 2008 19:40:40 +0100, [EMAIL PROTECTED] wrote:
> I looking for a file comparison utility in Python that works like
> 'diff' command in Unix and 'comp' in Windows.
> The present 'cmd' in filecmp module only presents output in the form
> of 1
Hi,
I looking for a file comparison utility in Python that works like
'diff' command in Unix and 'comp' in Windows.
The present 'cmd' in filecmp module only presents output in the form
of 1 or 0 i.e whether the 2 files differ or not?
So, I'm lookin
14 matches
Mail list logo