The Python Standard Library by Example (Paperback)
暫譯: Python 標準庫範例解析 (平裝本)
Doug Hellmann
- 出版商: Addison Wesley
- 出版日期: 2011-06-11
- 定價: $1,980
- 售價: 6.0 折 $1,188
- 語言: 英文
- 頁數: 1302
- 裝訂: Paperback
- ISBN: 0321767349
- ISBN-13: 9780321767349
-
相關分類:
Python、程式語言
-
其他版本:
The Python 3 Standard Library by Example (Paperback)
買這商品的人也買了...
-
$880$695 -
$1,362Fundamentals of Data Structures in C, 2/e (Paperback)
-
$1,580$1,501 -
$600$510 -
$850$723 -
$750$593 -
$480$384 -
$950$808 -
$490$382 -
$590$502 -
$680$537 -
$420$332 -
$680$537 -
$880$695 -
$580$458 -
$450$351 -
$400$316 -
$580$458 -
$580$458 -
$1,160$1,102 -
$680$537 -
$450$315 -
$400$316 -
$980$960 -
$1,220$1,159
商品描述
“Hellmann’s writing has become an indispensable resource for me and many others as it fills a critical gap in Python Documentation with examples.”
— Jesse Noller, Python Core Developer and PSF Board Member
Master the Powerful Python Standard Library through Real Code Examples
The Python Standard Library contains hundreds of modules for interacting with the operating system, interpreter, and Internet—all extensively tested and ready to jump-start your application development. The Python Standard Library by Example introduces virtually every important area of the Python 2.7 library through concise, stand-alone source code/output examples, designed for easy learning and reuse.
Building on his popular Python Module of the Week blog series, author and Python expert Doug Hellmann focuses on “showing” not “telling.” He explains code behavior through downloadable examples that fully demonstrate each feature.
You’ll find practical code for working with text, data types, algorithms, math, file systems, networking, the Internet, XML, email, cryptography, concurrency, runtime and language services, and much more. Each section fully covers one module, and links to valuable additional resources, making this book an ideal tutorial and reference. Coverage includes
- Manipulating text with string, textwrap, re, and difflib
- Implementing data structures: collections, array, queue, struct, copy, and more
- Reading, writing, and manipulating files and directories
- Regular expression pattern matching
- Exchanging data and providing for persistence Archiving and data compression
- Managing processes and threads
- Using application “building blocks”: parsing command-line options, prompting for passwords, scheduling events, and logging
- Testing, debugging, and compilation
- Controlling runtime configuration
- Using module and package utilities
If you’re new to Python, this book will quickly give you access to a whole new world of functionality. If you’ve worked with Python before, you’ll discover new, powerful solutions and better ways to use the modules you’ve already tried.
商品描述(中文翻譯)
「Hellmann 的著作對我和許多人來說已成為不可或缺的資源,因為它填補了 Python 文檔中的一個關鍵空白,提供了範例。」
— Jesse Noller,Python 核心開發者及 PSF 董事會成員
掌握強大的 Python 標準庫,透過實際的程式碼範例
Python 標準庫包含數百個模組,用於與作業系統、解譯器和互聯網互動——這些模組都經過廣泛測試,隨時可以啟動您的應用程式開發。《Python 標準庫範例》幾乎介紹了 Python 2.7 標準庫中的每一個重要領域,透過簡潔、獨立的源代碼/輸出範例,旨在便於學習和重用。
基於他受歡迎的《Python 每週模組》部落格系列,作者及 Python 專家 Doug Hellmann 專注於「展示」而非「告訴」。他透過可下載的範例來解釋程式碼行為,這些範例充分展示了每個功能。
您將找到實用的程式碼,用於處理文本、數據類型、演算法、數學、檔案系統、網路、互聯網、XML、電子郵件、加密、併發、運行時和語言服務等。每個部分都完整涵蓋一個模組,並鏈接到有價值的附加資源,使本書成為理想的教程和參考資料。內容包括:
- 使用 string、textwrap、re 和 difflib 操作文本
- 實現數據結構:collections、array、queue、struct、copy 等
- 讀取、寫入和操作檔案及目錄
- 正則表達式模式匹配
- 數據交換和持久性提供,檔案歸檔和數據壓縮
- 管理進程和線程
- 使用應用程式「構建塊」:解析命令行選項、提示密碼、排程事件和日誌記錄
- 測試、除錯和編譯
- 控制運行時配置
- 使用模組和包工具
如果您是 Python 新手,本書將迅速讓您接觸到全新的功能世界。如果您之前已經使用過 Python,您將發現新的強大解決方案以及更好的使用已嘗試模組的方法。