When I do a raw_input() and enter values, I am not able to use my arrow-keys to change stuff... is there any way for doing that?
Thanx readline module helps in line
That's not how raw_input()
works. It reads a line from the prompt, and then processes it after the newline character.
The docs are pretty clear: http://docs.python.org/library/functions.html#raw_input
If you try to throw arrow keys into the mix, your terminal is likely to add those characters to the returned string. Then again, it may not, depending on your operating system. Don't count on it.
Perhaps you want the readline
module?
http://docs.python.org/library/readline.html#module-readline