As people come to the Python programming beginners a three-point advice

You learn in introductory Python programming process, whether there had been less experienced, or are facing similar embarrassing situation:

  • Internet to find a lot of introductory programming Python learning materials, we still do not know where to look onwards
  • I bought the book, and after a long time did not read the first chapter
  • Can begin to follow to write a few lines of code, then suddenly I can not read
  • Also read some Python tutorials and video, I feel like it is to understand, but they could not write their own code
  • Python started to learn a lot of times, I also have not been back two months

For new to Python programming entry of partners who, in particular, self-learners, many problems will probably be your Python programming entry threshold of the road, accidentally from entry to give up.

You need a clear learning objectives

Many people will say, I have a goal, ah, it is to learn Python programming and programmers have to find a high-paying job. This is a goal, but not definite, specific, enforceable learning objectives. This is like saying, "I am too happy," "I have to do what he wanted," but no specific criteria as there is no guidance for your actions.

You have to learn programming, in order to write a script automatically grab coupons to grab votes, or usually handle large files when you can automate? In order to verify your trading strategies on the stock is reliable, or do a website to promote their brand? If your goal is to find a job, that want to develop games or desktop software, data processing or Web site, front-end or back-end? Programming is a very broad concept, clear your purpose in order to have the direction of learning, and better able to stick to it.

Maybe there are a lot of people think, I do not know, just want to learn a skill, I fear it would be beneficial. And I have not learned it, how do you know what to do after? The starting point is understandable, but I still recommend: You must give yourself a small target. Even if you just want a hole open brain needs is good. Otherwise, this first learn to say the state hard for you to stick to it.

You do not have to worry about the wrong target set to embark on a detour, it is much better than no goal. It's just a milestone in your early learning, so you can complete it successfully, and there are more targets to choose from.

First establish the overall awareness

There is a saying in the field of the development program:

Premature optimization is the root of all evil.

Equally effective in learning programming. Many people will seek some kind of ultimate one-stop route, show it is:

  • We want others to recommend a set of best tutorial
  • After the first theory and practice
  • Drill into the details of the dead end

Seem like nothing wrong, clear road, lay the foundation, step by step, is in line with the consistent philosophy of education ah. If you insist optimize your code, like, if I say you did it wrong, I look down a problem.

But things are sub timing, the right thing to do at an inappropriate time, it will lead to erroneous results. Prematurely into local details, the pursuit of theoretical basis, it is easy for beginners confused that stuck at some point, can not continue to go on learning. Easy to understand and highly professional has always been difficult to reconcile the two dimensions, the reason why a lot of good tutorials, is perfect because it is content system, but for you it is really appropriate?

For early learners, especially non-professional programming entry Python autodidact who, gulping superficial understanding is more reasonable to open the way.

Here Insert Picture Description

This figure borrow online, the program of which is similar. If the point on the graph is a variety of concepts and techniques related to programming, the learning process is like drawing this picture: you learn to understand the point of these skills, and connect it up.

To drawing a good method is to first draw a point of detail, and then start to draw the line at exactly one point leading from this point, in order to draw down one by one. This is the kind of seemingly safe, but in fact it is inefficient and error-prone ways. A more reasonable approach is: first determine the general distribution point on paper, they draw the outline, then draw a good point on the key position, key connection point, and then gradually improve after branch and details.

Python programming learning portal is an iterative roundabout, continue iterative process, not a one-way street all the way in the end.

When new to programming, you do not need care too much detail, but should have a visual impression of the program, we know what technology can achieve, experience the fun of programming. And on this point is complementary: when you have a goal, you can achieve the goal to understand what knowledge needs, what kind of learning path, in order to establish the content they want to learn; and when you have a whole of programming cognition, learning will be more aware of their programming anything you can do to make your goals more clearly.

Choose the right starting point and route

Once we have a clear objective in establishing the overall perception, the next thing very natural: you choose a suitable starting point, the direction to the destination, and start your learning skills are lit on the map point and connected together. Otherwise, blindly start from an inappropriate place, for example, chose a higher starting point for the book, or to get started and went to toss a framework, it will be less effective, inefficient, and even led to the abandonment. The so-called "haste makes waste", is the truth.

If you have made the point, and some basic knowledge of the whole, will naturally understand how those absurd slogan "21 days proficient XX", "become a data analyst for two months," the.

The above three points, it is popular, you have to figure out:

  • Learn why
  • What school
  • From which to learn

You go to just find a current market popular mobile games, will find that they are beginners guide is similar routines:

Explain to you the victory conditions of the game, to guide you get a win (clear goals)
let you experience the lineup (overall cognitive) a set of high-level high-profile
upgrading the basic operation of your game and early (the starting point and route)

These games are designed, to allow players to addiction. For the study, too, as soon as possible to make their "addiction" to go deep.

These are just beginning to learn a programming introductory Python, the latter will continue to share experiences on learning to program with you, we also welcome to discuss the message.

Guess you like

Origin blog.csdn.net/chen801090/article/details/94610168