Path.py

by jesse in ,


This post was an epiphany for me. I had never seen Jason Orendorff’s Path module before, and after downloading it and playing with it - I have to say it's a god-send for someone working with filesystems a lot, and doubly good for me, given the scale of the filesystems I am working on (100GB to Terabytes to Petabytes). Being able to represent and operate on a file tree as an object is excellent. Frequently in testing we are doing bulk hashes (integrity), migration (to and from the cluster(s)) and other general testing-based activity.

Reading the python discussion list about it and looking at the code, I can see where people might feel it's too general to include in the stdlib - but let's face it, this is a damned nice module.

More code later.