title: How to get entry from Text Box. Python
body: <p>I have made a text box and a button. When the button is clicked it should display the content within the text box.</p>
  
  <p>I have followed a tutorial but I couldn't get it to work, so I then came on here and found a <a href="https://stackoverflow.com/questions/14824163/how-to-get-the-input-from-the-tkinter-text-box-widget">thread</a> where someone else had this problem, but I still couldn't figure out why mine gives this error.</p>
  
  <pre><code>AttributeError: 'NoneType' object has no attribute 'get'
  </code></pre>
  
  <p>Here is the code.</p>
  
  <pre><code>def send_feedback(*args):
      feedback = self.MyEntryBox.get("0.0",'END-1c')
      print(feedback)
  
  self.MyEntryBox = Text(SWH, width=80, height=20, bd=5, fg="#0094FF",relief = RIDGE).place(x=200,y=400)
  SubmitButton = Button(SWH, text="Submit", fg="White", bg="#0094FF", font=("Grobold",20),command=send_feedback).pack()
  </code></pre>