DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+8 =
Submit