Looking For A Wildcard File Name Parser

Skip Montanaro skip at pobox.com
Thu Jul 17 22:05:59 EDT 2003


    YoTuco> I've been looking for a good wildcard file name parser. That is,
    YoTuco> some module in Python or something someone has made that can
    YoTuco> take a file name with the '*' or '?' wildcards in it, parse a
    YoTuco> list[] and give back the matches.  It seems like a common enough
    YoTuco> task that one would be around?  Or do I just have to roll up my
    YoTuco> sleeves, dig-in and learn RE?

import glob
help(glob)

Skip





More information about the Python-list mailing list