Finding Peoples' Names in Files

cokofreedom at gmail.com cokofreedom at gmail.com
Thu Oct 11 11:25:09 EDT 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