I am new to python and am trying the following:
I have 7 files in my directory.
MyFileName1.jpg
MyFileName2.jpg
MyFileName3.jpg
MineFileName1.jpg
MineFileName2.jpg
MineFileName3.jpg
MineFileName4.jpg
Based on a condition, I am trying to remove MyFileName2.jpg and MyFileName3.jpg. Please suggest.
Thanks in advance :)