python re.sub(“ ”, “\ ”, str) return \\ instread of \

前端 未结 0 317
野趣味
野趣味 2021-01-22 12:25

#i need for make that the rest of my code works i need replace the spaces for \\ because is a #linux directory path so i\'ve tried with the metod str.replace() and the metod re.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题