Python introduction and environment installation

The founder of Python is the Dutchman Guido van Rossum. During the Christmas period of 1989, in Amsterdam, Guido decided to develop a new script interpreter in order to pass the boring Christmas, as a kind of inheritance of the ABC language.

Python is a cross-platform computer programming language. It is a high-level scripting language that combines interpretation, compilation, interactivity and object-oriented. It was originally designed to write automated scripts. With the continuous update of the version and the addition of new language features, the more it is used for the development of independent and large-scale projects.

Python is concise, easy to learn, and extensible, and the design philosophy of Python is elegant, clear, and simple.

Python itself is designed to be extensible. Not all features and functions are integrated into the core of the language. Python provides a wealth of APIs and tools so that programmers can easily use C language, C++, and Cython to write extension modules. The Python compiler itself can also be integrated into other programs that require scripting languages. Therefore, many people still use Python as a "glue language".

Python developers deliberately prevent programs that violate indentation rules from being compiled to force programmers to develop good programming habits. (Although not very friendly to some programmers)

Python can be used for web development, GUI development, graphics development, Web development, game development, mobile phone development, database development, big data analysis, crawler development, etc.

Due to the characteristics of the glue language, you can directly search for third-party libraries for development directly, which greatly saves development time. Even direct copy to complete the entire project.

This tutorial states:
Operating System: Windows7 SP1
Python version: Python3.7
Editor: notepad++
Notepad official website: https://notepad-plus-plus.org/
Python3.7 download link: https://www.python.org/downloads/release/python-377/

Scientific knowledge

After installing python, you need to configure the python environment. What is the python development environment?
Development environment: software, hardware, and operating system that need to be used when developing software
Compiler: A program that translates "one language" into "another language". Editor: Software for editing source code.
IDE: The application program that provides the program development environment, including tools such as code editor, compiler, debugger, and graphical user interface

If Windows 7 is not SP1, you can click Windows Update in the control panel to update the patch:

Python environment configuration, click the downloaded installation package, double-click to run, it is best to install by default. After installation, click the lower left corner, enter python, find python in the list that appears, right-click to open the file location. Or click Properties, and then open the file location.

After opening the python file location, we right-click on my computer, click properties, and click advanced system settings

Click on environment variables:

Find path, double click

Copy our python directory into the variable value. You must first enter a semicolon ";" entered by the English input method, and then copy the python directory after typing.

After copying, type cmd in the lower left corner and press enter to open the Dos command box, open the Dos command box and enter python to check the installation.

The python installation is complete.
Why do I need to configure this environment? Why do I need to put the directory in the path?
Because if the path is not configured, the dos window does not recognize the python command. After storing the python path in the system environment, when entering the python command, it will be searched in the python directory, that is, we put it in the path In the path. In the python directory, the python file will be launched, that is, the command will be responded to.

Recommended Posts

Python introduction and environment installation
Ubuntu introduction and installation
Anaconda introduction and Ubuntu/windows installation Anaconda
ubuntu offline installation python environment
python introduction
Configure python3 environment on centos7 and
Ubuntu 19.1 installation and configuration Chinese environment
Python2.7 [Installation Tutorial]
Centos-6.5 installation and deployment of LNMP environment
Python - centos6 installation
01. Introduction to Python
Python and Go
Python Anaconda installation
Centos python3 compile installation and compile gcc upgrade
Python and scrapy deployment in centos environment
Introduction to Python
Installation and use of SSH in Ubuntu environment
Python introspection and reflection
PyCUDA-Ubuntu 14.04 installation and testing
Python PyQt5 finishing introduction
OpenMPI-Ubuntu installation and configuration
Centos source installation Python3
lamp (centos7) installation lamp environment
[python] python2 and python3 under ubuntu
Python virtual environment: Ubuntu16.04
Python deconstruction and packaging
Python3 configuration and entry.md
Installation and use of GDAL in Python under Ubuntu
Installation and simple practice of MySQL in ubuntu environment (1)
Python automated operation and maintenance 2
Python know crawler and anti crawler
centos7 install python3 and ipython
Centos mysql installation and configuration
Install python environment under Linux
Centos7 installation and configuration prometheus
ubuntu sets python2.5 environment variables
ubuntu18.04 compile and install python3.8
CentOS 7 installation and configuration PPTP
ubuntu view python installation path
Ubuntu16.04 installation and simple configuration
Centos 6.10 reinstall python and yum
Introduction to Python related modules
Python open read and write
CentOS installation and configuration cmake
Centos7.5 installation and configuration MongoDB4.0.4
CentOS 7 installation and configuration PPTP
GitLab installation and basic use
centos7 kvm installation and use
CentOS7 install python3 and pip3
Python automated operation and maintenance 1
Python data structure and algorithm
Python multi-process and multi-thread basics
CentOS7 postgresql installation and use
CentOS 6.9 compile and install python
Python version of OpenCV installation
CentOS environment installation of Docker
Introduction to CentOS7 installation process of openjdk, tomcat and mysql
CentOS 6 compile and install python 3
ubuntu build python development environment
Python installation impala package steps
Centos7 deploys python3 virtual environment