POP3 Python Mail Download
Kent Johnson
kent at kentsjohnson.com
Sat Mar 18 18:03:05 EST 2006
Kevin F wrote:
> However, if I try to actually download the messages themselves, my
> python editor highlights 'msgSize' and says "invalid syntax" when I run
> the following subsequent lines of code:
>
>
> ------------------------
> emails = []
> for msg in messagesInfo:
> msgNum = int(split(msg, " ")[0]
> msgSize = int(split(msg, " ")[1]
You have an inconsistent indent in the two lines above. All the lines in
a block must have the same indent (except sub-blocks of course).
Kent
More information about the Python-list
mailing list