May-14-2018, 05:38 PM
import glob import os base_path = '/ai2/data/dev/admin/inf/*{}*' patterns = ['ACM','ACX','GSK'] for pattern in patterns: print pattern search_path = base_path.format(pattern) for f in glob.glob(search_path): print f
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs