The only problem with a set loop is that as you remove files the count will change. I think I would walk though the directory and read the last 5 characters of the file name string and if it =="thumb" then remove it.
I would have to sit down to write out the code( and the boss might get upset if I did that now
) but I know I've done something similar before.
I would have to sit down to write out the code( and the boss might get upset if I did that now
![Smile Smile](https://python-forum.io/images/smilies/smile.png)