[Python-ideas] OS related file operations (copy, move, delete, rename...) should be placed into one module

Terry Reedy tjreedy at udel.edu
Thu Jan 12 17:25:22 EST 2017


On 1/12/2017 2:11 PM, Todd wrote:
> On Thu, Jan 12, 2017 at 11:17 AM, Chris Barker - NOAA Federal
> <chris.barker at noaa.gov
> <mailto:chris.barker at noaa.gov>> wrote:
>
>     I agree that this has been a bit of a wart for a long time.
>
>>     While the old “let’s treat strings as paths” modules are split up
>>     like you said, pathlib can do what they do and
>>     more: https://docs.python.org/3/library/pathlib.html
>>     <https://docs.python.org/3/library/pathlib.html>
>
>     Exactly -- this is The Solution. It combines paths themselves with
>     things you are likely to do with paths.
>
>     It may well lack some nice features. If so, suggestions for that
>     would be the way to go.
>
>
> Can such suggestions go here or should someone start a new thread?

Start a new thread for 'Add x to pathlib'.


-- 
Terry Jan Reedy




More information about the Python-ideas mailing list