Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove file os python

import os
ch = os.chdir("Directory")  #for example: E:/../../
files = os.listdir()
for file in files:
    if "file name .format" in file:
        os.remove(file)
        
#code by fawlid
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #remove #file #os #python
ADD COMMENT
Topic
Name
1+6 =