Learn several different stages of Python

Source: Internet
Author: User

Objective

Wang Guowei in the "Human Cihua" in the reading divided into three kinds of realm: "Ancient and modern into the big business, Brainiac, will pass through three kinds of state: ' Last night westerly green tree, alone on the high-rise, look at the end of the road." This first realm also. ' Emaciated end not regret, for Iraq to eliminate people haggard. ' This second realm also. ' He found him 1100 degrees, and suddenly looked back, but the man was in the dim light. ' This third environment is also. I from the introduction of Python to now also do not have much time, so write such a large topic will inevitably lead to various criticisms, of course, I do not want to create a big news, just want to make a simple summary according to their own learning process, at the same time, the three stages corresponding to some good books brief introduction.

Body

Python is very versatile, and different programmers use it in unused fields, and different programmers package their own code into libraries for other programmers, making wheels less, using a variety of libraries, and Python's own flexibility, legibility, ease of writing, and the use of more people, The usage rate of the TIOBE statistics programming language is as follows: Python has risen by 3 in the leaderboard in a year, and it is definitely an add-on when it comes to recruiting employees, because Python has a strong advantage in text processing, small program writing, Some time ago a friend let help change the color of their company logo, the first thought is to use Python, female votes let me help her preprocess big data, the first thought is still python and so on, of course, did not say that other language is not good, is not to discuss which language better, Just Python is really a happy language, the following superficial talk about my python learning process of the boundary Division and recommended books.

First stage: Beginner, mastering the syntax of Python and the use of some common libraries

    • Here is the first recommendation Liaoxue books on the internet, This is the Python2.7 version, this book is suitable to start all over again, as a developer, in addition to the basic grammar, this book mentions some other commonly used libraries, see the teacher Liao wrote a lot of things, feel his ideas, and write the height of the book, General, the original reason is very good, this book after reading, I believe you can move Handwriting a lot of things, you can enjoy the fun of the Python interpreter.

    • There is also a book "Python Reference Manual", this book is also very useful, all aspects of Python are basically included, can be used as a Python dictionary to query the use of methods, very useful.

    • The best way to master a language is to use it, so I think it is one of the quickest ways to master Python by learning Grammar while brushing leetcode.

Much more than just writing Python as a script or a small program to process the text, this stage is enough, and this stage can help us do a lot of things. But if it is a professional learning python, I am afraid there will be an effort to upgrade: First of all, the majority of the domestic people have learned other languages (C,c++,java, etc.) to learn python, so Python and these languages are different, That is, pythonic things need some time to learn and grasp, in addition, the domain of their own domain of the library structure of the master also takes a long time to grasp; Finally, if you want to complete a Python project independently, the layout of the project, release, open source, etc. are the issues to be considered.

The second stage: intermediate, mastering their own specific areas of the library, master Pythonic writing, very familiar with the characteristics of Python

    • The first book recommended is the 91 recommendations for writing high-quality code-improving the Python program, which probably refers to the file layout of the Python project, more on how to write Pythonic code, and also introduces some common libraries.

    • To know more about Python, sometimes it is important to look at the source of Python, and read the source code, to thoroughly understand the core mechanism of Python, here is recommended "Python source code Analysis-Deep Exploration of dynamic language core technology", this book has not been read, It's also useful to look at the relevant chapters when you need to learn more about a Python feature or data structure.

    • There are a lot of books and materials in your field, such as the architecture of web development, and only when you know all the architectures, when you choose, you can measure the pros and cons, and then take a deeper look at some of the architectures.

After this stage, you can write the Pythonic code, you can make a contribution to the open source community through the PEP8 check, you can write a python file is very good, but if you want to develop a large project in Python, there is still a lot of things to master, such as the project's documentation, Project launches, downloads, project performance and cases, and more.

Third stage: Advanced, from the whole project, consider document,distribution, performance optimization, etc.

    • At present only read a book "The Hacker Guide to Python", read the English version, this book on the layout of the project, documentation, performance, publishing and so do a lot of detailed introduction, I think the writing is still very good, but I still need to read a few times.

    • For most people, it is hard to get a chance to start a meaningful project from scratch, so you can use Python to implement some simple functions, simple projects, this inspiration can go to know or Quora search, many predecessors have shared their experience.

Start from the big picture, plan the layout of the project, set up the corresponding document description, provide the method of project download and installation, with several demos, each class, each function, each line of code are repeated deliberation, write Pythonic program, I believe this time Python is at our fingertips!

Summarize

This article is just what I think of learning python a few stages, to my superficial eyes, there must be too many shortcomings, and oneself is a level between the beginner and Senior Python programmer, write this article, also is to set up a goal for themselves.

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.