John·Nov 25, 2022Python — Iterator & Iterable(Iteration tools)接續上一篇,寫完了Iterator和Iterable概念,這篇紀錄幾個Iteration tools套件有用的function,就當作額外的學習。
John·Oct 16, 2022Python — Closure & Decorator這篇文章會先寫Closure再來談Decorator,因為Decorator使用的概念就是Closure的Free Variable。
John·Oct 14, 2022Python — Context ManagerContext中文翻譯為情境、狀況、脈絡,而在Python中我認為形容用Context Manager用於創造一個環境或是Scope、Workspace會更為貼切一些。