More on Python
課程說明:上次我們介紹了基本的 Python 程式以及操作,這次我們將更深入的探討一些 Python 的語言設計,從基本的 Namespace & Environment 開始,到各種 Python 的重要特性,以及如何讓你的 Python 寫的更加精美。
對象:有基礎知識想更加了解 Python 的同學
使用環境 :
-
Windows : Ubuntu on Windows
-
OSX/Linux: terminal
material:
-
python 官網:https://www.python.org/
prerequisites:
-
筆電
-
套件管理系統:
-
Ubuntu on Windows:apt
-
Mac: homebrew ( https://brew.sh/index_zh-tw.html )
-
Other: 各自的套件管理系統
-
-
熟悉編輯器的操作
教學安排 :
- Scope
- namespace & environment
- del
- global
- nonlocal
- Lambda
- late binding
- generator
- yield
- yield from
- generator expression
- decorator
- Class
- decorator class
- enumerate
- zip