I am trying to place the text box widget onto the screen
I am using the text box to display the output of my program. text box has to be placed on the right side of the screen
my code
import Tkinter
main_window=Tkinter.Tk()
text_widget = tkinter.Text(main_window)
text_widget.insert(INSERT, "text message will display here")
text_widget.pack(anchor = "w", padx = 50, pady = 50)
main_window.mainloop()
but my problem is text box is not visible on the screen. how to solve that problem?
thanks
Tkclass, and you're not callingmainloop.