Python-01-python Introduction

Source: Internet
Author: User

1.python Main Applicationsautomated operations, automated testing, big data analytics, crawlers, Web2. Various programming languagesC and Python, Java, C #, etc.C Language: The code compiles the machine code, the machine code executes directly on the processor, each instruction controls the CPU to workOther languages: code compiles to get bytecode, virtual machines execute bytecode and convert to machine code and then execute on processorthe language of Python and C Python was developed by C. for use with: Python's class library is complete and concise, if you want to implement the same functionality, Python 10 lines of code can be solved, C may require 100 lines or more.for Speed: Python runs faster than C, forcing it to slow down.Python and Java, C #, etc.for use with: Linux original Python, no other languages; The above languages have a very rich class library supportfor Speed: Python may be slightly slower in speedTypes of 3.PythonCpythonthe official version of Python, implemented using the C language, is the most widely used, and the CPython implementation converts the source file (py file) into a bytecode file (PYc file) and then runs on the Python virtual machine. ? Jyhtonpython Java implementation, Jython will dynamically compile Python code into Java bytecode, and then run on the JVM. ? IronPythonIn Python's C # implementation, IronPython compiles Python code into C # bytecode and then runs on the CLR. (similar to Jython)? PyPy (Special)Python implements Python, which compiles Python bytecode bytecode into machine code. ? Rubypython, Brython ...              Note: pypy, Python's bytecode is further processed on a python basis, thus increasing execution speed! pypy-Python code --machine-to-computerother kinds of Python ---Python code----computer--------machine

Python-01-python Introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.