When using backspace it adds extra character in raw_input
I am using python 2.7 on Mobaxterm. I am using raw_input for the user input. For example if user wants to give an input such as "Python Language" but instead there is spelling mistake and user has to use backspace to correct the word/alphabet. At this moment there are some extra characters are added. try:
inp = raw_input("Enter a saved search name: ")
# Retrieve the new search
mysavedsearch = service.saved_searches[inp]`enter code here`
Expected Output: correct word, for example if user writes "pythin", user can use backspace and then correct it to "python"
Actual Output:
UrlEncoded('pyt\x08\x08\on')