Home » Programming » The Python 3 Standard Library by Example

The Python 3 Standard Library by Example

The Python 3 Standard Library by Example

  • Author : Doug Hellmann
  • Year : 201
  • Pages : 1456
  • File size : 14.2 MB
  • File format : PDF
  • Category : Programming, Python

Book Description:

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 Hellmann introduces every major area of the Python 3.x library through concise source code and output examples. Hellmann’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 Python standard library modules to their Python 3.x equivalents.

  • Manipulate text with string, textwrap, re (regular expressions), and difflib
  • Use data structures: enum, collections, array, heapq, queue, struct, copy, and more
  • Implement algorithms elegantly and concisely with functools, itertools, and contextlib
  • Handle dates/times and advanced mathematical tasks
  • Archive and data compression
  • Understand data exchange and persistence, including json, dbm, and sqlite
  • Sign and verify messages cryptographically
  • Manage concurrent operations with processes and threads
  • Test, debug, compile, profile, language, import, and package tools
  • Control interaction at runtime with interpreters or the environment

Download eBook


eBooks in the same categorie :

Practical Swift

Download free Practical Swift eBook in PDF

This is the ideal guide to walk you through Xcode and all the latest features Swift 3 has to offer. If you have picked up this book, chances are you k

Beginning Spring Boot 2

Download free Beginning Spring Boot 2 eBook in PDF

Learn Spring Boot and how to build Java-based enterprise, web, and microservice applications with it. In this book, you’ll see how to work with

Streaming Data

Download free Streaming Data eBook in PDF

Streaming Data introduces the concepts and requirements of streaming and real-time data systems. The book is an idea-rich tutorial that teaches you t

Building Chatbots with Python

Download free Building Chatbots with Python eBook in PDF

Build your own chatbot using Python and open source tools. This book begins with an introduction to chatbots where you will gain vital information on

Professional Python

Download free Professional Python eBook in PDF

Master the secret tools every Python programmer needs to know Professional Python goes beyond the basics to teach beginner- and intermediate-level Pyt

Python GUI Programming Cookbook

Download free Python GUI Programming Cookbook eBook in PDF

Python is a multi-domain, interpreted programming language. It is a widely used general-purpose, high-level programming language. It is often used as

Python Machine Learning Case Studies

Download free Python Machine Learning Case Studies eBook in PDF

Embrace machine learning approaches and Python to enable automatic rendering of rich insights and solve business problems. The book uses a hands-on ca