[Python-ideas] More friendly access to chmod
Chris Barker
chris.barker at noaa.gov
Mon Jan 11 13:35:00 EST 2016
On Sat, Jan 9, 2016 at 7:41 AM, Ram Rachum <ram at rachum.com> wrote:
>
>> What's wrong with referencing other modules?
>>
>>
> Not wrong, just desirable to avoid. For example, I think that doing
> `path.chmod(x)` is preferable to `os.chmod(path, x)`.
>
I often prefer OO structure as well, but you can get that by subclassing
Path -- it doesn't need to be in the stdlib.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160111/781a2250/attachment-0001.html>
More information about the Python-ideas
mailing list