i grabed some data and stuff with my crawler and now i have to analyse them.
I got a list with different links of some pictures, but i just want to save the ones without "/Thumbnails"
pictures = ['Media/Shop/922180cruv.jpg', 'Media/Shop/922180cruvdet.jpg', 'Media/Shop/Thumbnails/922180cruvx320x240.jpg', 'Media/Shop/Thumbnails/922180cruvdetx320x240.jpg']
Is there a way to say "if string got /Thumbnails", remove all from the list?. I got a csv with ~25000 list in separate columns.
Already tried with remove() and indexing, but my lists are different, so the index for the first list wont fit to the second list for example
pictures = [path in pictures if "/Thumbnails/" not in path]?