# This module implements a global debug "level" variable. # The level is usually set in the main program, often with # a command line argument like "-d#" or "-d #", where # is # an integer with greater values indicating greater levels # of debugging. Any module that imports debug.py can then # test debug.level to determine how much debugging information # should be printed. # Example: python main.py -d5 level = 0 # zero indcates nothing is to be printed