Learning python to get directions and subjects

Source: Internet
Author: User

The main content of Python can be broadly divided into the following sections:

    1. Process oriented. Includes basic expressions, if statements, loops, functions, and so on. If you have a base of any language, especially the C language, this is part of a minute understanding of Python's rules. If you do not have a language base, it is recommended to use Python programming as a reference. This book is an introduction to the nature of computer science textbooks, do not need programming foundation.
    2. Object-oriented, including basic object-oriented concepts, classes, methods, attributes, inheritance and so on. Python is an object-oriented language, "Everything is object." Object-oriented is difficult to avoid. Python's object-oriented mechanism is relatively loose, not as strict as Java and C + +. The benefits are easy to learn, easy to maintain, and the downside is easy to make mistakes.
    3. Application features include IO, data containers such as tables and dictionaries, built-in functions, modules, formatted strings, etc. These are often found in other languages, and have relatively strong practicality.
    4. Advanced syntax, context Manager, list derivation, functional programming, decorators, special methods, etc. These syntaxes are not necessary, and you can do so with the syntax of the previous comparison. The main reason to learn these advanced grammars is that they are too convenient. For example, a list of what can be done in a row, with a loop structure to several lines.

The standard library is just an interface for invoking functionality, and ultimately for Python and system interaction. This requires strong system knowledge, such as file system knowledge, process management, HTTP principles, socket programming, database principles ... If this knowledge is well-prepared, then the standard library is completely non-difficult to learn. However, the learning curve of these background knowledge is far steeper than that of Python itself.

The same goes for deeper Python learning, which requires a lot of background knowledge, not just python itself. If you're interested in Python's extensibility, you can try a lot of mixed programming. If you're interested in Python's build and run mechanics, you can dig into the depths of Python and see what the compiler does. If you're interested in the app, you can learn a few more of your own third-party packages. Learning this time, the spell is the realm, there is no definite method. Vast space to be explored.

Basically, after learning the subject content, Python still has to work on the project to practice. There are many types of exercises, such as Python Cookbook. But the better way is to think of some application scenarios and use Python to solve them. Like what:

    • Building a website
    • Make a web crawler
    • System Management

Python is full-featured, so don't worry about the problem you're thinking Python can't solve (basically python can't solve the problem, other languages will not work).

Learning python to get directions and subjects

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.