Compare list entry from csv files

Emile van Sebille emile at fenx.com
Mon Nov 26 23:53:52 CET 2012


Anatoli Hristov wrote:
> I understand, but in my case I have for sure the field "Name" in the
> second file that contains at least the first or the last name on it...
> So probably it should be possible:)
> The Name "Billgatesmicrosoft" contains the word "Gates" so logically I
> might find a solution for it.

Take a look at difflib -- I've used it before for this type of 'matching'

Emile




More information about the Python-list mailing list