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()