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