adding a path module to stdlib

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alia Khouri

    #1

    adding a path module to stdlib

    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

  • Michael Hoffman

    #2
    Re: adding a path module to stdlib

    Alia Khouri wrote:[color=blue]
    > 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/][/color]

    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.
    --
    Michael Hoffman

    Comment

    Working...