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
Install Python
- Execute the installer, the installation directory can be customized, check add python.exe to Path to automatically increase the environment variable
- 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
- If the installation fails, some computers will wake up the Microsoft Store, as shown in the figure
- Exit the execution command mode of python, enter exit(), and press Enter
- To query the installed python version, directly enter python -V on the command line, press the Enter key to display the installed python version
Environment configuration
Some windows computers need to configure environment variables separately, remember the installed python path, as shown in the figure
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
pycharm installation and environment configuration
pycharm install
- Download address: Download PyCharm: Python IDE for Professional Developers by JetBrains
After selecting the file corresponding to the operating system, download it, as shown in the figure
Install pycharm
- Run the downloaded pycharm installation file, you can customize the installation directory
- 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)] - Once done you can use pycharm
- 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
- Copy the pycharm installation directory
- Enter the system environment variable setting page
- 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
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.
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!
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~
4. Python exercises
After each video lesson, there are corresponding practice questions, you can test the learning results haha!
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~
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.
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.