比如:
python
print("1.2.3 哈哈-2.txt".lstrip('0123456789-. '))
输出哈哈-2.txt
这样最简单。
比如:
print("1.2.3 哈哈-2.txt".lstrip('0123456789-. '))
输出哈哈-2.txt
这样最简单。