How to install Python
Python can run almost on any platform, as we are familiar with: Windows/Unix/Linux/Macintosh.
Here we will talk about installing python in Windows.
My operating system is: Windows 7, 32-bit
When installing python, we can install python from both the source code and the compiled and packaged binary version. Here I select the latter.
Step 1 download the installation packageWe download the python installation package from the python Official Website: http://www.python.org
Here I chose: python-3.3.2.msi
Click to download get: python-3.3.2.msi installation package. Size of the installation package: 19.3 MB
Step 2 installDownload get to: python-3.3.2.msi installation package, we double-click the python-3.3.2.msi to install
My installation directory is: E: \ Python33
Click Next to install the agent. The installation process takes several minutes.
Click Finish to complete the installation.
Step 3 configure the pathGenerally, Python can be directly used after it is installed. You can enter Python in the command line to check whether the interactive mode of Python can be entered,
If it cannot be accessed, it may be an environment variable problem and some adjustments are required.
Add the Python directory in the Windows path:
Command Prompt: similar to environment variable path %; C: Python, press ENTER;
Alternatively, you can set the environment variables in the graphic interface. Choose computer> Properties> advanced system Settings> advanced> environment variables.
Step 4 EffectThe installation directory file after installation:
At this point, python installation is successful.