> The modes you can test for is R_OK (is the file readible?), W_OK > (writable?), X_OK (executable?) and F_OK (does the file exist?). You > just combine these using inclusive or (|). umm... surely '|' is an "or"??? shouldn't it be an "and"?? It's && in C, what is it in python?? -- Thomi Richards, thomi@thomi.imail.net.nz