Python Sudoku Generator

Sudoku is puzzle game. The goal is to fill in a grid of 9x9 cells with numbers from 1 to 9 in such a way that every digit appears exactly once on a row, column and sub squares.

Here is an example. Just put the mouse over the grid to find out the solution.

The python code used to generate that grid is here (you will also need this font file or change the source).

Presently it's not very configurable... and it doesn't have a GUI. :-(

It just take an integer in the range 0 to 23 and output the resulting sudoku problem and solution on the terminal as well as in two gif files.

To get interesting problem, use a value between 10 and 20.