Package elisa :: Package extern :: Module path
[hide private]
[frames] | no frames]

Module path

source code

path.py - An object representing a path to a file or directory.

Example:

from path import path
d = path('/home/guido/bin')
for f in d.files('*.py'):
    f.chmod(0755)

This module requires Python 2.2 or later.


URL:     http://www.jorendorff.com/articles/python/path
Author:  Jason Orendorff <jason.orendorff@gmail.com> (and others - see the url!)
Date:    7 Mar 2004




Version: 2.1

Classes [hide private]
  TreeWalkWarning
  path
Represents a filesystem path.
Variables [hide private]
  win32security = 'frontend'
  basestring = str, unicode
  _textmode = 'U'