Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete files inside folder python

import os
import glob

files = glob.glob('/YOUR/PATH/*')
for f in files:
    os.remove(f)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #files #folder #python
ADD COMMENT
Topic
Name
9+7 =