Nanodegree key: nd302-cn
Version: 1.0.0
Locale: zh-cn
从零开始掌握编程思维,用 Python 编写爬虫、处理数据,提升工作效率。
Content
Part 01 : 必修
-
Module 01: 欢迎!
-
Module 02: 加入学员交流群
-
Lesson 01: 加入学员交流群
为帮助你快速展开学习,Udacity为大家准备了学习交流群,希望大家可以更好的学习课程。
-
-
Module 03: Python 入门(第一部分)
-
Lesson 01: 小乌龟(turtle)和你的第一行代码
开始学习用 Python 进行编程的核心概念,并编写指令,使虚拟“turtle”机器人在屏幕上画出多彩的图形。
- Concept 01: 欢迎!
- Concept 02: 开始学习
- Concept 03: 使用 turtle 绘画
- Concept 04: 变量
- Concept 05: 练习 — 变量等
- Concept 06: 更改颜色
- Concept 07: 更改形状
- Concept 08: 查找错误
- Concept 09: 模块和方法
- Concept 10: 练习 — 绘制方形
- Concept 11: 注释
- Concept 12: 练习 — 顺序很重要
- Concept 13: 使用变量
- Concept 14: 练习 — 使用变量 (1/2)
- Concept 15: 练习 — 使用变量 (2/2)
- Concept 16: 循环
- Concept 17: 练习 — 基本循环
- Concept 18: 练习 — 将列表赋值给变量
- Concept 19: 列表和循环
- Concept 20: 练习 — 循环变量
- Concept 21: 神秘的形状
- Concept 22: 嵌套循环
- Concept 23: 复习 turtle 方法
- Concept 24: 练习 — Turtle 方法
- Concept 25: 练习 — 更多循环变量 (1/2)
- Concept 26: 练习 — 更多循环变量 (2/2)
- Concept 27: 练习 — 嵌套循环
- Concept 28: 考虑错误
- Concept 29: 实战演练:用代码画图
- Concept 30: 复习
-
Lesson 02: 函数(第一部分)
拓展 Python 知识并学习编写函数和条件语句。
- Concept 01: 欢迎学习第 2 节课!
- Concept 02: 语句
- Concept 03: range 函数
- Concept 04: 数字运算 (1/2)
- Concept 05: 数字运算 (2/2)
- Concept 06: 什么是函数?
- Concept 07: 练习 — 基本函数
- Concept 08: 定义函数
- Concept 09: 参数
- Concept 10: 练习 — 定义函数
- Concept 11: 练习 — 实参
- Concept 12: 练习 — 多个实参
- Concept 13: 练习 — 更改形状
- Concept 14: 创建你自己的函数
- Concept 15: 函数中的变量
- Concept 16: 练习 — 变量作用域
- Concept 17: 谨慎缩进
- Concept 18: 哪种数据类型?
- Concept 19: 两个 turtle
- Concept 20: 设定任何其他名称 ...
- Concept 21: 传递 turtle
- Concept 22: 函数调用函数
- Concept 23: 传递不同 turtle
-
Lesson 03: 函数(第二部分)
学习更高级的函数、条件语句和循环。
- Concept 01: 如果这个等于那个
- Concept 02: 循环中的条件
- Concept 03: if / else
- Concept 04: 模运算(第一部分)
- Concept 05: 模运算(第二部分)
- Concept 06: 模运算(第三部分)
- Concept 07: Fizz Buzz,turtle 版
- Concept 08: 返回值(第一部分)
- Concept 09: 返回值(第二部分)
- Concept 10: 遍历函数
- Concept 11: 循环和实参
- Concept 12: 复习复合语句
- Concept 13: random 模块
- Concept 14: 不等式
- Concept 15: 通过 elif 进行分支
- Concept 16: 保持在边界范围内
- Concept 17: 实战演练: 扫地机器人路线规划
- Concept 18: 复习
- Concept 19: 恭喜!
-
Lesson 04: 实战演练:房贷计算器
我们将使用之前所学的 Python 技能来解决一个生活中真实的案例。
-
-
Module 04: Python 入门(第二部分)
-
Lesson 02: 字符串和列表
学习如何在 Python 代码中使用字符串和文本。
- Concept 01: 欢迎回来!
- Concept 02: 变量与字面量
- Concept 03: 复习字符串
- Concept 04: 复习函数和类型
- Concept 05: 长度
- Concept 06: 索引
- Concept 07: 超出范围
- Concept 08: 切片
- Concept 09: 字符串操作
- Concept 10: 更多字符串操作
- Concept 11: 字符串和数字相互转换
- Concept 12: 字符串方法
- Concept 13: 真假布尔值
- Concept 14: 列表操作
- Concept 15: 列表方法
- Concept 16: 可变性和共享结构
- Concept 17: 增量赋值
- Concept 18: 遍历字符串和列表
- Concept 19: While 循环
- Concept 20: 无限循环和退出
- Concept 21: 实战演练:猜数字小游戏
- Concept 22: 查找子字符串(第一部分)
- Concept 23: 查找子字符串(第二部分)
- Concept 24: 查找子字符串(第三部分)
- Concept 25: 查找子字符串(第四部分)
- Concept 26: 更多字符串方法
- Concept 27: 连接
- Concept 28: 实战演练:用编程造句
- Concept 29: 复习
- Concept 30: 恭喜!
-
Module 05: Python 入门(第三部分)
-
Lesson 01: 管理电脑上的文件
学习如何使用 Python 代码处理磁盘上的文件:列出目录中的文件、移动文件,以及读取文本文件里的内容和向文本文件里写入内容。
- Concept 01: Python 文件
- Concept 02: 实战演练:高效整理你的照片
- Concept 03: 规划照片问题的解决方案
- Concept 04: os 模块
- Concept 05: 文件和目录函数
- Concept 06: 相对路径和当前工作目录
- Concept 07: os 函数和 shell 命令
- Concept 08: 拆分文件名
- Concept 09: 创建地点目录
- Concept 10: 整理照片
- Concept 11: 脚本标注
- Concept 12: Pycodestyle
- Concept 13: 实战演练:打造“脏话过滤器”
- Concept 14: 规划脏话过滤器问题的解决方案
- Concept 15: 打开并读取文件
- Concept 16: 关闭文件
- Concept 17: 很慢的解决方案
- Concept 18: 一次读取一个单词
- Concept 19: 修正标点符号 bug
- Concept 20: 修正大写 bug
- Concept 21: 将输出写入文件里
- Concept 22: 全部搞定!
- Concept 23: 复习
-
Lesson 02: 网络 API
学习使用 requests 模块与网络 API 互动、操纵 JSON 和使用字典。
- Concept 01: 欢迎学习网络 API - 实战演练:你的专属天气预报
- Concept 02: 获取天气数据
- Concept 03: requests 模块
- Concept 04: 发出请求
- Concept 05: 什么会出错?
- Concept 06: Try 和异常
- Concept 07: 什么是 JSON?
- Concept 08: 字典 (1/2)
- Concept 09: 字典 (2/2)
- Concept 10: 遍历列表(复习)
- Concept 11: 遍历字典 (1/4)
- Concept 12: 遍历字典 (2/4)
- Concept 13: 遍历字典 (3/4)
- Concept 14: 遍历字典 (4/4)
- Concept 15: 嵌套数据结构
- Concept 16: 遍历嵌套结构 (1/3)
- Concept 17: 遍历嵌套结构 (2/3)
- Concept 18: 遍历嵌套结构 (3/3)
- Concept 19: 简单的天气预报
- Concept 20: 获取数据
- Concept 21: 理解数据
- Concept 22: 获取天气预报
- Concept 23: 复习
- Concept 24: 天气预报
- Concept 25: 小结
-
Lesson 03: 对象和类
学习使用类创建新的数据对象类型,包括创建你自己的方法。
-
-
Module 06: 打造 Python 爬虫
Part 02 (Elective): 选修
-
Module 01: Shell
-
Lesson 01: Shell Workshop
- Concept 01: 欢迎!
- Concept 02: Windows:安装 Git Bash
- Concept 03: 打开终端
- Concept 04: 你的第一个命令 (echo)
- Concept 05: 浏览目录 (ls, cd, ..)
- Concept 06: 当前工作目录 (pwd)
- Concept 07: 参数和选项 (ls -l)
- Concept 08: 整理文件 (mkdir, mv)
- Concept 09: 下载 (curl)
- Concept 10: 查看文件 (cat, less)
- Concept 11: 删除内容 (rm, rmdir)
- Concept 12: 搜索和管道 (grep, wc)
- Concept 13: Shell 和环境变量
- Concept 14: 起始文件 (.bash_profile)
- Concept 15: 控制 shell 提示符 ($PS1)
- Concept 16: 别名
- Concept 17: 继续学习!
-
-
Module 02: Git
-
Lesson 01: What is Version Control?
Version control is an incredibly important part of a professional programmer's life. In this lesson, you'll learn about the benefits of version control and install the version control tool Git!
-
Lesson 02: Create a Git Repo
Now that you've learned the benefits of Version Control and gotten Git installed, it's time you learn how to create a repository.
-
Lesson 03: Review a Repo's History
Knowing how to review an existing Git repository's history of commits is extremely important. You'll learn how to do just that in this lesson.
-
Lesson 04: Add Commits to a Repo
A repository is nothing without commits. In this lesson, you'll learn how to make commits, write descriptive commit messages, and verify the changes you're about to save to the repository.
-
Lesson 05: Tagging, Branching, and Merging
Being able to work on your project in isolation from other changes will multiply your productivity. You'll learn how to do this isolated development with Git's branches.
-
Lesson 06: Undoing Changes
Help! Disaster has struck! You don't have to worry, though, because your project is tracked in version control! You'll learn how to undo and modify changes that have been saved to the repository.
-
Lesson 07: Working with Remotes
You'll learn how to create remote repositories on GitHub and how to get and send changes to the remote repository.
-
Lesson 08: Working on Another Developer's Repository
In this lesson, you'll learn how to fork another developer's project. Collaborating with other developers can be a tricky process, so you'll learn how to contribute to a public project.
-
Lesson 09: Staying in Sync with a Remote Repository
You'll learn how to send suggested changes to another developer by using pull requests. You'll also learn how to use the powerful
git rebase
command to squash commits together.
-