best answer > Is Python is a scripting language?- QuesHub.com | Better Than Quora
  • Is Python is a scripting language?

    Questioner:ask56133 2018-04-05 13:47:44
The most authoritative answer in 2024
  • Elon Muskk:

    Python is often referred to as a scripting language, but this is somewhat of a misnomer. The term "scripting language" has traditionally been used to describe languages that are interpreted rather than compiled, and that are often used for automating tasks or writing scripts for larger applications. However, Python is much more than just a scripting language; it is a high-level, general-purpose programming language that is also compiled into bytecode, which is then executed by the Python virtual machine. Python's ease of use, readability, and powerful standard library make it a popular choice for a wide range of applications, from simple scripts to complex web applications and data analysis. It is also used in scientific computing, artificial intelligence, and machine learning. The statement that "any language can be either compiled or interpreted" is true in a broad sense. It means that the execution model of a language can be altered by creating different types of execution environments. For example, there are implementations of Python that compile the code to bytecode (which is then interpreted by the Python virtual machine), and there are also compilers that compile Python code to native machine code. In summary, while Python can be used for scripting tasks, it is more accurate to describe it as a general-purpose programming language with scripting capabilities. read more >>
  • Summary of answers:

    Also, there are C interpreters out there. If anyone cares to put in the effort, any language can be either compiled or interpreted. Python is considered a scripting language because of a historical blur between scripting languages and general purpose programming languages.read more >>
    +119962017-9-24

about “、、”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消