If you want to delete a specifically formatted file in a directory or delete all other files, PyDeleter does it for you.
How to use?
1- Download the file or clone it.
2- Go to the dicectory and run the app.
cd Downloads(for example)
3- Enter a directory path
4- Enter the format
5- Choose you want to delete all the files with that format or delete all files exclude files with that format.