needed Python code

Delaney, Timothy tdelaney at avaya.com
Wed May 22 20:17:43 EDT 2002


> From: holger krekel [mailto:pyth at devel.trillke.net]
> 
> Gabe Newcomb wrote:
> > I should probably make a PEP for this one:
> > 
> > for line in python_mail_contents:
> > 	if line.find('-ly yours'):
> > 		stuff_mail_in_garbage(python_mail)
> 
> you would unfortunately sort out mail from some 
> very good python developers ...

Actually, you would unfortunately sort out mail from everyone ...

I don't know a single person who has a line starting with '-ly yours' ...

Hint: look up the documentation for string.find ...

Tim Delaney





More information about the Python-list mailing list