[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash vs. python scripts - which one is better?



Nate Duehr wrote:
> Steve Lamb wrote:
> 
>>     Quick, take your one liner, have it traverse an entire directory tree
>> converting all the wavs (regardless of capitalization) to mp3s, oggs
>> and flac, sorting all 4 into their own directory trees.

> To make your point, you'd need to do all of the above in one line of
> Python code.

> What a fanboi...

> "Quick, write a one-liner while I take 20 minutes to write a real program!"

    Uh, no, fanboi.  I never said it had to remain a one liner.  In fact, that
was my point.  One liners rarely stay that way.  And when you venture past
your very narrow mindset you find the problems in shell.



Reply to: