Python Standard Library (Nutshell Handbooks)

Python Standard Library (Nutshell Handbooks)
by Fredrik Lundh

Python Standard Library (Nutshell Handbooks)
List Price: $29.95
Our Price: $16.78
You Save: $13.17 (44%)
Availability: Usually ships in 1-2 business days
Buy Used: from $10.94 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Fredrik Lundh
Edition: Paperback
Audio: English (Original Language); French (Unknown); English (Published)
Published: 2001-05
ISBN: 0596000960
Number of pages: 300
Publisher: O'Reilly Media, Inc.

Book Reviews of Python Standard Library (Nutshell Handbooks)

Book Review: Has been superceeded
Summary: 3 Stars

I bought this book in 2004 when I was just starting to learn Python. I never once used it. Its not a bad book, just less useful now than in 2001.

The book covers Python 2.0. Anything before 2.2 for any Python book is probably not worth the trouble in 2006 and beyond.

When looking for information about a Python module I look in Alex Martelli's Nutshell book(2.2) and the go to the online Library Reference. The nutshell is good for background and examples and the Library Reference brings things up to 2.4.

If I am not quite sure what I am looking for then the Python Cookbook (2nd edition) is the most help.

Mark Pilgram's Dive into Python is a great, in-depth look at some of the more useful standard library modules.

I hope Alex Marelli updates his Nutsehell book for 2.4.

There are other good books for learning Python but the Nutshell(O'Reilly), Cookbook(O' Reilly), Library Reference(python.org), and Dive into Python(online or an Apress book) do the best job of covering the standard library,

Summary of Python Standard Library (Nutshell Handbooks)

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; operating system interfaces; network protocols; file formats; data conversions; threads and processes; and data storage). You can't really program in Python without using it. In this book, author Fredrik Lundh, creator of the Python Imaging Library (PIL), delivers tested, accurate documentation of all the modules in the Python Standard Library, along with over 300 annotated example scripts using the modules. Python Standard Library renders this valuable information in a clean, easy-to-read format, yet doesn't talk down to readers. This accurate and complete reference documentation is for the Python programmer who wants the facts and little else. The book is based on the author's work with the Python newsgroup: he reviewed more than 2500 questions and answers to that newsgroup in order to make sure the book covered what Python users really wanted to know. An earlier version of this book has been available electronically for over a year, so the material has been tested by Python programmers in real-life applications. This version of Python Standard Library covers all the new modules and related information for Python 2.0, the first new major release of Python in four years.
Ideal for any working Python developer, Fredrik Lundh's Python Standard Library provides an excellent tour of some of the most important modules in today's Python 2.0 standard. Mixing sample code and plenty of expert advice, this title will be indispensable for programmers.

The book presents sample script code--written by a frequent contributor to Python newsgroups--for almost 200 of the built-in modules in Python 2.0 and shows how to solve common programming problems in Python. Instead of a function-based reference, you get sample scripts for a wide variety of solutions centering on different Python modules.

Early sections look at core modules for working with the operating system, math, and strings, among other functions. Material on Python's excellent support for files and directories will help you master the file system. Explanations of various encryption schemes will let you add security to your Python scripts.

Getting Python to multitask with multiple threads comes next, along with getting Python programs to communicate using pipes and signals. After the sample scripts for pickling Python objects to and from files, the book delves into modules that are geared toward today's Internet. First, there's coverage of Python's support for XML, HTML, and SGML, followed by a discussion of its extensive networking support for low-level sockets to high-level Internet protocols, including e-mail and FTP. Sample scripts for e-mail will be really useful for any Python programmer.

Later chapters provide coverage of internationalization support in Python and its support for multimedia. The book closes with material on platform-specific modules (which are specific to Unix and/or Windows) as well as modules that are obsolete but necessary to understanding legacy Python code.

There's a lot of expertise on display in Python Standard Library. The code does much of the talking in this example-packed text, which is sure to earn its place on any working Python programmer's bookshelf. --Richard Dragan

Topics covered:

  • Introduction to the Python 2.0 standard modules
  • Core modules (including modules for operating system functions, string, math, time, and garbage collection)
  • File and directory modules
  • Encryption and security modules
  • Threads, processes, pipes, and signals in Python
  • Persisting Python objects (marshalling and pickling objects)
  • Python modules for XML, HTML, and SGML
  • Modules for e-mail and news support
  • Internet programming with Python (including sockets, a chat example, FTP, SMTP, IMAP, POP, and Telnet)
  • Internationalization support
  • Modules for multimedia support (image and sound files)
  • Data storage in Python (with shelves)
  • Python tools
  • Platform-specific modules (including Unix- and Windows-specific modules)
  • Miscellaneous and legacy Python modules

Object-Oriented Design Books

