title: How to display output of print() in GUI python
body: <p>I am new in creating GUI. I am doing it in Python with Tkinter. In my program I calculate following characteristics</p>
  
  <pre><code>def my_myfunction():
      my code ...
      print("Centroid:", centroid_x, centroid_y)
      print("Area:", area)
      print("Angle:", angle)
  </code></pre>
  
  <p>I would like to ask for any help/tips how to display those values in GUI window or how to save them in .txt file so that I can call them in my GUI
  Thanks in advance</p>