import wx
import json
import queue
from collections import namedtuple
import threading
class MyDialog(wx.Frame):
def __init__(self, parent, title):
self.n
It is perfectly ok to not call join()
if you don't need its functionality to wait for the thread to finish.
By the way: In the main thread of a GUI application (the thread automatically created at start in which all GUI things happen) it is bad practice to call any function that sleeps or waits for anything as the GUI doesn't react (freezes) while waiting.