Python Lite for Beginners

A list,

– The history of Python

*1989 A new programming language based on ABC developed by Dutchman Guido van Rossum, released in 1991.Copy the code

– the advantages of Python

2. Open source and free. 3. Object-oriented programming language 4. Rich library 5Copy the code

– the disadvantage of Python

1. The running speed is slow. 2Copy the code

-Python application domain

1.Web application development 2. Automatic operation and maintenance 3. Web crawler 5. Scientific computing 6. Game developmentCopy the code

– the installation of Python

*Python development environment + Windows installation 1. Visit the official website :link.[Python official website](https://www.python.org) 2. 3. Open the downloaded software and select Add Path (automatically add environment variables)--> Finlish 4 below. After the installation is complete, use the Windows key (four squares)+R to open the running window and enter Python and press Enter, or enter CMD and enter Python. If you can enter, the installation is complete. *Python interpreter + When writing Python code, The result is a text file containing the.py extension of Python code. To run the code, you need the interpreter to execute the.py file (Python installed with an official interpreter) *Python Integrated Development Environment (IDE) Environment, for integrated Development Environment. Used to represent application software that assists programmers in development. Based on PyCharm + development 1. Visit the website connection PyCharm website (https://www.jetbarains.com/pycharm/). 2. The Professional and Community versions are free software that restricts some of the empty power, while the Professional version requires you to pay to lock the content. 3. Open the downloaded software and check all contents next--> Finlish 4. After the installation, the initialization interface will be displayed for the first startup. Click Setting --> Select Project Interpreter under Version Control. No Interpeter is displayed on the right. Select the Settings on the right to add python.exe in the installed Python file. 5. Click Create New Project, enter the project name, and select the path of the file you want to save. 6. Right-click the project name new > Python file > file name >EnterCopy the code

– The first Python (note that the code must be punctuated with English half-corners)

print('Hello World')
Copy the code
* find the run right-click 'file name' * operating mechanism: + source code. (py) - > > bytecode (. Pyc) - > > virtual machine (PVM)Copy the code