Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33953

Re: Compare list entry from csv files

From Emile van Sebille <emile@fenx.com>
Subject Re: Compare list entry from csv files
Date 2012-11-26 14:53 -0800
References <CAKhY55M3iOhhMbn=VuwJ7OMz_JUHVxwGy1h_BDpfBY8jQ5aRkA@mail.gmail.com> <50B3E865.9070700@davea.name> <CAKhY55OUNvGFhCjZLS7HNoDydKqHxZrnaN+bWySCsmKSk1vqsw@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.303.1353970513.29569.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Compare list entry from csv files Emile van Sebille <emile@fenx.com> - 2012-11-26 14:53 -0800

csiph-web