python vs awk for simple sysamin tasks

Steve Lamb grey at despair.dmiyu.org
Thu Jun 3 10:34:45 EDT 2004


On 2004-06-03, Matthew Thorley <ruach at chpc.utah.edu> wrote:
> I wasn't able to give him an afirmative answer because I've never used 
> python for things like this. I just spent the last while looking on 
> google and haven't found an answer yet. I was hoping some one out there 
> might have some thoughts ?

    What would be better is defining the end result than cramming out shell
script that we've got to decipher.  But, with that said to me it would be a
simple matter of os.path.walk() with a call to an appropriate function which
does the calculations as needed.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
       PGP Key: 8B6E99C5       | main connection to the switchboard of souls.
-------------------------------+---------------------------------------------



More information about the Python-list mailing list