I have a list of files names: names = ['aet2000','ppt2000', 'aet2001', 'ppt2001'] While I have found some functions that can work to grep character strings, I haven't figured out how to grep all elements of a list. for instance I would like to: grep(names,'aet') and get: ['aet2000','aet2001'] Sure its not too hard, but I am new to Python update The question above apparently wasn't accurate enough.
{{#tags}}- {{label}}
{{/tags}}