title: How do I print and have user input in a text box in tkinter, Python 3.2.5?
body: <p>I am completely new to Python, and I just wrote a short bit of code that prints and asks for input in the python shell. It works like a diary where it asks for a date and then prints the entries for that date. I was hoping to incorporate this call and response into a text box in a tkinter GUI. I am wondering how to get this bit of code to perform in the text box instead of in the python shell.</p>
  
  <pre><code>month = int(float(input("Month(MM): ")))
  day = int(float(input("Day(DD): ")))
  year = int(float(input("Year(YYYY): ")))
  
  print(str(month)+"/"+str(day)+"/"+str(year))
  
  noEntry = True
  
  if month == 1 and day == 2 and year == 3456:
      noEntry = False
      print("Text")
  if month == 7 and day == 8 and year == 9012:
      noEntry = False
      print("More Text")
  if noEntry:
      print("No Entry Found")
  </code></pre>
  
  <p>I would also like to avoid calling for this code as an outside file. I want to know how to implement this code into a tkinter GUI text box, not how to retrieve a file which contains this code. Mostly because it is such a short program and it seems unnecessary. Thanks for the help in advance!</p>