A commandline sodoku solver for the Insight Data Engineering Fellows Program
Coding Deadline: November 3rd at 11pm
I have chosen python3 as my primary development language, and I have built a simple command line program that allows the user to input csv files that contain a sudoku puzzle and solves the puzzle. The user can specify whether to save the solution in a CSV file or redirect to the stdout.
The command line program allows the user two options: - To input the sudoku puzzle from a csv file and output the results to a csv file - To input the sudoku puzzle from a csv file and output to the standard output
For the first option, interacting with the command line can be as follows:
python3 main.py -i sudoku.csv -o solution.csv -v
A solution.csv file is created in the directory containing the solution
For the second option, interacting with the command line can be as follows:
python3 main.py -i sudoku.csv -v
Test cases have been created for three different sudoku puzzles. These cases can be found in the test directory
cd test
To execute tests
python3 test.py