Home > other >  Introduction to Python actually very simple, from 3, 4, 5, 6 kinds of can
Introduction to Python actually very simple, from 3, 4, 5, 6 kinds of can

Time:10-02

Given that most of the books on the writing structure of chaos, cannot reflect the systemic knowledge, logical and gradation, specially compiled Python basic knowledge learning framework, hope to help everyone quickstart,
Want to quickly learn Python, keep in mind "and" 4 "and" three classes' 5 '6' ' 'the four figures is ok, let me describe the meaning of these four Numbers! I am in accordance with the order of the Numbers to describe, but in the study on the order of please start learning, in accordance with the order of the 5,6,3,4
Three basic concepts
1. The structured (function, module, package)
2. The object oriented (and the derived class, class reloading)
3. The virtual environment (version management, environment isolation)
Four types of basic operations
1. Data operation (a variety of data types)
2. The file operations (closing operations such as file open, speaking, reading and writing)
3. The module operation (such as import, module search operations)
4. Concurrent operations (process and thread lock/signal/security queue, etc.)
The five basic statement (5)
1. The assignment statements (variable, object, the assignment operator)
2. The input and output statements (print, input function)
3. The conditional statements (if - elif - else statements)
4. The loop statement (traversal cycle for - in - the else, conditions while - else, break/continue)
5. The exception handling statements (try - except - else - finally)
Six types of data (6)
1. The numeric types (int, Boolean, float, and complex)
2. The string (STR)
3. List (list)
4. A tuple (a tuple)
5. A dictionary (dict)
6. Set (set)
If you can put above a few points are mastered, then even really started,