I have the list that contains some items like:
\"GFS01_06-13-2017 05-10-18-38.csv\" \"Metadata_GFS01_06-13-2017 05-10-18-38.csv\"
How to fi
You have several options, but most obvious are:
Using list comprehension with a condition:
result = [i for i in some_list if i.startswith('GFS01_')]
Using filter (which returns iterator)
result = filter(lambda x: x.startswith('GFS01_'), some_list)