title: How to enter and pass text coordinates (tkinter)?
body: <p>I need to write a program using tkinter to organize string input and data input about text placement in a window. I tried to write the code, how should I pass the coordinates?</p>
  <pre><code>from tkinter import *
  win = Tk()
  lab_tx=Label(win, bg=&quot;#F2EECB&quot;,width=&quot;60&quot;,height=&quot;30&quot;)
  lab_x = Label(win, text=' x:')
  lab_y = Label(win, text='y:')
  
  tx=Entry(win)
  x = Entry(win)
  y = Entry(win)
  
  but=Button(win,text=&quot;Start&quot;)
  
  def rplace(event):
      lab_tx['text']=tx.get()
  
  tx.grid(row=0,column=0)
  x.grid(row=1,column=0)
  y.grid(row=2,column=0)
  lab_tx.grid(row=3,column=0)
  lab_x.grid(row=4,column=0)
  lab_y.grid(row=5,column=0)
  but.grid(row=6,column=0)
  but.bind(&quot;&lt;Button-1&gt;&quot;,rplace)
  win.mainloop()
  </code></pre>