How to learn python as a beginner?
1, Introduction to Python Learn about Python's features, advantages, disadvantages, prospects and what can be done? 2.Python environment Install Python compilation environment with one click and write the first Python code. 3. Understand the basic types of Python, including plastic type and floating point type. The meaning and transformation relationship of 10, 8, 2, 16; Boolean type; Common operations of strings and strings 4. The concept and definition of "group" in Python Understand the concept of "group" in Python and some types used to represent "group", including tuples, lists, collections and dictionaries. 5. Variables and Operators Understand the meaning of variables and seven operators, and explain the expansion of each operator in detail. 6. Basic logical structure of branch, loop, condition and enumeration code, including conditional control (ifelse), loop control (forin, while), expression and operator priority. In addition, there are Python enumeration types and Python coding specifications. 7. Scope of packages, modules, functions and variables Understand the organizational structure of Python code: packages, modules and functions. You need to have a very clear understanding of the organizational structure of Python code. The focus is on function. In addition to the basic concepts of functions, we also need to understand Python's flexible function parameter mechanism (default parameters, keyword parameters and list parameters). 8.Python function is the basic code organization structure of all languages. The importance of function is self-evident. For Python, the usage and flexibility of functions are far more powerful than other languages. Understand the definition, call, sequence unpacking, required parameters, keyword parameters, default parameters and many other contents of Python functions. 9. Advanced part: Object-oriented understanding of the concept of object-oriented. It includes three characteristics of object-oriented (inheritance, encapsulation and polymorphism), basic elements of classes, class attributes built into python, method rewriting, operator overloading, static methods and so on. 10, regular expressions and JSON regular expressions are also very important knowledge points in text analysis. Learn how to write regular expressions and common regular expressions in Python. In addition, it focuses on JSON objects, JSON strings, Python types and JSON transformations. 1 1, Python's advanced syntax and usage Learn about Python's advanced features, such as enumeration, closure 12, functional programming: anonymous function, higher-order function, decorator Learn more about lambda, mapece, filter and decorator of functional programming. In actual combat, native reptiles learn how to access network data, obtain and. A local crawler project, using the most basic syntax, rather than using the crawler framework. 14, Python and Python Miscellanies Learn the excellent writing methods of extending Python and learn how to write high-quality Python-style code. Including: how to keep the dictionary in order, the application of lmbda expressions and other advanced Python knowledge.