The sudoku script is a simple driver for the sudosolver.py
module. There's not much to it: the command line arguments
are the names of puzzles in input form. It reads each
puzzle, passes it to the solver object, and waits for
callbacks when (if) the puzzle is solved.
The executable code for the sudoku script starts with the usual “pound-bang line” to make it executable under Unix, followed by a brief comment pointing to this documentation.
#!/usr/bin/env python #================================================================ # Sudoku puzzle solver. For documentation, see: # http://www.nmt.edu/tcc/help/lang/python/sudoku/ #----------------------------------------------------------------