Here are two ideas that come to mind: files = glob.glob("UNQ*.dat") + glob.glob("Unq*.dat") + glob.glob("unq.dat")
files = [f for f in glob.glob("*.dat") if f[:3] in ("UNQ", "Unq", "unq")] Jeff
pgp30Rue2EGi7.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list