[Tutor] Backspace Escape Sequence; \b
Peter Otten
__peter__ at web.de
Tue Feb 7 18:41:12 CET 2012
Garland W. Binns wrote:
> Could someone please tell me a common or semi-frequent scenario in which a
> person would use a backspace escape sequence?
Does
$ python -c 'print "this is b\bbo\bol\bld\bd"' | less
qualify? If you are using (e. g.) Linux this technique is used to show some
text in boldface when you type something like
>>> help(str)
in Python's interactive interpreter.
More information about the Tutor
mailing list