[Tutor] Newbie: Help on comparing files

Isr Gish isrgish at fusemail.com
Thu Jan 8 01:13:15 EST 2004


Danny Yoo wrote:   
>Subject: Re: [Tutor] Newbie: Help on comparing files
     >
   >
   >On Wed, 7 Jan 2004, Isr Gish wrote:
   >
   >> I have 2 exports of the registry (from Widows CE). I would like to see
   >> the differences between the 2. What key/values both have, and what is
   >> in one and not in the other. Etc. Hope its clearer now what I want.
   >
   >Hi Isr,
   >
   >Ok, sounds good.  Sounds like you may want regular expressions then, and
   >split against two "end-of-line" characters.  Here's an example of split():
   >
   >###
   >>>> 'helloworldthisisatestoh'.split('o')
   >['hell', 'w', 'rldthisisatest', 'h']
   >###
  
Hi Danny,

I just want to make clear what your saying.
That I'm rather off using Regular Expressions to divide the files. Rather then slicing a string from one file and searching if its in the other...

------
Isr Gish




More information about the Tutor mailing list