Python in Practice: Create Better Programs Using Concurrency, Libraries, and Patterns (Paperback)
暫譯: 實踐中的 Python:利用併發、函式庫和設計模式創建更好的程式
Mark Summerfield
- 出版商: Addison Wesley
- 出版日期: 2013-08-29
- 售價: $1,485
- 貴賓價: 9.5 折 $1,411
- 語言: 英文
- 頁數: 336
- 裝訂: Paperback
- ISBN: 0321905636
- ISBN-13: 9780321905635
-
相關分類:
Python、程式語言
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$1,400$1,372 -
$650$514 -
$2,831Thinking in Java, 4/e (Paperback)
-
$1,488C++ GUI Programming with Qt 4, 2/e (Hardcover)
-
$2,040$1,938 -
$580$493 -
$1,890$1,796 -
$680$537 -
$3,390$3,221 -
$1,310$1,245 -
$400$316 -
$1,000$1,000 -
$1,575Essential Scrum: A Practical Guide to the Most Popular Agile Process (Paperback)
-
$1,200$1,140 -
$2,166$2,052 -
$1,530$1,454 -
$780$663 -
$480$379 -
$4,560$4,332 -
$520$411 -
$880$695 -
$520$390 -
$360$284 -
$1,890$1,796 -
$590$443
商品描述
–Doug Hellmann, Senior Developer, DreamHost
If you’re an experienced Python programmer, Python in Practice will help you improve the quality, reliability, speed, maintainability, and usability of all your Python programs.
Mark Summerfield focuses on four key themes: design patterns for coding elegance, faster processing through concurrency and compiled Python (Cython), high-level networking, and graphics. He identifies well-proven design patterns that are useful in Python, illuminates them with expert-quality code, and explains why some object-oriented design patterns are irrelevant to Python. He also explodes several counterproductive myths about Python programming–showing, for example, how Python can take full advantage of multicore hardware.
All examples, including three complete case studies, have been tested with Python 3.3 (and, where possible, Python 3.2 and 3.1) and crafted to maintain compatibility with future Python 3.x versions. All code has been tested on Linux, and most code has also been tested on OS X and Windows. All code may be downloaded at www.qtrac.eu/pipbook.html.
Coverage includes
- Leveraging Python’s most effective creational, structural, and behavioral design patterns
- Supporting concurrency with Python’s multiprocessing, threading, and concurrent.futures modules
- Avoiding concurrency problems using thread-safe queues and futures rather than fragile locks
- Simplifying networking with high-level modules, including xmlrpclib and RPyC
- Accelerating Python code with Cython, C-based Python modules, profiling, and other techniques
- Creating modern-looking GUI applications with Tkinter
- Leveraging today’s powerful graphics hardware via the OpenGL API using pyglet and PyOpenGL
商品描述(中文翻譯)
「無論你是經驗豐富的程式設計師還是剛開始你的職業生涯,Python in Practice 都充滿了寶貴的建議和範例,幫助你從不同的角度思考問題,介紹工具,並詳細說明技術,以創造更有效的解決方案。」
–Doug Hellmann, DreamHost 高級開發人員
如果你是一位經驗豐富的 Python 程式設計師,Python in Practice 將幫助你提高所有 Python 程式的質量、可靠性、速度、可維護性和可用性。
Mark Summerfield 專注於四個關鍵主題:編碼優雅的設計模式、通過併發和編譯的 Python (Cython) 提高處理速度、高級網路和圖形。他識別出在 Python 中有用的經過驗證的設計模式,並用專業級的代碼來闡明它們,解釋為什麼某些面向對象的設計模式對 Python 是不相關的。他還揭穿了幾個關於 Python 程式設計的反效果迷思,例如,展示了 Python 如何充分利用多核心硬體。
所有範例,包括三個完整的案例研究,均已在 Python 3.3(以及在可能的情況下,Python 3.2 和 3.1)上進行測試,並設計以保持與未來 Python 3.x 版本的相容性。所有代碼均已在 Linux 上測試,大多數代碼也已在 OS X 和 Windows 上測試。所有代碼可在 www.qtrac.eu/pipbook.html 下載。
內容涵蓋
- 利用 Python 最有效的創建、結構和行為設計模式
- 通過 Python 的 multiprocessing、threading 和 concurrent.futures 模組支持併發
- 使用線程安全的佇列和未來,而不是脆弱的鎖,來避免併發問題
- 通過高級模組簡化網路,包括 xmlrpclib 和 RPyC
- 使用 Cython、基於 C 的 Python 模組、性能分析和其他技術加速 Python 代碼
- 使用 Tkinter 創建現代化的 GUI 應用程式
- 通過 OpenGL API 使用 pyglet 和 PyOpenGL 利用當今強大的圖形硬體