Python Tkinter冻结

时间:2019-06-16 20:34:39

标签: python-3.x tkinter

def show_entry_fields():
      print(“经度:%s \ n纬度:%s”%(e1.get(),e2.get()))
    全球GPS_COORDS
    GPS_COORDS =“ {0},{1}”。format(e1.get(),e2.get())     threading.Thread(target = main())。start()     master.quit

tk.Button(master,text ='Submit',command = show_entry_fields).grid(row = 3,column = 1,sticky = tk.W,pady = 4)

print(“ done”)

tk.mainloop()

0 个答案:

没有答案