The Python Standard Library by Example

0
(0)

The Python Standard Library by Example

作者:DougHellmann

出版社:Addison-WesleyProfessional

出版年:2011-6-11

页数:1344

定价:USD59.99

装帧:Paperback

ISBN:9780321767349

内容简介
······

"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.

作者简介
······

Doug Hellmann目前是Racemi公司的一位高级开发人员,也是Python Software Foundation的信息交流主管。从1.4版开始他就一直在做Python编程,曾在大量UNIX和非UNIX平台上参与项目开发,涉及领域包括地图、医疗新闻播报、金融和数据中心自动化。为《Python Magazine》做了一年普通专栏作家后,他在2008—2009年成为这家杂志的主编。自2007年以来,Doug在他的博客上发表了颇受关注的“Python Module of the Week”系列。他居住在乔治亚州的Athens。

评论 ······

鉴于Doug同志提供了免费版https://pymotw.com/3/index.html,我决定给五星

广而不深

这本书本身是可以写的更好的。作者是把博客的文章编辑成书的。我觉得他编辑的过程不是很用心。只是市面上介绍标准库的书籍很少。

翻阅了一下,书很新,基于Python2.7和3,事无巨细地为几乎全部标准库的功能列举了基本例子。相比官方文档,缺少明确的模块、类、函数定义,而其样例又没好多少,查找起来又麻烦。还是官方文档靠谱……

点击星号评分!

平均分 0 / 5. 投票数: 0

还没有投票!请为他投一票。

推荐阅读

评论 抢沙发

评论前必须登录!

 

登录

找回密码

注册