# 18.4 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

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)

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