Python Learning notes-Day1-python Overview and installation

Source: Internet
Author: User

    Python value:    before learning a language, be sure to understand the value of the language and the convenience it brings to our work.     python is an object-oriented interpretation of computer programming language, is a scripting language, easy to learn, Python is particularly concise in data processing.     Intermediate part: 11.python common built-in modules begin as intermediate parts.     Advanced section: 18.python application in saltstack     Python web development needs to know the front desk (such as HTML, CSS, etc.), backstage (background to understand some architecture, such as Django) , 1): Linux system installation python    Python The most popular version is Python2.7, because the CENTOS7 system defaults to the version of Python2.7 installed.     Download python:    ./configure    make && make install    Open Python official website: https: www.python.org/downloads/    Most authoritative official document: HTTPS://DOCS.PYTHON.ORG/3/2): Windown system Installation python        1. Download python        2. Configure environment variables for Python             Go to Control Panel------> user account------> change my environment variables             Add in Path, D:\Python2.7.12\Python2.7.12\;D: \python2.7.12\python2.7.12\scripts;, where the; as a delimiter, add the environment variable later, and then add it directly to the back.         3. Test python            Open cmd window, enter Python directly, if the following is the case, the installation is successful, 3): Install python  under Mac System        1.homebrew            Brew Install python             This scheme is relatively simple, if the error can be given to the front with sudo try, this installation of Python may not be the latest version of the                  2. Download and install from official website             From the official website https://www.python.org/download download the python version of the installation, installation is not brain, all the way down OK, the disadvantage is that later upgrade, uninstall have to maintain their own, the two methods installed Python location is not the same, You can use which Python to view the installation location and, after installation, type Python in the terminal to verify that the installation was successful.     
1 # !/usr/local/bin/python 2 Print ' Hello World '

Python Learning notes-Day1-python Overview and installation

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.