Hi, I am looking for a bit of help with a python method to delete all files 'Not the folders or subfolders' just the files which are listed in a CSV file I have which has image filepaths in one column formatted as such: C:\clothing\Jeans\image.jpg.
I'm trying to delete files from a large dataset and trying to create a subset as the folder is too large to upload.
Any help would be appreciated.
Sorry I mean delete files NOT listed in the CSV.
I'm trying to delete files from a large dataset and trying to create a subset as the folder is too large to upload.
Any help would be appreciated.
Sorry I mean delete files NOT listed in the CSV.