Python Internet modules
Here are some important module of Python Network Programming:
protocol | Useful features | The port number | Python module |
---|---|---|---|
HTTP | Web access | 80 | httplib, urllib, xmlrpclib |
NNTP | Reading and posting news articles, commonly known as "post" | 119 | nntplib |
FTP | file transfer | 20 | ftplib, urllib |
SMTP | send email | 25 | smtplib |
POP3 | incoming mail | 110 | poplib |
IMAP4 | Get mail | 143 | IMAP |
Telnet | Command Line | 23 | telnetlib |
Gopher | Find information | 70 | gopherlib, urllib |