Python learning notes (1)-Environment setup and python learning notes
1. Download the installation package:
Domestic image: 32-bit: http://pan.baidu.com/s/1jI4q4lS 64-bit: http://pan.baidu.com/s/1eRPhpRW
Version changes are fast. You 'd better download the latest version from the official website.
Ii. Python Installation
Select this option, and you cannot select the installation location. For obsessive-compulsive disorder, select someone to help.
Open cmd and enter python. If it appears, the installation is successful.
Iii. Python Interpreter
When writing Python code, we get a Python code. PyA text file with the extension. To run the code, you must run the Python interpreter.. PyFile. Since the entire Python language is open-source from the standard to the interpreter, theoretically, anyone can write a Python interpreter to execute Python code (of course, difficult) as long as the level is high enough ). In fact, there are indeed a variety of Python interpreters.
Reference: http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/00143161198846783e33de56d4041058c3dfc7e44ee1203000