Effective Python - Brett Slatkin

Effective Python

Brett Slatkin

出版时间

2015-03-08

ISBN

9780134034287

评分

★★★★★
精彩摘录
  • "class LazyDB(object): def __init__(self): self.exists = 5 def __getattr__(self, name): value = 'Value for {}'.format(name) print 'hhhhh' setattr(self, name, value) return value class LoggingLazyDB(LazyDB): def __getattr__(self, name): print 'Called __getattr__{}'.format(name) return super().__getatt"
用户评论
白天刚踩到循环依赖的坑晚上就读到了对应的tip。。
读了除了5.concurrency and parallelism和8.production以外的章节,2,3,4章作为style guide不错。感觉知道的东西已经知道了,不知道的东西看了也没用。
挺有用的python建议书 提供了安全且有效的写python的方法
补标一下,这本书比较喜欢,适合有Python基础后的速成加强。
看了大半时发现刚出了第二版…… 好吧,等过段时间再看第二波就当温故知新了 后悔没早点看,想到了曾经的面试题 似乎直接看原版也不是很难?飘了飘了
刷书 1.
可读性高,蛮有作用,似觉得对于pythonic理解了些。
内容挺实用的,但读起来很累。
收藏