Books & Videos

Table of Contents

  1. Getting Started with Python

    1. Chapter 1 Introduction to Python

      1. The Python Language
      2. The Python Standard Library and Extension Modules
      3. Python Implementations
      4. Python Development and Versions
      5. Python Resources
      6. Installation
      7. Installing Python from Binaries
      8. Installing Python from Source Code
      9. Installing Jython
      10. Installing IronPython
      11. Installing PyPy
    2. Chapter 2 The Python Interpreter

      1. The python Program
      2. Python Development Environments
      3. Running Python Programs
      4. The jython Interpreter
      5. The IronPython Interpreter
      6. The PyPy Interpreter
  2. Core Python Language and Built-ins

    1. Chapter 3 The Python Language

      1. Lexical Structure
      2. Data Types
      3. Variables and Other References
      4. Expressions and Operators
      5. Numeric Operations
      6. Sequence Operations
      7. Set Operations
      8. Dictionary Operations
      9. Control Flow Statements
      10. Functions
    2. Chapter 4 Object-Oriented Python

      1. Classes and Instances
      2. Special Methods
      3. Decorators
      4. Metaclasses
    3. Chapter 5 Exceptions

      1. The try Statement
      2. The with Statement and Context Managers
      3. Exception Propagation
      4. The raise Statement
      5. Exception Objects
      6. Custom Exception Classes
      7. Error-Checking Strategies
      8. The assert Statement
    4. Chapter 6 Modules

      1. Module Objects
      2. Module Loading
      3. Packages
      4. Distribution Utilities (distutils) and setuptools
      5. Python Environments
    5. Chapter 7 Core Built-ins and Standard Library Modules

      1. Built-in Types
      2. Built-in Functions
      3. The sys Module
      4. The copy Module
      5. The collections Module
      6. The functools Module
      7. The heapq Module
      8. The argparse Module
      9. The itertools Module
    6. Chapter 8 Strings and Things

      1. Methods of String and Bytes Objects
      2. The string Module
      3. String Formatting
      4. Text Wrapping and Filling
      5. The pprint Module
      6. The reprlib Module
      7. Unicode
    7. Chapter 9 Regular Expressions

      1. Regular Expressions and the re Module
  3. Python Library and Extension Modules

    1. Chapter 10 File and Text Operations

      1. Other Chapters That Also Deal with Files
      2. Organization of This Chapter
      3. The io Module
      4. Auxiliary Modules for File I/O
      5. In-Memory “Files”: io.StringIO and io.BytesIO
      6. Compressed Files
      7. The os Module
      8. Filesystem Operations
      9. Text Input and Output
      10. Richer-Text I/O
      11. Interactive Command Sessions
      12. Internationalization
    2. Chapter 11 Persistence and Databases

      1. Serialization
      2. DBM Modules
      3. Berkeley DB Interfacing
      4. The Python Database API (DBAPI) 2.0
    3. Chapter 12 Time Operations

      1. The time Module
      2. The datetime Module
      3. The pytz Module
      4. The dateutil Module
      5. The sched Module
      6. The calendar Module
    4. Chapter 13 Controlling Execution

      1. Site and User Customization
      2. Termination Functions
      3. Dynamic Execution and exec
      4. Internal Types
      5. Garbage Collection
    5. Chapter 14 Threads and Processes

      1. Threads in Python
      2. The threading Module
      3. The queue Module
      4. The multiprocessing Module
      5. The concurrent.futures Module
      6. Threaded Program Architecture
      7. Process Environment
      8. Running Other Programs
      9. The mmap Module
    6. Chapter 15 Numeric Processing

      1. The math and cmath Modules
      2. The operator Module
      3. Random and Pseudorandom Numbers
      4. The fractions Module
      5. The decimal Module
      6. The gmpy2 Module
      7. Array Processing
      8. The array Module
      9. Extensions for Numeric Array Computation
    7. Chapter 16 Testing, Debugging, and Optimizing

      1. Testing
      2. Debugging
      3. The warnings Module
      4. Optimization
  4. Network and Web Programming

    1. Chapter 17 Networking Basics

      1. Networking Principles
      2. The Berkeley Socket Interface
      3. Transport Layer Security (TLS, AKA SSL)
    2. Chapter 18 Asynchronous Alternatives

      1. Coroutine-Based Async Architectures
      2. The asyncio Module (v3 Only)
      3. The selectors Module
    3. Chapter 19 Client-Side Network Protocol Modules

      1. Email Protocols
      2. HTTP and URL Clients
      3. Other Network Protocols
    4. Chapter 20 Serving HTTP

      1. WSGI
      2. Python Web Frameworks
    5. Chapter 21 Email, MIME, and Other Network Encodings

      1. MIME and Email Format Handling
      2. Encoding Binary Data as ASCII Text
    6. Chapter 22 Structured Text: HTML

      1. The html.entities (v2: htmlentitydefs) Module
      2. Generating HTML
    7. Chapter 23 Structured Text: XML

      1. ElementTree
  5. Extending, Distributing, v2/v3 Migration

    1. Chapter 24 Extending and Embedding Classic Python

      1. Extending Python with Python’s C API
      2. Extending Python Without Python’s C API
      3. Cython
      4. Embedding Python
    2. Chapter 25 Distributing Extensions and Programs

      1. setuptools
      2. Distributing Your Package
    3. Chapter 26 v2/v3 Migration and Coexistence

      1. Preparing for Python 3
      2. Minimizing Syntax Differences
      3. Choosing Your Support Strategy