(In 2013) I don\'t know why Python is that weird, you can\'t find this by searching in google very easily, but it\'s quite simple.
How can I detect \'SPACE\
use the builtin: (no need for tkinter)
s = input('->>') print(s) # what you just typed); now use if's