comparing lists

Peter Hansen peter at engcorp.com
Thu Mar 20 06:45:17 EST 2003


Martin Franklin wrote:
> 
> Enrique Palomo wrote:
> > Hello all
> >
> > I must compare the contained of several directories in several pcs. Each
> > directory must contain about 17000 files.
> >
> > Do you know any special method to compare the lists of listdir quickly?
> 
> Enrique,
> 
> Lists can be tested for equality with == but I suspect this is too
> simplistic.
> So my question is what exactly do you want to compare?

Or perhaps, "what do you expect to happen as a result of the
comparison"?  I suspect he wants some kind of "diff" happening
here...




More information about the Python-list mailing list