Finding Peoples' Names in Files
brad
byte8bits at gmail.com
Thu Oct 11 11:40:33 EDT 2007
cokofreedom at gmail.com wrote:
> On Oct 11, 5:22 pm, brad <byte8b... at gmail.com> 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