Programming in Python 3: A Complete Introduction to the Python Language (Paperback)
暫譯: Python 3 程式設計:Python 語言完整入門指南 (平裝本)

Mark Summerfield

  • 出版商: Addison Wesley
  • 出版日期: 2008-12-26
  • 定價: $1,575
  • 售價: 6.0$945
  • 語言: 英文
  • 頁數: 552
  • 裝訂: Paperback
  • ISBN: 0137129297
  • ISBN-13: 9780137129294
  • 相關分類: Python程式語言
  • 立即出貨(限量)

買這商品的人也買了...

相關主題

商品描述

This edition has been superceded by the second edition! The two editions have mostly the same material, apart from corrections and a couple of new chapters in the second edition (which is why it is bigger). They are both around the same price, so the second edition is much better value. This first edition covers Python 3.0; the second edition covers both Python 3.0 and 3.1 (clearly marking the differences.) Keep in mind that 3.1 is the minimum 3.x edition that Python's developers recommend (3.0 won't even get security fixes). Also, thanks to the language moratorium, the Python 3.1 language will be unchanged in Python 3.2 (which will have bugfixes & improvements to the library & many other under the hood improvements of course), so the second edition is good for Python 3.0, 3.1, and 3.2.

Python 3 is the best version of the language yet: It is more powerful, convenient, consistent, and expressive than ever before. Now, Mark Summerfield demonstrates how to write code that takes full advantage of Python 3's features and idioms. The first book written from a completely "Python 3" viewpoint, Programming in Python 3 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. This book's coverage includes

 

  • Developing in Python using procedural, object-oriented, 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
  • Utilizing Python's regular expression mini-language and module
  • Building usable, efficient, GUI-based applications
  • Advanced programming techniques, including generators, function and class decorators, context managers, descriptors, abstract base classes, metaclasses, and more

 

Programming in Python 3 serves as both tutorial and language reference, with all the examples tested on Windows, Linux, and Mac OS X, and downloadable from the author's website.

商品描述(中文翻譯)

本版本已被第二版取代!這兩個版本的內容大致相同,除了第二版的修正和幾個新章節(這也是為什麼它的篇幅更大)。它們的價格相近,因此第二版的性價比更高。本第一版涵蓋了 Python 3.0;而第二版則涵蓋了 Python 3.0 3.1(明確標示出差異)。請注意,3.1 是 Python 開發者推薦的最低 3.x 版本(3.0 甚至不會獲得安全修復)。此外,由於語言的暫停,Python 3.1 語言 在 Python 3.2 中將保持不變(當然,3.2 將包含錯誤修正和庫的改進以及許多其他底層改進),因此第二版適用於 Python 3.0、3.1 3.2。

Python 3 是迄今為止最好的語言版本:它比以往任何時候都更強大、方便、一致和表達力豐富。現在,Mark Summerfield 展示了如何編寫充分利用 Python 3 特性和慣用法的代碼。這是第一本完全從「Python 3」視角撰寫的書籍,Programming in Python 3 集結了您編寫任何程序、使用任何標準或第三方 Python 3 庫以及創建自己新庫模組所需的所有知識。

Summerfield 利用他多年來的 Python 經驗,分享了您在其他地方找不到的 Python 3 開發深刻見解。本書的內容包括:


  • 使用程序式、物件導向和函數式編程範式在 Python 中開發

  • 創建自定義包和模組

  • 編寫和讀取二進制、文本和 XML 文件,包括可選的壓縮、隨機訪問以及文本和 XML 解析

  • 利用高級數據類型、集合、控制結構和函數

  • 將程序工作負載分散到多個進程和線程中

  • 編程 SQL 數據庫和鍵值 DBM 文件

  • 利用 Python 的正則表達式迷你語言和模組

  • 構建可用的、高效的 GUI 應用程序

  • 高級編程技術,包括生成器、函數和類裝飾器、上下文管理器、描述符、抽象基類、 метaclasses 等

Programming in Python 3 同時作為教程和語言參考,所有示例均在 Windows、Linux 和 Mac OS X 上測試,並可從作者的網站下載。