DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Delete file in python Using the pathlib module
import pathlib file=pathlib.path("test/new_file.txt") file.unlink()
Source by softhunt.net #
PREVIOUS
NEXT
Tagged:
#Delete
#file
#python
#Using
#pathlib
#module
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit