Python Learning (1) Python installation configuration and learning python installation Configuration
I am a Java programmer. I heard that Python is very powerful. So I am going to learn about Python. Although the language is the same, there must be a difference between java and python. I hope to record my learning process here.
Currently, Python is divided into 2. X and 3. X. I chose Python2.x. To quickly learn Python WEB development, I chose Django as the Python WEB development framework. Django has its own background management system.
Step 1: Download:
Because my computer operating system is windows 7 64-bit, I chose to download the Python windows installation package.
Python installation package: https://www.python.org/downloads/windows/. the latest version of 2.xis Python 2.7.10.
The next step of installation is complete.
Step 2: configure the environment variables:
Computer -- Right-click -- Property -- Advanced System settings -- environment variable, find the Path in the system variable, and add the root directory of the Python installation just now to it. My installation directory is "D: \ Python27 ", it is best to add"; "before and after.
Step 3: Verify that Python is successfully installed:
Winows key + R. Open the command window, Enter cmd to enter the command line mode, and enter python. If no error message is displayed, Python is successfully installed and configured. Now you can write Python code.