|
|
|
|
|
by draebek
5302 days ago
|
|
Speaking as a person that converted a big shell script to Python a while back, I think both languages have their strengths. Writing something like: prog1 2> prog1.log | prog2 2> prog1.log | prog3
in Python is not nearly so succinct as in the shell (using only Python's standard library). And don't screw up waiting for processes or flushing buffers, things that the shell takes care of for you AFAIK.On the other hand, things like string or date manipulation are easier in Python than in the shell. |
|