<!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
<link rel=
"STYLESHEET" href=
"lib.css" type='text/css'
/>
<link rel=
"SHORTCUT ICON" href=
"../icons/pyfav.png" type=
"image/png" />
<link rel='start' href='../index.html' title='Python Documentation Index'
/>
<link rel=
"first" href=
"lib.html" title='Python Library Reference'
/>
<link rel='contents' href='contents.html'
title=
"Contents" />
<link rel='index' href='genindex.html' title='Index'
/>
<link rel='last' href='about.html' title='About this document...'
/>
<link rel='help' href='about.html' title='About this document...'
/>
<link rel=
"next" href=
"allos.html" />
<link rel=
"prev" href=
"strings.html" />
<link rel=
"parent" href=
"lib.html" />
<link rel=
"next" href=
"module-pydoc.html" />
<meta name='aesop' content='information'
/>
<title>5. Miscellaneous Services
</title>
<div id='top-navigation-panel' xml:id='top-navigation-panel'
>
<table align=
"center" width=
"100%" cellpadding=
"0" cellspacing=
"2">
<td class='online-navigation'
><a rel=
"prev" title=
"4.11 stringprep "
href=
"module-stringprep.html"><img src='../icons/previous.png'
border='
0' height='
32' alt='Previous Page' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"parent" title=
"Python Library Reference"
href=
"lib.html"><img src='../icons/up.png'
border='
0' height='
32' alt='Up One Level' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"next" title=
"5.1 pydoc "
href=
"module-pydoc.html"><img src='../icons/next.png'
border='
0' height='
32' alt='Next Page' width='
32'
/></A></td>
<td align=
"center" width=
"100%">Python Library Reference
</td>
<td class='online-navigation'
><a rel=
"contents" title=
"Table of Contents"
href=
"contents.html"><img src='../icons/contents.png'
border='
0' height='
32' alt='Contents' width='
32'
/></A></td>
<td class='online-navigation'
><a href=
"modindex.html" title=
"Module Index"><img src='../icons/modules.png'
border='
0' height='
32' alt='Module Index' width='
32'
/></a></td>
<td class='online-navigation'
><a rel=
"index" title=
"Index"
href=
"genindex.html"><img src='../icons/index.png'
border='
0' height='
32' alt='Index' width='
32'
/></A></td>
<div class='online-navigation'
>
<b class=
"navlabel">Previous:
</b>
<a class=
"sectref" rel=
"prev" href=
"module-stringprep.html">4.11 stringprep
</A>
<b class=
"navlabel">Up:
</b>
<a class=
"sectref" rel=
"parent" href=
"lib.html">Python Library Reference
</A>
<b class=
"navlabel">Next:
</b>
<a class=
"sectref" rel=
"next" href=
"module-pydoc.html">5.1 pydoc
</A>
<!--End of Navigation Panel-->
<H1><A NAME=
"SECTION007000000000000000000"></A>
5. Miscellaneous Services
The modules described in this chapter provide miscellaneous services
that are available in all Python versions. Here's an overview:
<table class='synopsistable' valign='baseline'
>
<td><b><tt class='module'
><a href='module-pydoc.html'
>pydoc
</a></tt></b></td>
<td class='synopsis'
>Documentation generator and online help system.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-doctest.html'
>doctest
</a></tt></b></td>
<td class='synopsis'
>A framework for verifying interactive Python examples.
</td></tr>
<td><b><tt class='module'
><a href='module-unittest.html'
>unittest
</a></tt></b></td>
<td class='synopsis'
>Unit testing framework for Python.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-test.html'
>test
</a></tt></b></td>
<td class='synopsis'
>Regression tests package containing the testing suite
<td><b><tt class='module'
><a href='module-test.testsupport.html'
>test.test_support
</a></tt></b></td>
<td class='synopsis'
>Support for Python regression tests.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-decimal.html'
>decimal
</a></tt></b></td>
<td class='synopsis'
>Implementation of the General Decimal Arithmetic
<td><b><tt class='module'
><a href='module-math.html'
>math
</a></tt></b></td>
<td class='synopsis'
>Mathematical functions (
<tt class=
"function">sin()
</tt> etc.).
</td></tr>
<tr><td><b><tt class='module'
><a href='module-cmath.html'
>cmath
</a></tt></b></td>
<td class='synopsis'
>Mathematical functions for complex numbers.
</td></tr>
<td><b><tt class='module'
><a href='module-random.html'
>random
</a></tt></b></td>
<td class='synopsis'
>Generate pseudo-random numbers with various common
<tr><td><b><tt class='module'
><a href='module-whrandom.html'
>whrandom
</a></tt></b></td>
<td class='synopsis'
>Floating point pseudo-random number generator.
</td></tr>
<td><b><tt class='module'
><a href='module-bisect.html'
>bisect
</a></tt></b></td>
<td class='synopsis'
>Array bisection algorithms for binary searching.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-collections.html'
>collections
</a></tt></b></td>
<td class='synopsis'
>High-performance datatypes
</td></tr>
<td><b><tt class='module'
><a href='module-heapq.html'
>heapq
</a></tt></b></td>
<td class='synopsis'
>Heap queue algorithm (a.k.a. priority queue).
</td></tr>
<tr><td><b><tt class='module'
><a href='module-array.html'
>array
</a></tt></b></td>
<td class='synopsis'
>Efficient arrays of uniformly typed numeric values.
</td></tr>
<td><b><tt class='module'
><a href='module-sets.html'
>sets
</a></tt></b></td>
<td class='synopsis'
>Implementation of sets of unique elements.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-itertools.html'
>itertools
</a></tt></b></td>
<td class='synopsis'
>Functions creating iterators for efficient looping.
</td></tr>
<td><b><tt class='module'
><a href='module-ConfigParser.html'
>ConfigParser
</a></tt></b></td>
<td class='synopsis'
>Configuration file parser.
</td></tr>
<tr><td><b><tt class='module'
><a href='module-fileinput.html'
>fileinput
</a></tt></b></td>
<td class='synopsis'
>Perl-like iteration over lines from multiple input
streams, with ``save in place'' capability.
</td></tr>
<td><b><tt class='module'
><a href='module-calendar.html'
>calendar
</a></tt></b></td>
<td class='synopsis'
>Functions for working with calendars,
including some emulation of the
<span class=
"Unix">Unix
</span> <b class=
"program">cal
</b>
<tr><td><b><tt class='module'
><a href='module-cmd.html'
>cmd
</a></tt></b></td>
<td class='synopsis'
>Build line-oriented command interpreters.
</td></tr>
<td><b><tt class='module'
><a href='module-shlex.html'
>shlex
</a></tt></b></td>
<td class='synopsis'
>Simple lexical analysis for
<span class=
"Unix">Unix
</span> shell-like languages.
</td></tr>
<div class='online-navigation'
>
<table align=
"center" width=
"100%" cellpadding=
"0" cellspacing=
"2">
<td class='online-navigation'
><a rel=
"prev" title=
"4.11 stringprep "
href=
"module-stringprep.html"><img src='../icons/previous.png'
border='
0' height='
32' alt='Previous Page' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"parent" title=
"Python Library Reference"
href=
"lib.html"><img src='../icons/up.png'
border='
0' height='
32' alt='Up One Level' width='
32'
/></A></td>
<td class='online-navigation'
><a rel=
"next" title=
"5.1 pydoc "
href=
"module-pydoc.html"><img src='../icons/next.png'
border='
0' height='
32' alt='Next Page' width='
32'
/></A></td>
<td align=
"center" width=
"100%">Python Library Reference
</td>
<td class='online-navigation'
><a rel=
"contents" title=
"Table of Contents"
href=
"contents.html"><img src='../icons/contents.png'
border='
0' height='
32' alt='Contents' width='
32'
/></A></td>
<td class='online-navigation'
><a href=
"modindex.html" title=
"Module Index"><img src='../icons/modules.png'
border='
0' height='
32' alt='Module Index' width='
32'
/></a></td>
<td class='online-navigation'
><a rel=
"index" title=
"Index"
href=
"genindex.html"><img src='../icons/index.png'
border='
0' height='
32' alt='Index' width='
32'
/></A></td>
<div class='online-navigation'
>
<b class=
"navlabel">Previous:
</b>
<a class=
"sectref" rel=
"prev" href=
"module-stringprep.html">4.11 stringprep
</A>
<b class=
"navlabel">Up:
</b>
<a class=
"sectref" rel=
"parent" href=
"lib.html">Python Library Reference
</A>
<b class=
"navlabel">Next:
</b>
<a class=
"sectref" rel=
"next" href=
"module-pydoc.html">5.1 pydoc
</A>
<span class=
"release-info">Release
2.4.2, documentation updated on
28 September
2005.
</span>
<!--End of Navigation Panel-->
See
<i><a href=
"about.html">About this document...
</a></i> for information on suggesting changes.