Answers for "python basename of file without extension"

0

file base name and extension python

from pathlib import Path

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

Code answers related to "python basename of file without extension"

Python Answers by Framework

Browse Popular Code Answers by Language