Reading Keyboard Input in python