title: How to pass control from one tkinter window to another?
body: <p>I am trying to communicate to arduino using python 3.6.4. I have two tkinter windows. When I press a button on the first window, the second window opens. I would give some numerical inputs in the second window. These numerical inputs correspond to a digital pin in the arduino which is connect to LED's. I am trying to pass these value to the arduino through serial library in python. But I could not pass the value from the second window. Does anyone know how to pass the entire control from one tkinter window to another? Any insight would be helpful. I am a beginner in python programming. Please help me.</p>