How can I delete more than file in folder using python?
hello i learn image processing with python and i must delete the image after testing it with tensorflow that is end with jpg
the most common codes to a single statement i need all file in same folder (without using for loop)Posted in: #ML & AI
Better to delete the entire folder if you dont want to loop over.
use shutil package where you can remove entire folder.
@Ayman Alshobaki - please let us know if the answer helped you. Ask follow up questions, if you have any. Thanks!