Home > Backend Development > Python Tutorial > What is Python a high-level language for?

What is Python a high-level language for?

藏色散人
Release: 2019-12-20 10:52:01
Original
13474 people have browsed it

What is Python a high-level language for?

#What is Python a high-level language for?

Python is an object-oriented, interpreted computer programming language and has become the preferred programming language for learning data science, virtual reality and artificial intelligence. Its design philosophy is "elegant" and "clear" ","Simple". The characteristics of easy to use and timely feedback have become the first choice for many people getting started in the programming world. At the same time, Python is also a fairly high-level language with a rich and powerful third library that can reference various modules and connect them together easily. Many social networking sites such as Reddit, Douban, Zhihu, Dropbox, YouTube, Guoke, etc. are all implemented in Python.

My initial impression of python was that in the documentary "Sons of the Internet", the documents and materials intercepted by Aaron Swartz from the MIT library were written in python. At that time, I was interested in python, but soon It disappears because there are no subsequent connections and intersections.

A few months ago I saw a basic Python class. At that time, I didn’t know what kind of programming language Python was (even now I still don’t fully understand what Python can do), where did I come from? Where, I pressed the registration button without knowing anything about it. The advantage I think is that I try my best to pay for my actions, and I can only do so silently. I can't make it too public on impulse, and I can't shamelessly say it's epiphany. Instead, I try to explore the facts that have become facts.

There are no classes in the training class. There are no handouts or materials. Only tasks and guidance cards are assigned. I was a bit nervous at the beginning. I had to know how to hold a pen when scribbling on white paper. But after There will definitely be no surprises if you type randomly on the keyboard, and you won’t be able to understand the error messages, let alone fix the bugs. Programs were installed and uninstalled, and the operations were added and used randomly. In the end, the computer couldn't stand it and automatically paralyzed and pretended to be dead. I had to reinstall the system and found a new lease of life. This can be regarded as a true implementation of my childhood belief that "life lies in life." toss". People who grow up shameless are born to be favored by God, and they basically won’t have the thought of being ‘sorry’. If you don’t understand something, just ask your classmates! One cannot be replaced by the other, even if it is considered to be asking a "stupid" question. Creeping forward, as long as the direction is right, that's progress!

Just like learning a foreign language, you have to adjust the environmental variables around you and let yourself feel and wander in that world. The opening and closing of the cells in the body and the in and out frequency of breathing slowly keep up. Rhythm. In addition to Python, the compiler (I use Atom on Windows, and TextWrangler on MAC) and the running terminal (Windows PowerShell or Terminal), the ones I have the most contact with are Github, Google and the new favorite Markdown (MOU).

——-Github is the world's largest code storage website and open source community. Its subtitle is: the largest gay dating website. Because of its interface design, it is easy to get started. Although it was originally the world of Geeks, more and more disciples from other sects are now joining it. Everyone has a keen sense of smell and dives in wherever they see good things. It is the best implementation platform for collaborative projects. It supports project updates in different places and on different computers. In particular, the differences between different actions and the comparison of individual movements are clearly visible and the operation is user-friendly. Many people write books, collaborate on translations, put project management, design databases, scientific research project data and personal resumes on it, and some people also put their fitness records on it. It is said that some companies need to check the applicant's github account when recruiting. The most important thing is that everything is free, as long as you want. (Although there is a fee, it is for individual companies that want to keep their data confidential). When I saw the word github elsewhere before, I thought it was a familiar stranger. I was familiar with the six-letter word "github", but I had no idea what kind of world it was. Now that I just pushed the door slightly, the light leaking from the crack in the door felt dazzling enough, and I wanted to find out more.

-——Google doesn’t need to be mentioned more, it turns out that it is used every day. But Google seems to have a real relationship with Python. Every time you search for keywords starting with Python, the first result that comes up is often the correct answer and comes from Google itself, which is more sincere than Python's official documents.

-——Markdown personal writing is magical. It is a tool that I deliberately pay attention to and want to keep in my pocket. I want it to accompany me to write, but it has yet to be developed.

Like other programs, Python's basic commands have zero error tolerance. Punctuation marks, large and small letters, and indentation have strict regulations, not to mention logical relationships, loop iterations, and an error will be reported if there is an error. For a novice, it takes longer to fix bugs than to write a program. Fixing a bug and reporting a new bug is already considered progress. When programming, if you get used to these strict standards, it is not very difficult. Kowtow your head every time you make a mistake. If you make the same mistake several times, you will knock it a few more times. Even if you scratch your scalp, you will not end up in exile anyway. You can always remember it. In the heart. When I detach myself from the program world and return to the real world, I really feel that I treat other things too casually. At least I didn't pay attention to the difference between "的" and "地" when I typed these words. Commas and periods depend on my mood, and I'm used to not leaving two spaces before a new paragraph. The degree of carefulness in work cannot be measured with a ruler, and there is no program to directly report errors. It is inevitable that you can skip it, and you can just let it go without worrying about it. There may be no accidents in the short term, but it will not last long. The foundation laid is as support for the future. Since I learned programming, I have begun to reflect on it. Although I have not improved much, I still feel uncomfortable like a nail being stuck, and I remind myself from time to time.

As a high-level language, flexibility and inclusiveness have unlimited appeal to third-party libraries. It is said that C++ uses 200 lines of commands, Java uses 40 lines, and Python only needs 20 lines to achieve the same function. Although the basic commands are as strict as a stubborn old scholar, if you master the essentials and become a martial arts master, you can use various skills flexibly and freely, and you can display your unparalleled martial arts to your fullest. As long as you have the ability, you can go through the clouds and rain and go to 'where the wind reaches'.

A major feature of Python is that the code will only be checked and executed when the command is run. Even if the error is hidden, it will never be discovered if it is not run. Much like the body or anything within the worldly system, people are only concerned with caring for what is seen and what is hidden is only noticed when it is triggered. In order to eliminate worries, we use the "prompt feedback" strategy, which is to code a few lines of procedures and print them out immediately to see the effect, instead of waiting for all the procedures to be completed only to find a mess but not knowing how to perform the surgery. This is a good reference point for daily study. You have to stop for a while to check whether you are on the right path. On the one hand, you can adjust your attitude in time. The important thing is to use small visible results as encouragement for the long road ahead.

The above is the detailed content of What is Python a high-level language for?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template