Linux/Unix > Python Essential Reference, Second Edition > A. The Python Library > Undocumented Modules | See All Titles

< BACK | Make Note | Bookmark | CONTINUE >

155117184014003188065099048180054212144238241179195140058238111161105094192222208195166043

### Undocumented Modules

The modules listed in this section are not covered in detail in this book, but have descriptions in the online library reference and elsewhere.

#### Python Services

Module | Description
--- | ---
`code` | Code object support
`codeop` | Compiles Python code
`compileall` | Byte-compiles Python files in a directory
`dis` | Disassembler
`fpectl` | Floating-point exception control
`imp` | Provides access to the implementation of the `import` statement
`inspect` | Inspects live objects
`keyword` | Tests whether a string is a Python keyword
`linecache` | Retrieves lines from files
`parser` | Accesses parse-trees of Python source code
`pprint` | Prettyprinter for objects
`pyclbr` | Extracts information for class browsers
`py_compile` | Compiles Python source to bytecode files
`repr` | Alternate implementation of the `repr()` function
`symbol` | Constants used to represent internal nodes of parse trees
`tabnanny` | Detection of ambiguous indentation
`token` | Terminal nodes of the parse tree
`tokenize` | Scanner for Python source code
`user` | User configuration file parsing

#### String Processing

Module | Description
--- | ---
`difflib` | Functions for computing deltas
`fpformat` | Floating-point number formatting
`regex` | Regular expression matching (obsolete)
`regsub` | Regular expression substitution (obsolete)

#### Operating System Modules

Module | Description
--- | ---
`curses` | Curses library interface
`dl` | Access to UNIX shared libraries
`dircache` | Directory cache
`mutex` | Mutual exclusion locks
`pty` | Pseudo-terminal handling
`pipes` | Interface to shell pipelines
`posixfile` | File locking
`nis` | Interface to Sun’s NIS
`rlcompleter` | Completion function for GNU `readline`
`sched` | Event scheduler
`statcache` | Caching version of `stat()` function
`syslog` | Interface to UNIX syslog daemon

#### Network

Module | Description
--- | ---
`gopherlib` | Gopher protocol
`telnetlib` | Telnet protocol
`urllib2` | Extensible library for opening URLs

#### Internet Data Handling

Module | Description
--- | ---
`formatter` | Generic output formatting
`htmllib` | HTML parsing
`mailbox` | Reading various mailbox formats
`mhlib` | Access to MH mailboxes
`mimify` | MIME processing of mail messages
`netrc` | Netrc file processing
`sgmllib` | Simple SGML parsing
`xml` | XML parsing package
`xmllib` | Simple XML parsing

#### Multimedia Services

Module | Description
--- | ---
`audioop` | Manipulates raw audio data
`imageop` | Manipulates raw image data
`aifc` | Reads and writes AIFF and AIFC files
`sunau` | Reads and writes Sun AU files
`wave` | Reads and writes WAV files
`chunk` | Reads IFF chunked data
`colorsys` | Conversions between color systems
`rgbimg` | Reads and writes SGI RGB files
`imghdr` | Determines the type of an image
`sndhdr` | Determines the type of a sound file

#### SGI Irix

Module | Description
--- | ---
`al` | Audio functions on SGI
`cd` | CD-ROM access on SGI
`fl` | FORMS library
`flp` | FORMS design loader
`fm` | Font manager interface
`gl` | Graphics library interface
`imgfile` | Support for SGI imglib files
`jpeg` | Reads and writes JPEG files

#### Sun-Specific Services

Module | Description
--- | ---
`sunaudiodev` | Access to Sun audio hardware

#### Miscellaneous

Module | Description
--- | ---
`ConfigParser` | Configuration file parser
`calendar` | Calendar-generation functions
`doctest` | Testing support based on docstrings
`unittest` | Unit testing framework
`whrandom` | Random number generation
`winsound` | Playing sounds on Windows
`xreadlines` | Efficient iteration over a file

| Last updated on 3/28/2002 Python Essential Reference, Second Edition, © 2002 New Riders Publishing

< BACK | Make Note | Bookmark | CONTINUE >

© 2002, O'Reilly & Associates, Inc.