Newbie question about text encoding

Dan Sommers dan at tombstonezero.net
Sat Mar 7 14:16:42 EST 2015


On Sat, 07 Mar 2015 19:00:47 +0000, Mark Lawrence wrote:

> Isn't pathlib
> https://docs.python.org/3/library/pathlib.html#module-pathlib
> effectively a more recent attempt at smoothing or even removing (some
> of) the bumps?  Has anybody here got experience of it as I've never
> used it?

I almost said something about Common Lisp's PATHNAME type, but I didn't.

An extremely quick reading of that page tells me that os.pathlib
addresses *some* of the issues that PATHNAME addresses, but os.pathlib
seems more limited in scope (e.g., os.pathlib doesn't account for
filesystems with versioned files).  I'll certainly have a closer look
later.



More information about the Python-list mailing list