一、 安裝python3.8
1.1、下載python3.8
下載地址:https://www.python.org/downloads/release/python-386/
直接下載地址:https://www.python.org/ftp/python/3.8.6/python-3.8.6-amd64.exe
![image-20201110145116138](http://static.javashuo.com/static/loading.gif)
點擊下載。
1.2、安裝python3.8
- 勾選Add Python 3.8 to PATH。
![image-20201110145548426](http://static.javashuo.com/static/loading.gif)
- 不用更改點擊Next。
![image-20201110145808464](http://static.javashuo.com/static/loading.gif)
- 選擇Install for all user,選擇後Add Python to environment variables自動勾選。修改地址爲D:\Python38,點擊Install。
![image-20201110145923519](http://static.javashuo.com/static/loading.gif)
- 正在安裝。
![image-20201110150122294](http://static.javashuo.com/static/loading.gif)
- 安裝成功,點擊close關閉。
![image-20201110150207250](http://static.javashuo.com/static/loading.gif)
1.3、交互環境
![image-20201110150420129](http://static.javashuo.com/static/loading.gif)
- python基於wendows命令提示符python Shell。
![image-20201110150826586](http://static.javashuo.com/static/loading.gif)
- IDLE的Python Shell
![image-20201110164302424](http://static.javashuo.com/static/loading.gif)
二、編輯Hello,world!
2.1、使用文本編輯器編寫
![image-20201110152012857](http://static.javashuo.com/static/loading.gif)
使用python hello.py執行文件。
![image-20201110150826586](http://static.javashuo.com/static/loading.gif)
2.2、使用 IDLE工具
![image-20201110163726181](http://static.javashuo.com/static/loading.gif)