Under the Windows environment of the building process, idle No matter record, for later use, also can give a reference to the new entry. Mainly includes the python development environment to download, install, test; the IDE (I chose pycharm) to download, install, configure, and run the first Hello World, as follows:
1: Visit the Python website, address: http://www.python.org/download/, download the latest version of Python.
2: Install the download package: Run the downloaded Python installation package and confirm that the JDK is installed and configured.
3: Configure Environment variables: Add the Python installation directory to the PTH system variable.
4: Test If the Python installation is successful, CMD open the command line to enter the Python command, and then print Hello World, such as success:
5:ide download and installation, to pycharm official website download installation package, Address: https://www.jetbrains.com/pycharm/download/#section =windows, select the Professional version, and then run the installation, complete.
6:pycharm hack: Run the installation good. exe file, select License Server, enter https://jetlicense.nss.im/, and complete the next step.
7: Write the first Hello World: Open pycharm,file--->new project, select the project path, then click Create, right----the >file in the project, enter file name Select file Type Python, Then open the newly created file and enter print ("Hello World")
8: Configure the Run Environment: Select the button, drop-down menu, select the Edit Configuration popup dialog box
In the dialog box, click the green + sign--->python
Name is the project title you built, the script is the Python file you want to run (you can select it from the Back button), and then in Python interpreter, select Python compiler, OK
9: Run: Select the file you want to run, right-click--->run ' hellodemo ' (green triangle button)
If the operation is successful
Now that the Python development environment has been set up, continue to learn the syntax of Python to achieve a variety of magical functions.
Windows Python environment build and first Hello World