summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libmisc.tex
blob: 24881a8a1f6654216ecb18687c57fe39d7fd0935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\chapter{Miscellaneous Services}
\label{misc}

The modules described in this chapter provide miscellaneous services
that are available in all Python versions.  Here's an overview:

\begin{description}

\item[math]
--- Mathematical functions (\function{sin()} etc.).

\item[cmath]
--- Mathematical functions for complex numbers.

\item[whrandom]
--- Floating point pseudo-random number generator.

\item[random]
--- Generate pseudo-random numbers with various common distributions.

\item[array]
--- Efficient arrays of uniformly typed numeric values.

\item[fileinput]
--- Perl-like iteration over lines from multiple input streams, with
``save in place'' capability.

\end{description}