Software testing/test development丨Python, pycharm installation and environment configuration

Python installation and environment configuration

1. Python installation

  • Version recommended 3.10.0
  • Download address: www.python.org/downloads/w…If
    you need to install the old version, just select the corresponding version at the bottom of the page, and select the corresponding system for MacOS. The
    icon downloads the version 3.11.4 for windows

image

Install Python

  1. Execute the installer, the installation directory can be customized, check add python.exe to Path to automatically increase the environment variable

image

  1. After the installation is complete, open the computer terminal to verify whether the installation is successful, directly enter python, and press Enter. If the installation is successful, enter the execution command line of python, as shown in the figure

image

  1. If the installation fails, some computers will wake up the Microsoft Store, as shown in the figure

image

  1. Exit the execution command mode of python, enter exit(), and press Enter

image

  1. To query the installed python version, directly enter python -V on the command line, press the Enter key to display the installed python version

image

Environment configuration

Some windows computers need to configure environment variables separately, remember the installed python path, as shown in the figure

image

Enter the advanced settings of the computer, right-click properties of my computer –> advanced system settings –> environment variables –> add the python installation directory to the path of the system variable, save it

image

pycharm installation and environment configuration

pycharm install

image

Install pycharm

  1. Run the downloaded pycharm installation file, you can customize the installation directory
    image
  2. During installation, you can check the functions such as generating desktop shortcuts and automatically adding environment variables, as shown in the figure
    [External link image transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the image and upload it directly (img-eEBUcdbq-1691121454546)( https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/f9f5762fda254143bfe2223a0d224d45~tplv-k3u1fbpfcp-zoom-1.image)]
  3. Once done you can use pycharm

image

  1. There will be a one-week trial period for new users, and subsequent activation is required to use

pycharm environment configuration

If you did not check to add environment variables during installation, the method of setting environment variables is the same as that of python

  1. Copy the pycharm installation directory
  2. Enter the system environment variable setting page
  3. Add the installation path address of pycharm in the path of the system variable, save it

pycharm install plugin

Enter the settings page, file–>settings–>Preject pythonProject, click the '+' sign, and select plug-in installation, such as pip, pytest

image

image

If you are interested in Python and want to get a higher salary by learning Python, then the following set of Python learning materials must be useful to you!

Materials include: Python installation package + activation code, Python web development, Python crawler, Python data analysis, artificial intelligence, machine learning and other learning tutorials. Even beginners with 0 basics can understand and understand. Follow the tutorial and take you to learn Python systematically from zero basics!

1. Learning routes in all directions of Python

The route of all directions in Python is to organize the commonly used technical points of Python to form a summary of knowledge points in various fields. Its usefulness lies in that you can find corresponding learning resources according to the above knowledge points to ensure that you learn more comprehensively.
insert image description here
2. Python learning software

If a worker wants to do a good job, he must first sharpen his tools. The commonly used development software for learning Python is here!
insert image description here
3. Python introductory learning video

There are also many learning videos suitable for getting started with 0 basics. With these videos, you can easily get started with Python~insert image description here

4. Python exercises

After each video lesson, there are corresponding practice questions, you can test the learning results haha!
insert image description here

Five, Python actual combat case

Optical theory is useless. You have to learn to type codes along with it, and then you can apply what you have learned in practice. At this time, you can learn from some practical cases. This information is also included~insert image description here

6. Python interview materials

After we have learned Python, we can go out and find a job with the skills! The following interview questions are all from first-line Internet companies such as Alibaba, Tencent, and Byte, and some Alibaba bosses have given authoritative answers. After reading this set of interview materials, I believe everyone can find a satisfactory job.
insert image description here
insert image description here
7. Information collection

The full set of learning materials for the above-mentioned full version of Python has been uploaded to the CSDN official website. Those who need it can scan the QR code of the CSDN official certification below on WeChat to receive it for free.

Guess you like

Origin blog.csdn.net/Python966/article/details/132101517