Notes on the Python development presentation

Source: Internet
Author: User
Compile: Compile---Generate executable (machine code)---run the program first. Once you have converted the source code into an executable file, run the program again. such as: C, C + +
Interpreted type: No need to compile first. There is no executable at the first moment of the run, and at the time of execution there is a shell called the interpreter that transforms the source code into binary code for execution. such as: Python, JAVA
Compilation and interpretation of the difference: compiled like a foreign-language book, need to be translated before you can see. This translation takes a certain amount of time to wait. The explanatory type is a foreign language book, translation a little bit.

Dynamic language: There is no need to declare a type before defining a variable. such as: Python, Ruby
Static language: All variables require a declaration type. such as: C, C + +, C #, JAVA

Strongly typed: The variable specifies the data type, which is always this type, if not cast. such as: Python, JAVA
Weak type: A variable can be assigned multiple values of different data types

Python: Dynamic language, strong-type, interpreted
Advantages:
1. Easy to get started
2. High effectiveness
3. Advanced language
4. The value of the transfer
5. Extensibility
6. embeddable

Disadvantages:
1. Slow speed
2. Code is not encrypted
3. Multithreading cannot be multi-core

Notes on the Python development presentation

Related Article

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.