DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
extract name of file from path python
from pathlib import Path Path("/tmp/d/a.dat").name
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#extract
#file
#path
#python
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit