ANN: path module 1.1.3 
Author Message
 ANN: path module 1.1.3 provides an object for working with files and directories.
Less typing than os.path, more fun, a few new tricks.

Download version 1.1.3:

New features since version 1.0:
  - Wraps more functions from os.path.
  - Now wraps functionality from the os module:  rename(), mkdir(),
    stat(), and so on.
  - Also wraps glob and shutil modules.  Methods include glob(),
    copy(), copytree(), rmtree(), etc.
  - New convenience methods:
    p.files() and p.dirs() for listing directory contents.
    p.bytes(), p.text(), p.lines() for reading in whole files
        with a single method call.
    p.touch() imitates the Unix 'touch' command.
  - Bug fixes; test suite.

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

Please send feedback to jason at jorendorff dot com.

<P><A HREF=" http://www.*-*-*.com/ ;>path
  1.1.3</a> - python <code>path</code> module, a convenient object for
  working with files and directories.

Sat, 06 Aug 2005 09:00:43 GMT  
 [ 1 post ] 

 Relevant Pages 

1. REPOST: Re: import path, script path (was Re: module path)

2. module path and $PATH interaction?

3. path module v1.0 released

4. module path delay annotation ambiguity

5. Help - module path statement problem

6. IDLE module path problem

7. Path problem in W2K service with Win32 extension module

8. How can I specify additional module search paths

9. getting "this" module's path

10. REPOST: module path

11. module path

12. Finding modules in subdirectories of sys.path


Powered by phpBB® Forum Software