Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get name of file

file_name = os.path.basename(file_path)
 
PREVIOUS NEXT
Tagged: #python #file
ADD COMMENT
Topic
Name
2+3 =