全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 python论坛
21673 121
2015-02-15
It's easy to start writing code with Python: that's why the language is so immensely popular. However, Python has unique strengths, charms, and expressivity that can be hard to grasp at first -- as well as hidden pitfalls that can easily trip you up if you aren't aware of them. Effective Python will help you harness the full power of Python to write exceptionally robust, efficient, maintainable, and well-performing code. Utilizing the concise, scenario-driven style pioneered in Scott Meyers's best-sellingEffective C++, Brett Slatkin brings together 59 Python best practices, tips, shortcuts, and realistic code examples from expert programmers.

Through realistic examples, Slatkin uncovers little-known Python quirks, intricacies, and idioms that powerfully impact code behavior and performance. You'll learn how to choose the most efficient and effective way to accomplish key tasks when multiple options exist, and how to write code that's easier to understand, maintain, and improve.

Drawing on his deep understanding of Python's capabilities, Slatkin offers practical advice for each major area of development with both Python 3.x and Python 2.x. Coverage includes:
  • Algorithms
  • Objects
  • Concurrency
  • Collaboration
  • Built-in modules
  • Production techniques
  • And more
Each section contains specific, actionable guidelines organized into items, each with carefully worded advice supported by detailed technical arguments and illuminating examples. Using Effective Python, you can systematically improve all the Python code you write: not by blindly following rules or mimicking incomprehensible idioms, but by gaining a deep understanding of the technical reasons why they make sense. 518KlDL92eL.jpg

本帖隐藏的内容



Series: Effective Software Development Series
Paperback: 256 pages
Publisher: Addison-Wesley Professional; 1 edition (March 16, 2015)
Language: English
ISBN-10: 0134034287
ISBN-13: 978-0134034287
Product Dimensions: 7 x 0.8 x 9.1 inches
Shipping Weight: 1 pounds
http://www.amazon.com/Effective-Python-Specific-Software-Development/dp/0134034287/ref=sr_1_1_twi_1?ie=UTF8&qid=1423994414&sr=8-1&keywords=Effective+Python%3A+59+SPECIFIC+WAYS+TO+WRITE+BETTER+PYTHON


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2015-2-15 18:16:09
看看,谢谢!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-2-15 18:19:09
谢谢分享!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-2-15 18:25:07
如何来下载zip文件:

import urllib
import urllib2
import requests   
url = 'http://www.blog.pythonlibrary.org/wp-content/uploads/2012/06/wxDbViewer.zip'  
print "downloading with urllib"
urllib.urlretrieve(url, "code.zip")  
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-2-15 19:01:18
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2015-2-15 19:46:32
谢谢楼主
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群