Answers for "python get basename without file 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 get basename without file extension"

Python Answers by Framework

Browse Popular Code Answers by Language