I don’t know how to get started if I want to learn Python, teach you!

I don’t know how to get started if I want to learn Python, teach you!

1. Getting started

  There must be a lot of friends who want to learn Python, but don't know how to get started. They always feel that learning must be overhanging and piercing! NO, today I will share with you how to easily get started with Python!

Getting started with python

  First of all, we have to learn Python, it must be combined with your current work, and must not be separated from work, otherwise it will be half the effort! During your learning process, every use will bring you a sense of accomplishment. This is the timely feedback mechanism. We know that games have the hazards of indulging people, but we don't know that games use timely feedback mechanisms to attract people to indulge. For example, if you hack and kill a person in the game, you will drop a piece of equipment and give you a reward. This reward must be given to you in time.

Insert picture description here

  Imagine, if all the rewards tonight are you one month later, would you still want to play this game? Having said so much, I just want to tell everyone that we will use a timely feedback mechanism to learn Python!

1. Organize work

  First, you have to organize your work, categorize your work, and see what can be done with Python! For example, in your daily work, you send and receive emails, process Excel spreadsheets, write Word documents, and make PPT. Believe that almost everyone will have these jobs, then you should first find out the key points, which work is the most urgent need to solve, can maximize your efficiency. Suppose, take Excel as an example.

2. Identify learning tools

  Secondly, learn the basics of Python. You can go to station B to watch free videos, or buy a basic book yourself. Both do with personal advice at the time, I was looking at the B black horse programmer of video, also bought this "Python Quick Programming Getting Started" - edited by programmers dark horse. The book and video are combined. The advantage of the book is that you can control the speed yourself. You can quickly read what you know, and you can think carefully about what you don't know. The advantage of the video is that the explanation is easy to understand and Xiaobai can understand it. So it is recommended to read the book first and watch the video where you don’t understand, the two complement each other!

Insert picture description here

3. The learning process

  You shouldn’t learn the basics of Python for too long, about 15 days to 1 month. You have to practice every case in the book. You don’t have to listen to it, you can learn it after reading it!
Once you have the foundation, you can find a third-party library for Excel to operate Excel. The libraries that can manipulate Excel include xlrd, xlwd, openpyxl, xlwings, etc., just choose one first. Then try to write code in Python to solve the content of your work, this is your main goal! Consider the simpler work first, and the complicated step by step. In this way, you are getting started with Python, it is not difficult to get started.

4. Learning points

  In fact, we were defeated at the starting point, as long as you enter this door, you can't stop! Regardless of changing a habit or learning a new skill, one must master the principle of "beginning with high heat and then steaming with low heat" . Only when a powerful ability is used at the beginning can the current situation be reversed. Just like a rocket going to the sky, the energy consumption during the initial ascent period is 80% of the rocket's overall energy, and the energy consumption after the bottom orbit only accounts for about 20%. The same goes for us to learn a language. After the first few weeks, the rest will be better!

Second, install Python

  Strike while the iron is hot, install the Python environment today, and you can directly dry the code in the future!
  Python installation package official download address- latest installation package : python download address , note that Windows 7 cannot install Python 3.9 and above, you need to download 3.8 or below!

1. Download the latest version of Python

Insert picture description here

2.Python 3.8.7 download

  As shown in the figure below, you can choose which version by yourself. The following is Python 3.8.7 as an example. I chose 64-bit. Please choose according to the number of computers. Now computers are generally 64-bit.

Insert picture description here

3.Python installation

  Double-click on the following window appears, look Add Python 3.8 to PATH This sentence is added to the environment variables must be checked , otherwise the subsequent need to manually add their own environment variable, and then click Now the Install , this is installed by default. Cutomize installation is a custom installation that can change the installation directory, if you are a novice, it is recommended to install by default! After that is the next step.

Insert picture description here

4. Determine whether the Python installation is successful

  Open cmd with administrator privileges. If you are custom-installing Python, you must open it with administrator privileges when installing the package with pip, otherwise you will be prompted that the permissions are insufficient. If Python is installed by default, just open cmd normally. In order to avoid permission problems, the cmd is opened with administrator permissions. As follows: Click the bottom left corner to start the program in the search box, enter cmd . Head pop up cmd.exe, right click pop-up option, select Run (A) as an administrator

Insert picture description here

Enter Python in the cmd popup

  Enter python in the cmd black box that pops up, and at the end it will display >>> three arrows, which means that the installation has been successful and you have entered the Python interactive environment!

Insert picture description here

  Finally, I will publish a continuous Python learning series articles in the follow-up, which will bring everyone to learn a little bit every day and make a little progress! Welcome to scan the QR code below to follow the public account [Python Sharp Sword], add me to WeChat: liliwen601029225 , and grow with me!

Insert picture description here

Recommended in the past

Decryption method of Esaitong encrypted files

What is the difference between self-study programming and computer science class background?

Meet the data handling robot in 3 minutes

Guess you like

Origin blog.csdn.net/qq_17771109/article/details/112372785