Book Subjects
Most talked about in Master Python Programming
The Definitive Guide to Plone ImageThe Definitive Guide to Plone
by Andy McKay
Apress; Published: 2004-06-28; Paperback; Book
Best price: $6.26
Price in other shops: $44.99
Rapid Development: Taming Wild Software Schedules ImageRapid Development: Taming Wild Software Schedules
by Steve McConnell
Microsoft Press; Published: 1996-07-02; Paperback; Book
Best price: $6.94
Price in other shops: $35.00
Dive Into Python ImageDive Into Python
by Mark Pilgrim
Apress; Published: 2004-07-19; Paperback; Book
Best price: $28.85
Price in other shops: $39.99
Python Programming: An Introduction to Computer Science ImagePython Programming: An Introduction to Computer Science
by John M. Zelle
Franklin Beedle & Associates; Published: 2003-12; Paperback; Book
Best price: $30.00
Price in other shops: $40.00
Test Driven Development: By Example (Addison-Wesley Signature Series) ImageTest Driven Development: By Example (Addison-Wesley Signature Series)
by Kent Beck
Addison-Wesley Professional; Published: 2002-11-18; Paperback; Book
Best price: $33.14
Price in other shops: $44.99
C Programming Language (2nd Edition) (Prentice Hall Software) ImageC Programming Language (2nd Edition) (Prentice Hall Software)
by Brian W. Kernighan, Dennis M. Ritchie
Prentice Hall PTR; Published: 1988-04-01; Paperback; Book
Best price: $35.00
Price in other shops: $48.67
Python Standard Library (Nutshell Handbooks) ImagePython Standard Library (Nutshell Handbooks)
by Fredrik Lundh
O'Reilly Media, Inc.; Published: 2001-05; Paperback; Book
Best price: $16.78
Price in other shops: $29.95
Zope: Web Application Development and Content Management (Landmark (New Riders)) ImageZope: Web Application Development and Content Management (Landmark (New Riders))
by Jerry Spicklemire, Steve Spicklemire, Kevin Friedly, Kim Brand
Sams; Published: 2001-12-12; Paperback; Book
Best price: $9.98
Price in other shops: $49.99
Refactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series) ImageRefactoring: Improving the Design of Existing Code (Addison-Wesley Object Technology Series)
by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
Addison-Wesley Professional; Published: 1999-07-08; Hardcover; Book
Best price: $39.99
Price in other shops: $59.99
The Pragmatic Programmer: From Journeyman to Master ImageThe Pragmatic Programmer: From Journeyman to Master
by Andrew Hunt, David Thomas
Addison-Wesley Professional; Published: 1999-10-30; Paperback; Book
Best price: $26.95
Price in other shops: $45.99
Similar Books and other products
Foundations of Python Network Programming (Foundations) ImageFoundations of Python Network Programming (Foundations)
by John Goerzen
Apress; Published: 2004-08-17; Paperback; Book
Best price: $31.15
Price in other shops: $44.99
wxPython in Action ImagewxPython in Action
by Noel Rappin, Robin Dunn
Manning Publications; Published: 2006-03-23; Paperback; Book
Best price: $25.55
Price in other shops: $49.95
The Definitive Guide to Django: Web Development Done Right ImageThe Definitive Guide to Django: Web Development Done Right
by Adrian Holovaty, Jacob Kaplan-Moss
Apress; Published: 2007-12-06; Paperback; Book
Best price: $20.48
Price in other shops: $44.99
Python & XML ImagePython & XML
by Christopher A. Jones, Fred L., Jr. Drake
O'Reilly Media, Inc.; Published: 2001-12-15; Paperback; Book
Best price: $16.71
Python Essential Reference (3rd Edition) (Developer's Library) ImagePython Essential Reference (3rd Edition) (Developer's Library)
by David M. Beazley
Sams; Published: 2006-03-02; Paperback; Book
Best price: $25.60
Price in other shops: $44.99
Python Pocket Reference (Pocket Reference (O'Reilly)) ImagePython Pocket Reference (Pocket Reference (O'Reilly))
by Mark Lutz
O'Reilly Media, Inc.; Published: 2005-02-24; Paperback; Book
Best price: $5.57
Price in other shops: $9.95
Python in a Nutshell (In a Nutshell (O'Reilly)) ImagePython in a Nutshell (In a Nutshell (O'Reilly))
by Alex Martelli
O'Reilly Media, Inc.; Published: 2006-07-14; Paperback; Book
Best price: $20.00
Price in other shops: $39.99
Programming Python ImageProgramming Python
by Mark Lutz
Published: 1996-01-15; Paperback; Book
Best price: $44.75
Price in other shops: $44.95
Learning Python (Help for Programmers) ImageLearning Python (Help for Programmers)
by Mark Lutz, David Ascher, Frank Willison
Published: 1999-04; Paperback; Book
Best price: $22.92
Price in other shops: $29.95
Python Cookbook ImagePython Cookbook
by Alex Martelli, Anna Ravenscroft, David Ascher
O'Reilly Media, Inc.; Published: 2005-03-18; Paperback; Book
Best price: $24.97
Price in other shops: $49.95
Book store. Illustrated catalog of books on different categories