Backspace behavior in Python statement, what is correct behavior of printing a '\b' in code?
Expanded answer: The backspace doesn't delete anything, it moves the cursor to the left and it gets covered up by what you write afterwards. If you were writing to a device that can display overstriking (such as an old-fashioned "hard copy" terminal, which works like a typewriter), you'd actually see the new character on top of the old one. That's the real reason backspace has these semantics.
On the unix command line, the shell can be set to interpret backspace as meaning "erase"-- unless it's set to only treat delete this way. But that's up to the program reading your input.
As Alexis said in the comment, it moves the cursor back (to the left by one character). Then when you print, it overwrites the character (applying only to the current line of text)
>>> print 'abc\b'
abc
>>> print 'abc\b\b\b'
abc
>>> print 'abc\b1'
ab1
>>> print 'abc\b\b\b123'
123
Nothing Python specific, as evidenced by "backspace character weirdness"