01 install python

1. Download from the official website https://www.python.org/

2. Double-click the installation, the default path

3. In the path in the path added to the list python

4. Enter the python cmd, enter

Second, the first python program

1. A method

Python into the interactive environment (>>> marked), write code

2. Method Two

(1) written procedures

Notepad ++ to write in print 'hello python'

 

Set language python, python saved as a file

(2) the implementation of the program

Open cmd, enter the directory hello.py, enter python hello.py to run

Guess you like

Origin blog.csdn.net/shmily_syw/article/details/91867971