# 對於分類：2. Iteration, Generators 的定義

**URL:** https://vip.studycamp.tw/t/%E5%B0%8D%E6%96%BC%E5%88%86%E9%A1%9E%EF%BC%9A2-iteration-generators-%E7%9A%84%E5%AE%9A%E7%BE%A9/3988
**Category:** 2. Iteration, Generators
**Created:** [2022年七月16日 02:14 UTC](https://vip.studycamp.tw/t/%E5%B0%8D%E6%96%BC%E5%88%86%E9%A1%9E%EF%BC%9A2-iteration-generators-%E7%9A%84%E5%AE%9A%E7%BE%A9/3988 "2022-07-16T02:14:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sky](https://vip.studycamp.tw/user_avatar/vip.studycamp.tw/sky/32/8098_2.png) [@sky](https://vip.studycamp.tw/u/sky)
#### Post date: [2022年七月16日 02:14 UTC](https://vip.studycamp.tw/t/%E5%B0%8D%E6%96%BC%E5%88%86%E9%A1%9E%EF%BC%9A2-iteration-generators-%E7%9A%84%E5%AE%9A%E7%BE%A9/3988/1 "2022-07-16T02:14:46Z")

</div>

接續【Python 百日馬】的進階課程，教你如何寫出好的程式碼。

本共學課程是 [**四堂系列課程**](https://vip.studycamp.tw/t/topic/3016) 中的第二堂，相關資訊（2022/7/16）如下：

[**Python 3: Deep Dive (Part 2 - Iteration, Generators) 本連結未含優惠碼**](https://www.udemy.com/course/python-3-deep-dive-part-2/)  
類別：Development \> Programming Languages \> Python ║ 內容：36 hours ║ 原價：NT$2,290  
建立：2018-06-27 ║ 更新：2022-04-17 ║ 註冊：24,623人 ║ 語言：English ║ 字幕：無 ║ 評分：4.90 (1,821人)

系列課程第一堂的共同學習已完成，請參考該類別討論 [**Python 3: Deep Dive (Part 1 - Functional)**](https://vip.studycamp.tw/c/python-deep-dive/1functional/102)。

* * *

## 深入研究以下主題

- sequences

- iterables

- iterators

- generators

- comprehensions

- context managers

- generator based coroutines

* * *

## 研讀本課程的先決條件（基本上就是系列課程第一堂課的內容）

- functions and function arguments

- packing and unpacking iterables and how that is used with function arguments (i.e. using \*)

- closures

- decorators

- Boolean truth values and how any object has an associated truth value

- named tuples

- the zip, map, filter, sorted, reduce functions

- lambdas

- importing modules and packages

* * *

## Python 基本語法

- data types (numeric, string, lists, tuples, dictionaries, sets, etc)

- for loops, while loops, break, continue, the else clause

- if statements

- try…except…else…finally…

- basic knowledge of how to create and use classes (methods, properties)

- understand how certain special methods are used in classes (such as **init** , **eq** , **lt** , etc)

* * *

## 本課程 github 原始碼

> **[python-deepdive/Part 2 at main · fbaptiste/python-deepdive](https://github.com/fbaptiste/python-deepdive/tree/main/Part%202)**
>
> Python Deep Dive Course - Accompanying Materials. Contribute to fbaptiste/python-deepdive development by creating an account on GitHub.
