Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Extract filename from path in Python

filename = os.path.basename("path/to/file/sample.txt")
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #Extract #filename #path #Python
ADD COMMENT
Topic
Name
6+3 =