Bind Key action: Return
from Tkinter import *
root = Tk()
def greet(*ignore): print 'Hello World'
root.bind('', greet)
root.mainloop()
Bind Key action: Return
from Tkinter import *
root = Tk()
def greet(*ignore): print 'Hello World'
root.bind('', greet)
root.mainloop()
Bloggerized by DheTemplate.com - Main Blogger


