Yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/misc.html

From ZCubes Wiki
Revision as of 18:30, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-math.html|[[Image:yurttas...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


5. Miscellaneous Services

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

math Mathematical functions (sin() etc.).
cmath Mathematical functions for complex numbers.
random Generate pseudo-random numbers with various common distributions.
whrandom Floating point pseudo-random number generator.
bisect Array bisection algorithms for binary searching.
array Efficient arrays of uniformly typed numeric values.
ConfigParser Configuration file parser.
fileinput Perl-like iteration over lines from multiple input streams, with ``save in place'' capability.
calendar General functions for working with the calendar, including some emulation of the Unix cal program.
cmd Build line-oriented command interpreters; this is used by module pdb.
shlex Simple lexical analysis for Unix shell-like languages.



Send comments on this document to python-docs@python.org.