On Thu, Jun 4, 2009 at 1:15 PM, testing123 test wrote:
> Hi all,
>I am prasad.I need a help to write a python script to compare two
> XML Files.Is there any tutorial.Should we include any library?Please help me
> How to start?
>
Are you a bot or something ? Why do you keep repeating
the
Hi all,
I am prasad.I need a help to write a python script to compare two XML
Files.Is there any tutorial.Should we include any library?Please help me How
to start?
Rgds,
Prasad
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.
Hello,
My name is Jayanth. I am new to BangPypers and Python in general. I have
been working on Ruby however so I am not lost or anything.
I wanted to point out that on ruby-lang several posters from India seem to
have no concept of how to phrase questions. They also lack the basic
curiosity to t
okay sorry :)
will keep in mind
On Thu, Jun 4, 2009 at 3:20 PM, Venkatraman S wrote:
> On Thu, Jun 4, 2009 at 3:07 PM, Ruchir Shukla wrote:
>
>> import difflib
>> f=open('text1.txt','rb')
>> text1=f.read()
>> f.close()
>> f=open('text2.txt','rb')
>> text2=f.read()
>> f.close()
>> #print text1
>>
On Thu, Jun 4, 2009 at 3:07 PM, Ruchir Shukla wrote:
> import difflib
> f=open('text1.txt','rb')
> text1=f.read()
> f.close()
> f=open('text2.txt','rb')
> text2=f.read()
> f.close()
> #print text1
> #print text2
> text1_lines = text1.splitlines(1)
> text2_lines = text2.splitlines(1)
> d = difflib.
On Thu, Jun 4, 2009 at 3:02 PM, Venkatraman S wrote:
> On Thu, Jun 4, 2009 at 2:59 PM, testing123 test wrote:
>
>>I am prasad.I need a help to write a python script to compare two
>> XML Files.Is there any tutorial.Should we include any library?Please help me
>> How to start?
>
>
What do
import difflib
f=open('text1.txt','rb')
text1=f.read()
f.close()
f=open('text2.txt','rb')
text2=f.read()
f.close()
#print text1
#print text2
text1_lines = text1.splitlines(1)
text2_lines = text2.splitlines(1)
d = difflib.HtmlDiff()
diff = d.make_file(text1_lines, text2_lines)
print diff
To find
On Thu, Jun 4, 2009 at 2:59 PM, testing123 test wrote:
>I am prasad.I need a help to write a python script to compare two
> XML Files.Is there any tutorial.Should we include any library?Please help me
> How to start?
>
It is a structured document! Please use some basic CS skills.
-V-
__
Hi all,
I am prasad.I need a help to write a python script to compare two XML
Files.Is there any tutorial.Should we include any library?Please help me How
to start?
Rgds,
Prasad
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.