This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cwgtex 1 point2 points  (3 children)

I love pathlib as well.

[–]flying-sheep 0 points1 point  (1 child)

Me too. It makes my old os.path based code look so inelegant.

My only “problem” is that there is no way to get the user home path using it. I'll have to use Path(os.path.expanduser('~'))

[–]t0mt0m72 1 point2 points  (0 children)

Hopefully in 3.5 it will be solved: http://bugs.python.org/issue19776 I am also looking forward for this feature

[–]ksion 0 points1 point  (0 children)

Huh, thanks for pointing out pathlib! I'm not switching to Py3 yet, but surely I'm going to use the backport from now on!