📜  python 键盘退格 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:49.078000             🧑  作者: Mango

代码示例1
foo = "abc"
foo = foo + "\b" + "xyz"
print foo
>> abxyz
print len(foo)
>> 7

if key == '\b': delete_selected_points()