title: How to check input in Textbox Tkinter Python?
body: <p>I am Python coder and got stuck in a question that &quot;How to check input in textbox of tkinter python&quot;. The problem is that it is not giving output on writing this code .</p>
  <pre><code>def start(event):
      a = main.get(1.0,END)
      if a == 'ver':
          print('.....')
  
  main = Text(root)
  main.pack()
  root.bind('&lt;Return&gt;',start)
  </code></pre>