我自己的路:
'/home//user////document/test.jpg'
我希望将其转换为:
'/home/user/document/test.jpg'
这该怎么做?
python string path
path ×1
python ×1
string ×1