17.3 Miscellaneous useful utilities

Some of these are very old and/or not very robust; marked with ``hmm''.

calendar.py
-- Calendar printing functions

ConfigParser.py
-- Parse a file of sectioned configuration parameters

cmp.py
-- Efficiently compare files

cmpcache.py
-- Efficiently compare files (uses statcache)

dircache.py
-- like os.listdir, but caches results

dircmp.py
-- class to build directory diff tools on

getpass.py
-- Utilities to get a password and/or the current user name.

linecache.py
-- Cache lines from files (used by pdb)

pipes.py
-- Conversion pipeline templates (hmm)

popen2.py
-- improved popen, can read AND write simultaneously

statcache.py
-- Maintain a cache of file stats

colorsys.py
-- Conversion between RGB and other color systems

dbhash.py
-- (g)dbm-like wrapper for bsdhash.hashopen

mhlib.py
-- MH interface

pty.py
-- Pseudo terminal utilities

tty.py
-- Terminal utilities

cmd.py
-- build line-oriented command interpreters (used by pdb)

bdb.py
-- A generic Python debugger base class (used by pdb)

wdb.py
-- A primitive windowing debugger based on STDWIN.

ihooks.py
-- Import hook support (for rexec)

bisect.py
-- Bisection algorithms (this is actually useful at times, especially as reference material)

guido@python.org