File question

Niels Diepeveen niels at endea.demon.nl
Fri Mar 10 12:36:00 EST 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