Apr-08-2018, 12:01 PM
I put "tkcallasync.py", 4th file, in my SUDO project. The top of ...class.py, lokks like:
# SudokuSolver_class.py import os import SudokuSolver_solver as Solver from random import randint from tkinter import ttk from tkinter import * #from tkcallasync import tk_call_async, MULTIPROCESSING #origin import tkcallasync class SudokuSolver(Frame):The error message I get, is:
Error:|-----------------------------------|
| | | | | | | | | |
|-----------------------------------|
| | | | | | | | | |
|-----------------------------------|
| | | | | | | | | |
|-----------------------------------|
C:\Users\Sylvain
λ python SUDO
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python35\lib\tkinter\__init__.py", line 1558, in __call__
return self.func(*args)
File "SUDO\SudokuSolver_class.py", line 250, in execute_solver
tk_call_async(self, Solver.do_solve, args=(self.sudoku),
NameError: name 'tk_call_async' is not defined