Hi, On 10/17/2006 06:22:45 PM, SpreadTooThin wrote: > valid = > ':./,^0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ ' >
not specifying the OS platform, these are not all the characters that may occur in a filename: '[]{}-=", etc. And '/' is NOT valid. On a unix platform. And it should be easy to scan the filename and check every character against the 'valid-string'. HTH, cu l8r, Edgar. -- \|||/ (o o) Just curious... ----ooO-(_)-Ooo--------------------------------------------------------- -- http://mail.python.org/mailman/listinfo/python-list