【python】windows下路径双斜杠换反斜杠

your_path = "E://data//s//0.jpg"
your_path = your_path.replace('\\','/')

猜你喜欢

转载自blog.csdn.net/qq_35975447/article/details/110187942
今日推荐