In Python on Windows, is there a way to determine if a user has permission to access a directory? I\'ve taken a look at os.access but it gives false results.>
Actually 'C:\haveaccess' is different than r'C:\haveaccess'.
From Python point of view 'C:\haveaccess' is not a valid path, so use 'C:\\haveaccess' instead.
I think os.access works just fine.