Using poplib to parse headers - Thank You All!
asklucas at gmx.net
asklucas at gmx.net
Mon Dec 10 14:20:45 EST 2012
Hello Jean-Claude!
Thank you for your post, it helped me a lot!
I'm not too new to Python but still struggling to make use of that great language's features.
I haven't tested it but since you are interested in syntactic subtleties, I think you can save one iterator (k):
for j in popconnection.retr( i+1):
____if type( j) == list:
________outString = ""
________for line in j:
____________outString += line
____________outString += '\n'
L.
More information about the Python-list
mailing list