I have thread1. and a main GUI thread. I am trying to change a label on the GUI thread, form the thread1. I pass the variable of the label on the thread as an argument. But I get the following error:
UnpickleableError: Cannot pickle objects
How can I change GUI elements outside the main GUI Thread/Class
class MyFirstGUI:
    communicationQueue=Queue()
    def __init__(self, master):
      thisLabel = Label(master, text="Test")
      thisLabel.pack()
      tempThread=testThread(thisLabel)
      tempThread.start()
class testThread(Thread):
    def __init__(self, label):
      label["text"]="something"