Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python extract extension

import pathlib
print(pathlib.Path('/path/file.ext').suffix)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #extract #extension
ADD COMMENT
Topic
Name
8+3 =