How to be considered as proficient in Python?

 

Introduction
text and pictures of this article from the network, only to learn, exchange, not for any commercial purposes, belongs to original author, if any questions, please contact us for treatment.
Author: weixin_45587093

How do you say what you want to analyze data, reptiles, Web, etc., in my opinion it was not proficient in Python, but proficient in a particular field, aside Python switch to another language can also be, in my opinion, be proficient in Python language takes about following these steps


level 1: understand the basic grammar
This is the easiest level, mastered the basic syntax of Python, implementing common needs through Python code, no matter how kind of code quality. This part, can refer to: The Python Tutorial.


level 2: familiar with common library

Familiar with the use of common standard library, including but not limited to copy / json / itertools / collections / hashlib / os / sys and the like, this part may refer to: The Python Standard Library.
Familiar with popular third-party libraries, which vary depending on the usage of each person, but you must master the field's commonly used third-party libraries.

level 3: Pythonic, if you have not to this level, you can go to learn Python small series of dress: a long time and their weapons while under a stream of thought (digital homonym) conversion can be found, there are new Python Tutorial project
that level is slightly more difficult than the previous level, but still easy to reach. The so-called Pythonic, that is, compared to other languages, Python can be achieved through a more elegant way (whether it is or what syntactic sugar), such as (but not limited to) with, for-else, try -else, yield and so on.
In addition, you also need to have achieved these so-called principle of magic, a number of agreements in the understanding of Python syntax level, can achieve their own syntax sugar. As with implementations (context manager) and the like.
Reach this level, your code can look very beautiful. This part can refer to:

The Python Language Reference
Python HOWTOs

level 4: Advanced Gameplay
master Python memory mechanism, GIL restrictions, know how to change the behavior of Python, you can easily write Python code quality and efficient, able to easily distinguish between different Python code efficiency and know how to optimize.


level 5: see through the nature of
reading Python's C implementation, grasp the essence of various objects in Python, it is to grasp how to implement object-oriented behavior by C, for common data structures and grasp the implementation details. At this point, Python source code learning needs to be at least once, and a deeper level of understanding a key part. Python if you have not to this level. Can go to learn Python small series of dress: a long time and their weapons while under a stream of thought (digital homonym) conversion can be found, there are new Python Tutorial Project


level 6: hand to twist, everything is emptiness
not say, do not say ~

First, the above steps are not Daguai upgrade, there is no one to go first to the next level, you can master the principles of language proficiency achieved in the course of the standard library, etc., which are not contradictory. So those who commented, "I have a class xx, xx xx time to go to class," Friends, I hope Do not get me wrong, you do not have to limit yourself to death, but can be very flexible alternative.

Finally, I hope not to be some of the answers "do not need to be proficient in the language xx" such remarks interference, programming languages ​​have many similarities, personally feel that to master a language of the underlying implementation, upgrade the level of its programming is helpful . But to be clear, only programming language is not enough, how to use a programming language to do interesting things, which is very important.

Guess you like

Origin www.cnblogs.com/chengxuyuanaa/p/11983907.html