Python self-study note (1) Environment Building and python Building

Source: Internet
Author: User

Python self-study note (1) Environment Building and python Building

1. Introduction to Python

I don't want to talk much about Python. I just search for Python on the Internet and give a lot of introductions. Here I mainly write down my self-taught Python process to help me continue learning.

2. Environment Construction

1. Here I will only explain Windows, because I prefer Linux, But windows is still required, so it is not often used for linux (I am not a professional programmer, but a hobbyist ), however, this is very simple. No matter which platform, it doesn't matter.

2, download Python, https://www.python.org/downloads/windows/ choose what you want, and then next, next install on the line (I use 2.7)

3. Set Environment Variables

(1) In the command prompt box (cmd ):Input

Path %; C: \ Python

# Note: C: \ Python is the installation directory of Python. This method is only valid once. If cmd is disabled, it becomes invalid.
(2) My Computer -- properties (right-click) -- Advanced System settings -- environment variables, find the Path, and add your Python installation Path +: Pay attention to the semicolon, (You can search for locks on the Internet)

4. Verify that the environment variable settings are complete. On the command line (Cmd), enter Python to enter the Python interface.

 

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.