Compare list entry from csv files

Emile van Sebille emile at fenx.com
Mon Nov 26 17:53:52 EST 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