permission
Mike Meyer
mwm at mired.org
Wed Apr 13 18:48:04 EDT 2005
Skip Montanaro <skip at pobox.com> writes:
> James> Is it possible to check if you have permission to access and or
> James> change a directory or file?
>
> Yes, but it's generally much easier to try, then recover from any errors:
Especially since the answer to the question may change between
checking and trying - so you have to be prepared to deal with failure
either way.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list
mailing list