Basics of getting started with Python

Source: Internet
Author: User

Python Basics:
Machine language:
Features: The computer can see the understanding of 0 and 1 to write programs
Advantages: The program runs fast
Cons: Low development efficiency

Assembly:
Features: Use some English tags instead of a string of binary numbers to write programs
Advantages: Better than the machine language, the operating system is heavily used in assembly language
For example, the scheduling code for a process, which is written by sinks
Cons: Low development efficiency

Advanced Language:
Features: Human readable (English) characters to write the program
Advantages: High Development efficiency
Cons: Must be translated to allow the computer to recognize, resulting in slow running speed

According to the way of translation divided into:
Compiled: Once translated, take the compiled results directly to the machine to run
C Language:
Compiler: GCC,GLIBC
Low development efficiency
High operating efficiency
Explanatory type
Python language:
Interpreter: Cpython
High development efficiency
Low operating efficiency
Summarize:
Operating efficiency from high to low
Development efficiency from low to high
Learning difficulty from difficult to easy

Python interpreter executes the python process
1. Start the Python interpreter (in memory)
2. Read the contents of the file test.py from the hard disk into memory (this step is the same as the text editor)
3. Perform step 2 reading into the memory code


To permanently save your code, you'll use the file
If the carefree debugging code is going to use an interactive approach

Basics of getting started with Python

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.