from sudoku import Sudoku

def main():
	s = Sudoku.parse(
		'''
		-------------
		|   |2  |   |
		|   | 6 |4 3|
		|   |  5| 7 |
		-------------
		| 7 |  2|8  |
		|51 |  4|9  |
		|  9|  3|   |
		-------------
		|   |  9|   |
		|  2|   | 98|
		| 83|1  |2  |
		-------------
		'''
	)

	print(s)
	print(s.solve())

if __name__ == '__main__':
	main()

[((4, 5, 20, 2), 'sudoku.Sudoku.parse', 'Sudoku.parse', ({(5, 2, 19, 5): '"""\n\t\t-------------\n\t\t|   |2  |   |\n\t\t|   | 6 |4 3|\n\t\t|   |  5| 7 |\n\t\t-------------\n\t\t| 7 |  2|8  |\n\t\t|51 |  4|9  |\n\t\t|  9|  3|   |\n\t\t-------------\n\t\t|   |  9|   |\n\t\t|  2|   | 98|\n\t\t| 83|1  |2  |\n\t\t-------------\n\t\t"""'}, {}), '(\n    """\n\t\t-------------\n\t\t|   |2  |   |\n\t\t|   | 6 |4 3|\n\t\t|   |  5| 7 |\n\t\t-------------\n\t\t| 7 |  2|8  |\n\t\t|51 |  4|9  |\n\t\t|  9|  3|   |\n\t\t-------------\n\t\t|   |  9|   |\n\t\t|  2|   | 98|\n\t\t| 83|1  |2  |\n\t\t-------------\n\t\t"""\n    )', False, 'from sudoku import Sudoku\n')]