adding a path module to stdlib

A

Alia Khouri

This may have been discussed ad nauseaum before, but every time I use
os.path manipulations I miss something like Jason Orrendorf's path.py
being in the standard library.
[http://www.jorendorff.com/articles/python/path/]

Ruby has it:
require 'pathname'
path = Pathname.new("/tmp/f.log")

What are we missing to make something similarly useful happen for
python?

AK
 
M

Michael Hoffman

Alia said:
This may have been discussed ad nauseaum before, but every time I use
os.path manipulations I miss something like Jason Orrendorf's path.py
being in the standard library.
[http://www.jorendorff.com/articles/python/path/]

That is a great library. I wrote a distutils setup.py for it to make it
easier to deploy on multiple systems I use. Installing path.py is so
much easier than using os.path.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top