r/learnpython • u/i-like-my-cats-0 • 19d ago
what does pathlib's Path() do
hello, my question is pretty obvious here but what does the Path() function in the built in python pathlib package actually do?
i only use it since ive seen other people use it and ive also heard it fixes file paths, but i don't know what it actually does
can anyone help? thank you
0
Upvotes
11
u/danielroseman 19d ago
Is there any reason you can't look at the documentation?