Re: os.access() problem

2006-07-11 Thread Larry Bates
Phil Schmidt wrote: > I just got a new PC with Windows XP, and I want to run Leo on it. Leo > uses the os.access() function to check for read-only files. For some > reason, os.access(, os.W_OK) always returns false. > > I wrote a 2-liner Python script to just test os.access on any file. > I have t

os.access() problem

2006-07-11 Thread Phil Schmidt
I just got a new PC with Windows XP, and I want to run Leo on it. Leo uses the os.access() function to check for read-only files. For some reason, os.access(, os.W_OK) always returns false. I wrote a 2-liner Python script to just test os.access on any file. I have tried this with Python 2.4 and 2.