Next / Previous / Contents / Shipman's homepage

6.2. Imports

We'll need the standard sys module to access the standard output and error streams and sys.exit(). We'll also import the time module so we can get solution timings.

sudoku
#================================================================
# Imports
#----------------------------------------------------------------

import sys
import time

We must also import the solver module.

sudoku
import sudosolver