Programming in Python 3: A Complete Introduction to the Python Language, 2/e (Paperback)
Mark Summerfield
- 出版商: Addison Wesley
- 出版日期: 2009-11-01
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 656
- 裝訂: Paperback
- ISBN: 0321680561
- ISBN-13: 9780321680563
-
相關分類:
Python、程式語言
-
相關翻譯:
精通 Python 3 程式設計, 2/e (Programming in Python 3: A Complete Introduction to the Python Language, 2/e) (繁中版)
Python 3 程序開發指南, 2/e (修訂版) (簡中版)
買這商品的人也買了...
-
$880$695 -
$880$581 -
$990$891 -
$2,010$1,910 -
$820$648 -
$580$493 -
$490$417 -
$450$351 -
$680$537 -
$780$663 -
$500$425 -
$550$468 -
$450$356 -
$1,320The Art of Unit Testing: with examples in C#, 2/e (Paperback)
-
$520$411 -
$880$695 -
$599$569 -
$680$578 -
$360$252 -
$350$263 -
$2,689C Primer Plus, 6/e (Paperback)
-
$560$442 -
$780$616 -
$980$647 -
$820$779
相關主題
商品描述
A Fully Revised Edition Featuring New Material on Coroutines, Debugging, Testing, Parsing, String Formatting, and More
Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, leading Python programmer Mark Summerfield demonstrates how to write code that takes full advantage of Python 3's features and idioms. Programming in Python 3, Second Edition, brings together all the knowledge you need to write any program, use any standard or third-party Python 3 library, and create new library modules of your own.
Summerfield draws on his many years of Python experience to share deep insights into Python 3 development you won't find anywhere else. He begins by illuminating Python's "beautiful heart": the eight key elements of Python you need to write robust, high-performance programs. Building on these core elements, he introduces new topics designed to strengthen your practical expertise-one concept and hands-on example at a time. Coverage includes
- Developing in Python using procedural, objectoriented, and functional programming paradigms
- Creating custom packages and modules
- Writing and reading binary, text, and XML files, including optional compression, random access, and text and XML parsing
- Leveraging advanced data types, collections, control structures, and functions
- Spreading program workloads across multiple processes and threads
- Programming SQL databases and key--value DBM files
- Debugging techniques-and using Test Driven Development to avoid bugs in the first place
- Utilizing Python's regular expression mini-language and module
- Parsing techniques, including how to use the third-party PyParsing and PLY modules
- Building usable, efficient, GUI-based applications
- Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, coroutines, and more
Programming in Python 3, Second Edition, serves as both tutorial and language reference. It assumes some prior programming experience, and is accompanied by extensive downloadable example code-all of it tested with Python 3 on Windows, Linux, and Mac OS X. This edition covers Python 3.0 and 3.1, and due to the Python language moratorium it is also valid for Python 3.2 which has the same language as Python 3.1.
商品描述(中文翻譯)
《Python 3 程式設計》第二版全新修訂,新增了有關協程、除錯、測試、解析、字串格式化等內容。
Python 3 是迄今為止最好的版本:比以往更強大、方便、一致和表達力更強。現在,領先的 Python 程式設計師 Mark Summerfield 展示了如何充分利用 Python 3 的功能和慣用法來編寫程式碼。《Python 3 程式設計》第二版匯集了您撰寫任何程式所需的所有知識,使用任何標準或第三方 Python 3 函式庫,並創建自己的新函式庫模組。
Summerfield 借助他多年的 Python 經驗,分享了其他地方找不到的 Python 3 開發深入見解。他首先闡明了 Python 的「美麗之心」:您需要撰寫堅固、高效的程式的八個關鍵元素。在這些核心元素的基礎上,他引入了旨在增強您實際專業知識的新主題-每次介紹一個概念和實例。內容包括:
- 使用程序化、物件導向和函數式編程範式在 Python 中進行開發
- 創建自定義套件和模組
- 編寫和讀取二進制、文字和 XML 檔案,包括可選的壓縮、隨機存取以及文字和 XML 解析
- 利用高級資料類型、集合、控制結構和函數
- 在多個進程和執行緒中分散程式工作負載
- 程式設計 SQL 資料庫和鍵值 DBM 檔案
- 除錯技巧-並使用測試驅動開發來避免一開始就出現錯誤
- 利用 Python 的正則表達式迷你語言和模組
- 解析技術,包括如何使用第三方 PyParsing 和 PLY 模組
- 構建可用、高效的基於 GUI 的應用程式
- 高級程式設計技巧,包括生成器、函數和類別裝飾器、上下文管理器、描述符、抽象基類、元類、協程等
《Python 3 程式設計》第二版既是教程又是語言參考。它假設您具有一些先前的程式設計經驗,並附帶大量可下載的範例程式碼-所有這些程式碼都在 Windows、Linux 和 Mac OS X 上使用 Python 3 測試過。本版涵蓋了 Python 3.0 和 3.1,並且由於 Python 語言停用期,它也適用於具有與 Python 3.1 相同「語言」的 Python 3.2。