DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python os filename without extension
os.path.splitext('filename.txt')[0] # filename
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#os
#filename
#extension
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit