way to extract only the message from pop3

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Thu Apr 5 20:40:32 CEST 2007

En Thu, 05 Apr 2007 15:09:18 -0300, Collin Stocks <collinstocks at gmail.com>  

> message=whole_message[len(headers):None]
> You can omit the word None: it is just there for clarity purposes.

Uhm... I can't find any usage of slices including an explicit None in  
code.google.com (except on the Python test suite), and really I don't  
consider that to be more readable than whole_message[len(headers):]
But of course this is just a stylistic issue.

Gabriel Genellina

More information about the Python-list mailing list