pathlib logo pathlib: path properties

1 2 3 4 5 6 7
Notes

There's a few path properties discussed here.

import pathlib

p = pathlib.Path("settings", "config.json")
p.parts
p.is_dir()
p.is_file()
p.resolve()
p.samefile(p)
p.suffix

Without peeking in the video, can you recall what they do?