stdout - Implementing backspace while reading character by character in python? -
as in link :http://code.activestate.com/recipes/134892/ how shall implement backspace on stdout?
'\b'
escape sequence backspace.
>>> print('123xx\b\b45') 12345
as in link :http://code.activestate.com/recipes/134892/ how shall implement backspace on stdout?
'\b'
escape sequence backspace.
>>> print('123xx\b\b45') 12345
Comments
Post a Comment