Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python Split a file path into root and extension

import os
root, ext = os.path.splitext(path)
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #python #Split #file #path #root #extension
ADD COMMENT
Topic
Name
8+9 =