Path.py

October 2nd, 2006 § 0 comments

This post was an epiphany for me. I had never seen Jason Orendorff’s Path mod­ule before, and after down­load­ing it and play­ing with it — I have to say it’s a god-send for some­one work­ing with filesys­tems a lot, and dou­bly good for me, given the scale of the filesys­tems I am work­ing on (100GB to Ter­abytes to Petabytes).

Being able to rep­re­sent and oper­ate on a file tree as an object is excel­lent. Fre­quently in test­ing we are doing bulk hashes (integrity), migra­tion (to and from the cluster(s)) and other gen­eral testing-based activity.

Read­ing the python dis­cus­sion list about it and look­ing at the code, I can see where peo­ple might feel it’s too gen­eral to include in the stdlib — but let’s face it, this is a damned nice module.

More code later.

What's this?

You are currently reading Path.py at jessenoller.com.

meta