How to compare two lists ? 
Author Message
 How to compare two lists ?

Hi all,

I'm trying to compare two list for differences, is there and easy way to do
this ?

Thanks

Martin Stevens



Mon, 06 Oct 2003 22:03:27 GMT  
 How to compare two lists ?

Quote:

> I'm trying to compare two list for differences, is there and easy way to do
> this ?

   Python 2.1 has difflib:
      http://www.python.org/doc/current/lib/module-difflib.html

Oleg.
----

           Programmers don't die, they just GOSUB without RETURN.



Mon, 06 Oct 2003 22:15:05 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Comparing two lists for differences

2. how to compare two columns in two files?

3. selecting two items in two list boxes

4. reading two files and comparing them

5. comparing two files

6. Comparing two databases.

7. Comparing fields in a two records

8. comparing two arrays with same length

9. comparing two dbfs record by record

10. Comparing two commercial versions of FORTH

11. Two diferent definitions - comparing resources (Haskell)

12. compare two numbers with one string (true/false) output

 

 
Powered by phpBB® Forum Software