How to remove a file from Path object in Pathlib module?

后端 未结 0 930
忘了有多久
忘了有多久 2021-01-22 06:41

I have a Path Object representing C:\\Users\\users\\Downloads\\img.jpg. How do I get it so the Path only represents C:\\Users\\user\\Downloads

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