If you’ve ever said “I need to get the part of the file path that’s without the containing directory and without the suffix” and found it awkward, this cheat sheet is for you:
(the QR code will lead you back to this post)
The terminology used here is borrowed from the Python pathlib module:
Discuss this post at the comment section below. Follow me on Twitter and Facebook Thanks to Shachar Ohana for reading drafts of this.