Nov-23-2017, 11:53 AM
Hi, I´m developing a GUI with wx.python. In the app, I want to read by modbus some variables in a continuous way. I read that I can use Threads to do this. I have defined my frame as a class and then I call it at the main program. Can I put the funtion of the Thread in an other file and them import it? And if I can, How? Can I define a class an then call to the funtion by a constructor inside the frame class?