python的安装和Hello,World编写

一、 安装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

点击下载。

1.2、安装python3.8

  1. 勾选Add Python 3.8 to PATH。

image-20201110145548426

  1. 不用更改点击Next。

image-20201110145808464

  1. 选择Install for all user,选择后Add Python to environment variables自动勾选。修改地址为D:\Python38,点击Install。

image-20201110145923519

  1. 正在安装。

image-20201110150122294

  1. 安装成功,点击close关闭。

image-20201110150207250

1.3、交互环境

image-20201110150420129

  1. python基于wendows命令提示符python Shell。

image-20201110150826586

  1. IDLE的Python Shell
    image-20201110164302424

二、编辑Hello,world!

2.1、使用文本编辑器编写

image-20201110152012857

使用python hello.py执行文件。

image-20201110150826586

2.2、使用 IDLE工具

image-20201110163726181