python Tkinter, Queue, Threading, gives out of stack space error python Tkinter, Queue, Threading, gives out of stack space error tkinter tkinter

python Tkinter, Queue, Threading, gives out of stack space error


After a deep searching, I found this post: here

I am not sure if this is exactly the problem, but it inspired me, in the way that I reformed my code, by putting the gui mainloop() in a second thread.

In this way, it works like a charm, although I still don't exactly why there is such behaviour.