Do I need other language foundations for self-learning Python?

Do I need other language foundations for self-learning Python?

If there is no language foundation, we have to recognize these commonalities. After all, there are still special places in the same language, and special memories are just fine. Many programming languages ​​have data types, process structures, commonly used operators, and operations on files and networks. Take Python as an example. Its basic data types include Boolean, number, string and other basic data types. There is a special type of None, as well as complex types such as lists and dictionaries. There are three types of process structures: sequence structure, selection structure, and loop. Structure; commonly used operators include addition, subtraction, multiplication and division, greater than, equal to, and less than; as for file and network operations, please write them down after you see the examples. When you need to use them, you will be OK. In fact, if you have mastered these basic commonalities of the language, this language can be considered an introduction.

Don't think about ants swallowing elephants when you first start self-study. First look for basic tutorials and go through the basics. It is not required to remember, as long as you are confused about this knowledge point in the later learning process.

It is estimated that students who have no programming knowledge will learn more slowly, and various problems will appear during this period. At this time, if there are programmer friends around, it can come in handy. Common problems can generally be solved. Ask more and practice more. One step can make up for the lack of foundation.

The reason why Python is so popular is that it has many ready-made libraries. Don't learn too many libraries in the early stage of self-study. It is good to know the simple use of a few necessary libraries, such as json, urllib, etc., and then learn about the general usage when you encounter other libraries, and then go to understand the specific problems of the library. Don't want to fully grasp a library as soon as you come. It's easy to feel big head.

In fact, self-learning Python is not a particularly rare thing, but it is a lot of hard work behind it. People without programming foundation will feel more tired, but as long as you stick to it, it’s fine. You must firmly believe that the future is bright.

Reference: https://cloud.tencent.com/developer/article/1520687 Do I need other language foundations for self-learning Python? -Cloud + Community-Tencent Cloud