Finding Peoples' Names in Files

brad byte8bits at
Thu Oct 11 17:40:33 CEST 2007

cokofreedom at wrote:
> On Oct 11, 5:22 pm, brad <byte8b... at> wrote:
>> Crazy question, but has anyone attempted this or seen Python code that
>> does? For example, if a text file contained 'Guido' and or 'Robert' and
>> or 'Susan', then we should return True, otherwise return False.
> Can't you just use the string function .findall() ?

I mean *any* possible person's name... I don't *know* the names 
beforehand :)

More information about the Python-list mailing list