Other Encoding Modules

xdrlib

  • Encodes strings to and from Sun XDR format.
  • Commonly used in Remote Procedure Call (RPC)

MIME

  • The MimeWriter, multifile, mimetypes, and mimetools modules
  • Decoding and encoding of MIME encoded mail messages.
  • Basically RFC822 plus some additional encoding rules.

htmllib

  • Parsing of HTML documents

sgmllib and xmllib

  • Parsing of SGML and XML documents
  • Caveat: deprecated. Consult the XML-sig for more up to date work.
<<< O'Reilly OSCON 2000, Advanced Python Programming, Slide 111
July 17, 2000, beazley@cs.uchicago.edu
>>>