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 www.kite.com #
PREVIOUS
NEXT
Tagged:
#extract
#file
#path
#python
ADD COMMENT
Topic
COMMENT
Name
3+8 =
Submit