Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Deleting files which start with a name

import os, glob
for filename in glob.glob("mypath/version*"):
    os.remove(filename) 
Source by www.py4u.net #
 
PREVIOUS NEXT
Tagged: #Deleting #files #start
ADD COMMENT
Topic
Name
6+8 =