title: Python tkinter text frame function text
body: <p>Good evening how can print in text frame, function def print? it must be type in text frame &quot;ffedede&quot;
  <a href="https://i.stack.imgur.com/ldb61.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ldb61.jpg" alt="enter image description here" /></a></p>
  <pre><code>import sys
  import tkinter as tk
  from tkinter import *
  import tkinter.ttk as ttk
  
  def goster():
      print(&quot;ffedede&quot;)
  
  root = tk.Tk()
  
  root.geometry(&quot;729x506+299+135&quot;)
  Ana_cerceve = ttk.Frame(root)
  Ana_cerceve.place(relx=0.014, rely=0.02, relheight=0.943
          , relwidth=0.97)
  Text1 = tk.Text(Ana_cerceve)
  Text1.place(relx=0.04, rely=0.048, relheight=0.843, relwidth=0.903
         , bordermode='ignore')
  Text1.insert(tk.END, goster) ????????????
  
  root.mainloop()
  </code></pre>