Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python remove directory not empty

import shutil

shutil.rmtree('/folder_name')
shutil.rmtree('/folder_name', ignore_errors=True)  # for read only files
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #remove #directory #empty
ADD COMMENT
Topic
Name
6+9 =