5. Różne usługi

Moduły opisane w tym rozdziale oferują różne usługi dostępne we wszystkich wersjach Pythona. Oto ich zestawienie:

pydoc   Documentation generator and online help system.
doctest   A framework for verifying examples in docstrings.
unittest   Zestaw klas służących do testowania modułów języka Python
test   Regression tests package containing the testing suite for Python.
test.test_support  
math   Funkcje matematyczne (sin() itd.).
cmath   Funkcje matematyczne dla liczb zespolonych.
random   Generuje liczby pseudolosowe o różnych znanych rozkładach. Generate pseudo-random numbers with various common distributions.
whrandom   Generator zmiennoprzecinkowych liczb pseudolosowych
bisect   Algorytmy bisekcji dla tablic do przeszukiwania binarnego.
heapq   Algorytm kolejki stogowej (znanej również jako kolejka priorytetowa).
array   Efektywne tablice przechowujące wartości liczbowe tego samego typu
sets   Implementacja zbiorów unikatowych elementów.
itertools   Functions creating iterators for efficient looping.
ConfigParser   Configuration file parser.
fileinput   Perl-like iteration over lines from multiple input streams, with ``save in place'' capability.
xreadlines   Efficient iteration over the lines of a file.
calendar   Functions for working with calendars, including some emulation of the Unix cal program.
cmd   Build line-oriented command interpreters.
shlex   Simple lexical analysis for Unix shell-like languages.

Zajrzyj do Informacji na temat tej publikacji... aby pomóc w jej rozwoju.