Python Learning (a) Python installation configuration

Source: Internet
Author: User

I am a Java program ape, I heard that Python is very powerful, so ready to learn python, although the language is the same, but Java and Python certainly have a difference. I would like to record my learning process here.

Currently, Python is divided into 2.X and 3.X versions. I chose the python2.x version. To quickly learn about Python's web development, the Python Web development Framework I chose is Django. One of the benefits of Django is that it comes with a backend management system.

First step, Download:

Because I use the computer operating system is Windows7 64-bit, so choose to download the Python Windows installation package.

Python installation package: https://www.python.org/downloads/windows/, the latest version of 2.x as of now is the Python 2.7.10.

The next step in the installation is finished.

The second step is to configure the environment variables:

Computer-Right--Properties-Advanced system settings-environment variables, find path in the system variables, followed by the root of the Python installation just now, my installation directory is "D:\Python27", preferably before and after adding ";" No.

The third step is to verify that Python is installed successfully:

Winows key +r, open the Command window, enter cmd into the command line mode, enter Python, if there is no error message, the Python installation and configuration is successful. Python code can be written in the following.

Python Learning (a) Python installation configuration

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.