os.access() under windows
Yann Leboulanger
asterix at lagaule.org
Mon Dec 3 08:53:41 EST 2007
Martin v. Löwis a écrit :
>> 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 !!
>
> This description is, unfortunately, too imprecise to allow reproducing
> that effect. What precisely do you mean by "I move My Documents to
> this e:\test folder"?
>
I Right click on "My Documents" folder, and change the path to e:\test
there.
So that "My documents" folder points to e:\test
More information about the Python-list
mailing list