This blog is only for my spare time to record articles , Publish to , Only for users to read , If there is any infringement , Please let me know , I'll delete it .
This article is pure and wild , There is no reference to other people's articles or plagiarism . Insist on originality !!
Hello . Here is Python Reptiles from getting started to giving up series of articles . I am a SunriseCai.
It is said that : A good workman does his work well 、 You must sharpen your tools first . This is also true when it comes to coding . In the process of writing code, it is necessary to find a tool to weigh hands . Here are two tools I use —Anaconda and PyCharm.
Anaconda、PyCharm The role of :
Tools | effect |
---|---|
Anaconda | An open source Python Release version , Integrated a lot about python Third party Library of Scientific Computing |
PyCharm | JetBrains To build the Python IDE( Integrated development environment ), Can help you write better code |
Anaconda:
PyCharm:
So computer configuration Python Reptiles Operating environment , Just install Anaconda+PyCharm That's all right. . Let's talk about how to install these two software .
First visit Anaconda Official website ,https://www.anaconda.com/distribution/, Choose the one that suits your computer Anaconda edition , Click on Download Download .
Anaconda After the installation package is downloaded , Double click the installation package to install . Click on Next continue ;
Click on I Agree continue ;
The two options here are for multiple users of the computer , I chose it Just Me. Click on Next continue ;
Click here Browse Choose the installation path of the software , The path I choose is F disc , The default installation path is C disc . Click on Next continue ;
Put two tick marks here , Click on Install Installation ;
The software is being installed , Wait for the installation to complete ;
Installation successful , Click on Finish;
Right click on the mouse My computer –> attribute , Then follow the diagram below . Take a look at environment variables , Because what I'm installing here is F disc , So add the Anaconda The corresponding environment variable is just ;
open cmd window , Input python, As shown in the figure below , namely Anaconda Installation successful . If you make a mistake , Please check whether the environment variable is added successfully ;
Double-click to open PyCharm;
choice Do not import settings, Click on OK continue ;
Click on Continue continue ;
Click on Skip Remaining and Set Defaults;
Click on Create New Project Create a new project ;
In the pop-up page , First click Existing interpreter, Choose an existing interpreter , Then click on the three little dots on the right ;
First click on the three little dots on the right , Find the... You just installed Anaconda The path of , Select the python.exe, Then check... Below Make available to all projects, that will do ;
Click on create, continue ;
First, create a new one new.py file ;
Input print(‘Hello World’);
Click on the green triangle in the upper right corner , Or right mouse button , choice Run ‘new’, You can run the program ;
notice PyCharm The content of the output box , Hello World.
above , yes PyCharm Basic use of .
Finally, I will summarize the content of this chapter :
Next article , be known as 《Python Reptiles from getting started to giving up 02 | Python Common syntax and modules in crawlers 》.