PyDocs

Nav

File and Directory Access

Path.unlink

pathlib

method of Path (source)
  • Path.unlink(missing_ok=False)
Remove this file or link.
If the path is a directory, use rmdir() instead.
Changed in 3.8
  • 3.8: The missing_ok parameter was added.
0 Examples
No examples for pathlib/Path.unlink.
See Also
No see-alsos for pathlib/Path.unlink
0 Notes
No notes for Path.unlink