Python
编写高质量代码:改善Python程序的91个建议 豆瓣
8.2 (9 个评分) 作者: 张颖 / 赖勇浩 机械工业出版社 2014 - 6
在通往“Python技术殿堂”的路上,本书将为你编写健壮、优雅、高质量的Python代码提供切实帮助!内容全部由Python编码的最佳实践组成,从基本原则、惯用法、语法、库、设计模式、内部机制、开发工具和性能优化8个方面深入探讨了编写高质量Python代码的技巧与禁忌,一共总结出91条宝贵的建议。每条建议对应Python程序员可能会遇到的一个问题。本书不仅以建议的方式从正反两方面给出了被实践证明为十分优秀的解决方案或非常糟糕的解决方案,而且分析了问题产生的根源,会使人有一种醍醐灌顶的感觉,豁然开朗。
《编写高质量代码:改善Python程序的91个建议》针对每个问题所选择的应用场景都非常典型,给出的建议也都与实践紧密结合。书中的每一条建议都可能在你的下一行代码、下一个应用或下一个项目中显露锋芒。建议你将本书搁置在手边,随时查阅,相信这么做一定能使你的学习和开发工作事半功倍。
2015年8月30日 已读
这书定位有点怪,知识点有很浅的也有很深的,深的部分基本没展开讲。我很怀疑如果读者没看过其他深入介绍Python的书能否看懂,但是如果读者已经看过了,又何必来看这本呢?
Python 编程 计算机
The Definitive Guide to Django, 2nd Edition 豆瓣
作者: Adrian Holovaty / Jacob Kaplan-Moss Apress 2009 - 7
This latest edition of The Definitive Guide to Django is updated for Django 1.1, and, with the forward–compatibility guarantee that Django now provides, should serve as the ultimate tutorial and reference for this popular framework for years to come.
Django, the Python–based equivalent to Ruby’s Rails web development framework, is one of the hottest topics in web development today. Lead developer Jacob Kaplan–Moss and Django creator Adrian Holovaty show you how they use this framework to create award–winning web sites by guiding you through the creation of a web application reminiscent of ChicagoCrime.org.
The Definitive Guide to Django is broken into three parts, with the first introducing Django fundamentals such as installation and configuration, and creating the components that together power a Django–driven web site. The second part delves into the more sophisticated features of Django, including outputting non–HTML content such as RSS feeds and PDFs, caching, and user management. The appendixes serve as a detailed reference to Django’s many configuration options and commands.
What you’ll learn
The first half of this book explains in depth how to build web applications using Django including the basics of dynamic web pages, the Django templating system interacting with databases, and web forms.
The second half of this book discusses higher-level concepts such as caching, security, and how to deploy Django.
The appendixes form a reference for the commands and configurations available in Django.
Who this book is for
Anyone who wants to use the powerful Django framework to build dynamic web sites quickly and easily.
2014年3月3日 已读
有个老笑话讲如果写编程书的人去写数学书,学完1+1=2的作业题就该是微积分了。所以终于遇到本不单讲其然,还讲了其所以然的编程书我能不给五星吗?!
Python django 编程 计算机