Well, i tried that. Yes, the function will be run and the Good morning message will be displayed on the shell, but i want the message to be displayed on the TK window not on the terminal. I mean to be displayed on the pop up little window which Tkinter has created.