Differences between revisions 4 and 5
Revision 4 as of 2004-05-24 10:50:22
Size: 2436
Editor: c-24-125-101-137
Comment:
Revision 5 as of 2008-11-15 13:59:36
Size: 2457
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[:../:Python Library Reference] [[../|Python Library Reference]]
Line 7: Line 7:
5.1 [:/PydocModule:pydoc] -- Documentation generator and online help system 5.1 [[/PydocModule|pydoc]] -- Documentation generator and online help system
Line 9: Line 9:
5.2 [:/DocTestModule:doctest] -- Test docstrings represent reality 5.2 [[/DocTestModule|doctest]] -- Test docstrings represent reality
Line 11: Line 11:
5.3 [:/UnitTestModule:unittest] -- Unit testing framework 5.3 [[/UnitTestModule|unittest]] -- Unit testing framework
Line 22: Line 22:
5.4 [:/TestModule:test] -- Regression tests package for Python 5.4 [[/TestModule|test]] -- Regression tests package for Python
Line 27: Line 27:
5.5 [:/TestSupportModule:test.test_support] -- Utility functions for tests 5.5 [[/TestSupportModule|test.test_support]] -- Utility functions for tests
Line 29: Line 29:
5.6 [:/MathModule:math] -- Mathematical functions 5.6 [[/MathModule|math]] -- Mathematical functions
Line 31: Line 31:
5.7 [:/CmathModule:cmath] -- Mathematical functions for complex numbers 5.7 [[/CmathModule|cmath]] -- Mathematical functions for complex numbers
Line 33: Line 33:
5.8 [:/RandomModule:random] -- Generate pseudo-random numbers 5.8 [[/RandomModule|random]] -- Generate pseudo-random numbers
Line 35: Line 35:
5.9 [:/WhrandomModule:whrandom] -- Pseudo-random number generator 5.9 [[/WhrandomModule|whrandom]] -- Pseudo-random number generator
Line 37: Line 37:
5.10 [:/BisectModule:bisect] -- Array bisection algorithm 5.10 [[/BisectModule|bisect]] -- Array bisection algorithm
Line 41: Line 41:
5.11 [:/HeapqModule:heapq] -- Heap queue algorithm 5.11 [[/HeapqModule|heapq]] -- Heap queue algorithm
Line 45: Line 45:
5.12 [:/ArrayModule:array] -- Efficient arrays of numeric values 5.12 [[/ArrayModule|array]] -- Efficient arrays of numeric values
Line 47: Line 47:
5.13 [:/SetsModule:sets] -- Unordered collections of unique elements 5.13 [[/SetsModule|sets]] -- Unordered collections of unique elements
Line 53: Line 53:
5.14 [:/ItertoolsModule:itertools] -- Functions creating iterators for efficient looping 5.14 [[/ItertoolsModule|itertools]] -- Functions creating iterators for efficient looping
Line 58: Line 58:
5.15 [:/ConfigParserModule:ConfigParser] -- Configuration file parser 5.15 [[/ConfigParserModule|ConfigParser]] -- Configuration file parser
Line 63: Line 63:
5.16 [:/FileinputModule:fileinput] -- Iterate over lines from multiple input streams 5.16 [[/FileinputModule|fileinput]] -- Iterate over lines from multiple input streams
Line 65: Line 65:
5.17 [:/XreadlinesModule:xreadlines] -- Efficient iteration over a file 5.17 [[/XreadlinesModule|xreadlines]] -- Efficient iteration over a file
Line 67: Line 67:
5.18 [:/CalendarModule:calendar] -- General calendar-related functions 5.18 [[/CalendarModule|calendar]] -- General calendar-related functions
Line 69: Line 69:
5.19 [:/CmdModule:cmd] -- Support for line-oriented command interpreters 5.19 [[/CmdModule|cmd]] -- Support for line-oriented command interpreters
Line 73: Line 73:
5.20 [:/ShlexModule:shlex] -- Simple lexical analysis 5.20 [[/ShlexModule|shlex]] -- Simple lexical analysis

Python Library Reference

Note: this is an unofficial posting of the official python documentation. So PLEASE DON'T modify the existing text! It will probably just be overwritten and no one will realize you've done it. PLEASE DO add any and all comments at the end of the section they apply to. That's what it's for!

Miscellaneous Services

5.1 pydoc -- Documentation generator and online help system

5.2 doctest -- Test docstrings represent reality

5.3 unittest -- Unit testing framework

5.3.1 Basic example 5.3.2 Organizing test code 5.3.3 Re-using old test code 5.3.4 Classes and functions 5.3.5 TestCase Objects 5.3.6 TestSuite Objects 5.3.7 TestResult Objects 5.3.8 TestLoader Objects

5.4 test -- Regression tests package for Python

5.4.1 Writing Unit Tests for the test package 5.4.2 Running tests Using test.regrtest

5.5 test.test_support -- Utility functions for tests

5.6 math -- Mathematical functions

5.7 cmath -- Mathematical functions for complex numbers

5.8 random -- Generate pseudo-random numbers

5.9 whrandom -- Pseudo-random number generator

5.10 bisect -- Array bisection algorithm

5.10.1 Examples

5.11 heapq -- Heap queue algorithm

5.11.1 Theory

5.12 array -- Efficient arrays of numeric values

5.13 sets -- Unordered collections of unique elements

5.13.1 Set Objects 5.13.2 Example 5.13.3 Protocol for automatic conversion to immutable

5.14 itertools -- Functions creating iterators for efficient looping

5.14.1 Itertool functions 5.14.2 Examples

5.15 ConfigParser -- Configuration file parser

5.15.1 RawConfigParser Objects 5.15.2 ConfigParser Objects

5.16 fileinput -- Iterate over lines from multiple input streams

5.17 xreadlines -- Efficient iteration over a file

5.18 calendar -- General calendar-related functions

5.19 cmd -- Support for line-oriented command interpreters

5.19.1 Cmd Objects

5.20 shlex -- Simple lexical analysis

5.20.1 Module Contents 5.20.2 shlex Objects 5.20.3 Parsing Rules

PythonLibraryReference/MiscellaneousServices (last edited 2008-11-15 13:59:36 by localhost)

Unable to edit the page? See the FrontPage for instructions.