Message251049
I'm a new python learner but I noticed inconsistent behavior of the backspace character when used in strings. I'm running 2.7.10. Whenever the backspace character '\b' is at the very end of a string, nothing happens, but if it is in the middle of string it behaves as expected.
For example:
print "12345" + '\b'
returns:
>>>12345
But:
print "12345" + '\b' + '6'
returns:
>>> 12346 |
|
Date |
User |
Action |
Args |
2015-09-19 02:45:58 | Jared Bevis | set | recipients:
+ Jared Bevis, ezio.melotti, mrabarnett |
2015-09-19 02:45:58 | Jared Bevis | set | messageid: <1442630758.17.0.869659981248.issue25174@psf.upfronthosting.co.za> |
2015-09-19 02:45:58 | Jared Bevis | link | issue25174 messages |
2015-09-19 02:45:57 | Jared Bevis | create | |
|