The basic components of Linux, which are thoroughly tempered. There are very few that have been replaced. These basic components include a variety of shells.
Python is started for operations. Later developed into a common language. Python solves the problem of programming difficult tools such as the shell, while being poorly readable. Of course, there are many design ideas, not listed. But Python's goal in the beginning is not to replace the shell.
But Ruby has this idea. Some of Ruby's tools obviously want to replace the application's console. It's an ideal language.
As a programming language, not as a command-line tool. Python does not have the advantages of strong interaction with the shell, versatility, compactness, privilege management, batch processing, complex piping, security, efficiency, etc.
However, many of the shell-supported scripts have been replaced by Python. Therefore, in Linux system initialization, operations management can see a large number of Python script. For a Python veteran, using shell scripting is not as straightforward as writing a Python script. There is absolutely no need to learn two sets of programming methods.
It took me 10几 years to Python to write a shell script with more than 50 lines. Python is enough. Occasionally, a more than 10-line shell is more commonly used. More python will be used.
Similarly, if we write an operating system in Python, it's clear that the shell doesn't need
Http://zhidao.baidu.com/link?url=UMAcc4iqq3QSsGc41Ga80gAebMgH6p_PrKjpxTrzUuALRto6sKJx4_ 6pohcxt0psycoytpkczd2cerixxmitoqnkdiis0i1-cza8sw7qe7w
Bash and Python