[Tutor] permissions reading of a file

Thomas CLive Richards thomi@thomi.imail.net.nz
Fri May 16 03:44:01 2003


> 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