I have written a python tkinter code using threads so as the tkinter wizard updates automatically by tkinter mainloop running in the main thread and background process runni
Tkinter is designed to be thread-safe but isn't due to bugs, in both 2.x and 3.x.
Until fixes are released (and in older versions), you should use mtTkinter (which is designed to be a drop-in replacement) as a workaround.