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