Mar-30-2018, 07:35 PM
I don't see any tkinter in your code, other than the title. If you are using tkinter then use after() with a small time out to schedule a new task, which will not cause the program to hang.
if sudoku[row][col]!=' ': root.after(100, solve, num+1) ## waits 1/10 of a secondIf you are not using tkinter, post back and I will add a multiprocessing Process to do this.