The Python Standard Library by Example (Developer's Library)

The Python Standard Library by Example (Developer's Library)
Authors
Doug Hellmann
ISBN
0321767349
Published
12 Jun 2011
Purchase online
amazon.com

Master the Powerful Python Standard Library through Real Code ExamplesThe Python Standard Library (PSL) 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 PSL through concise, standalone source code/output examples, designed for easy learning and reuse.

Editorial Reviews

Master the Powerful Python Standard Library through Real Code Examples

The Python Standard Library (PSL) 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 PSL through concise, standalone 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
  • 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 passwords, scheduling events, and logging
  • Testing, debugging, and compilation
  • Controlling runtime configuration
  • Using module and package utilities

If you’re new to the PSL, this book will quickly give you access to a whole new world of functionality. If you’ve worked with the PSL before, you’ll discover new, powerful solutions and better ways to use the modules you’ve already tried.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Java is to JavaScript what Car is to Carpet.” - Chris Heilmann