Skip to content
Scan a barcode
Scan
Paperback Python Standard Library [With CDROM] Book

ISBN: 0596000960

ISBN13: 9780596000967

Python Standard Library [With CDROM]

Python Standard Library is an essential guide for serious Python programmers. Python is a modular language that imports most useful operations from the standard library (basic support modules;... This description may be from another edition of this product.

Recommended

Format: Paperback

Condition: Acceptable

$9.29
Save $20.66!
List Price $29.95
Almost Gone, Only 2 Left!

Customer Reviews

4 ratings

Nice Supplemental Text

This is a nice supplemental text for the Standard Library documentation. Sometimes you find yourself puzzled as to how a module is to be used, even after reading the documentation. This book provides a little extra help in that regards by providing concise examples that point you in the right direction.I can't give it five stars because it is a little sparse for the price. Please be warned, the book is almost all code. Don't expect a great deal of explanatory text.

Good guide but not really a reference

This book isn't really a reference for the Python standard library - David Beazley's "Python Essential Reference" probably fills that gap better - but it is a very useful guide to what the library can be used for, with a comprehensive and motivated selection of code examples.

A must-have for the non-expert Python programmer

If you are learning Python, a beginner to intermediate Python programmer, you'll want to get a copy of this book. It won't do as your only Python book, but as a supplement to Learning Python or one of the other introductory Python books, it is invaluable for the non-expert Python programmer. If you bought the first edition of the book, which was available only as an eBook, you'll want this edition as it covers Python 2.0 as well as Python 1.5.2. (The eBook edition covered only Python 1.5.2.)Each chapter begins with a brief summary of what will be covered. Chapter 4 is summarised as follows: "This chapter describes a number of modules that can be used to convert between Python objects and other data representations. These modules are often used to read and write foreign file formats and to store or transfer Python variables." It's terse, to be sure, but it's not meant for someone who has never looked at Python before.Frederik assumes you know which module you want to use and gives you some sample code that shows you how to use it. You might ask on a newsgroup how to parse an HTML file. Someone will answer and tell you to look at either the htmllib or sgmllib module. Great. So, umm, how do you use them? A sample script showing you how to do something with either module or both could save you hours of frustration. Frederik also gives you tips on how best to use a module or when not to use it. For example, in describing the htmllib module, he says "If you're only out to parse an HTML file and not render it to an output device, it's usually easier to use the sgmllib module instead."The book is sprinkled with tips. Early in Chapter 1 he points out that "What you might now know already is that import delegates the actual work to a built-in function called __import__. The trick is that you can call this function directly. This can be handy if you have the module name in a string variable, which imports all modules whose names end with '-plugin'."The books covers: core modules (eg, re, time); more standard modules (eg, file input, md5); threads and processes (eg, thread, pipes); data representation (eg, pickle, base64); file formats (eg, xmllib, zipfile); mail and news message processing (eg, rfc822, mimetypes); network protocols (eg, socket, asyncore); internationalisation (eg, unicodedata); multimedia modules (eg, wave, winsound); data storage (eg, dbhash, gdbm); tools and utilities (eg, pdb, profile); platform-specific modules (eg, pwd, nt); implementation support modules (eg, macpath, ntpath); and other modules (eg, Bastion, calendar, posixfile, regsub).The sample code is printed in Courier and some of the samples are tracked too tightly, making it difficult to read. I assume in production they applied the same tracking values for the body text to the code text. (Tracking is the spacing between a series of characters where kerning is the space between two characters.) But that happens only occasionally.Also included with the book is a CD which contain

Great start for new module textbook

The standard Python modules are presented according to topics, like: threads, file, mail, network, etc. Each module is introduced by a few text lines and then demonstrated by a code sample with it's output. Although not too much is said about each module, it already fills 270 pages for all modules. This book, together with the "Essential Python Reference" will be very helpful to those programmers, who prefer books over online documentation. The book is not yet five stars, because we will later on need a second edition with double the size, to provide further specifications and more explanations. But O'Reilly can't start with an expensive 700 pages book, right away. And it's an advantage for the programmer, for now, that the book is still handy.
Copyright © 2024 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured