Thanks for reply's. I'll be looking into threading, it seems like right way to go.
btw. Why Python developers don't make a wrapper for input() with callback function using threads, so people can easily use nonblocking input? -- http://mail.python.org/mailman/listinfo/python-list