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 -- http://mail.python.org/mailman/listinfo/python-list