File question

Niels Diepeveen niels at endea.demon.nl
Fri Mar 10 18:36:00 CET 2000


Gaetan Corneau schreef:

> I just want to read a file's attributes (particularly the read-only
> attribute).
> Is there a function somewhere for that?

You can use os.stat() or os.access().

-- 
Niels Diepeveen
Endea automatisering



More information about the Python-list mailing list