Professional Documents
Culture Documents
Output Code
Output Code
class Form1(tk.Tk):
def __init__(self):
super().__init__()
self.title("Form1")
self.geometry("857x706")
self.comboBox1 = ttk.Combobox(self.groupBox1)
self.comboBox1.pack(side=tk.LEFT)
self.serialPort1 = None
self.J1Box = ttk.Entry(self.groupBox2)
self.J1Box.pack()
self.J3Box = ttk.Entry(self)
self.J3Box.pack()
self.J2Box = ttk.Entry(self)
self.J2Box.pack()
self.J6Box = ttk.Entry(self)
self.J6Box.pack()
self.J5Box = ttk.Entry(self)
self.J5Box.pack()
self.J4Box = ttk.Entry(self)
self.J4Box.pack()
self.timer1 = None
if __name__ == "__main__":
form = Form1()
form.mainloop()