本系列文章是读《Python Crash Course 2nd Edition》的笔记。

1 安装Python开发环境

(1)操作系统:Windows 10 64位家庭中文版
(2)Python:python 3.8.0 64位
(3)开发工具:Sublime Text 64位

1.1安装python

1.1.1 下载python

Pytho官网地址
Python 3.8.0 64位下载地址
1、安装Python

1.1.2 安装python

1、记得勾选“Add Python 3.8 to PATH”,单击 “Install Now”执行安装。
1、安装Python
2、安装程序在用户环境变量添加了如下两条记录。
1、安装Python
3、进入命令提示符,输入“python”并回车。显示如下内容表示成功。
1、安装Python
4、在>>>输入print(“Hello World!”)并回车,输出Hello World!
1、安装Python

1.2 安装Sublime Text

1、访问官网下载并安装 地址。软件界面如下。
1、安装Python

1.3 用Sublime Text写“Hello World!”

1、 点击“File->New File”新增一个文件。
2、 点击”File->Save As”,文件名为”hello_world.py”。“.py”是python代码文件的后缀。
3、 输入” print(“Hello World!”)”。
1、安装Python
4、 点击”Tools->Build”执行。
1、安装Python

相关文章:

  • 2022-12-23
  • 2022-01-03
  • 2021-11-16
  • 2021-05-16
  • 2022-12-23
  • 2021-05-11
  • 2021-08-22
  • 2021-10-24
猜你喜欢
  • 2021-05-29
  • 2021-12-06
  • 2022-12-23
  • 2021-06-21
  • 2021-11-13
  • 2022-02-06
  • 2021-09-10
相关资源
相似解决方案