Search
 
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
Name
1+7 =