needed Python code

Mark McEahern marklists at mceahern.com
Wed May 22 16:07:28 EDT 2002


[Gabe Newcomb]
> for line in python_mail_contents:
> 	if line.find('-ly yours'):
> 		stuff_mail_in_garbage(python_mail)

Don't you mean:

	if not line.find('-ly yours'):

;-)

Cheers,

// mark





More information about the Python-list mailing list