Common Network Protocols

Modules are available for a variety of network protocols

  • ftplib - FTP protocol
  • smtplib - SMTP (mail) protocol
  • nntplib - News
  • gopherlib - Gopher
  • poplib - POP3 mail server
  • imaplib - IMAP4 mail server
  • telnetlib - Telnet protocol
  • httplib - HTTP protocol

Comments

  • These modules are built using sockets, but operate on a very low-level.
  • Require a good understand of the underlying protocol.
  • But can be quite powerful if you know exactly what you are doing.
<<< O'Reilly OSCON 2000, Advanced Python Programming, Slide 92
July 17, 2000, beazley@cs.uchicago.edu
>>>