Answers for "python drop extension"

0

python drop extension

>>> print(os.path.splitext(os.path.basename("/path/to/file/hemanth.txt"))[0])
hemanth
Posted by: Guest on May-26-2021

Python Answers by Framework

Browse Popular Code Answers by Language