DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+9 =
Submit