Assume my folder structure to be
+Data
-abc.jpg
-db.jpg
-ap.jpg
Input is 'path/to/Data'
Expected output is ['abc','db','ap']
I saw many similar questions but did not get what exactly I wanted. I prefer to use os module in python.
Assume my folder structure to be
+Data
-abc.jpg
-db.jpg
-ap.jpg
Input is 'path/to/Data'
Expected output is ['abc','db','ap']
I saw many similar questions but did not get what exactly I wanted. I prefer to use os module in python.