Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Python
Getting .NET SDK to work with Python 2.4.2
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Kevin F, post: 1870186"] okay, i am new to python and realize that indentation is important. i have tried to put everything in their respective indentations but it still doesn't work, can someone try to fix this? from poplib import * server = POP3("mail.bluebottle.com") print server.getwelcome() print server.user("[email]neurogasm@bluebottle.com[/email]") print server.pass_("hahaha") messagesInfo = server.list()[1] numMessages = len(messagesInfo) print numMessages emails = [] for msg in messagesInfo: msgNum = int(split(msg, " ")[0] msgSize = int(split(msg, " ")[1] if(msgSize < 20000): message = server.retr(msgNum)[1] message = join(message, "\n") emails.append(message) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Python
Getting .NET SDK to work with Python 2.4.2
Top