Hi everybody!
How can i call a function from Tkinter without using Buttons?
I have a test.py file and there is a function def message in it:
def message():
print('Good morning')
from Tkinter import *
tk = Tk()
tk.mainloop()
I want to type test.py message from linux terminal and the good morning message display on a window.
What should i do?
I dont want to use button.
What should i type between line 6 and 8?