The Python Oracle

In Python 3.4, what is best/easiest way to compare paths?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Dreamlands

--

Chapters
00:00 Question
00:37 Accepted answer (Score 10)
01:04 Answer 2 (Score 3)
01:24 Thank you

--

Full question
https://stackoverflow.com/questions/2387...

Accepted answer links:
[resolve]: https://docs.python.org/dev/library/path...
[os.path.samefile]: https://docs.python.org/dev/library/os.p...

Answer 2 links:
[documentation]: https://docs.python.org/3/library/pathli...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #python3x #path #pathlib

#avk47