Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python code to remove file extension

import os
print os.path.splitext("sample.txt")[0]
Source by kite.com #
 
PREVIOUS NEXT
Tagged: #python #code #remove #file #extension
ADD COMMENT
Topic
Name
7+9 =