title: python tkinter read only entry
body: <p>I am computer science first year student and only learnt python for 2 months. I am currently working on my assignment which requires me to create a tkinter GUI.
  I have used:</p>
  
  <pre><code>from tkinter import*
  def conselect(evt):
      value=str((lstName.get(lstName.curselection())))
      infile=open("list.txt",'r')
      for line in infile:
          data=line.split(',')
          if line.startswith(value):
              print(data[1])
      infile.close()
  window=Tk()
  window.title("Countries")
  lstName=Listbox(window,width=100,height=100)
  yscroll=Scrollbar(command=lstName.yview)
  yscroll.grid(row=0,column=3,sticky=NS,rowspan=3)
  lstName=Listbox(window,width=15,height=10,yscrollcommand=yscroll.set)
  lstName.grid(row=0,padx=0,pady=0,sticky=W,columnspan=2,rowspan=3)
  yscroll.config(command=lstName.yview)
  continent=[]
  lstName.bind('&lt;&lt;ListboxSelect&gt;&gt;',conselect)
  
  infile=open("list.txt",'r')
  for line in infile:
      data=line.split(',')
      countryName=data[0]
      lstName.insert('end',countryName)
  infile.close()
  labelC=Label(window,text="Continent :")
  labelC.grid(padx=5,pady=0,row=0,column=4,sticky=W)
  labelC=Label(window,text="Population :")
  labelC.grid(padx=5,pady=0,row=1,column=4,sticky=W)
  labelC=Label(window,text="Area :")
  labelC.grid(padx=5,pady=0,row=2,column=4,sticky=W)
  
  entOutput=Entry(window,width=10,state="readonly")
  entOutput.grid(padx=5,pady=0,row=0,column=5)
  entOutput=Entry(window,width=10,state="readonly")
  entOutput.grid(padx=5,pady=0,row=1,column=5)
  entOutput=Entry(window,width=10,state="readonly")
  entOutput.grid(padx=5,pady=0,row=2,column=5)
  </code></pre>
  
  <p>How do i print my conselect(evt) output to entry widget at the end of code </p>