Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python delete saved image

import os
os.remove(file) for file in os.listdir('path/to/directory') if file.endswith('.png')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #delete #saved #image
ADD COMMENT
Topic
Name
3+9 =