equivalent of Ruby's Pathname?
Phlip
phlip2005 at gmail.com
Mon Feb 8 17:46:36 EST 2010
On Feb 8, 2:36 pm, a... at pythoncraft.com (Aahz) wrote:
> >> There was also a PEP with another possible implementation:
> >>http://www.python.org/dev/peps/pep-0355/
>
> >Why did Path() get rejected? Is it the idea itself, or just the
> >approach that was used? What are the complaints?
>
> You should search for the discussiona around it.
I, OTOH, am burning rubber with Python 2.6.1, so leading edge concerns
are not mine - yet!
I went with this version, generously ripped out & plopped into our
project:
# URL: http://www.jorendorff.com/articles/python/path
# Author: Jason Orendorff <jason at jorendorff.com> (and others - see
the url!)
# Date: 7 Mar 2004
class path(_base):
""" Represents a filesystem path.
"""
Gods bless http://www.google.com/codesearch, huh?!
--
Phlip
http://c2.com/cgi/wiki?ZeekLand
More information about the Python-list
mailing list