Differences between revisions 3 and 4
Revision 3 as of 2004-05-24 00:42:59
Size: 2064
Editor: c-24-125-101-137
Comment:
Revision 4 as of 2004-05-24 10:50:22
Size: 2436
Editor: c-24-125-101-137
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
5.3 unittest -- Unit testing framework 5.3 [:/UnitTestModule:unittest] -- Unit testing framework
Line 20: Line 21:
5.4 test -- Regression tests package for Python
5.4 [:/TestModule:test] -- Regression tests package for Python
Line 23: Line 26:
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.5 [:/TestSupportModule:
test.test_support] -- Utility functions for tests

5.6 [:/MathModule:math] -- Mathematical functions

5.7 [:/CmathModule:cmath] -- Mathematical functions for complex numbers

5.8 [:/RandomModule:random] -- Generate pseudo-random numbers

5.9 [:/WhrandomModule:whrandom] -- Pseudo-random number generator

5.10 [:/BisectModule:bisect] -- Array bisection algorithm
Line 30: Line 40:
5.11 heapq -- Heap queue algorithm
5.11 [:/HeapqModule:heapq] -- Heap queue algorithm
Line 32: Line 44:
5.12 array -- Efficient arrays of numeric values
5.13 sets -- Unordered collections of unique elements

5.12 [:/ArrayModule:array] -- Efficient arrays of numeric values

5.13 [:/SetsModule:sets] -- Unordered collections of unique elements
Line 37: Line 52:
5.14 itertools -- Functions creating iterators for efficient looping
5.14 [:/ItertoolsModule:itertools] -- Functions creating iterators for efficient looping
Line 40: Line 57:
5.15 ConfigParser -- Configuration file parser
5.15 [:/ConfigParserModule:ConfigParser] -- Configuration file parser
Line 43: Line 62:
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.16 [:/FileinputModule:fileinput] -- Iterate over lines from multiple input streams

5.17 [:/XreadlinesModule:xreadlines] -- Efficient iteration over a file

5.18 [:/CalendarModule:calendar] -- General calendar-related functions

5.19 [:/CmdModule:cmd] -- Support for line-oriented command interpreters
Line 48: Line 72:
5.20 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 [:/PydocModule:pydoc] -- Documentation generator and online help system

5.2 [:/DocTestModule:doctest] -- Test docstrings represent reality

5.3 [:/UnitTestModule: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 [:/TestModule: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 [:/TestSupportModule:test.test_support] -- Utility functions for tests

5.6 [:/MathModule:math] -- Mathematical functions

5.7 [:/CmathModule:cmath] -- Mathematical functions for complex numbers

5.8 [:/RandomModule:random] -- Generate pseudo-random numbers

5.9 [:/WhrandomModule:whrandom] -- Pseudo-random number generator

5.10 [:/BisectModule:bisect] -- Array bisection algorithm

5.10.1 Examples

5.11 [:/HeapqModule:heapq] -- Heap queue algorithm

5.11.1 Theory

5.12 [:/ArrayModule:array] -- Efficient arrays of numeric values

5.13 [:/SetsModule: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 [:/ItertoolsModule:itertools] -- Functions creating iterators for efficient looping

5.14.1 Itertool functions 5.14.2 Examples

5.15 [:/ConfigParserModule:ConfigParser] -- Configuration file parser

5.15.1 RawConfigParser Objects 5.15.2 ConfigParser Objects

5.16 [:/FileinputModule:fileinput] -- Iterate over lines from multiple input streams

5.17 [:/XreadlinesModule:xreadlines] -- Efficient iteration over a file

5.18 [:/CalendarModule:calendar] -- General calendar-related functions

5.19 [:/CmdModule:cmd] -- Support for line-oriented command interpreters

5.19.1 Cmd Objects

5.20 [:/ShlexModule: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.