Python Self-study notes (i) Environment construction

Source: Internet
Author: User

One, about the introduction of Python

About the introduction of Python, I do not want to say more, online casually search, a lot of introductions, here I mainly write down my self-learning Python process, but also to promote my ability to continue to learn.

Second, Environment construction

1, here I only talk about Windows, because I prefer Linux, but Windows still have to use, so for Linux is not often used (I am not a professional program ape, just a hobbyist), but it is very simple, no matter which platform, no matter

2, download python, https://www.python.org/downloads/windows/Choose what you want, then next, install next (I use 2.7)

3, setting environment variables

(1) in the Command Prompt box (cmd): Enter

%path%;  C:

#注意: C:\Python is a Python installation directory, this method is only valid once, close cmd is invalid
(2) My Computer--Properties (right click)--Advanced system settings-environment variables, find path, and then add your Python installation path +: Note semicolon, (here can search online lock, online)

4, verify that the environment variable is set to complete, at the command line (CMD), enter Python, you can enter the Python interface can be

Python Self-study notes (i) Environment construction

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.