path module v1.0 released

Jason Orendorff jason@jorendorff.com
19 Jan 2003 09:58:55 -0800


The 'path' module provides an object-oriented wrapper for file pathnames.
Less typing than os.path, more fun, and a few new tricks.

Download path v1.0:
  http://www.jorendorff.com/articles/python/path

Quick example:
  import os
  from path import path
  home = path(os.environ['HOME'])
  for f in home.walk():
      if f.endswith('~') and f.isfile():
          os.remove(f)

Please send feedback to jason at jorendorff dot com.

<P><A HREF="http://www.jorendorff.com/articles/python/path/index.html">path
  1.0</a> - Python <code>path</code> module, an OO wrapper for
  <code>os.path</code>.