Tkinter: multiprocessing on events that happen per second
问题 I have made a Tkinter program that reads from a modbus slave device. Every second it reads the device and displays the output onto labels. However, I have multiple tabs that run the same code for each device connected. While a device is being read, the whole GUI freezes so you can't move the program or press buttons until it is done reading. Would multiprocessing help with freezing? If so, how could I implement it? Here is my code: import tkinter as tk from tkinter import * from tkinter