Building a Python environment under the Windows system
1, first visit http://www.python.org/download/ to download the latest version of Python.
2, install the download package: Python-3.6.4-embed-amd64.zip (free installation, direct decompression).
3, add the installation directory for the computer to the environment variables, add the Python installation directory to the PTH system variable.
4. Test if the Python installation is successful, cmd open command line Input Python command, such as success:
5. Hello world! According to a lot of information, enter print (' Hello world ')
6, after the above test, Python environment is installed, but how to develop it, do you use this command line? There are also ides to apply, please download Aptana Studio IDE tool, this tool is based on the Eclipse add plugin set, support python development. Download the installation to Http://aptana.com/products/studio3/download , and then run
Or you can install Eclipse and search your own Pydev plugin installation.
7, OK, before you start, you should also configure the environment variables for this IDE.
Open the window, preferences (window->preferences ...) dialog box, select "PyDev", "Interpreter Python" from the tree list on the right, click the New button, Select Python.exe from the Python installation path and a dialog will pop up to let you tick system PYTHONPATH, click OK, and you're done.
8. Create a new project
Note that because the Python installed is version 3.2, the syntax version here is selected 3.0 (default 2.6)
Successful project establishment;
9. Create a new Python file in the directory and output Hello world!
Enter the code:
Start running:
The results will then appear in the console panel below:
Building a Python environment under the Windows system