Python programming language is loved by many IT practitioners who use python programming language because of its “clarity”, “simplicity” and other characteristics. Moreover, for beginners, Python is easier to use than other programming languages. In addition, many enterprises use python programming language, which promotes the increase of market demand for Python programmers.
Is it difficult to change to zero basics Python Programming and development? Where did you start? Recently, many of my friends asked me if I could learn Python if I changed my profession and was completely 0 basic? How difficult is Python? Today, Xiaobian will explain this problem in detail.
For beginners who don’t understand anything, you can send me a private letter – I just sorted out a set of 2021’s latest 0 basic introductory course, selflessly shared it. How to obtain it: pay attention to the small CSDN, send a private letter: [learning materials], and attach: development tools, installation package, and system learning roadmap.
Is learning Python difficult?
First, let’s popularize the basic knowledge of programming language. Using any programming language to develop programs is to make the computer work, such as downloading an MP3, writing a document, etc., while the CPU working in the computer only knows the machine instructions. Therefore, although there are great differences between different programming languages, it has to be “translated” into the machine instructions that the CPU can execute in the end. The amount of code written by different programming languages for the same job is also very different. Therefore, it is necessary for students who want to learn to listen to the teacher’s class and receive Python fulio. Students who want to learn can go to Wai Xin of Mengya teacher (homonym): the front group is mengy and the back group is 7762. Just combine the above two groups of letters in order, and she will arrange learning.
For example, to complete the same task, C needs to write 1000 lines of code, Java only needs to write 100 lines, and python may only need 20 lines.
So Python is a fairly high-level language.
Is it that the lower level programs are more difficult to learn and the higher level programs are simpler?
On the surface, yes.
However, in very high abstract computing, advanced python programming is also very difficult to learn. Therefore, high-level programming language is not simple.
But,For beginners and ordinary tasks, python language is very simple and easy to use。
Can I 0 learn basic Python?
I’m in favor of Python as an entry language:
1. The grammar is simple and clear. The first language is actually syntax + flow control, while Python has simple syntax, high code readability and easy entry.
2. Python’s philosophy is that “there should be only one best way to do one thing”, which is very helpful for beginners to standardize their own learning and help beginners understand other people’s code.
3. Form good habits. Python has strict requirements for code, especially indentation, which is very helpful for beginners to develop good code habits.
4. Python’s syntax design is very excellent and its ideas are relatively modern. It can quickly understand some ideas of modern programming languages.
5. Python is still a traditional class based OO, which is popular like Java, c#, and ruby. It is also appropriate to learn design pattern from python.
6. Python’s built-in data structure is clear and easy to use, and there are many excellent codes.
7. Python has a lot of free books (in English), and you can find a lot of information. At the same time (foreign) communities are relatively concentrated, and you can ask experts if you have questions.
8. Python is widely used in other fields, such as scientific computing. Python is very suitable for learning a language as a tool.
How to learn Python?
1. Choose a good direction
I want to learn Python not to understand the language, but to learn to use the language to solve problems.
But Python’s application direction is too wide. After learning the basic knowledge of python, if the application direction is different, the things to learn will be very different.
I can’t say that I want to do web development, finish learning the basic knowledge of python, and go to learn numpy, pandas and other knowledge; It can’t be said that I want to use Python for data analysis, learn the basic knowledge of python, and then run to learn Django and flask framework.
This reason is as simple as if we want to travel to Thailand and certainly won’t buy tickets to Japan. But we have to admit that there will still be people who are confused and start working as soon as they come up.
I learned Python because I gradually learned that Python basically covers the data analysis in my work“Data acquisition → data processing → data analysis → data visualization”Each link in this process is a sharp tool for data analysis. In other words, there is no one to operate this coquettish operation.
2. Plan the path
When I have determined the direction, the next step isFollow this direction and establish my own learning path map。
This path is a systematic logical main line. This main line will let me know what the goal of each part needs to be completed, what knowledge points need to be learned and what knowledge is temporarily unnecessary. Then, for each part of learning, I can have some actual results output, and use the results to form a positive stimulus to stimulate subsequent learning.
Moreover, if we are in the workplace, most of the time we don’t have a lot of time to focus on learning. Our study time is divided into some fragmented time. In the fragmented time, systematic learning of a knowledge requires a logical main line running through the front and back of the system to connect the learning of all relevant fragmented time. Therefore, it is necessary for students who want to learn to listen to the teacher’s class and receive Python fulio. Students who want to learn can go to Wai Xin of Mengya teacher (homonym): the front group is mengy and the back group is 7762. Just combine the above two groups of letters in order, and she will arrange learning.
When I decide to learn Python’s data analysis knowledge, I followData analysis processThe path of “data acquisition → data processing → data analysis → data visualization” is given to yourselfA learning map is established：
A. Python Basics
B. Basic knowledge of crawler + SQL
C、。。。（ (select according to your own needs)
3. Build awareness of basic concepts
Python is the first programming language I learned. When I started learning python, I was a little white who didn’t even know what a string was. So for me, the most important thing to start with is to establish a cognition of the basic concepts in this field!
In fact, for people who have zero foundation in a field, if they want to start learning it, the really important work is to establish a cognition of the basic concepts in this field first.
For example, I saw a sentence in the tutorial that “assign a value to a variable”, so I at least need to know, what is a variable? What does assignment mean?
I don’t know why many people don’t care about such an important start. I don’t know whether everyone is gifted and disdains to mention this basic step, or whether many people have forgotten the pain and struggle all the way from Xiaobai. People will tamper with their memories and think that what they have now is easy to obtain, but the real experience is always bumpy and tortuous.
Therefore, the typical common problem of some online tutorials is that teachers use a concept we don’t understand to explain another concept we don’t understand, and then we still don’t understand. Because the teachers preset our position as the basis of 0 in advance: we already have the basis of other programming languages, but we have no contact with Python.
But in fact, for the 0-based Xiaobai who is really like me, Python is the first programming language we learn most of the time. So at this time, for us,Learning Python is not only learning the language itself, but also helping us build our understanding of some basic concepts in the programming world through the language。
When I entered the door, I followed the learning path established in the second step and upgraded all the way. After all, my journey is the sea of stars!
4. Finally, the problems needing attention in learning
(1) never get entangled in the underlying principles and details at the beginning
This pit is the deepest pit that pits me.
For example, when I learn a function, I only need to learn the basic knowledge of how to define a function and how to call a function. I don’t need to go deep into the transfer rules of function parameters at the beginning, whether it is value transfer or reference transfer.
It’s not that the underlying knowledge is not important. At least when we get started, we don’t have to go deep into this level. Because the learning of knowledge is a linear order from diving into depth. If we grasp the eyebrows and beard at the beginning, regardless of primary and secondary, we may soon realize what it feels like to “start to give up”.
Moreover, in the follow-up learning process, it itself is “in-depth understanding in application and optimized application in in-depth understanding”. Mutual confirmation and understanding is a natural in-depth learning process.
(2) it is better to study according to systematic courses or books
Since you are a novice in this field, it is the most suitable scheme to accept an existing system and then modify it. As a novice, according to my experience, I think the best teacher is a set of systematic courses or books.
In fact, online articles or posts are not suitable to serve as teaching materials for us to systematically learn a knowledge, because it is very fragmented knowledge. One hammer in the East and one stick in the West are not systematic. Don’t expect yourself to integrate scattered information into a system. That’s what experts have to do. However, these things can be used as a reference for us to check and fill in some details.
(3) take being able to use and solve problems as the guiding principle
In work, we need more engineering thinking to solve problems, so many times, if we can switch packages to solve problems, we don’t have to build our own wheels.
For example, if the boss wants to go to the airport, I just need to be able to drive and drive the boss to the destination. I don’t need to study how to build wheels, engines and batteries……
Of course, if we have spare power and can go deep into it, it must be good. But that’s the same sentence. At the beginning, I didn’t scratch my eyebrows and beard.
(4) nothing can be done quickly. The more the skills at the bottom and the longer the income cycle are, the more so.
“The great road is very Yi, and people have a good path, which is finally mistaken.”. We always step on countless pits before we suddenly realize that shortcuts are often the longest detours. Learning knowledge in a field is not difficult for ordinary people to enter a door from 0 to 1 in a short time, but from 1 to 10 to 100, being advanced as an expert without long-term investment and deliberate practice is tantamount to a fool’s dream.
Python is widely used in the field of machine learning, and most of the current research hotspots are implemented in Python; Secondly, automated testing and operation and maintenance. For testing, we should grasp the characteristics of script, which will play a better role in planning scripts. Python is now a popular script.
The most important thing is that the fast development feature of Python can enable you to quickly verify your ideas, instead of wasting time on the program itself. It also has the support of rich third-party libraries, which can also help you save time!
Python’s employment direction mainly includes web development, crawler and artificial intelligence. Python is a language that represents the idea of simplicity. Reading a good Python program feels like reading English, although the English requirements are very strict! This pseudo code nature of Python is one of its greatest advantages. It allows you to focus on solving problems rather than understanding the language itself.