Home > Backend Development > Python Tutorial > Common mistakes in Python and Linux systems

Common mistakes in Python and Linux systems

高洛峰
Release: 2017-03-24 17:57:54
Original
1210 people have browsed it

I have been working in the operation and maintenance industry for nearly ten years. I first came into contact with Linux when I was a sophomore in college. At that time, I only pursued ease of understanding, so I chose Ubuntu as the object of study and use. It is simple and easy to use. , easy to operate, and has a gorgeous interface. It is very good for novices who want to get into Linux. Later, due to my limited personal knowledge, I was unable to play with various Linux configurations, various plug-ins and missing software. In addition, I did not persevere. After using it for a period of time, I felt that there were many bugs, no games, and it was inconvenient to write documents in office. Many software I need to learn now, and my final wish to use my college time to learn Linux died prematurely.
Later, I came into contact with the Python language. The Python language made me feel like I couldn’t put it down. First, because it is very simple and easy to learn; second, because it is a universal language that can be used everywhere. : Server automation operation and maintenance, big data analysis, big data mining, web development, game server back-end development, etc. Even hardware development can be involved. Raspberry Pi is loved by many foreign makers. hardware development platform, which uses Python as the development language. It can develop the most efficient functions in the shortest time, which is beyond the reach of many languages. Python language is pre-installed in almost all Linux distributions, but it is usually version 2.7. In the latest Ubuntu16.04 , version 3.5 has been pre-installed. In the Tiobe programming language rankings in June this year, Python ranked 4th, second only to Java, C, and C++, but it ranked 5th in August. In any case, this is enough to illustrate the popularity of this language.
Python和Linux系统容易犯的错误
Getting back to the subject, in order to have a deeper understanding of the Python language, I want to put the learning platform on Linux (because there is always an unfinished dream of pretending to be a geek in my heart, yes, it is a bit hypocritical) , made a lot of comparisons among many Linux distributions, and finally chose Centos as the learning platform. This is mainly due to two aspects. On the one hand, it is compiled from the source code released by Red Hat Enterprise Linux in accordance with the open source code regulations. Since it comes from the same source code, some servers that require high stability use CentOS. Replaces the commercial version of Red Hat Enterprise Linux. On the other hand, due to the first point, the free and stable features have prompted most domestic server operating systems to use Centos. This also forms a virtuous cycle: the greater the usage of Centos, the more difficult and confusing technical support information the technical community has. Of course, for large companies that are not short of money, or that are pursuing higher stability and better technical support, it is more appropriate to choose Red Hat Enterprise System RHEL.
At that time, I searched a lot of learning materials on the Internet, screened a lot of materials and questions and answers, and collected a lot of videos, documents, e-books, etc. for learning Linux (yes, this person is a data collection maniac). In the process, I gained a lot of knowledge on how to learn Linux, but these did not allow me to learn Linux. In the end, I learned a painful lesson. I deleted all the videos and documents and finally chose to read "This is how you should learn Linux". Moreover, this book has its own website and online learning is completely free. It is also very convenient to go there and open the web page to learn. In order to avoid I won't post the URL because it's suspected of being an advertisement. You can just search the title of the book on Baidu. This book is very suitable for introductory learners of technology. The first part is the basics, the middle part is some service configuration and management, and the second part is mainly about some relatively new technologies in recent years, such as Openstack, virtualization services, etc. The style of this book is only useful, covering various technologies for Linux server operation and maintenance. Compared with the previous book, it is much more concise. If you don’t have a lot of time, or you are a working person, it is recommended to start with this book so that you can “get to the point” and get started quickly. In addition, this book mainly uses RHEL as the teaching version. As mentioned before, its relationship with Centos can be almost shared in terms of technology and software, so you don't have to worry about learning the technology and not using it at all.
Here are some suggestions for new Linux learners: I don’t recommend watching videos to learn, because watching videos to learn is too time-consuming. It takes nearly an hour to talk about a small technical point, and you have to do it yourself after watching it. Bar? Therefore, I think reading is still the best way to learn technology. Firstly, it saves time; secondly, when reading a book, you will have more of your own thinking. If you watch a video, your thinking will completely follow the video. Without your own thinking, it will be quite What you learn does not make a deep impression on you, and it is easy to forget it after a short time.
After completing the basic introduction, I suggest you consider the direction in which you want to develop, and then choose the technology to learn based on the direction. I have mentioned many directions before. For data analysis, you need to study the two libraries NumPy and Pandas. If it is for the Web, you can choose a framework to study hard, or try to build your own blog. I recommend Flask or Django, because the job requirements can also be seen on the recruitment website, which basically require relevant experience in these two major frameworks. My own direction is data analysis, and I am still learning. I hope that all my brothers and sisters who are interested in the IT industry will find a technology that they love.

The above is the detailed content of Common mistakes in Python and Linux systems. 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