参考文章:http://www.cppcns.com/jiaoben/python/261979.html
import re
new_filename=re.sub(r'[\\/:*?"<>|\r\n]+', "_", old_filename)
参考文章:http://www.cppcns.com/jiaoben/python/261979.html
import re
new_filename=re.sub(r'[\\/:*?"<>|\r\n]+', "_", old_filename)
相关文章: