Superseded Modules¶
The modules described in this chapter are deprecated and only kept for backwards compatibility. They have been superseded by other modules.
- aifc— Read and write AIFF and AIFC files
- asynchat— Asynchronous socket command/response handler
- asyncore— Asynchronous socket handler
- audioop— Manipulate raw audio data
- cgi— Common Gateway Interface support
- cgitb— Traceback manager for CGI scripts
- chunk— Read IFF chunked data
- crypt— Function to check Unix passwords
- imghdr— Determine the type of an image
- imp— Access the import internals
- mailcap— Mailcap file handling
- msilib— Read and write Microsoft Installer files
- nis— Interface to Sun’s NIS (Yellow Pages)
- nntplib— NNTP protocol client
- optparse— Parser for command line options- Background
- Tutorial
- Reference Guide
- Option Callbacks- Defining a callback option
- How callbacks are called
- Raising errors in a callback
- Callback example 1: trivial callback
- Callback example 2: check option order
- Callback example 3: check option order (generalized)
- Callback example 4: check arbitrary condition
- Callback example 5: fixed arguments
- Callback example 6: variable arguments
 
- Extending optparse
 
- ossaudiodev— Access to OSS-compatible audio devices
- pipes— Interface to shell pipelines
- smtpd— SMTP Server
- sndhdr— Determine type of sound file
- spwd— The shadow password database
- sunau— Read and write Sun AU files
- telnetlib— Telnet client
- uu— Encode and decode uuencode files
- xdrlib— Encode and decode XDR data