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