Looking For A Wildcard File Name Parser

Skip Montanaro skip at pobox.com
Fri Jul 18 04:05:59 CEST 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