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 

Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -