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

php - Admin SDK -- get information about the group -

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

Python Error - TypeError: input expected at most 1 arguments, got 3 -