How to delete characters in python console? [closed]

2

Something like in java that I think is with a \b but in python

    
asked by user7090759 30.10.2016 в 19:24
source

1 answer

3

In python27 you can use \ b in a string and it clears the previous character.

print "cara\bcter\b " 
  

Result in cmd or in the python console:   carcte

    
answered by 30.10.2016 в 20:34