The Python Standard Library by Example (Paperback)
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,550$1,473 -
$600$510 -
$850$723 -
$750$638 -
$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$435 -
$1,160$1,102 -
$680$537 -
$450$356 -
$400$316 -
$980$960 -
$1,200$1,140
相關主題
商品描述
“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、電子郵件、加密、並發性、運行時和語言服務等實用代碼。每個部分都完整涵蓋了一個模塊,並鏈接到有價值的其他資源,使本書成為理想的教程和參考資料。內容包括:
- 使用字符串、textwrap、re和difflib操作文本
- 實現數據結構:collections、array、queue、struct、copy等
- 讀取、寫入和操作文件和目錄
- 正則表達式模式匹配
- 交換數據並提供持久性存儲
- 管理進程和線程
- 使用應用程序“構建塊”:解析命令行選項、提示輸入密碼、安排事件和記錄日誌
- 測試、調試和編譯
- 控制運行時配置
- 使用模塊和包工具
如果您是Python的新手,本書將迅速為您提供訪問全新功能的機會。如果您以前使用過Python,您將發現新的強大解決方案,以及更好地使用您已經嘗試過的模塊的方法。