Home > Store > Programming > Python

Python 3 Standard Library by Example, The, 2nd Edition

Register your product to gain access to bonus material or receive a coupon.

Python 3 Standard Library by Example, The, 2nd Edition

Best Value Purchase

Book + eBook Bundle

  • Your Price: $64.79
  • List Price: $107.98
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options

Book

  • Your Price: $47.99
  • List Price: $59.99
  • Estimated Release: Jun 2, 2017

eBook (Watermarked)

  • Your Price: $38.39
  • List Price: $47.99
  • Estimated Release: Jun 9, 2017
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

About

Features

  • Teaches through concise, modular examples
  • Covers text, data structures, algorithms, dates/times, math, files, data management, crypto, processes/threads, networking/Internet, email, developer tools, runtime, modules, packages, and more
  • Fully reflects new Python 3 syntax, PSL’s new layout and naming conventions, and many new modules
  • Includes porting notes summarizing Python 3.x PSL changes every developer needs to know about

Description

  • Copyright 2017
  • Dimensions: 7" x 9"
  • Pages: 1456
  • Edition: 2nd
  • Book
  • ISBN-10: 0-13-429105-0
  • ISBN-13: 978-0-13-429105-5

Master the Powerful Python 3 Standard Library through Real Code Examples

The Python 3 Standard Library contains hundreds of modules for interacting with the operating system, interpreter, and Internet—all extensively tested and ready to jump-start application development. Now, Python expert Doug Hellman introduces every major area of the Python 3.x library through concise source code and output examples. Hellman’s examples fully demonstrate each feature, and are designed for easy learning and reuse.

You’ll find practical code for working with text, data structures, algorithms, dates/times, math, the file system, persistence, data exchange, compression, archiving, crypto, processes/threads, networking, Internet capabilities, email, developer and language tools, the runtime, packages, and more. Each section fully covers one module, with links to additional resources, making this book an ideal tutorial and reference.

The Python 3 Standard Library by Example introduces Python 3.x’s new libraries, significant functionality changes, and new layout and naming conventions. Hellmann also provides expert porting guidance for moving code from 2.x PSL modules to their Python 3.x equivalents.

Coverage includes

  • Manipulating text with string, textwrap, re (regular expressions), and difflib
  • Using data structures: enum, collections, array, heapq, queue, struct, copy, and more
  • Implementing algorithms elegantly and concisely with functools, itertools, and contextlib
  • Handling dates/times and advanced mathematical tasks
  • Data exchange and persistence, including json, dbm, and sqlite
  • Archiving and data compression
  • Signing cryptographically and verifying message integrity
  • Managing concurrent operations with processes and threads
  • Using application “building blocks”
  • Testing, debugging, compilation, profiling, language, import, and package tools
  • Controlling interaction at runtime with interpreters or the environment

For both new and experienced Python developers, this guide will introduce whole new worlds of functionality and better, more powerful ways to get the job done.

Sample Content

Table of Contents

Foreword

Introduction

Acknowledgments

About the Author


Chapter 1: Text

Chapter 2: Data Structures

Chapter 3: Algorithms

Chapter 4: Dates and Times

Chapter 5: Mathematics

Chapter 6: The File System

Chapter 7: Data Persistence and Exchange

Chapter 8: Data Compression and Archiving

Chapter 9: Cryptography

Chapter 10: Concurrency with Processes, Threads, and Coroutines

Chapter 11: Networking

Chapter 12: The Internet

Chapter 13: Email

Chapter 14: Application Building Blocks

Chapter 15: Internationalization and Localization

Chapter 16: Developer Tools

Chapter 17: Runtime Features

Chapter 18: Language Tools

Chapter 19: Modules and Packages

Appendix A: Porting Notes

Appendix B: Outside of the Standard Library


Index of Python Modules

Index

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership