What is the purpose of backward-slash b in python? I ran print ""fooar" in the Python interpreter and got this result:
print ""fooar"
>>> print ""fooar" "foar
See the string literal documentation:
ASCII Backspace (BS)
It produces a backspace character. Your terminal backspaced over the second o when printing that character.
o
2.1m questions
2.1m answers
60 comments
57.0k users