Why should I learn Python? Let me share my thoughts with you---My Python learning path

Table of contents

1. Why learn Python?

2. What is Python?

3. How to install Python on Windows?


Event address: CSDN 21-day learning challenge


1. Why learn Python?


         After working hard in society for several years, I have learned more and more. Whenever I have some free time, I look at the busy traffic on the road and realize that each of us is so small. People of different age groups work hard in the same city and choose different industries to make a living.

        This is a good era with many opportunities. But at the same time, this is also a cruel era, and it is easy to be eliminated by reality. When I reached middle age, I was accidentally laid off by the company. The pressures of various housing loans and car loans are coming one after another. Rational analysis shows that layoffs are the best reflection of a society in which the jungle prevails over the strong.

        Why some people have smooth sailing at work and receive salary increases and promotions is actually because of their outstanding personal abilities. The times are changing, and only by adapting to the changes and mastering the skills required by this era can we remain invincible. Ten years ago, mastering office was a basic skill in the workplace. I think that mastering a computer language will become a basic skill in the workplace in the future. Among many computer languages, Python is the most suitable for the public to learn.

2. What is Python?

       Python is a widely used high-level programming language. Compared to C++ or Java, Python allows developers to express ideas with less code. Whether it is a small program or a large program, Python can make the structure of the program clearer. As an interpreted language, Python's design emphasizes code readability and concise syntax.

        The author of Python is: Guido van Rossum. Its design philosophy is "elegant", "clear" and "simple".

       In 1991, the first version of Python was born on Guido's Mac machine. It is implemented in C language and can call C language library files, which perfectly combines the characteristics of C language and Shell.

        Python 2.0 was released on October 16, 2000, implementing complete garbage collection capabilities and supporting Unicode. At the same time, the entire development process is more transparent, and the community's influence on the development progress is gradually expanded.

        Python 3.0 was released on December 3, 2008. This version is not fully compatible with previous Python source code. However, many new features were later ported to older Python 2.6 and 2.7 versions.

3. How to install Python on Windows?

In addition to installing Python, we also need to install Pycharm.

Friends may be wondering, since Python is already installed, why do we need to install PyCharm? What is PyCharm used for?

First of all, we must clarify a concept, programming environment = SDK + IDE.

SDK (Software Development Kit) is the library we reference when writing code, such as the .Net class library.

IDE (Integrated Development Environment) is a tool such as an editor for writing code, such as Visual Studio.

The IDE that comes with Python is IDLE, which is not very convenient to use, so we will change it to a more convenient IDE, and the most widely used one is PyCharm.

Quote: https://zhuanlan.zhihu.com/p/51780281

1. Now that you are ready to learn Python, classification management is very important. Create various Python-related folders locally.

2. Enter the website to download Python (note that this website is a bit slow to enter, please be patient). The link is ready, click to download: Python download

 3. After the download is completed, double-click the Python program to install it.

 4. After installing according to the prompts, in order to check whether we installed successfully. We use the Windows+R key combination to open the run window, enter the cmd command and hit the Enter key to open the command window for query. Enter Python, hit the Enter key, and watch the output. If the following is displayed, it is considered successful.

 5. Go to the website to download Pycharm.  The link is ready, click to download: Pycharm download

 6. After the download is completed, double-click the Pycharm program to install it.

 7. Follow the prompts and the installation will be successful step by step. At this point, our Python and Pycharm are now installed.

 8. The old rule is that the first line of code in the learning program must be: Hello world!  Let’s start our Python learning journey together.

Guess you like

Origin blog.csdn.net/weixin_44793743/article/details/126311650