Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
python delete saved image
user46714
Programming language:
Python
2021-06-16 04:11:54
0
Q:
python delete saved image
user67564
Code:
Python
2021-07-20 13:54:18
import os os.remove(file) for file in os.listdir('path/to/directory') if file.endswith('.png')
1
Tags
python
image
Related
delete file python
extract x y coordinates from image in pdf python
python delete contents of file
python delete all data from file
python os remove file
how to cut image python
python remove cached package
read image in python
get coordinates of an image from a pdf python
python delete file
how to save unzipped files in python
saving images with python
how to delete everything on a file python
delete something from list python
how to delete file in python
New to Communities?
Join the community