Answers for "pathlib get file name only without extension"

0

get just filename without extension from the path python

from pathlib import Path

Path('/root/dir/sub/file.ext').stem
Posted by: Guest on October-29-2020

Code answers related to "pathlib get file name only without extension"

Python Answers by Framework

Browse Popular Code Answers by Language