Python Learning (1) Python installation configuration and learning python installation Configuration

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.