When should you write shell scripts and when should you use Python?
-
I am using them somewhat interchangeably for my work. I am more proficient in bash at this point and trying to figure out how to make the transition to relying more heavily on Python. The downside is that for a given task I have to budget more time in Python because I am still pretty low on the learning curve there. So I am trying to come up with some decision rules.
-
Answer:
It's not needed "relying more heavily on Python ", why not just use python when it's hard to write with shell scripts . Python is not superior on all sides compared to shell scripts.
Ligon Liu at Quora Visit the source
Other answers
You can write the entire shell script in python. Also the same code will work for all environments like Linux and windows or Mac if written properly ! Once you get acquainted with the python thing, things are hell fast !
Abhishesh Sharma
Related Q & A:
- When do you use 'para' and when do you use 'por?Best solution by Yahoo! Answers
- When should I use serialization library in boost?Best solution by ibm.com
- When do I use TSA locks for my luggage?Best solution by blog.tsa.gov
- When can I use the chat feature within Yahoo games?Best solution by Yahoo! Answers
- When connecting surround sound components together which connections do you use?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.