os.access() under windows
Yann Leboulanger
yann.le_boulanger at u-paris10.fr
Sat Dec 1 04:48:37 EST 2007
Hi,
Under Windows XP os.access has a strange behaviour:
I create a folder test under e:
then os.access('e:\\test', os.W_OK) returns True. Everything's ok.
Now I move My Documents to this e:\test folder
Then os.access('e:\\test', os.W_OK) returns False !!
but this works:
f = open('e:\\test\\test', 'a')
f.write('abc')
f.close()
So why os.access returns False ?
--
Yann
More information about the Python-list
mailing list