01 2018 档案

摘要:在 fluent python的第6章, 函数作为first-class,所以这两种模式使用起来更加简单了! 先mark 以后写 什么是 First-class function? 知乎上有讲 应该和语言的设计有关系: https://www.zhihu.com/question/27460623/ 阅读全文
posted @ 2018-01-25 12:29 eeechoo 阅读(171) 评论(0) 推荐(0)
摘要:David Beazley 对 Python中的 生成器(generator)和协程(coroutine)有着深入的理解,并在PyCon会议上做个三个关于这方面的演讲,所以称为三部曲(trilogy)。 目前只完整的读过第二篇 ,以后有机会做个总结。先写着提醒自己 阅读全文
posted @ 2018-01-14 13:44 eeechoo 阅读(109) 评论(0) 推荐(0)
摘要:1. 问题描述 LeetCode第226题,题目名称为二叉树翻转 triv·i·a : details, considerations, or pieces of information of little importance or value. 翻译为细节,无用的细节 2. 思考 2.1 这类传 阅读全文
posted @ 2018-01-14 13:06 eeechoo 阅读(364) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/vamei/archive/2012/12/11/2772448.html 对 attribute property > @property @***.setter dynamic attributes > __getattr__ method att 阅读全文
posted @ 2018-01-09 20:56 eeechoo 阅读(240) 评论(0) 推荐(0)