Finding Peoples' Names in Files

cokofreedom at gmail.com cokofreedom at gmail.com
Thu Oct 11 17:25:09 CEST 2007


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() ?




More information about the Python-list mailing list