How to convert absolute path to UNC path using pathlib in python?

后端 未结 0 804
既然无缘
既然无缘 2020-11-21 07:10

I want to convert the c:\\my_shared_dir\\dir\\file.txt to \\servername\\share_name\\dir\\file.txt (I have already shared the directory)

Is this possible with pathlib

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