Home >Backend Development >Python Tutorial >How to learn python from scratch

How to learn python from scratch

silencement
silencementOriginal
2019-06-24 14:45:225145browse

How to learn python from scratch

Many students want to learn python, but they are always worried about whether they can learn it and how to learn it. It is very clear that python is very suitable for people without any programming foundation to get started!

The following are the ideas for learning Python

1. When learning, we must start from the basic syntax of Python to understand what Python is. What is a variable, what is a loop, what is a function, what is a module. class etc. In short, the foundation is the cornerstone for learning advanced development in the future.

At this stage, you can choose some classic books or videos to study.

For books, you can check out the book "Happy Python Programming - Basic Introduction", which is a book written for students with zero basic knowledge.

2. After learning the basic syntax, you will also have a certain understanding of Python, and you will also know that Python has many learning directions, such as data collection (crawlers), or Web development. , or it may be the direction of artificial intelligence that has been particularly hot recently. The technologies required for each direction are different, so after we learn the basic syntax of Python, we must carefully choose our future advanced direction.

3. In the advanced stage, it is recommended to focus on learning the latest python videos, supplemented by related books. At this stage, the main technology you learn is the latest. Don’t leave yourself with a technology that will become outdated after learning. The consequences of the disastrous failure.

In addition, there are some small learning skills to share with you. I hope you can adjust your mentality and persevere!

1. As a novice who has just come into contact with programming, it is normal to be slow to understand. Don’t dwell on something you don’t understand for too long. With continuous practice, your understanding of the code will become deeper and deeper.

2. Personally, I think people can be divided into categories based on their learning abilities: quick to learn & forget quickly, slow to learn & deep understanding, quick to learn & deep understanding. Okay, I don’t want to say anything more about the third category of people. . . I believe that many of my friends are in the second category!

3. When you encounter problems, don’t be stubborn, use search engines more, and read more blogs of great people.

4. If you feel that a certain knowledge point has taken a long time, you just want to invest in a short time and get a greater sense of accomplishment, or you want to type the code smoothly without encountering any bugs. nonexistent. Moreover, under normal circumstances, the more time you spend on understanding knowledge points and the more time you spend on correcting bugs, the greater the sense of accomplishment you will get.

The most commonly used ones are: full stack development, data analysis, and operation and maintenance development. Today we will use these three key positions to plan for self-study Python. I hope you can get results before learning. Go further.

Many people are asking, what can I do after learning python?

Since you have never touched Python and don’t know what programming is, I won’t mention the project names in programming...

Let’s talk about something simple that you can understand:

1. Can manage your schedule and files! You may feel that the existing GTD tools are too weak, and the document classification and sorting program is too weak. Then you can use Python to make a management program yourself.

2. You can make your own website! You may feel that the existing forum program is too weak, the blog program is too weak, or you want to make a special website, you can use Python to do it.

3. Closed source programs can be modified! Python is a favorite tool for hackers. It natively supports perfect interoperability with C programs and is an excellent tool for research and modification of binary executable programs.

4. Can create malicious data files! You can also use it as a testing tool to facilitate the production of data files (Word documents, PDF files, audio and video files, etc.) that use abnormal data to execute code on the attacked computer.

5. Can learn a second language! Well, Python can be used as an introduction, which will help you learn a second language.

Just gave some examples. In short, Python is a general-purpose programming language, and it is more suitable for making websites than Java, which is also very general. So, anything a general programming language can do, Python can do.

The above is the detailed content of How to learn python from scratch. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn