# 19.2 Miscellaneous useful utilities

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

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)

statcache.py
  -- Maintain a cache of file stats

pty.py
  -- Pseudo terminal utilities

tty.py
  -- Terminal utilities

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)