> **Источник:** https://python-all.ru/3.2/contents.html
>
> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.

---

# Содержание документации Python

- [Что нового в Python](https://python-all.ru/3.2/whatsnew/index.html)

  - [Что нового в Python 3.2](https://python-all.ru/3.2/whatsnew/3.2.html)

    - [PEP 384: Определение стабильного ABI](https://python-all.ru/3.2/whatsnew/3.2.html#pep-384-defining-a-stable-abi)
    - [PEP 389: Модуль разбора командной строки argparse](https://python-all.ru/3.2/whatsnew/3.2.html#pep-389-argparse-command-line-parsing-module)
    - [PEP 391: Конфигурация логирования на основе словарей](https://python-all.ru/3.2/whatsnew/3.2.html#pep-391-dictionary-based-configuration-for-logging)
    - [PEP 3148: модуль `concurrent.futures`](https://python-all.ru/3.2/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module)
    - [PEP 3147: Каталоги репозитория PYC](https://python-all.ru/3.2/whatsnew/3.2.html#pep-3147-pyc-repository-directories)
    - [PEP 3149: Файлы .so с тегом версии ABI](https://python-all.ru/3.2/whatsnew/3.2.html#pep-3149-abi-version-tagged-so-files)
    - [PEP 3333: Интерфейс шлюза веб-сервера Python v1.0.1](https://python-all.ru/3.2/whatsnew/3.2.html#pep-3333-python-web-server-gateway-interface-v1-0-1)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/3.2.html#other-language-changes)
    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.2/whatsnew/3.2.html#new-improved-and-deprecated-modules)

      - [email](https://python-all.ru/3.2/whatsnew/3.2.html#email)
      - [elementtree](https://python-all.ru/3.2/whatsnew/3.2.html#elementtree)
      - [functools](https://python-all.ru/3.2/whatsnew/3.2.html#functools)
      - [itertools](https://python-all.ru/3.2/whatsnew/3.2.html#itertools)
      - [collections](https://python-all.ru/3.2/whatsnew/3.2.html#collections)
      - [threading](https://python-all.ru/3.2/whatsnew/3.2.html#threading)
      - [datetime и time](https://python-all.ru/3.2/whatsnew/3.2.html#datetime-and-time)
      - [math](https://python-all.ru/3.2/whatsnew/3.2.html#math)
      - [abc](https://python-all.ru/3.2/whatsnew/3.2.html#abc)
      - [io](https://python-all.ru/3.2/whatsnew/3.2.html#io)
      - [reprlib](https://python-all.ru/3.2/whatsnew/3.2.html#reprlib)
      - [logging](https://python-all.ru/3.2/whatsnew/3.2.html#logging)
      - [csv](https://python-all.ru/3.2/whatsnew/3.2.html#csv)
      - [contextlib](https://python-all.ru/3.2/whatsnew/3.2.html#contextlib)
      - [decimal и fractions](https://python-all.ru/3.2/whatsnew/3.2.html#decimal-and-fractions)
      - [ftp](https://python-all.ru/3.2/whatsnew/3.2.html#ftp)
      - [popen](https://python-all.ru/3.2/whatsnew/3.2.html#popen)
      - [select](https://python-all.ru/3.2/whatsnew/3.2.html#select)
      - [gzip и zipfile](https://python-all.ru/3.2/whatsnew/3.2.html#gzip-and-zipfile)
      - [tarfile](https://python-all.ru/3.2/whatsnew/3.2.html#tarfile)
      - [hashlib](https://python-all.ru/3.2/whatsnew/3.2.html#hashlib)
      - [ast](https://python-all.ru/3.2/whatsnew/3.2.html#ast)
      - [os](https://python-all.ru/3.2/whatsnew/3.2.html#os)
      - [shutil](https://python-all.ru/3.2/whatsnew/3.2.html#shutil)
      - [sqlite3](https://python-all.ru/3.2/whatsnew/3.2.html#sqlite3)
      - [html](https://python-all.ru/3.2/whatsnew/3.2.html#html)
      - [сокет](https://python-all.ru/3.2/whatsnew/3.2.html#socket)
      - [ssl](https://python-all.ru/3.2/whatsnew/3.2.html#ssl)
      - [nntp](https://python-all.ru/3.2/whatsnew/3.2.html#nntp)
      - [сертификаты](https://python-all.ru/3.2/whatsnew/3.2.html#certificates)
      - [imaplib](https://python-all.ru/3.2/whatsnew/3.2.html#imaplib)
      - [http.client](https://python-all.ru/3.2/whatsnew/3.2.html#http-client)
      - [unittest](https://python-all.ru/3.2/whatsnew/3.2.html#unittest)
      - [random](https://python-all.ru/3.2/whatsnew/3.2.html#random)
      - [poplib](https://python-all.ru/3.2/whatsnew/3.2.html#poplib)
      - [asyncore](https://python-all.ru/3.2/whatsnew/3.2.html#asyncore)
      - [tempfile](https://python-all.ru/3.2/whatsnew/3.2.html#tempfile)
      - [inspect](https://python-all.ru/3.2/whatsnew/3.2.html#inspect)
      - [pydoc](https://python-all.ru/3.2/whatsnew/3.2.html#pydoc)
      - [dis](https://python-all.ru/3.2/whatsnew/3.2.html#dis)
      - [dbm](https://python-all.ru/3.2/whatsnew/3.2.html#dbm)
      - [ctypes](https://python-all.ru/3.2/whatsnew/3.2.html#ctypes)
      - [site](https://python-all.ru/3.2/whatsnew/3.2.html#site)
      - [sysconfig](https://python-all.ru/3.2/whatsnew/3.2.html#sysconfig)
      - [pdb](https://python-all.ru/3.2/whatsnew/3.2.html#pdb)
      - [configparser](https://python-all.ru/3.2/whatsnew/3.2.html#configparser)
      - [urllib.parse](https://python-all.ru/3.2/whatsnew/3.2.html#urllib-parse)
      - [mailbox](https://python-all.ru/3.2/whatsnew/3.2.html#mailbox)
      - [turtledemo](https://python-all.ru/3.2/whatsnew/3.2.html#turtledemo)
    - [Многопоточность](https://python-all.ru/3.2/whatsnew/3.2.html#multi-threading)
    - [Оптимизации](https://python-all.ru/3.2/whatsnew/3.2.html#optimizations)
    - [Юникод](https://python-all.ru/3.2/whatsnew/3.2.html#unicode)
    - [Кодеки](https://python-all.ru/3.2/whatsnew/3.2.html#codecs)
    - [Документация](https://python-all.ru/3.2/whatsnew/3.2.html#documentation)
    - [IDLE](https://python-all.ru/3.2/whatsnew/3.2.html#idle)
    - [Репозиторий кода](https://python-all.ru/3.2/whatsnew/3.2.html#code-repository)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/3.2.html#build-and-c-api-changes)
    - [Переход на Python 3.2](https://python-all.ru/3.2/whatsnew/3.2.html#porting-to-python-3-2)
  - [Что нового в Python 3.1](https://python-all.ru/3.2/whatsnew/3.1.html)

    - [PEP 372: Упорядоченные словари](https://python-all.ru/3.2/whatsnew/3.1.html#pep-372-ordered-dictionaries)
    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.2/whatsnew/3.1.html#pep-378-format-specifier-for-thousands-separator)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/3.1.html#other-language-changes)
    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.2/whatsnew/3.1.html#new-improved-and-deprecated-modules)
    - [Оптимизации](https://python-all.ru/3.2/whatsnew/3.1.html#optimizations)
    - [IDLE](https://python-all.ru/3.2/whatsnew/3.1.html#idle)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/3.1.html#build-and-c-api-changes)
    - [Переход на Python 3.1](https://python-all.ru/3.2/whatsnew/3.1.html#porting-to-python-3-1)
  - [Что нового в Python 3.0](https://python-all.ru/3.2/whatsnew/3.0.html)

    - [Типичные трудности](https://python-all.ru/3.2/whatsnew/3.0.html#common-stumbling-blocks)

      - [Print – это функция](https://python-all.ru/3.2/whatsnew/3.0.html#print-is-a-function)
      - [Представления и итераторы вместо списков](https://python-all.ru/3.2/whatsnew/3.0.html#views-and-iterators-instead-of-lists)
      - [Сравнение на упорядочивание](https://python-all.ru/3.2/whatsnew/3.0.html#ordering-comparisons)
      - [Целые числа](https://python-all.ru/3.2/whatsnew/3.0.html#integers)
      - [Текст против данных: вместо Unicode и 8-битных строк](https://python-all.ru/3.2/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit)
    - [Обзор изменений синтаксиса](https://python-all.ru/3.2/whatsnew/3.0.html#overview-of-syntax-changes)

      - [Новый синтаксис](https://python-all.ru/3.2/whatsnew/3.0.html#new-syntax)
      - [Изменённый синтаксис](https://python-all.ru/3.2/whatsnew/3.0.html#changed-syntax)
      - [Удалённый синтаксис](https://python-all.ru/3.2/whatsnew/3.0.html#removed-syntax)
    - [Изменения, уже присутствовавшие в Python 2.6](https://python-all.ru/3.2/whatsnew/3.0.html#changes-already-present-in-python-2-6)
    - [Изменения в библиотеке](https://python-all.ru/3.2/whatsnew/3.0.html#library-changes)
    - [**PEP 3101**: Новый подход к форматированию строк](https://python-all.ru/3.2/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting)
    - [Изменения в исключениях](https://python-all.ru/3.2/whatsnew/3.0.html#changes-to-exceptions)
    - [Прочие изменения](https://python-all.ru/3.2/whatsnew/3.0.html#miscellaneous-other-changes)

      - [Операторы и специальные методы](https://python-all.ru/3.2/whatsnew/3.0.html#operators-and-special-methods)
      - [Встроенные функции](https://python-all.ru/3.2/whatsnew/3.0.html#builtins)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/3.0.html#build-and-c-api-changes)
    - [Производительность](https://python-all.ru/3.2/whatsnew/3.0.html#performance)
    - [Переход на Python 3.0](https://python-all.ru/3.2/whatsnew/3.0.html#porting-to-python-3-0)
  - [Что нового в Python 2.7](https://python-all.ru/3.2/whatsnew/2.7.html)

    - [Будущее Python 2.x](https://python-all.ru/3.2/whatsnew/2.7.html#the-future-for-python-2-x)
    - [Возможности Python 3.1](https://python-all.ru/3.2/whatsnew/2.7.html#python-3-1-features)
    - [PEP 372: Добавление упорядоченного словаря в collections](https://python-all.ru/3.2/whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections)
    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.2/whatsnew/2.7.html#pep-378-format-specifier-for-thousands-separator)
    - [PEP 389: Модуль argparse для разбора командной строки](https://python-all.ru/3.2/whatsnew/2.7.html#pep-389-the-argparse-module-for-parsing-command-lines)
    - [PEP 391: Конфигурация логирования на основе словаря](https://python-all.ru/3.2/whatsnew/2.7.html#pep-391-dictionary-based-configuration-for-logging)
    - [PEP 3106: Представления словаря](https://python-all.ru/3.2/whatsnew/2.7.html#pep-3106-dictionary-views)
    - [PEP 3137: Объект memoryview](https://python-all.ru/3.2/whatsnew/2.7.html#pep-3137-the-memoryview-object)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/2.7.html#other-language-changes)

      - [Изменения в интерпретаторе](https://python-all.ru/3.2/whatsnew/2.7.html#interpreter-changes)
      - [Оптимизации](https://python-all.ru/3.2/whatsnew/2.7.html#optimizations)
    - [Новые и улучшенные модули](https://python-all.ru/3.2/whatsnew/2.7.html#new-and-improved-modules)

      - [Новый модуль: importlib](https://python-all.ru/3.2/whatsnew/2.7.html#new-module-importlib)
      - [Новый модуль: sysconfig](https://python-all.ru/3.2/whatsnew/2.7.html#new-module-sysconfig)
      - [ttk: Тематические виджеты для Tk](https://python-all.ru/3.2/whatsnew/2.7.html#ttk-themed-widgets-for-tk)
      - [Обновлённый модуль: unittest](https://python-all.ru/3.2/whatsnew/2.7.html#updated-module-unittest)
      - [Обновлённый модуль: ElementTree 1.3](https://python-all.ru/3.2/whatsnew/2.7.html#updated-module-elementtree-1-3)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/2.7.html#build-and-c-api-changes)

      - [Капсулы](https://python-all.ru/3.2/whatsnew/2.7.html#capsules)
      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.2/whatsnew/2.7.html#port-specific-changes-windows)
      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.2/whatsnew/2.7.html#port-specific-changes-mac-os-x)
      - [Изменения для конкретной платформы: FreeBSD](https://python-all.ru/3.2/whatsnew/2.7.html#port-specific-changes-freebsd)
    - [Прочие изменения и исправления](https://python-all.ru/3.2/whatsnew/2.7.html#other-changes-and-fixes)
    - [Переход на Python 2.7](https://python-all.ru/3.2/whatsnew/2.7.html#porting-to-python-2-7)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.7.html#acknowledgements)
  - [Что нового в Python 2.6](https://python-all.ru/3.2/whatsnew/2.6.html)

    - [Python 3.0](https://python-all.ru/3.2/whatsnew/2.6.html#python-3-0)
    - [Изменения в процессе разработки](https://python-all.ru/3.2/whatsnew/2.6.html#changes-to-the-development-process)

      - [Новый трекер ошибок: Roundup](https://python-all.ru/3.2/whatsnew/2.6.html#new-issue-tracker-roundup)
      - [Новый формат документации: reStructuredText с использованием Sphinx](https://python-all.ru/3.2/whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx)
    - [PEP 343: Оператор 'with'](https://python-all.ru/3.2/whatsnew/2.6.html#pep-343-the-with-statement)

      - [Написание контекстных менеджеров](https://python-all.ru/3.2/whatsnew/2.6.html#writing-context-managers)
      - [Модуль contextlib](https://python-all.ru/3.2/whatsnew/2.6.html#the-contextlib-module)
    - [PEP 366: Явные относительные импорты из главного модуля](https://python-all.ru/3.2/whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module)
    - [PEP 370: Пользовательская `site-packages` директория](https://python-all.ru/3.2/whatsnew/2.6.html#pep-370-per-user-site-packages-directory)
    - [PEP 371: Пакет `multiprocessing`](https://python-all.ru/3.2/whatsnew/2.6.html#pep-371-the-multiprocessing-package)
    - [PEP 3101: Расширенное форматирование строк](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3101-advanced-string-formatting)
    - [PEP 3105: `print` как функция](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3105-print-as-a-function)
    - [PEP 3110: Изменения в обработке исключений](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3110-exception-handling-changes)
    - [PEP 3112: Байтовые литералы](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3112-byte-literals)
    - [PEP 3116: Новая библиотека ввода-вывода](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3116-new-i-o-library)
    - [PEP 3118: Пересмотренный протокол буферов](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3118-revised-buffer-protocol)
    - [PEP 3119: Абстрактные базовые классы](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3119-abstract-base-classes)
    - [PEP 3127: Поддержка и синтаксис целочисленных литералов](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax)
    - [PEP 3129: Декораторы классов](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3129-class-decorators)
    - [PEP 3141: Иерархия типов для чисел](https://python-all.ru/3.2/whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers)

      - [Модуль `fractions`](https://python-all.ru/3.2/whatsnew/2.6.html#the-fractions-module)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/2.6.html#other-language-changes)

      - [Оптимизации](https://python-all.ru/3.2/whatsnew/2.6.html#optimizations)
      - [Изменения в интерпретаторе](https://python-all.ru/3.2/whatsnew/2.6.html#interpreter-changes)
    - [Новые и улучшенные модули](https://python-all.ru/3.2/whatsnew/2.6.html#new-and-improved-modules)

      - [Модуль `ast`](https://python-all.ru/3.2/whatsnew/2.6.html#the-ast-module)
      - [Модуль `future_builtins`](https://python-all.ru/3.2/whatsnew/2.6.html#the-future-builtins-module)
      - [Модуль `json`: JavaScript Object Notation](https://python-all.ru/3.2/whatsnew/2.6.html#the-json-module-javascript-object-notation)
      - [Модуль `plistlib`: парсер списков свойств](https://python-all.ru/3.2/whatsnew/2.6.html#the-plistlib-module-a-property-list-parser)
      - [Улучшения ctypes](https://python-all.ru/3.2/whatsnew/2.6.html#ctypes-enhancements)
      - [Улучшенная поддержка SSL](https://python-all.ru/3.2/whatsnew/2.6.html#improved-ssl-support)
    - [Устаревания и удаления](https://python-all.ru/3.2/whatsnew/2.6.html#deprecations-and-removals)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/2.6.html#build-and-c-api-changes)

      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.2/whatsnew/2.6.html#port-specific-changes-windows)
      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.2/whatsnew/2.6.html#port-specific-changes-mac-os-x)
      - [Изменения для конкретных платформ: IRIX](https://python-all.ru/3.2/whatsnew/2.6.html#port-specific-changes-irix)
    - [Переход на Python 2.6](https://python-all.ru/3.2/whatsnew/2.6.html#porting-to-python-2-6)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.6.html#acknowledgements)
  - [Что нового в Python 2.5](https://python-all.ru/3.2/whatsnew/2.5.html)

    - [PEP 308: Условные выражения](https://python-all.ru/3.2/whatsnew/2.5.html#pep-308-conditional-expressions)
    - [PEP 309: Частичное применение функций](https://python-all.ru/3.2/whatsnew/2.5.html#pep-309-partial-function-application)
    - [PEP 314: Метаданные для пакетов Python v1.1](https://python-all.ru/3.2/whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1)
    - [PEP 328: Абсолютные и относительные импорты](https://python-all.ru/3.2/whatsnew/2.5.html#pep-328-absolute-and-relative-imports)
    - [PEP 338: Выполнение модулей как сценариев](https://python-all.ru/3.2/whatsnew/2.5.html#pep-338-executing-modules-as-scripts)
    - [PEP 341: Единый try/except/finally](https://python-all.ru/3.2/whatsnew/2.5.html#pep-341-unified-try-except-finally)
    - [PEP 342: Новые возможности генераторов](https://python-all.ru/3.2/whatsnew/2.5.html#pep-342-new-generator-features)
    - [PEP 343: Оператор 'with'](https://python-all.ru/3.2/whatsnew/2.5.html#pep-343-the-with-statement)

      - [Написание контекстных менеджеров](https://python-all.ru/3.2/whatsnew/2.5.html#writing-context-managers)
      - [Модуль contextlib](https://python-all.ru/3.2/whatsnew/2.5.html#the-contextlib-module)
    - [PEP 352: Исключения как классы нового стиля](https://python-all.ru/3.2/whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes)
    - [PEP 353: Использование ssize\_t в качестве типа индекса](https://python-all.ru/3.2/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type)
    - [PEP 357: Метод '\_\_index\_\_'](https://python-all.ru/3.2/whatsnew/2.5.html#pep-357-the-index-method)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/2.5.html#other-language-changes)

      - [Изменения в интерактивном интерпретаторе](https://python-all.ru/3.2/whatsnew/2.5.html#interactive-interpreter-changes)
      - [Оптимизации](https://python-all.ru/3.2/whatsnew/2.5.html#optimizations)
    - [Новые, улучшенные и удалённые модули](https://python-all.ru/3.2/whatsnew/2.5.html#new-improved-and-removed-modules)

      - [Пакет ctypes](https://python-all.ru/3.2/whatsnew/2.5.html#the-ctypes-package)
      - [Пакет ElementTree](https://python-all.ru/3.2/whatsnew/2.5.html#the-elementtree-package)
      - [Пакет hashlib](https://python-all.ru/3.2/whatsnew/2.5.html#the-hashlib-package)
      - [Пакет sqlite3](https://python-all.ru/3.2/whatsnew/2.5.html#the-sqlite3-package)
      - [Пакет wsgiref](https://python-all.ru/3.2/whatsnew/2.5.html#the-wsgiref-package)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/2.5.html#build-and-c-api-changes)

      - [Изменения для конкретных платформ](https://python-all.ru/3.2/whatsnew/2.5.html#port-specific-changes)
    - [Перенос на Python 2.5](https://python-all.ru/3.2/whatsnew/2.5.html#porting-to-python-2-5)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.5.html#acknowledgements)
  - [Что нового в Python 2.4](https://python-all.ru/3.2/whatsnew/2.4.html)

    - [PEP 218: Встроенные объекты множеств](https://python-all.ru/3.2/whatsnew/2.4.html#pep-218-built-in-set-objects)
    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.2/whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers)
    - [PEP 289: Генераторные выражения](https://python-all.ru/3.2/whatsnew/2.4.html#pep-289-generator-expressions)
    - [PEP 292: Упрощённая подстановка строк](https://python-all.ru/3.2/whatsnew/2.4.html#pep-292-simpler-string-substitutions)
    - [PEP 318: Декораторы для функций и методов](https://python-all.ru/3.2/whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods)
    - [PEP 322: Обратная итерация](https://python-all.ru/3.2/whatsnew/2.4.html#pep-322-reverse-iteration)
    - [PEP 324: Новый модуль подпроцесса](https://python-all.ru/3.2/whatsnew/2.4.html#pep-324-new-subprocess-module)
    - [PEP 327: Тип данных Decimal](https://python-all.ru/3.2/whatsnew/2.4.html#pep-327-decimal-data-type)

      - [Зачем нужен Decimal?](https://python-all.ru/3.2/whatsnew/2.4.html#why-is-decimal-needed)
      - [Тип `Decimal`](https://python-all.ru/3.2/whatsnew/2.4.html#the-decimal-type)
      - [Тип `Context`](https://python-all.ru/3.2/whatsnew/2.4.html#the-context-type)
    - [PEP 328: Многострочные импорты](https://python-all.ru/3.2/whatsnew/2.4.html#pep-328-multi-line-imports)
    - [PEP 331: Независящие от локали преобразования float/строк](https://python-all.ru/3.2/whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/2.4.html#other-language-changes)

      - [Оптимизации](https://python-all.ru/3.2/whatsnew/2.4.html#optimizations)
    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.2/whatsnew/2.4.html#new-improved-and-deprecated-modules)

      - [cookielib](https://python-all.ru/3.2/whatsnew/2.4.html#cookielib)
      - [doctest](https://python-all.ru/3.2/whatsnew/2.4.html#doctest)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/2.4.html#build-and-c-api-changes)

      - [Изменения для конкретных платформ](https://python-all.ru/3.2/whatsnew/2.4.html#port-specific-changes)
    - [Перенос на Python 2.4](https://python-all.ru/3.2/whatsnew/2.4.html#porting-to-python-2-4)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.4.html#acknowledgements)
  - [Что нового в Python 2.3](https://python-all.ru/3.2/whatsnew/2.3.html)

    - [PEP 218: Стандартный тип set](https://python-all.ru/3.2/whatsnew/2.3.html#pep-218-a-standard-set-datatype)
    - [PEP 255: простые генераторы](https://python-all.ru/3.2/whatsnew/2.3.html#pep-255-simple-generators)
    - [PEP 263: Кодировки исходного кода](https://python-all.ru/3.2/whatsnew/2.3.html#pep-263-source-code-encodings)
    - [PEP 273: Импорт модулей из ZIP-архивов](https://python-all.ru/3.2/whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives)
    - [PEP 277: Поддержка имён файлов в Unicode для Windows NT](https://python-all.ru/3.2/whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt)
    - [PEP 278: Универсальная поддержка символов новой строки](https://python-all.ru/3.2/whatsnew/2.3.html#pep-278-universal-newline-support)
    - [PEP 279: enumerate()](https://python-all.ru/3.2/whatsnew/2.3.html#pep-279-enumerate)
    - [PEP 282: Пакет logging](https://python-all.ru/3.2/whatsnew/2.3.html#pep-282-the-logging-package)
    - [PEP 285: Булев тип](https://python-all.ru/3.2/whatsnew/2.3.html#pep-285-a-boolean-type)
    - [PEP 293: Колбэки обработки ошибок кодеков](https://python-all.ru/3.2/whatsnew/2.3.html#pep-293-codec-error-handling-callbacks)
    - [PEP 301: Индекс пакетов и метаданные для Distutils](https://python-all.ru/3.2/whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils)
    - [PEP 302: Новые хуки импорта](https://python-all.ru/3.2/whatsnew/2.3.html#pep-302-new-import-hooks)
    - [PEP 305: Файлы с разделителями-запятыми](https://python-all.ru/3.2/whatsnew/2.3.html#pep-305-comma-separated-files)
    - [PEP 307: Улучшения pickle](https://python-all.ru/3.2/whatsnew/2.3.html#pep-307-pickle-enhancements)
    - [Расширенные срезы](https://python-all.ru/3.2/whatsnew/2.3.html#extended-slices)
    - [Прочие изменения языка](https://python-all.ru/3.2/whatsnew/2.3.html#other-language-changes)

      - [Изменения в строках](https://python-all.ru/3.2/whatsnew/2.3.html#string-changes)
      - [Оптимизации](https://python-all.ru/3.2/whatsnew/2.3.html#optimizations)
    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.2/whatsnew/2.3.html#new-improved-and-deprecated-modules)

      - [Тип даты/времени](https://python-all.ru/3.2/whatsnew/2.3.html#date-time-type)
      - [Модуль optparse](https://python-all.ru/3.2/whatsnew/2.3.html#the-optparse-module)
    - [Pymalloc: Специализированный аллокатор объектов](https://python-all.ru/3.2/whatsnew/2.3.html#pymalloc-a-specialized-object-allocator)
    - [Изменения в сборке и C API](https://python-all.ru/3.2/whatsnew/2.3.html#build-and-c-api-changes)

      - [Изменения для конкретных платформ](https://python-all.ru/3.2/whatsnew/2.3.html#port-specific-changes)
    - [Прочие изменения и исправления](https://python-all.ru/3.2/whatsnew/2.3.html#other-changes-and-fixes)
    - [Перенос на Python 2.3](https://python-all.ru/3.2/whatsnew/2.3.html#porting-to-python-2-3)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.3.html#acknowledgements)
  - [Что нового в Python 2.2](https://python-all.ru/3.2/whatsnew/2.2.html)

    - [Введение](https://python-all.ru/3.2/whatsnew/2.2.html#introduction)
    - [PEP 252 и 253: изменения типов и классов](https://python-all.ru/3.2/whatsnew/2.2.html#peps-252-and-253-type-and-class-changes)

      - [Старые и новые классы](https://python-all.ru/3.2/whatsnew/2.2.html#old-and-new-classes)
      - [Дескрипторы](https://python-all.ru/3.2/whatsnew/2.2.html#descriptors)
      - [Множественное наследование: правило ромба](https://python-all.ru/3.2/whatsnew/2.2.html#multiple-inheritance-the-diamond-rule)
      - [Доступ к атрибутам](https://python-all.ru/3.2/whatsnew/2.2.html#attribute-access)
      - [Связанные ссылки](https://python-all.ru/3.2/whatsnew/2.2.html#related-links)
    - [PEP 234: итераторы](https://python-all.ru/3.2/whatsnew/2.2.html#pep-234-iterators)
    - [PEP 255: простые генераторы](https://python-all.ru/3.2/whatsnew/2.2.html#pep-255-simple-generators)
    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.2/whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers)
    - [PEP 238: изменение оператора деления](https://python-all.ru/3.2/whatsnew/2.2.html#pep-238-changing-the-division-operator)
    - [Изменения в Unicode](https://python-all.ru/3.2/whatsnew/2.2.html#unicode-changes)
    - [PEP 227: вложенные области видимости](https://python-all.ru/3.2/whatsnew/2.2.html#pep-227-nested-scopes)
    - [Новые и улучшенные модули](https://python-all.ru/3.2/whatsnew/2.2.html#new-and-improved-modules)
    - [Изменения и исправления интерпретатора](https://python-all.ru/3.2/whatsnew/2.2.html#interpreter-changes-and-fixes)
    - [Прочие изменения и исправления](https://python-all.ru/3.2/whatsnew/2.2.html#other-changes-and-fixes)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.2.html#acknowledgements)
  - [Что нового в Python 2.1](https://python-all.ru/3.2/whatsnew/2.1.html)

    - [Введение](https://python-all.ru/3.2/whatsnew/2.1.html#introduction)
    - [PEP 227: вложенные области видимости](https://python-all.ru/3.2/whatsnew/2.1.html#pep-227-nested-scopes)
    - [PEP 236: директивы \_\_future\_\_](https://python-all.ru/3.2/whatsnew/2.1.html#pep-236-future-directives)
    - [PEP 207: расширенные сравнения](https://python-all.ru/3.2/whatsnew/2.1.html#pep-207-rich-comparisons)
    - [PEP 230: инфраструктура предупреждений](https://python-all.ru/3.2/whatsnew/2.1.html#pep-230-warning-framework)
    - [PEP 229: новая система сборки](https://python-all.ru/3.2/whatsnew/2.1.html#pep-229-new-build-system)
    - [PEP 205: слабые ссылки](https://python-all.ru/3.2/whatsnew/2.1.html#pep-205-weak-references)
    - [PEP 232: атрибуты функций](https://python-all.ru/3.2/whatsnew/2.1.html#pep-232-function-attributes)
    - [PEP 235: импорт модулей на платформах, нечувствительных к регистру](https://python-all.ru/3.2/whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms)
    - [PEP 217: интерактивный перехватчик вывода](https://python-all.ru/3.2/whatsnew/2.1.html#pep-217-interactive-display-hook)
    - [PEP 208: новая модель приведения типов](https://python-all.ru/3.2/whatsnew/2.1.html#pep-208-new-coercion-model)
    - [PEP 241: метаданные в пакетах Python](https://python-all.ru/3.2/whatsnew/2.1.html#pep-241-metadata-in-python-packages)
    - [Новые и улучшенные модули](https://python-all.ru/3.2/whatsnew/2.1.html#new-and-improved-modules)
    - [Прочие изменения и исправления](https://python-all.ru/3.2/whatsnew/2.1.html#other-changes-and-fixes)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.1.html#acknowledgements)
  - [Что нового в Python 2.0](https://python-all.ru/3.2/whatsnew/2.0.html)

    - [Введение](https://python-all.ru/3.2/whatsnew/2.0.html#introduction)
    - [А что насчёт Python 1.6?](https://python-all.ru/3.2/whatsnew/2.0.html#what-about-python-1-6)
    - [Новый процесс разработки](https://python-all.ru/3.2/whatsnew/2.0.html#new-development-process)
    - [Юникод](https://python-all.ru/3.2/whatsnew/2.0.html#unicode)
    - [Списковые включения](https://python-all.ru/3.2/whatsnew/2.0.html#list-comprehensions)
    - [Расширенное присваивание](https://python-all.ru/3.2/whatsnew/2.0.html#augmented-assignment)
    - [Методы строк](https://python-all.ru/3.2/whatsnew/2.0.html#string-methods)
    - [Сборка мусора циклических ссылок](https://python-all.ru/3.2/whatsnew/2.0.html#garbage-collection-of-cycles)
    - [Другие изменения ядра](https://python-all.ru/3.2/whatsnew/2.0.html#other-core-changes)

      - [Мелкие изменения языка](https://python-all.ru/3.2/whatsnew/2.0.html#minor-language-changes)
      - [Изменения встроенных функций](https://python-all.ru/3.2/whatsnew/2.0.html#changes-to-built-in-functions)
    - [Перенос на 2.0](https://python-all.ru/3.2/whatsnew/2.0.html#porting-to-2-0)
    - [Изменения в расширении/встраивании](https://python-all.ru/3.2/whatsnew/2.0.html#extending-embedding-changes)
    - [Distutils: упрощение установки модулей](https://python-all.ru/3.2/whatsnew/2.0.html#distutils-making-modules-easy-to-install)
    - [Модули XML](https://python-all.ru/3.2/whatsnew/2.0.html#xml-modules)

      - [Поддержка SAX2](https://python-all.ru/3.2/whatsnew/2.0.html#sax2-support)
      - [Поддержка DOM](https://python-all.ru/3.2/whatsnew/2.0.html#dom-support)
      - [Связь с PyXML](https://python-all.ru/3.2/whatsnew/2.0.html#relationship-to-pyxml)
    - [Изменения модулей](https://python-all.ru/3.2/whatsnew/2.0.html#module-changes)
    - [Новые модули](https://python-all.ru/3.2/whatsnew/2.0.html#new-modules)
    - [Улучшения IDLE](https://python-all.ru/3.2/whatsnew/2.0.html#idle-improvements)
    - [Удалённые и устаревшие модули](https://python-all.ru/3.2/whatsnew/2.0.html#deleted-and-deprecated-modules)
    - [Благодарности](https://python-all.ru/3.2/whatsnew/2.0.html#acknowledgements)
- [Учебник Python](https://python-all.ru/3.2/tutorial/index.html)

  - [1. Введение](https://python-all.ru/3.2/tutorial/appetite.html)
  - [2. Использование интерпретатора Python](https://python-all.ru/3.2/tutorial/interpreter.html)

    - [2.1. Запуск интерпретатора](https://python-all.ru/3.2/tutorial/interpreter.html#invoking-the-interpreter)

      - [2.1.1. Передача аргументов](https://python-all.ru/3.2/tutorial/interpreter.html#argument-passing)
      - [2.1.2. Интерактивный режим](https://python-all.ru/3.2/tutorial/interpreter.html#interactive-mode)
    - [2.2. Интерпретатор и его окружение](https://python-all.ru/3.2/tutorial/interpreter.html#the-interpreter-and-its-environment)

      - [2.2.1. Обработка ошибок](https://python-all.ru/3.2/tutorial/interpreter.html#error-handling)
      - [2.2.2. Исполняемые скрипты Python](https://python-all.ru/3.2/tutorial/interpreter.html#executable-python-scripts)
      - [2.2.3. Кодировка исходного кода](https://python-all.ru/3.2/tutorial/interpreter.html#source-code-encoding)
      - [2.2.4. Интерактивный файл запуска](https://python-all.ru/3.2/tutorial/interpreter.html#the-interactive-startup-file)
      - [2.2.5. Модули настройки](https://python-all.ru/3.2/tutorial/interpreter.html#the-customization-modules)
  - [3. Неформальное введение в Python](https://python-all.ru/3.2/tutorial/introduction.html)

    - [3.1. Использование Python в качестве калькулятора](https://python-all.ru/3.2/tutorial/introduction.html#using-python-as-a-calculator)

      - [3.1.1. Числа](https://python-all.ru/3.2/tutorial/introduction.html#numbers)
      - [3.1.2. Строки](https://python-all.ru/3.2/tutorial/introduction.html#strings)
      - [3.1.3. О Unicode](https://python-all.ru/3.2/tutorial/introduction.html#about-unicode)
      - [3.1.4. Списки](https://python-all.ru/3.2/tutorial/introduction.html#lists)
    - [3.2. Первые шаги к программированию](https://python-all.ru/3.2/tutorial/introduction.html#first-steps-towards-programming)
  - [4. Дополнительные средства управления потоком](https://python-all.ru/3.2/tutorial/controlflow.html)

    - [4.1. `if` Инструкции](https://python-all.ru/3.2/tutorial/controlflow.html#if-statements)
    - [4.2. `for` Инструкции](https://python-all.ru/3.2/tutorial/controlflow.html#for-statements)
    - [4.3. Функция `range()`](https://python-all.ru/3.2/tutorial/controlflow.html#the-range-function)
    - [4.4. `break` и `continue` инструкции, а также `else` предложения в циклах](https://python-all.ru/3.2/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)
    - [4.5. `pass` Инструкции](https://python-all.ru/3.2/tutorial/controlflow.html#pass-statements)
    - [4.6. Определение функций](https://python-all.ru/3.2/tutorial/controlflow.html#defining-functions)
    - [4.7. Подробнее об определении функций](https://python-all.ru/3.2/tutorial/controlflow.html#more-on-defining-functions)

      - [4.7.1. Значения аргументов по умолчанию](https://python-all.ru/3.2/tutorial/controlflow.html#default-argument-values)
      - [4.7.2. Именованные аргументы](https://python-all.ru/3.2/tutorial/controlflow.html#keyword-arguments)
      - [4.7.3. Произвольные списки аргументов](https://python-all.ru/3.2/tutorial/controlflow.html#arbitrary-argument-lists)
      - [4.7.4. Распаковка списков аргументов](https://python-all.ru/3.2/tutorial/controlflow.html#unpacking-argument-lists)
      - [4.7.5. Лямбда-выражения](https://python-all.ru/3.2/tutorial/controlflow.html#lambda-forms)
      - [4.7.6. Строки документации](https://python-all.ru/3.2/tutorial/controlflow.html#documentation-strings)
      - [4.7.7. Аннотации функций](https://python-all.ru/3.2/tutorial/controlflow.html#function-annotations)
    - [4.8. Интермеццо: стиль кодирования](https://python-all.ru/3.2/tutorial/controlflow.html#intermezzo-coding-style)
  - [5. Структуры данных](https://python-all.ru/3.2/tutorial/datastructures.html)

    - [5.1. Подробнее о списках](https://python-all.ru/3.2/tutorial/datastructures.html#more-on-lists)

      - [5.1.1. Использование списков как стеков](https://python-all.ru/3.2/tutorial/datastructures.html#using-lists-as-stacks)
      - [5.1.2. Использование списков как очередей](https://python-all.ru/3.2/tutorial/datastructures.html#using-lists-as-queues)
      - [5.1.3. Списковые включения](https://python-all.ru/3.2/tutorial/datastructures.html#list-comprehensions)
      - [5.1.4. Вложенные списковые включения](https://python-all.ru/3.2/tutorial/datastructures.html#nested-list-comprehensions)
    - [5.2. Инструкция `del`](https://python-all.ru/3.2/tutorial/datastructures.html#the-del-statement)
    - [5.3. Кортежи и последовательности](https://python-all.ru/3.2/tutorial/datastructures.html#tuples-and-sequences)
    - [5.4. Множества](https://python-all.ru/3.2/tutorial/datastructures.html#sets)
    - [5.5. Словари](https://python-all.ru/3.2/tutorial/datastructures.html#dictionaries)
    - [5.6. Приёмы работы с циклами](https://python-all.ru/3.2/tutorial/datastructures.html#looping-techniques)
    - [5.7. Подробнее об условиях](https://python-all.ru/3.2/tutorial/datastructures.html#more-on-conditions)
    - [5.8. Сравнение последовательностей и других типов](https://python-all.ru/3.2/tutorial/datastructures.html#comparing-sequences-and-other-types)
  - [6. Модули](https://python-all.ru/3.2/tutorial/modules.html)

    - [6.1. Подробнее о модулях](https://python-all.ru/3.2/tutorial/modules.html#more-on-modules)

      - [6.1.1. Запуск модулей как скриптов](https://python-all.ru/3.2/tutorial/modules.html#executing-modules-as-scripts)
      - [6.1.2. Путь поиска модулей](https://python-all.ru/3.2/tutorial/modules.html#the-module-search-path)
      - [6.1.3. «Скомпилированные» файлы Python](https://python-all.ru/3.2/tutorial/modules.html#compiled-python-files)
    - [6.2. Стандартные модули](https://python-all.ru/3.2/tutorial/modules.html#standard-modules)
    - [6.3. Функция `dir()`](https://python-all.ru/3.2/tutorial/modules.html#the-dir-function)
    - [6.4. Пакеты](https://python-all.ru/3.2/tutorial/modules.html#packages)

      - [6.4.1. Импорт \* из пакета](https://python-all.ru/3.2/tutorial/modules.html#importing-from-a-package)
      - [6.4.2. Ссылки внутри пакета](https://python-all.ru/3.2/tutorial/modules.html#intra-package-references)
      - [6.4.3. Пакеты в нескольких каталогах](https://python-all.ru/3.2/tutorial/modules.html#packages-in-multiple-directories)
  - [7. Ввод и вывод](https://python-all.ru/3.2/tutorial/inputoutput.html)

    - [7.1. Более сложное форматирование вывода](https://python-all.ru/3.2/tutorial/inputoutput.html#fancier-output-formatting)

      - [7.1.1. Старое форматирование строк](https://python-all.ru/3.2/tutorial/inputoutput.html#old-string-formatting)
    - [7.2. Чтение и запись файлов](https://python-all.ru/3.2/tutorial/inputoutput.html#reading-and-writing-files)

      - [7.2.1. Методы файловых объектов](https://python-all.ru/3.2/tutorial/inputoutput.html#methods-of-file-objects)
      - [7.2.2. Модуль `pickle`](https://python-all.ru/3.2/tutorial/inputoutput.html#the-pickle-module)
  - [8. Ошибки и исключения](https://python-all.ru/3.2/tutorial/errors.html)

    - [8.1. Синтаксические ошибки](https://python-all.ru/3.2/tutorial/errors.html#syntax-errors)
    - [8.2. Исключения](https://python-all.ru/3.2/tutorial/errors.html#exceptions)
    - [8.3. Обработка исключений](https://python-all.ru/3.2/tutorial/errors.html#handling-exceptions)
    - [8.4. Возбуждение исключений](https://python-all.ru/3.2/tutorial/errors.html#raising-exceptions)
    - [8.5. Пользовательские исключения](https://python-all.ru/3.2/tutorial/errors.html#user-defined-exceptions)
    - [8.6. Определение действий по очистке](https://python-all.ru/3.2/tutorial/errors.html#defining-clean-up-actions)
    - [8.7. Предопределённые действия по очистке](https://python-all.ru/3.2/tutorial/errors.html#predefined-clean-up-actions)
  - [9. Классы](https://python-all.ru/3.2/tutorial/classes.html)

    - [9.1. Несколько слов об именах и объектах](https://python-all.ru/3.2/tutorial/classes.html#a-word-about-names-and-objects)
    - [9.2. Области видимости и пространства имён Python](https://python-all.ru/3.2/tutorial/classes.html#python-scopes-and-namespaces)

      - [9.2.1. Пример областей видимости и пространств имён](https://python-all.ru/3.2/tutorial/classes.html#scopes-and-namespaces-example)
    - [9.3. Первое знакомство с классами](https://python-all.ru/3.2/tutorial/classes.html#a-first-look-at-classes)

      - [9.3.1. Синтаксис определения класса](https://python-all.ru/3.2/tutorial/classes.html#class-definition-syntax)
      - [9.3.2. Объекты классов](https://python-all.ru/3.2/tutorial/classes.html#class-objects)
      - [9.3.3. Объекты экземпляров](https://python-all.ru/3.2/tutorial/classes.html#instance-objects)
      - [9.3.4. Объекты методов](https://python-all.ru/3.2/tutorial/classes.html#method-objects)
    - [9.4. Разные замечания](https://python-all.ru/3.2/tutorial/classes.html#random-remarks)
    - [9.5. Наследование](https://python-all.ru/3.2/tutorial/classes.html#inheritance)

      - [9.5.1. Множественное наследование](https://python-all.ru/3.2/tutorial/classes.html#multiple-inheritance)
    - [9.6. Приватные переменные](https://python-all.ru/3.2/tutorial/classes.html#private-variables)
    - [9.7. Разное](https://python-all.ru/3.2/tutorial/classes.html#odds-and-ends)
    - [9.8. Исключения – тоже классы](https://python-all.ru/3.2/tutorial/classes.html#exceptions-are-classes-too)
    - [9.9. Итераторы](https://python-all.ru/3.2/tutorial/classes.html#iterators)
    - [9.10. Генераторы](https://python-all.ru/3.2/tutorial/classes.html#generators)
    - [9.11. Генераторные выражения](https://python-all.ru/3.2/tutorial/classes.html#generator-expressions)
  - [10. Краткий обзор стандартной библиотеки](https://python-all.ru/3.2/tutorial/stdlib.html)

    - [10.1. Интерфейс операционной системы](https://python-all.ru/3.2/tutorial/stdlib.html#operating-system-interface)
    - [10.2. Файловые шаблоны](https://python-all.ru/3.2/tutorial/stdlib.html#file-wildcards)
    - [10.3. Аргументы командной строки](https://python-all.ru/3.2/tutorial/stdlib.html#command-line-arguments)
    - [10.4. Перенаправление вывода ошибок и завершение программы](https://python-all.ru/3.2/tutorial/stdlib.html#error-output-redirection-and-program-termination)
    - [10.5. Поиск по шаблону в строках](https://python-all.ru/3.2/tutorial/stdlib.html#string-pattern-matching)
    - [10.6. Математика](https://python-all.ru/3.2/tutorial/stdlib.html#mathematics)
    - [10.7. Доступ в Интернет](https://python-all.ru/3.2/tutorial/stdlib.html#internet-access)
    - [10.8. Даты и время](https://python-all.ru/3.2/tutorial/stdlib.html#dates-and-times)
    - [10.9. Сжатие данных](https://python-all.ru/3.2/tutorial/stdlib.html#data-compression)
    - [10.10. Измерение производительности](https://python-all.ru/3.2/tutorial/stdlib.html#performance-measurement)
    - [10.11. Контроль качества](https://python-all.ru/3.2/tutorial/stdlib.html#quality-control)
    - [10.12. Батарейки в комплекте](https://python-all.ru/3.2/tutorial/stdlib.html#batteries-included)
  - [11. Краткий обзор стандартной библиотеки – Часть II](https://python-all.ru/3.2/tutorial/stdlib2.html)

    - [11.1. Форматирование вывода](https://python-all.ru/3.2/tutorial/stdlib2.html#output-formatting)
    - [11.2. Шаблоны](https://python-all.ru/3.2/tutorial/stdlib2.html#templating)
    - [11.3. Работа с двоичными данными и структурами записей](https://python-all.ru/3.2/tutorial/stdlib2.html#working-with-binary-data-record-layouts)
    - [11.4. Многопоточность](https://python-all.ru/3.2/tutorial/stdlib2.html#multi-threading)
    - [11.5. Логирование](https://python-all.ru/3.2/tutorial/stdlib2.html#logging)
    - [11.6. Слабые ссылки](https://python-all.ru/3.2/tutorial/stdlib2.html#weak-references)
    - [11.7. Инструменты для работы со списками](https://python-all.ru/3.2/tutorial/stdlib2.html#tools-for-working-with-lists)
    - [11.8. Десятичная арифметика с плавающей запятой](https://python-all.ru/3.2/tutorial/stdlib2.html#decimal-floating-point-arithmetic)
  - [12. Что дальше?](https://python-all.ru/3.2/tutorial/whatnow.html)
  - [13. Интерактивное редактирование ввода и подстановка истории](https://python-all.ru/3.2/tutorial/interactive.html)

    - [13.1. Редактирование строк](https://python-all.ru/3.2/tutorial/interactive.html#line-editing)
    - [13.2. Подстановка истории](https://python-all.ru/3.2/tutorial/interactive.html#history-substitution)
    - [13.3. Привязки клавиш](https://python-all.ru/3.2/tutorial/interactive.html#key-bindings)
    - [13.4. Альтернативы интерактивному интерпретатору](https://python-all.ru/3.2/tutorial/interactive.html#alternatives-to-the-interactive-interpreter)
  - [14. Арифметика с плавающей запятой: проблемы и ограничения](https://python-all.ru/3.2/tutorial/floatingpoint.html)

    - [14.1. Ошибка представления](https://python-all.ru/3.2/tutorial/floatingpoint.html#representation-error)
- [Настройка и использование Python](https://python-all.ru/3.2/using/index.html)

  - [1. Командная строка и окружение](https://python-all.ru/3.2/using/cmdline.html)

    - [1.1. Командная строка](https://python-all.ru/3.2/using/cmdline.html#command-line)

      - [1.1.1. Параметры интерфейса](https://python-all.ru/3.2/using/cmdline.html#interface-options)
      - [1.1.2. Общие параметры](https://python-all.ru/3.2/using/cmdline.html#generic-options)
      - [1.1.3. Прочие параметры](https://python-all.ru/3.2/using/cmdline.html#miscellaneous-options)
      - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.2/using/cmdline.html#options-you-shouldn-t-use)
    - [1.2. Переменные окружения](https://python-all.ru/3.2/using/cmdline.html#environment-variables)

      - [1.2.1. Переменные режима отладки](https://python-all.ru/3.2/using/cmdline.html#debug-mode-variables)
  - [2. Использование Python на платформах Unix](https://python-all.ru/3.2/using/unix.html)

    - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.2/using/unix.html#getting-and-installing-the-latest-version-of-python)

      - [2.1.1. В Linux](https://python-all.ru/3.2/using/unix.html#on-linux)
      - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.2/using/unix.html#on-freebsd-and-openbsd)
      - [2.1.3. В OpenSolaris](https://python-all.ru/3.2/using/unix.html#on-opensolaris)
    - [2.2. Сборка Python](https://python-all.ru/3.2/using/unix.html#building-python)
    - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.2/using/unix.html#python-related-paths-and-files)
    - [2.4. Прочее](https://python-all.ru/3.2/using/unix.html#miscellaneous)
    - [2.5. Редакторы](https://python-all.ru/3.2/using/unix.html#editors)
  - [3. Использование Python в Windows](https://python-all.ru/3.2/using/windows.html)

    - [3.1. Установка Python](https://python-all.ru/3.2/using/windows.html#installing-python)
    - [3.2. Альтернативные сборки](https://python-all.ru/3.2/using/windows.html#alternative-bundles)
    - [3.3. Настройка Python](https://python-all.ru/3.2/using/windows.html#configuring-python)

      - [3.3.1. Экскурс: Установка переменных окружения](https://python-all.ru/3.2/using/windows.html#excursus-setting-environment-variables)
      - [3.3.2. Поиск исполняемого файла Python](https://python-all.ru/3.2/using/windows.html#finding-the-python-executable)
      - [3.3.3. Поиск модулей](https://python-all.ru/3.2/using/windows.html#finding-modules)
      - [3.3.4. Выполнение скриптов](https://python-all.ru/3.2/using/windows.html#executing-scripts)
    - [3.4. Дополнительные модули](https://python-all.ru/3.2/using/windows.html#additional-modules)

      - [3.4.1. PyWin32](https://python-all.ru/3.2/using/windows.html#pywin32)
      - [3.4.2. Py2exe](https://python-all.ru/3.2/using/windows.html#py2exe)
      - [3.4.3. WConio](https://python-all.ru/3.2/using/windows.html#wconio)
    - [3.5. Компиляция Python в Windows](https://python-all.ru/3.2/using/windows.html#compiling-python-on-windows)
    - [3.6. Другие ресурсы](https://python-all.ru/3.2/using/windows.html#other-resources)
  - [4. Использование Python на Macintosh](https://python-all.ru/3.2/using/mac.html)

    - [4.1. Получение и установка MacPython](https://python-all.ru/3.2/using/mac.html#getting-and-installing-macpython)

      - [4.1.1. Как запустить скрипт Python](https://python-all.ru/3.2/using/mac.html#how-to-run-a-python-script)
      - [4.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.2/using/mac.html#running-scripts-with-a-gui)
      - [4.1.3. Конфигурация](https://python-all.ru/3.2/using/mac.html#configuration)
    - [4.2. IDE](https://python-all.ru/3.2/using/mac.html#the-ide)
    - [4.3. Установка дополнительных пакетов Python](https://python-all.ru/3.2/using/mac.html#installing-additional-python-packages)
    - [4.4. Программирование графического интерфейса на Mac](https://python-all.ru/3.2/using/mac.html#gui-programming-on-the-mac)
    - [4.5. Распространение приложений Python на Mac](https://python-all.ru/3.2/using/mac.html#distributing-python-applications-on-the-mac)
    - [4.6. Прочие ресурсы](https://python-all.ru/3.2/using/mac.html#other-resources)
- [Справочник по языку Python](https://python-all.ru/3.2/reference/index.html)

  - [1. Введение](https://python-all.ru/3.2/reference/introduction.html)

    - [1.1. Альтернативные реализации](https://python-all.ru/3.2/reference/introduction.html#alternate-implementations)
    - [1.2. Обозначения](https://python-all.ru/3.2/reference/introduction.html#notation)
  - [2. Лексический анализ](https://python-all.ru/3.2/reference/lexical_analysis.html)

    - [2.1. Структура строк](https://python-all.ru/3.2/reference/lexical_analysis.html#line-structure)

      - [2.1.1. Логические строки](https://python-all.ru/3.2/reference/lexical_analysis.html#logical-lines)
      - [2.1.2. Физические строки](https://python-all.ru/3.2/reference/lexical_analysis.html#physical-lines)
      - [2.1.3. Комментарии](https://python-all.ru/3.2/reference/lexical_analysis.html#comments)
      - [2.1.4. Объявление кодировки](https://python-all.ru/3.2/reference/lexical_analysis.html#encoding-declarations)
      - [2.1.5. Явное объединение строк](https://python-all.ru/3.2/reference/lexical_analysis.html#explicit-line-joining)
      - [2.1.6. Неявное объединение строк](https://python-all.ru/3.2/reference/lexical_analysis.html#implicit-line-joining)
      - [2.1.7. Пустые строки](https://python-all.ru/3.2/reference/lexical_analysis.html#blank-lines)
      - [2.1.8. Отступы](https://python-all.ru/3.2/reference/lexical_analysis.html#indentation)
      - [2.1.9. Пробелы между токенами](https://python-all.ru/3.2/reference/lexical_analysis.html#whitespace-between-tokens)
    - [2.2. Другие токены](https://python-all.ru/3.2/reference/lexical_analysis.html#other-tokens)
    - [2.3. Идентификаторы и ключевые слова](https://python-all.ru/3.2/reference/lexical_analysis.html#identifiers)

      - [2.3.1. Ключевые слова](https://python-all.ru/3.2/reference/lexical_analysis.html#keywords)
      - [2.3.2. Зарезервированные классы идентификаторов](https://python-all.ru/3.2/reference/lexical_analysis.html#reserved-classes-of-identifiers)
    - [2.4. Литералы](https://python-all.ru/3.2/reference/lexical_analysis.html#literals)

      - [2.4.1. Строковые и байтовые литералы](https://python-all.ru/3.2/reference/lexical_analysis.html#string-and-bytes-literals)
      - [2.4.2. Конкатенация строковых литералов](https://python-all.ru/3.2/reference/lexical_analysis.html#string-literal-concatenation)
      - [2.4.3. Числовые литералы](https://python-all.ru/3.2/reference/lexical_analysis.html#numeric-literals)
      - [2.4.4. Целочисленные литералы](https://python-all.ru/3.2/reference/lexical_analysis.html#integer-literals)
      - [2.4.5. Литералы с плавающей точкой](https://python-all.ru/3.2/reference/lexical_analysis.html#floating-point-literals)
      - [2.4.6. Литералы мнимых чисел](https://python-all.ru/3.2/reference/lexical_analysis.html#imaginary-literals)
    - [2.5. Операторы](https://python-all.ru/3.2/reference/lexical_analysis.html#operators)
    - [2.6. Разделители](https://python-all.ru/3.2/reference/lexical_analysis.html#delimiters)
  - [3. Модель данных](https://python-all.ru/3.2/reference/datamodel.html)

    - [3.1. Объекты, значения и типы](https://python-all.ru/3.2/reference/datamodel.html#objects-values-and-types)
    - [3.2. Стандартная иерархия типов](https://python-all.ru/3.2/reference/datamodel.html#the-standard-type-hierarchy)
    - [3.3. Имена специальных методов](https://python-all.ru/3.2/reference/datamodel.html#special-method-names)

      - [3.3.1. Базовая настройка](https://python-all.ru/3.2/reference/datamodel.html#basic-customization)
      - [3.3.2. Настройка доступа к атрибутам](https://python-all.ru/3.2/reference/datamodel.html#customizing-attribute-access)

        - [3.3.2.1. Реализация дескрипторов](https://python-all.ru/3.2/reference/datamodel.html#implementing-descriptors)
        - [3.3.2.2. Вызов дескрипторов](https://python-all.ru/3.2/reference/datamodel.html#invoking-descriptors)
        - [3.3.2.3. \_\_slots\_\_](https://python-all.ru/3.2/reference/datamodel.html#slots)

          - [3.3.2.3.1. Примечания по использованию *\_\_slots\_\_*](https://python-all.ru/3.2/reference/datamodel.html#notes-on-using-slots)
      - [3.3.3. Настройка создания классов](https://python-all.ru/3.2/reference/datamodel.html#customizing-class-creation)
      - [3.3.4. Настройка проверок принадлежности экземплярам и подклассам](https://python-all.ru/3.2/reference/datamodel.html#customizing-instance-and-subclass-checks)
      - [3.3.5. Эмуляция вызываемых объектов](https://python-all.ru/3.2/reference/datamodel.html#emulating-callable-objects)
      - [3.3.6. Эмуляция контейнерных типов](https://python-all.ru/3.2/reference/datamodel.html#emulating-container-types)
      - [3.3.7. Эмуляция числовых типов](https://python-all.ru/3.2/reference/datamodel.html#emulating-numeric-types)
      - [3.3.8. Контекстные менеджеры with](https://python-all.ru/3.2/reference/datamodel.html#with-statement-context-managers)
      - [3.3.9. Поиск специальных методов](https://python-all.ru/3.2/reference/datamodel.html#special-method-lookup)
  - [4. Модель выполнения](https://python-all.ru/3.2/reference/executionmodel.html)

    - [4.1. Именование и связывание](https://python-all.ru/3.2/reference/executionmodel.html#naming-and-binding)

      - [4.1.1. Взаимодействие с динамическими возможностями](https://python-all.ru/3.2/reference/executionmodel.html#interaction-with-dynamic-features)
    - [4.2. Исключения](https://python-all.ru/3.2/reference/executionmodel.html#exceptions)
  - [5. Выражения](https://python-all.ru/3.2/reference/expressions.html)

    - [5.1. Арифметические преобразования](https://python-all.ru/3.2/reference/expressions.html#arithmetic-conversions)
    - [5.2. Атомы](https://python-all.ru/3.2/reference/expressions.html#atoms)

      - [5.2.1. Идентификаторы (имена)](https://python-all.ru/3.2/reference/expressions.html#atom-identifiers)
      - [5.2.2. Литералы](https://python-all.ru/3.2/reference/expressions.html#literals)
      - [5.2.3. Формы в скобках](https://python-all.ru/3.2/reference/expressions.html#parenthesized-forms)
      - [5.2.4. Отображения списков, множеств и словарей](https://python-all.ru/3.2/reference/expressions.html#displays-for-lists-sets-and-dictionaries)
      - [5.2.5. Отображения списков](https://python-all.ru/3.2/reference/expressions.html#list-displays)
      - [5.2.6. Отображения множеств](https://python-all.ru/3.2/reference/expressions.html#set-displays)
      - [5.2.7. Отображения словарей](https://python-all.ru/3.2/reference/expressions.html#dictionary-displays)
      - [5.2.8. Генераторные выражения](https://python-all.ru/3.2/reference/expressions.html#generator-expressions)
      - [5.2.9. Выражения yield](https://python-all.ru/3.2/reference/expressions.html#yield-expressions)

        - [5.2.9.1. Методы генератор-итератора](https://python-all.ru/3.2/reference/expressions.html#generator-iterator-methods)
    - [5.3. Первичные элементы](https://python-all.ru/3.2/reference/expressions.html#primaries)

      - [5.3.1. Ссылки на атрибуты](https://python-all.ru/3.2/reference/expressions.html#attribute-references)
      - [5.3.2. Индексация](https://python-all.ru/3.2/reference/expressions.html#subscriptions)
      - [5.3.3. Срезы](https://python-all.ru/3.2/reference/expressions.html#slicings)
      - [5.3.4. Вызовы](https://python-all.ru/3.2/reference/expressions.html#calls)
    - [5.4. Оператор возведения в степень](https://python-all.ru/3.2/reference/expressions.html#the-power-operator)
    - [5.5. Унарные арифметические и побитовые операции](https://python-all.ru/3.2/reference/expressions.html#unary-arithmetic-and-bitwise-operations)
    - [5.6. Бинарные арифметические операции](https://python-all.ru/3.2/reference/expressions.html#binary-arithmetic-operations)
    - [5.7. Операции сдвига](https://python-all.ru/3.2/reference/expressions.html#shifting-operations)
    - [5.8. Бинарные побитовые операции](https://python-all.ru/3.2/reference/expressions.html#binary-bitwise-operations)
    - [5.9. Сравнения](https://python-all.ru/3.2/reference/expressions.html#not-in)
    - [5.10. Булевы операции](https://python-all.ru/3.2/reference/expressions.html#boolean-operations)
    - [5.11. Условные выражения](https://python-all.ru/3.2/reference/expressions.html#conditional-expressions)
    - [5.12. Лямбда-выражения](https://python-all.ru/3.2/reference/expressions.html#lambda)
    - [5.13. Списки выражений](https://python-all.ru/3.2/reference/expressions.html#expression-lists)
    - [5.14. Порядок вычисления](https://python-all.ru/3.2/reference/expressions.html#evaluation-order)
    - [5.15. Приоритет операторов](https://python-all.ru/3.2/reference/expressions.html#operator-precedence)
  - [6. Простые инструкции](https://python-all.ru/3.2/reference/simple_stmts.html)

    - [6.1. Инструкции-выражения](https://python-all.ru/3.2/reference/simple_stmts.html#expression-statements)
    - [6.2. Инструкции присваивания](https://python-all.ru/3.2/reference/simple_stmts.html#assignment-statements)

      - [6.2.1. Инструкции присваивания с операцией](https://python-all.ru/3.2/reference/simple_stmts.html#augmented-assignment-statements)
    - [6.3. Инструкция `assert`](https://python-all.ru/3.2/reference/simple_stmts.html#the-assert-statement)
    - [6.4. Инструкция `pass`](https://python-all.ru/3.2/reference/simple_stmts.html#the-pass-statement)
    - [6.5. Инструкция `del`](https://python-all.ru/3.2/reference/simple_stmts.html#the-del-statement)
    - [6.6. Оператор `return`](https://python-all.ru/3.2/reference/simple_stmts.html#the-return-statement)
    - [6.7. Оператор `yield`](https://python-all.ru/3.2/reference/simple_stmts.html#the-yield-statement)
    - [6.8. Оператор `raise`](https://python-all.ru/3.2/reference/simple_stmts.html#the-raise-statement)
    - [6.9. Оператор `break`](https://python-all.ru/3.2/reference/simple_stmts.html#the-break-statement)
    - [6.10. Оператор `continue`](https://python-all.ru/3.2/reference/simple_stmts.html#the-continue-statement)
    - [6.11. Оператор `import`](https://python-all.ru/3.2/reference/simple_stmts.html#the-import-statement)

      - [6.11.1. Инструкции future](https://python-all.ru/3.2/reference/simple_stmts.html#future-statements)
    - [6.12. Оператор `global`](https://python-all.ru/3.2/reference/simple_stmts.html#the-global-statement)
    - [6.13. Оператор `nonlocal`](https://python-all.ru/3.2/reference/simple_stmts.html#the-nonlocal-statement)
  - [7. Составные инструкции](https://python-all.ru/3.2/reference/compound_stmts.html)

    - [7.1. Инструкция `if`](https://python-all.ru/3.2/reference/compound_stmts.html#the-if-statement)
    - [7.2. Инструкция `while`](https://python-all.ru/3.2/reference/compound_stmts.html#the-while-statement)
    - [7.3. Инструкция `for`](https://python-all.ru/3.2/reference/compound_stmts.html#the-for-statement)
    - [7.4. Инструкция `try`](https://python-all.ru/3.2/reference/compound_stmts.html#the-try-statement)
    - [7.5. Инструкция `with`](https://python-all.ru/3.2/reference/compound_stmts.html#the-with-statement)
    - [7.6. Определения функций](https://python-all.ru/3.2/reference/compound_stmts.html#function-definitions)
    - [7.7. Определения классов](https://python-all.ru/3.2/reference/compound_stmts.html#class-definitions)
  - [8. Компоненты верхнего уровня](https://python-all.ru/3.2/reference/toplevel_components.html)

    - [8.1. Полные программы Python](https://python-all.ru/3.2/reference/toplevel_components.html#complete-python-programs)
    - [8.2. Ввод из файла](https://python-all.ru/3.2/reference/toplevel_components.html#file-input)
    - [8.3. Интерактивный ввод](https://python-all.ru/3.2/reference/toplevel_components.html#interactive-input)
    - [8.4. Ввод выражений](https://python-all.ru/3.2/reference/toplevel_components.html#expression-input)
  - [9. Полная спецификация грамматики](https://python-all.ru/3.2/reference/grammar.html)
- [Стандартная библиотека Python](https://python-all.ru/3.2/library/index.html)

  - [1. Введение](https://python-all.ru/3.2/library/intro.html)
  - [2. Встроенные функции](https://python-all.ru/3.2/library/functions.html)
  - [3. Встроенные константы](https://python-all.ru/3.2/library/constants.html)

    - [3.1. Константы, добавленные модулем `site`](https://python-all.ru/3.2/library/constants.html#constants-added-by-the-site-module)
  - [4. Встроенные типы](https://python-all.ru/3.2/library/stdtypes.html)

    - [4.1. Проверка истинности](https://python-all.ru/3.2/library/stdtypes.html#truth-value-testing)
    - [4.2. Логические операции – `and`, `or`, `not`](https://python-all.ru/3.2/library/stdtypes.html#boolean-operations-and-or-not)
    - [4.3. Сравнения](https://python-all.ru/3.2/library/stdtypes.html#comparisons)
    - [4.4. Числовые типы – `int`, `float`, `complex`](https://python-all.ru/3.2/library/stdtypes.html#numeric-types-int-float-complex)

      - [4.4.1. Побитовые операции над целыми типами](https://python-all.ru/3.2/library/stdtypes.html#bitwise-operations-on-integer-types)
      - [4.4.2. Дополнительные методы целых типов](https://python-all.ru/3.2/library/stdtypes.html#additional-methods-on-integer-types)
      - [4.4.3. Дополнительные методы Float](https://python-all.ru/3.2/library/stdtypes.html#additional-methods-on-float)
      - [4.4.4. Хеширование числовых типов](https://python-all.ru/3.2/library/stdtypes.html#hashing-of-numeric-types)
    - [4.5. Типы итераторов](https://python-all.ru/3.2/library/stdtypes.html#iterator-types)

      - [4.5.1. Типы генераторов](https://python-all.ru/3.2/library/stdtypes.html#generator-types)
    - [4.6. Типы последовательностей – `str`, `bytes`, `bytearray`, `list`, `tuple`, `range`](https://python-all.ru/3.2/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range)

      - [4.6.1. Методы строк](https://python-all.ru/3.2/library/stdtypes.html#string-methods)
      - [4.6.2. Старые операции форматирования строк](https://python-all.ru/3.2/library/stdtypes.html#old-string-formatting-operations)
      - [4.6.3. Тип range](https://python-all.ru/3.2/library/stdtypes.html#range-type)
      - [4.6.4. Изменяемые типы последовательностей](https://python-all.ru/3.2/library/stdtypes.html#mutable-sequence-types)
      - [4.6.5. Методы bytes и bytearray](https://python-all.ru/3.2/library/stdtypes.html#bytes-and-byte-array-methods)
    - [4.7. Типы множеств – `set`, `frozenset`](https://python-all.ru/3.2/library/stdtypes.html#set-types-set-frozenset)
    - [4.8. Типы отображений – `dict`](https://python-all.ru/3.2/library/stdtypes.html#mapping-types-dict)

      - [4.8.1. Объекты представления словаря](https://python-all.ru/3.2/library/stdtypes.html#dictionary-view-objects)
    - [4.9. Тип memoryview](https://python-all.ru/3.2/library/stdtypes.html#memoryview-type)
    - [4.10. Типы менеджеров контекста](https://python-all.ru/3.2/library/stdtypes.html#context-manager-types)
    - [4.11. Прочие встроенные типы](https://python-all.ru/3.2/library/stdtypes.html#other-built-in-types)

      - [4.11.1. Модули](https://python-all.ru/3.2/library/stdtypes.html#modules)
      - [4.11.2. Классы и экземпляры классов](https://python-all.ru/3.2/library/stdtypes.html#classes-and-class-instances)
      - [4.11.3. Функции](https://python-all.ru/3.2/library/stdtypes.html#functions)
      - [4.11.4. Методы](https://python-all.ru/3.2/library/stdtypes.html#methods)
      - [4.11.5. Объекты кода](https://python-all.ru/3.2/library/stdtypes.html#code-objects)
      - [4.11.6. Объекты типов](https://python-all.ru/3.2/library/stdtypes.html#type-objects)
      - [4.11.7. Объект Null](https://python-all.ru/3.2/library/stdtypes.html#the-null-object)
      - [4.11.8. Объект Ellipsis](https://python-all.ru/3.2/library/stdtypes.html#the-ellipsis-object)
      - [4.11.9. Объект NotImplemented](https://python-all.ru/3.2/library/stdtypes.html#the-notimplemented-object)
      - [4.11.10. Булевы значения](https://python-all.ru/3.2/library/stdtypes.html#boolean-values)
      - [4.11.11. Внутренние объекты](https://python-all.ru/3.2/library/stdtypes.html#internal-objects)
    - [4.12. Специальные атрибуты](https://python-all.ru/3.2/library/stdtypes.html#special-attributes)
  - [5. Встроенные исключения](https://python-all.ru/3.2/library/exceptions.html)

    - [5.1. Иерархия исключений](https://python-all.ru/3.2/library/exceptions.html#exception-hierarchy)
  - [6. Строковые сервисы](https://python-all.ru/3.2/library/strings.html)

    - [6.1. `string` – Распространённые операции со строками](https://python-all.ru/3.2/library/string.html)

      - [6.1.1. Константы строк](https://python-all.ru/3.2/library/string.html#string-constants)
      - [6.1.2. Форматирование строк](https://python-all.ru/3.2/library/string.html#string-formatting)
      - [6.1.3. Синтаксис форматной строки](https://python-all.ru/3.2/library/string.html#format-string-syntax)

        - [6.1.3.1. Мини-язык спецификаций формата](https://python-all.ru/3.2/library/string.html#format-specification-mini-language)
        - [6.1.3.2. Примеры форматирования](https://python-all.ru/3.2/library/string.html#format-examples)
      - [6.1.4. Шаблонные строки](https://python-all.ru/3.2/library/string.html#template-strings)
      - [6.1.5. Вспомогательные функции](https://python-all.ru/3.2/library/string.html#helper-functions)
    - [6.2. `re` – Операции с регулярными выражениями](https://python-all.ru/3.2/library/re.html)

      - [6.2.1. Синтаксис регулярных выражений](https://python-all.ru/3.2/library/re.html#regular-expression-syntax)
      - [6.2.2. Содержимое модуля](https://python-all.ru/3.2/library/re.html#module-contents)
      - [6.2.3. Объекты регулярных выражений](https://python-all.ru/3.2/library/re.html#regular-expression-objects)
      - [6.2.4. Объекты сопоставления](https://python-all.ru/3.2/library/re.html#match-objects)
      - [6.2.5. Примеры регулярных выражений](https://python-all.ru/3.2/library/re.html#regular-expression-examples)

        - [6.2.5.1. Проверка на пару](https://python-all.ru/3.2/library/re.html#checking-for-a-pair)
        - [6.2.5.2. Имитация scanf()](https://python-all.ru/3.2/library/re.html#simulating-scanf)
        - [6.2.5.3. search() против match()](https://python-all.ru/3.2/library/re.html#search-vs-match)
        - [6.2.5.4. Создание телефонной книги](https://python-all.ru/3.2/library/re.html#making-a-phonebook)
        - [6.2.5.5. Обработка текста](https://python-all.ru/3.2/library/re.html#text-munging)
        - [6.2.5.6. Поиск всех наречий](https://python-all.ru/3.2/library/re.html#finding-all-adverbs)
        - [6.2.5.7. Поиск всех наречий и их позиций](https://python-all.ru/3.2/library/re.html#finding-all-adverbs-and-their-positions)
        - [6.2.5.8. Сырые строки](https://python-all.ru/3.2/library/re.html#raw-string-notation)
        - [6.2.5.9. Написание токенизатора](https://python-all.ru/3.2/library/re.html#writing-a-tokenizer)
    - [6.3. `struct` – Интерпретация байтов как упакованных двоичных данных](https://python-all.ru/3.2/library/struct.html)

      - [6.3.1. Функции и исключения](https://python-all.ru/3.2/library/struct.html#functions-and-exceptions)
      - [6.3.2. Строки формата](https://python-all.ru/3.2/library/struct.html#format-strings)

        - [6.3.2.1. Порядок байтов, размер и выравнивание](https://python-all.ru/3.2/library/struct.html#byte-order-size-and-alignment)
        - [6.3.2.2. Символы формата](https://python-all.ru/3.2/library/struct.html#format-characters)
        - [6.3.2.3. Примеры](https://python-all.ru/3.2/library/struct.html#examples)
      - [6.3.3. Классы](https://python-all.ru/3.2/library/struct.html#classes)
    - [6.4. `difflib` – Вспомогательные средства для вычисления дельт](https://python-all.ru/3.2/library/difflib.html)

      - [6.4.1. Объекты SequenceMatcher](https://python-all.ru/3.2/library/difflib.html#sequencematcher-objects)
      - [6.4.2. Примеры SequenceMatcher](https://python-all.ru/3.2/library/difflib.html#sequencematcher-examples)
      - [6.4.3. Объекты Differ](https://python-all.ru/3.2/library/difflib.html#differ-objects)
      - [6.4.4. Пример Differ](https://python-all.ru/3.2/library/difflib.html#differ-example)
      - [6.4.5. Интерфейс командной строки для difflib](https://python-all.ru/3.2/library/difflib.html#a-command-line-interface-to-difflib)
    - [6.5. `textwrap` – Перенос строк и заполнение](https://python-all.ru/3.2/library/textwrap.html)
    - [6.6. `codecs` – Реестр кодеков и базовые классы](https://python-all.ru/3.2/library/codecs.html)

      - [6.6.1. Базовые классы кодеков](https://python-all.ru/3.2/library/codecs.html#codec-base-classes)

        - [6.6.1.1. Объекты Codec](https://python-all.ru/3.2/library/codecs.html#codec-objects)
        - [6.6.1.2. Объекты IncrementalEncoder](https://python-all.ru/3.2/library/codecs.html#incrementalencoder-objects)
        - [6.6.1.3. Объекты IncrementalDecoder](https://python-all.ru/3.2/library/codecs.html#incrementaldecoder-objects)
        - [6.6.1.4. Объекты StreamWriter](https://python-all.ru/3.2/library/codecs.html#streamwriter-objects)
        - [6.6.1.5. Объекты StreamReader](https://python-all.ru/3.2/library/codecs.html#streamreader-objects)
        - [6.6.1.6. Объекты StreamReaderWriter](https://python-all.ru/3.2/library/codecs.html#streamreaderwriter-objects)
        - [6.6.1.7. Объекты StreamRecoder](https://python-all.ru/3.2/library/codecs.html#streamrecoder-objects)
      - [6.6.2. Кодировки и Юникод](https://python-all.ru/3.2/library/codecs.html#encodings-and-unicode)
      - [6.6.3. Стандартные кодировки](https://python-all.ru/3.2/library/codecs.html#standard-encodings)
      - [6.6.4. `encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/3.2/library/codecs.html#module-encodings.idna)
      - [6.6.5. `encodings.mbcs` – Кодовая страница Windows ANSI](https://python-all.ru/3.2/library/codecs.html#module-encodings.mbcs)
      - [6.6.6. `encodings.utf_8_sig` – Кодек UTF-8 с сигнатурой BOM](https://python-all.ru/3.2/library/codecs.html#module-encodings.utf_8_sig)
    - [6.7. `unicodedata` – База данных Юникода](https://python-all.ru/3.2/library/unicodedata.html)
    - [6.8. `stringprep` – Подготовка интернет-строк](https://python-all.ru/3.2/library/stringprep.html)
  - [7. Типы данных](https://python-all.ru/3.2/library/datatypes.html)

    - [7.1. `datetime` – Базовые типы даты и времени](https://python-all.ru/3.2/library/datetime.html)

      - [7.1.1. Доступные типы](https://python-all.ru/3.2/library/datetime.html#available-types)
      - [7.1.2. Объекты `timedelta`](https://python-all.ru/3.2/library/datetime.html#timedelta-objects)
      - [7.1.3. Объекты `date`](https://python-all.ru/3.2/library/datetime.html#date-objects)
      - [7.1.4. Объекты `datetime`](https://python-all.ru/3.2/library/datetime.html#datetime-objects)
      - [7.1.5. Объекты `time`](https://python-all.ru/3.2/library/datetime.html#time-objects)
      - [7.1.6. Объекты `tzinfo`](https://python-all.ru/3.2/library/datetime.html#tzinfo-objects)
      - [7.1.7. Объекты `timezone`](https://python-all.ru/3.2/library/datetime.html#timezone-objects)
      - [7.1.8. Поведение `strftime()` и `strptime()`](https://python-all.ru/3.2/library/datetime.html#strftime-and-strptime-behavior)
    - [7.2. `calendar` – Общие функции для работы с календарём](https://python-all.ru/3.2/library/calendar.html)
    - [7.3. `collections` – Типы-контейнеры](https://python-all.ru/3.2/library/collections.html)

      - [7.3.1. Объекты `Counter`](https://python-all.ru/3.2/library/collections.html#counter-objects)
      - [7.3.2. Объекты `deque`](https://python-all.ru/3.2/library/collections.html#deque-objects)

        - [7.3.2.1. Рецепты `deque`](https://python-all.ru/3.2/library/collections.html#deque-recipes)
      - [7.3.3. Объекты `defaultdict`](https://python-all.ru/3.2/library/collections.html#defaultdict-objects)

        - [7.3.3.1. Примеры `defaultdict`](https://python-all.ru/3.2/library/collections.html#defaultdict-examples)
      - [7.3.4. `namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/3.2/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)
      - [7.3.5. `OrderedDict` объекты](https://python-all.ru/3.2/library/collections.html#ordereddict-objects)

        - [7.3.5.1. `OrderedDict` Примеры и рецепты](https://python-all.ru/3.2/library/collections.html#ordereddict-examples-and-recipes)
      - [7.3.6. `UserDict` объекты](https://python-all.ru/3.2/library/collections.html#userdict-objects)
      - [7.3.7. `UserList` объекты](https://python-all.ru/3.2/library/collections.html#userlist-objects)
      - [7.3.8. `UserString` объекты](https://python-all.ru/3.2/library/collections.html#userstring-objects)
      - [7.3.9. ABCs – абстрактные базовые классы](https://python-all.ru/3.2/library/collections.html#abcs-abstract-base-classes)
    - [7.4. `heapq` – алгоритм кучи (очередь с приоритетом)](https://python-all.ru/3.2/library/heapq.html)

      - [7.4.1. Простые примеры](https://python-all.ru/3.2/library/heapq.html#basic-examples)
      - [7.4.2. Заметки по реализации очереди с приоритетами](https://python-all.ru/3.2/library/heapq.html#priority-queue-implementation-notes)
      - [7.4.3. Теория](https://python-all.ru/3.2/library/heapq.html#theory)
    - [7.5. `bisect` – алгоритм бинарного поиска в массиве](https://python-all.ru/3.2/library/bisect.html)

      - [7.5.1. Поиск в отсортированных списках](https://python-all.ru/3.2/library/bisect.html#searching-sorted-lists)
      - [7.5.2. Другие примеры](https://python-all.ru/3.2/library/bisect.html#other-examples)
    - [7.6. `array` – эффективные массивы числовых значений](https://python-all.ru/3.2/library/array.html)
    - [7.7. `sched` – планировщик событий](https://python-all.ru/3.2/library/sched.html)

      - [7.7.1. Объекты планировщика](https://python-all.ru/3.2/library/sched.html#scheduler-objects)
    - [7.8. `queue` – синхронизированный класс очереди](https://python-all.ru/3.2/library/queue.html)

      - [7.8.1. Объекты очереди](https://python-all.ru/3.2/library/queue.html#queue-objects)
    - [7.9. `weakref` – слабые ссылки](https://python-all.ru/3.2/library/weakref.html)

      - [7.9.1. Объекты слабых ссылок](https://python-all.ru/3.2/library/weakref.html#weak-reference-objects)
      - [7.9.2. Пример](https://python-all.ru/3.2/library/weakref.html#example)
    - [7.10. `types` – имена встроенных типов](https://python-all.ru/3.2/library/types.html)
    - [7.11. `copy` – операции поверхностного и глубокого копирования](https://python-all.ru/3.2/library/copy.html)
    - [7.12. `pprint` – форматированный вывод данных](https://python-all.ru/3.2/library/pprint.html)

      - [7.12.1. Объекты PrettyPrinter](https://python-all.ru/3.2/library/pprint.html#prettyprinter-objects)
      - [7.12.2. Пример](https://python-all.ru/3.2/library/pprint.html#example)
    - [7.13. `reprlib` – альтернативная реализация `repr()`](https://python-all.ru/3.2/library/reprlib.html)

      - [7.13.1. Объекты Repr](https://python-all.ru/3.2/library/reprlib.html#repr-objects)
      - [7.13.2. Создание подклассов Repr](https://python-all.ru/3.2/library/reprlib.html#subclassing-repr-objects)
  - [8. Числовые и математические модули](https://python-all.ru/3.2/library/numeric.html)

    - [8.1. `numbers` – числовые абстрактные базовые классы](https://python-all.ru/3.2/library/numbers.html)

      - [8.1.1. Числовая башня](https://python-all.ru/3.2/library/numbers.html#the-numeric-tower)
      - [8.1.2. Примечания для разработчиков типов](https://python-all.ru/3.2/library/numbers.html#notes-for-type-implementors)

        - [8.1.2.1. Добавление новых числовых ABC](https://python-all.ru/3.2/library/numbers.html#adding-more-numeric-abcs)
        - [8.1.2.2. Реализация арифметических операций](https://python-all.ru/3.2/library/numbers.html#implementing-the-arithmetic-operations)
    - [8.2. `math` – Математические функции](https://python-all.ru/3.2/library/math.html)

      - [8.2.1. Теоретико-числовые функции и функции представления](https://python-all.ru/3.2/library/math.html#number-theoretic-and-representation-functions)
      - [8.2.2. Степенные и логарифмические функции](https://python-all.ru/3.2/library/math.html#power-and-logarithmic-functions)
      - [8.2.3. Тригонометрические функции](https://python-all.ru/3.2/library/math.html#trigonometric-functions)
      - [8.2.4. Преобразование углов](https://python-all.ru/3.2/library/math.html#angular-conversion)
      - [8.2.5. Гиперболические функции](https://python-all.ru/3.2/library/math.html#hyperbolic-functions)
      - [8.2.6. Специальные функции](https://python-all.ru/3.2/library/math.html#special-functions)
      - [8.2.7. Константы](https://python-all.ru/3.2/library/math.html#constants)
    - [8.3. `cmath` – Математические функции для комплексных чисел](https://python-all.ru/3.2/library/cmath.html)

      - [8.3.1. Преобразования в полярные координаты и обратно](https://python-all.ru/3.2/library/cmath.html#conversions-to-and-from-polar-coordinates)
      - [8.3.2. Степенные и логарифмические функции](https://python-all.ru/3.2/library/cmath.html#power-and-logarithmic-functions)
      - [8.3.3. Тригонометрические функции](https://python-all.ru/3.2/library/cmath.html#trigonometric-functions)
      - [8.3.4. Гиперболические функции](https://python-all.ru/3.2/library/cmath.html#hyperbolic-functions)
      - [8.3.5. Функции классификации](https://python-all.ru/3.2/library/cmath.html#classification-functions)
      - [8.3.6. Константы](https://python-all.ru/3.2/library/cmath.html#constants)
    - [8.4. `decimal` – Десятичная арифметика с фиксированной и плавающей точкой](https://python-all.ru/3.2/library/decimal.html)

      - [8.4.1. Краткое руководство](https://python-all.ru/3.2/library/decimal.html#quick-start-tutorial)
      - [8.4.2. Объекты Decimal](https://python-all.ru/3.2/library/decimal.html#decimal-objects)

        - [8.4.2.1. Логические операнды](https://python-all.ru/3.2/library/decimal.html#logical-operands)
      - [8.4.3. Объекты контекста](https://python-all.ru/3.2/library/decimal.html#context-objects)
      - [8.4.4. Сигналы](https://python-all.ru/3.2/library/decimal.html#signals)
      - [8.4.5. Примечания по числам с плавающей точкой](https://python-all.ru/3.2/library/decimal.html#floating-point-notes)

        - [8.4.5.1. Снижение ошибок округления за счёт увеличения точности](https://python-all.ru/3.2/library/decimal.html#mitigating-round-off-error-with-increased-precision)
        - [8.4.5.2. Специальные значения](https://python-all.ru/3.2/library/decimal.html#special-values)
      - [8.4.6. Работа с потоками](https://python-all.ru/3.2/library/decimal.html#working-with-threads)
      - [8.4.7. Рецепты](https://python-all.ru/3.2/library/decimal.html#recipes)
      - [8.4.8. Decimal FAQ](https://python-all.ru/3.2/library/decimal.html#decimal-faq)
    - [8.5. `fractions` – Рациональные числа](https://python-all.ru/3.2/library/fractions.html)
    - [8.6. `random` – Генерация псевдослучайных чисел](https://python-all.ru/3.2/library/random.html)

      - [8.6.1. Примечания о воспроизводимости](https://python-all.ru/3.2/library/random.html#notes-on-reproducibility)
      - [8.6.2. Примеры и рецепты](https://python-all.ru/3.2/library/random.html#examples-and-recipes)
  - [9. Модули функционального программирования](https://python-all.ru/3.2/library/functional.html)

    - [9.1. `itertools` – Функции, создающие итераторы для эффективного обхода](https://python-all.ru/3.2/library/itertools.html)

      - [9.1.1. Функции itertools](https://python-all.ru/3.2/library/itertools.html#itertool-functions)
      - [9.1.2. Рецепты itertools](https://python-all.ru/3.2/library/itertools.html#itertools-recipes)
    - [9.2. `functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/3.2/library/functools.html)

      - [9.2.1. `partial` Объекты](https://python-all.ru/3.2/library/functools.html#partial-objects)
    - [9.3. `operator` – Стандартные операторы как функции](https://python-all.ru/3.2/library/operator.html)

      - [9.3.1. Сопоставление операторов с функциями](https://python-all.ru/3.2/library/operator.html#mapping-operators-to-functions)
      - [9.3.2. Операторы на месте](https://python-all.ru/3.2/library/operator.html#inplace-operators)
  - [10. Доступ к файлам и каталогам](https://python-all.ru/3.2/library/filesys.html)

    - [10.1. `os.path` – Общие операции с путями](https://python-all.ru/3.2/library/os.path.html)
    - [10.2. `fileinput` – Итерация по строкам из нескольких входных потоков](https://python-all.ru/3.2/library/fileinput.html)
    - [10.3. `stat` – Интерпретация результатов `stat()`](https://python-all.ru/3.2/library/stat.html)
    - [10.4. `filecmp` – Сравнение файлов и каталогов](https://python-all.ru/3.2/library/filecmp.html)

      - [10.4.1. Класс `dircmp`](https://python-all.ru/3.2/library/filecmp.html#the-dircmp-class)
    - [10.5. `tempfile` – Создание временных файлов и каталогов](https://python-all.ru/3.2/library/tempfile.html)

      - [10.5.1. Примеры](https://python-all.ru/3.2/library/tempfile.html#examples)
    - [10.6. `glob` – Расширение шаблонов путей в стиле Unix](https://python-all.ru/3.2/library/glob.html)
    - [10.7. `fnmatch` – Сопоставление имен файлов по шаблону Unix](https://python-all.ru/3.2/library/fnmatch.html)
    - [10.8. `linecache` – Произвольный доступ к строкам текста](https://python-all.ru/3.2/library/linecache.html)
    - [10.9. `shutil` – Высокоуровневые операции с файлами](https://python-all.ru/3.2/library/shutil.html)

      - [10.9.1. Операции с каталогами и файлами](https://python-all.ru/3.2/library/shutil.html#directory-and-files-operations)

        - [10.9.1.1. Пример copytree](https://python-all.ru/3.2/library/shutil.html#copytree-example)
      - [10.9.2. Операции архивирования](https://python-all.ru/3.2/library/shutil.html#archiving-operations)

        - [10.9.2.1. Пример архивирования](https://python-all.ru/3.2/library/shutil.html#archiving-example)
    - [10.10. `macpath` – Функции работы с путями Mac OS 9](https://python-all.ru/3.2/library/macpath.html)
  - [11. Устойчивое сохранение данных](https://python-all.ru/3.2/library/persistence.html)

    - [11.1. `pickle` – Сериализация объектов Python](https://python-all.ru/3.2/library/pickle.html)

      - [11.1.1. Отношение к другим модулям Python](https://python-all.ru/3.2/library/pickle.html#relationship-to-other-python-modules)
      - [11.1.2. Формат потока данных](https://python-all.ru/3.2/library/pickle.html#data-stream-format)
      - [11.1.3. Интерфейс модуля](https://python-all.ru/3.2/library/pickle.html#module-interface)
      - [11.1.4. Что можно сериализовать и десериализовать?](https://python-all.ru/3.2/library/pickle.html#what-can-be-pickled-and-unpickled)
      - [11.1.5. Сериализация экземпляров классов](https://python-all.ru/3.2/library/pickle.html#pickling-class-instances)

        - [11.1.5.1. Сохранение внешних объектов](https://python-all.ru/3.2/library/pickle.html#persistence-of-external-objects)
        - [11.1.5.2. Обработка объектов с состоянием](https://python-all.ru/3.2/library/pickle.html#handling-stateful-objects)
      - [11.1.6. Ограничение глобальных объектов](https://python-all.ru/3.2/library/pickle.html#restricting-globals)
      - [11.1.7. Примеры](https://python-all.ru/3.2/library/pickle.html#examples)
    - [11.2. `copyreg` – Регистрация `pickle` вспомогательных функций](https://python-all.ru/3.2/library/copyreg.html)

      - [11.2.1. Пример](https://python-all.ru/3.2/library/copyreg.html#example)
    - [11.3. `shelve` – Сохранение объектов Python](https://python-all.ru/3.2/library/shelve.html)

      - [11.3.1. Ограничения](https://python-all.ru/3.2/library/shelve.html#restrictions)
      - [11.3.2. Пример](https://python-all.ru/3.2/library/shelve.html#example)
    - [11.4. `marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/3.2/library/marshal.html)
    - [11.5. `dbm` – Интерфейсы к «базам данных» Unix](https://python-all.ru/3.2/library/dbm.html)

      - [11.5.1. `dbm.gnu` – Переосмысление dbm от GNU](https://python-all.ru/3.2/library/dbm.html#module-dbm.gnu)
      - [11.5.2. `dbm.ndbm` – Интерфейс на основе ndbm](https://python-all.ru/3.2/library/dbm.html#module-dbm.ndbm)
      - [11.5.3. `dbm.dumb` – Переносимая реализация DBM](https://python-all.ru/3.2/library/dbm.html#module-dbm.dumb)
    - [11.6. `sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/3.2/library/sqlite3.html)

      - [11.6.1. Функции и константы модуля](https://python-all.ru/3.2/library/sqlite3.html#module-functions-and-constants)
      - [11.6.2. Объекты соединения](https://python-all.ru/3.2/library/sqlite3.html#connection-objects)
      - [11.6.3. Объекты курсора](https://python-all.ru/3.2/library/sqlite3.html#cursor-objects)
      - [11.6.4. Объекты строки](https://python-all.ru/3.2/library/sqlite3.html#row-objects)
      - [11.6.5. Типы SQLite и Python](https://python-all.ru/3.2/library/sqlite3.html#sqlite-and-python-types)

        - [11.6.5.1. Введение](https://python-all.ru/3.2/library/sqlite3.html#introduction)
        - [11.6.5.2. Использование адаптеров для хранения дополнительных типов Python в базах данных SQLite](https://python-all.ru/3.2/library/sqlite3.html#using-adapters-to-store-additional-python-types-in-sqlite-databases)

          - [11.6.5.2.1. Адаптация объекта самостоятельно](https://python-all.ru/3.2/library/sqlite3.html#letting-your-object-adapt-itself)
          - [11.6.5.2.2. Регистрация вызываемого адаптера](https://python-all.ru/3.2/library/sqlite3.html#registering-an-adapter-callable)
        - [11.6.5.3. Преобразование значений SQLite в пользовательские типы Python](https://python-all.ru/3.2/library/sqlite3.html#converting-sqlite-values-to-custom-python-types)
        - [11.6.5.4. Адаптеры и преобразователи по умолчанию](https://python-all.ru/3.2/library/sqlite3.html#default-adapters-and-converters)
      - [11.6.6. Управление транзакциями](https://python-all.ru/3.2/library/sqlite3.html#controlling-transactions)
      - [11.6.7. Эффективное использование `sqlite3`](https://python-all.ru/3.2/library/sqlite3.html#using-sqlite3-efficiently)

        - [11.6.7.1. Использование сокращённых методов](https://python-all.ru/3.2/library/sqlite3.html#using-shortcut-methods)
        - [11.6.7.2. Доступ к столбцам по имени вместо индекса](https://python-all.ru/3.2/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)
        - [11.6.7.3. Использование соединения как менеджера контекста](https://python-all.ru/3.2/library/sqlite3.html#using-the-connection-as-a-context-manager)
      - [11.6.8. Частые проблемы](https://python-all.ru/3.2/library/sqlite3.html#common-issues)

        - [11.6.8.1. Многопоточность](https://python-all.ru/3.2/library/sqlite3.html#multithreading)
  - [12. Сжатие и архивирование данных](https://python-all.ru/3.2/library/archiving.html)

    - [12.1. `zlib` – Сжатие, совместимое с **gzip**](https://python-all.ru/3.2/library/zlib.html)
    - [12.2. `gzip` – Поддержка файлов **gzip**](https://python-all.ru/3.2/library/gzip.html)

      - [12.2.1. Примеры использования](https://python-all.ru/3.2/library/gzip.html#examples-of-usage)
    - [12.3. `bz2` – Сжатие, совместимое с **bzip2**](https://python-all.ru/3.2/library/bz2.html)

      - [12.3.1. Сжатие и распаковка файлов](https://python-all.ru/3.2/library/bz2.html#de-compression-of-files)
      - [12.3.2. Последовательное сжатие и распаковка](https://python-all.ru/3.2/library/bz2.html#sequential-de-compression)
      - [12.3.3. Одноразовое сжатие и распаковка](https://python-all.ru/3.2/library/bz2.html#one-shot-de-compression)
    - [12.4. `zipfile` – Работа с ZIP-архивами](https://python-all.ru/3.2/library/zipfile.html)

      - [12.4.1. Объекты ZipFile](https://python-all.ru/3.2/library/zipfile.html#zipfile-objects)
      - [12.4.2. Объекты PyZipFile](https://python-all.ru/3.2/library/zipfile.html#pyzipfile-objects)
      - [12.4.3. Объекты ZipInfo](https://python-all.ru/3.2/library/zipfile.html#zipinfo-objects)
    - [12.5. `tarfile` – Чтение и запись tar-архивов](https://python-all.ru/3.2/library/tarfile.html)

      - [12.5.1. Объекты TarFile](https://python-all.ru/3.2/library/tarfile.html#tarfile-objects)
      - [12.5.2. Объекты TarInfo](https://python-all.ru/3.2/library/tarfile.html#tarinfo-objects)
      - [12.5.3. Примеры](https://python-all.ru/3.2/library/tarfile.html#examples)
      - [12.5.4. Поддерживаемые форматы tar](https://python-all.ru/3.2/library/tarfile.html#supported-tar-formats)
      - [12.5.5. Проблемы с Unicode](https://python-all.ru/3.2/library/tarfile.html#unicode-issues)
  - [13. Форматы файлов](https://python-all.ru/3.2/library/fileformats.html)

    - [13.1. `csv` – Чтение и запись CSV-файлов](https://python-all.ru/3.2/library/csv.html)

      - [13.1.1. Содержимое модуля](https://python-all.ru/3.2/library/csv.html#module-contents)
      - [13.1.2. Диалекты и параметры форматирования](https://python-all.ru/3.2/library/csv.html#dialects-and-formatting-parameters)
      - [13.1.3. Объекты Reader](https://python-all.ru/3.2/library/csv.html#reader-objects)
      - [13.1.4. Объекты Writer](https://python-all.ru/3.2/library/csv.html#writer-objects)
      - [13.1.5. Примеры](https://python-all.ru/3.2/library/csv.html#examples)
    - [13.2. `configparser` – Парсер конфигурационных файлов](https://python-all.ru/3.2/library/configparser.html)

      - [13.2.1. Быстрый старт](https://python-all.ru/3.2/library/configparser.html#quick-start)
      - [13.2.2. Поддерживаемые типы данных](https://python-all.ru/3.2/library/configparser.html#supported-datatypes)
      - [13.2.3. Значения по умолчанию](https://python-all.ru/3.2/library/configparser.html#fallback-values)
      - [13.2.4. Поддерживаемая структура INI-файлов](https://python-all.ru/3.2/library/configparser.html#supported-ini-file-structure)
      - [13.2.5. Интерполяция значений](https://python-all.ru/3.2/library/configparser.html#interpolation-of-values)
      - [13.2.6. Доступ через протокол отображения](https://python-all.ru/3.2/library/configparser.html#mapping-protocol-access)
      - [13.2.7. Настройка поведения парсера](https://python-all.ru/3.2/library/configparser.html#customizing-parser-behaviour)
      - [13.2.8. Примеры устаревшего API](https://python-all.ru/3.2/library/configparser.html#legacy-api-examples)
      - [13.2.9. Объекты ConfigParser](https://python-all.ru/3.2/library/configparser.html#configparser-objects)
      - [13.2.10. Объекты RawConfigParser](https://python-all.ru/3.2/library/configparser.html#rawconfigparser-objects)
      - [13.2.11. Исключения](https://python-all.ru/3.2/library/configparser.html#exceptions)
    - [13.3. `netrc` – обработка файлов netrc](https://python-all.ru/3.2/library/netrc.html)

      - [13.3.1. Объекты netrc](https://python-all.ru/3.2/library/netrc.html#netrc-objects)
    - [13.4. `xdrlib` – кодирование и декодирование данных XDR](https://python-all.ru/3.2/library/xdrlib.html)

      - [13.4.1. Объекты Packer](https://python-all.ru/3.2/library/xdrlib.html#packer-objects)
      - [13.4.2. Объекты Unpacker](https://python-all.ru/3.2/library/xdrlib.html#unpacker-objects)
      - [13.4.3. Исключения](https://python-all.ru/3.2/library/xdrlib.html#exceptions)
    - [13.5. `plistlib` – создание и разбор файлов `.plist` Mac OS X](https://python-all.ru/3.2/library/plistlib.html)

      - [13.5.1. Примеры](https://python-all.ru/3.2/library/plistlib.html#examples)
  - [14. Криптографические сервисы](https://python-all.ru/3.2/library/crypto.html)

    - [14.1. `hashlib` – Безопасные хеши и дайджесты сообщений](https://python-all.ru/3.2/library/hashlib.html)
    - [14.2. `hmac` – Ключевое хеширование для аутентификации сообщений](https://python-all.ru/3.2/library/hmac.html)
  - [15. Общие службы операционной системы](https://python-all.ru/3.2/library/allos.html)

    - [15.1. `os` – Разные интерфейсы операционной системы](https://python-all.ru/3.2/library/os.html)

      - [15.1.1. Имена файлов, аргументы командной строки и переменные окружения](https://python-all.ru/3.2/library/os.html#file-names-command-line-arguments-and-environment-variables)
      - [15.1.2. Параметры процесса](https://python-all.ru/3.2/library/os.html#process-parameters)
      - [15.1.3. Создание файловых объектов](https://python-all.ru/3.2/library/os.html#file-object-creation)
      - [15.1.4. Операции с файловыми дескрипторами](https://python-all.ru/3.2/library/os.html#file-descriptor-operations)

        - [15.1.4.1. Константы флагов `open()`](https://python-all.ru/3.2/library/os.html#open-flag-constants)
      - [15.1.5. Файлы и каталоги](https://python-all.ru/3.2/library/os.html#files-and-directories)
      - [15.1.6. Управление процессами](https://python-all.ru/3.2/library/os.html#process-management)
      - [15.1.7. Разная системная информация](https://python-all.ru/3.2/library/os.html#miscellaneous-system-information)
      - [15.1.8. Разные функции](https://python-all.ru/3.2/library/os.html#miscellaneous-functions)
    - [15.2. `io` – Основные средства для работы с потоками](https://python-all.ru/3.2/library/io.html)

      - [15.2.1. Обзор](https://python-all.ru/3.2/library/io.html#overview)

        - [15.2.1.1. Текстовый ввод-вывод](https://python-all.ru/3.2/library/io.html#text-i-o)
        - [15.2.1.2. Двоичный ввод-вывод](https://python-all.ru/3.2/library/io.html#binary-i-o)
        - [15.2.1.3. Raw I/O](https://python-all.ru/3.2/library/io.html#raw-i-o)
      - [15.2.2. Интерфейс модуля высокого уровня](https://python-all.ru/3.2/library/io.html#high-level-module-interface)

        - [15.2.2.1. Потоки в памяти](https://python-all.ru/3.2/library/io.html#in-memory-streams)
      - [15.2.3. Иерархия классов](https://python-all.ru/3.2/library/io.html#class-hierarchy)

        - [15.2.3.1. Базовые классы ввода-вывода](https://python-all.ru/3.2/library/io.html#i-o-base-classes)
        - [15.2.3.2. Raw File I/O](https://python-all.ru/3.2/library/io.html#raw-file-i-o)
        - [15.2.3.3. Буферизованные потоки](https://python-all.ru/3.2/library/io.html#buffered-streams)
        - [15.2.3.4. Текстовый ввод-вывод](https://python-all.ru/3.2/library/io.html#id1)
      - [15.2.4. Производительность](https://python-all.ru/3.2/library/io.html#performance)

        - [15.2.4.1. Двоичный ввод-вывод](https://python-all.ru/3.2/library/io.html#id2)
        - [15.2.4.2. Текстовый ввод-вывод](https://python-all.ru/3.2/library/io.html#id3)
        - [15.2.4.3. Многопоточность](https://python-all.ru/3.2/library/io.html#multi-threading)
        - [15.2.4.4. Реентерабельность](https://python-all.ru/3.2/library/io.html#reentrancy)
    - [15.3. `time` – Доступ ко времени и преобразования](https://python-all.ru/3.2/library/time.html)
    - [15.4. `argparse` – Парсер для параметров командной строки, аргументов и подкоманд](https://python-all.ru/3.2/library/argparse.html)

      - [15.4.1. Пример](https://python-all.ru/3.2/library/argparse.html#example)

        - [15.4.1.1. Создание парсера](https://python-all.ru/3.2/library/argparse.html#creating-a-parser)
        - [15.4.1.2. Добавление аргументов](https://python-all.ru/3.2/library/argparse.html#adding-arguments)
        - [15.4.1.3. Разбор аргументов](https://python-all.ru/3.2/library/argparse.html#parsing-arguments)
      - [15.4.2. Объекты ArgumentParser](https://python-all.ru/3.2/library/argparse.html#argumentparser-objects)

        - [15.4.2.1. description](https://python-all.ru/3.2/library/argparse.html#description)
        - [15.4.2.2. epilog](https://python-all.ru/3.2/library/argparse.html#epilog)
        - [15.4.2.3. add\_help](https://python-all.ru/3.2/library/argparse.html#add-help)
        - [15.4.2.4. prefix\_chars](https://python-all.ru/3.2/library/argparse.html#prefix-chars)
        - [15.4.2.5. fromfile\_prefix\_chars](https://python-all.ru/3.2/library/argparse.html#fromfile-prefix-chars)
        - [15.4.2.6. argument\_default](https://python-all.ru/3.2/library/argparse.html#argument-default)
        - [15.4.2.7. parents](https://python-all.ru/3.2/library/argparse.html#parents)
        - [15.4.2.8. formatter\_class](https://python-all.ru/3.2/library/argparse.html#formatter-class)
        - [15.4.2.9. conflict\_handler](https://python-all.ru/3.2/library/argparse.html#conflict-handler)
        - [15.4.2.10. prog](https://python-all.ru/3.2/library/argparse.html#prog)
        - [15.4.2.11. usage](https://python-all.ru/3.2/library/argparse.html#usage)
      - [15.4.3. Метод add\_argument()](https://python-all.ru/3.2/library/argparse.html#the-add-argument-method)

        - [15.4.3.1. name или flags](https://python-all.ru/3.2/library/argparse.html#name-or-flags)
        - [15.4.3.2. action](https://python-all.ru/3.2/library/argparse.html#action)
        - [15.4.3.3. nargs](https://python-all.ru/3.2/library/argparse.html#nargs)
        - [15.4.3.4. const](https://python-all.ru/3.2/library/argparse.html#const)
        - [15.4.3.5. default](https://python-all.ru/3.2/library/argparse.html#default)
        - [15.4.3.6. type](https://python-all.ru/3.2/library/argparse.html#type)
        - [15.4.3.7. choices](https://python-all.ru/3.2/library/argparse.html#choices)
        - [15.4.3.8. required](https://python-all.ru/3.2/library/argparse.html#required)
        - [15.4.3.9. help](https://python-all.ru/3.2/library/argparse.html#help)
        - [15.4.3.10. metavar](https://python-all.ru/3.2/library/argparse.html#metavar)
        - [15.4.3.11. dest](https://python-all.ru/3.2/library/argparse.html#dest)
        - [15.4.3.12. Классы действий](https://python-all.ru/3.2/library/argparse.html#action-classes)
      - [15.4.4. Метод parse\_args()](https://python-all.ru/3.2/library/argparse.html#the-parse-args-method)

        - [15.4.4.1. Синтаксис значений опций](https://python-all.ru/3.2/library/argparse.html#option-value-syntax)
        - [15.4.4.2. Недопустимые аргументы](https://python-all.ru/3.2/library/argparse.html#invalid-arguments)
        - [15.4.4.3. Аргументы, содержащие `-`](https://python-all.ru/3.2/library/argparse.html#arguments-containing)
        - [15.4.4.4. Сокращения аргументов](https://python-all.ru/3.2/library/argparse.html#argument-abbreviations)
        - [15.4.4.5. Помимо `sys.argv`](https://python-all.ru/3.2/library/argparse.html#beyond-sys-argv)
        - [15.4.4.6. Объект Namespace](https://python-all.ru/3.2/library/argparse.html#the-namespace-object)
      - [15.4.5. Другие утилиты](https://python-all.ru/3.2/library/argparse.html#other-utilities)

        - [15.4.5.1. Подкоманды](https://python-all.ru/3.2/library/argparse.html#sub-commands)
        - [15.4.5.2. Объекты FileType](https://python-all.ru/3.2/library/argparse.html#filetype-objects)
        - [15.4.5.3. Группы аргументов](https://python-all.ru/3.2/library/argparse.html#argument-groups)
        - [15.4.5.4. Взаимное исключение](https://python-all.ru/3.2/library/argparse.html#mutual-exclusion)
        - [15.4.5.5. Значения по умолчанию парсера](https://python-all.ru/3.2/library/argparse.html#parser-defaults)
        - [15.4.5.6. Вывод справки](https://python-all.ru/3.2/library/argparse.html#printing-help)
        - [15.4.5.7. Частичный разбор](https://python-all.ru/3.2/library/argparse.html#partial-parsing)
        - [15.4.5.8. Настройка разбора файлов](https://python-all.ru/3.2/library/argparse.html#customizing-file-parsing)
        - [15.4.5.9. Методы завершения](https://python-all.ru/3.2/library/argparse.html#exiting-methods)
      - [15.4.6. Обновление кода optparse](https://python-all.ru/3.2/library/argparse.html#upgrading-optparse-code)
    - [15.5. `optparse` – Парсер параметров командной строки](https://python-all.ru/3.2/library/optparse.html)

      - [15.5.1. Общие сведения](https://python-all.ru/3.2/library/optparse.html#background)

        - [15.5.1.1. Терминология](https://python-all.ru/3.2/library/optparse.html#terminology)
        - [15.5.1.2. Для чего нужны параметры?](https://python-all.ru/3.2/library/optparse.html#what-are-options-for)
        - [15.5.1.3. Для чего нужны позиционные аргументы?](https://python-all.ru/3.2/library/optparse.html#what-are-positional-arguments-for)
      - [15.5.2. Учебное пособие](https://python-all.ru/3.2/library/optparse.html#tutorial)

        - [15.5.2.1. Действия параметров](https://python-all.ru/3.2/library/optparse.html#understanding-option-actions)
        - [15.5.2.2. Действие store](https://python-all.ru/3.2/library/optparse.html#the-store-action)
        - [15.5.2.3. Обработка булевых (флаговых) параметров](https://python-all.ru/3.2/library/optparse.html#handling-boolean-flag-options)
        - [15.5.2.4. Прочие действия](https://python-all.ru/3.2/library/optparse.html#other-actions)
        - [15.5.2.5. Значения по умолчанию](https://python-all.ru/3.2/library/optparse.html#default-values)
        - [15.5.2.6. Генерация справки](https://python-all.ru/3.2/library/optparse.html#generating-help)

          - [15.5.2.6.1. Группировка параметров](https://python-all.ru/3.2/library/optparse.html#grouping-options)
        - [15.5.2.7. Вывод строки версии](https://python-all.ru/3.2/library/optparse.html#printing-a-version-string)
        - [15.5.2.8. Как `optparse` обрабатывает ошибки](https://python-all.ru/3.2/library/optparse.html#how-optparse-handles-errors)
        - [15.5.2.9. Собираем всё вместе](https://python-all.ru/3.2/library/optparse.html#putting-it-all-together)
      - [15.5.3. Справочное руководство](https://python-all.ru/3.2/library/optparse.html#reference-guide)

        - [15.5.3.1. Создание парсера](https://python-all.ru/3.2/library/optparse.html#creating-the-parser)
        - [15.5.3.2. Заполнение парсера](https://python-all.ru/3.2/library/optparse.html#populating-the-parser)
        - [15.5.3.3. Определение параметров](https://python-all.ru/3.2/library/optparse.html#defining-options)
        - [15.5.3.4. Атрибуты параметров](https://python-all.ru/3.2/library/optparse.html#option-attributes)
        - [15.5.3.5. Стандартные действия параметров](https://python-all.ru/3.2/library/optparse.html#standard-option-actions)
        - [15.5.3.6. Стандартные типы параметров](https://python-all.ru/3.2/library/optparse.html#standard-option-types)
        - [15.5.3.7. Разбор аргументов](https://python-all.ru/3.2/library/optparse.html#parsing-arguments)
        - [15.5.3.8. Запросы и изменение парсера параметров](https://python-all.ru/3.2/library/optparse.html#querying-and-manipulating-your-option-parser)
        - [15.5.3.9. Конфликты между параметрами](https://python-all.ru/3.2/library/optparse.html#conflicts-between-options)
        - [15.5.3.10. Очистка](https://python-all.ru/3.2/library/optparse.html#cleanup)
        - [15.5.3.11. Прочие методы](https://python-all.ru/3.2/library/optparse.html#other-methods)
      - [15.5.4. Колбэки параметров](https://python-all.ru/3.2/library/optparse.html#option-callbacks)

        - [15.5.4.1. Определение параметра-колбэка](https://python-all.ru/3.2/library/optparse.html#defining-a-callback-option)
        - [15.5.4.2. Как вызываются колбэки](https://python-all.ru/3.2/library/optparse.html#how-callbacks-are-called)
        - [15.5.4.3. Возбуждение ошибок в колбэке](https://python-all.ru/3.2/library/optparse.html#raising-errors-in-a-callback)
        - [15.5.4.4. Пример колбэка 1: тривиальный колбэк](https://python-all.ru/3.2/library/optparse.html#callback-example-1-trivial-callback)
        - [15.5.4.5. Пример колбэка 2: проверка порядка опций](https://python-all.ru/3.2/library/optparse.html#callback-example-2-check-option-order)
        - [15.5.4.6. Пример колбэка 3: проверка порядка опций (обобщённая)](https://python-all.ru/3.2/library/optparse.html#callback-example-3-check-option-order-generalized)
        - [15.5.4.7. Пример колбэка 4: проверка произвольного условия](https://python-all.ru/3.2/library/optparse.html#callback-example-4-check-arbitrary-condition)
        - [15.5.4.8. Пример колбэка 5: фиксированные аргументы](https://python-all.ru/3.2/library/optparse.html#callback-example-5-fixed-arguments)
        - [15.5.4.9. Пример колбэка 6: переменные аргументы](https://python-all.ru/3.2/library/optparse.html#callback-example-6-variable-arguments)
      - [15.5.5. Расширение `optparse`](https://python-all.ru/3.2/library/optparse.html#extending-optparse)

        - [15.5.5.1. Добавление новых типов](https://python-all.ru/3.2/library/optparse.html#adding-new-types)
        - [15.5.5.2. Добавление новых действий](https://python-all.ru/3.2/library/optparse.html#adding-new-actions)
    - [15.6. `getopt` – C-стильный парсер аргументов командной строки](https://python-all.ru/3.2/library/getopt.html)
    - [15.7. `logging` – Средство логирования для Python](https://python-all.ru/3.2/library/logging.html)

      - [15.7.1. Объекты Logger](https://python-all.ru/3.2/library/logging.html#logger-objects)
      - [15.7.2. Объекты Handler](https://python-all.ru/3.2/library/logging.html#handler-objects)
      - [15.7.3. Объекты Formatter](https://python-all.ru/3.2/library/logging.html#formatter-objects)
      - [15.7.4. Объекты Filter](https://python-all.ru/3.2/library/logging.html#filter-objects)
      - [15.7.5. Объекты LogRecord](https://python-all.ru/3.2/library/logging.html#logrecord-objects)
      - [15.7.6. Атрибуты LogRecord](https://python-all.ru/3.2/library/logging.html#logrecord-attributes)
      - [15.7.7. Объекты LoggerAdapter](https://python-all.ru/3.2/library/logging.html#loggeradapter-objects)
      - [15.7.8. Потокобезопасность](https://python-all.ru/3.2/library/logging.html#thread-safety)
      - [15.7.9. Функции уровня модуля](https://python-all.ru/3.2/library/logging.html#module-level-functions)
      - [15.7.10. Атрибуты уровня модуля](https://python-all.ru/3.2/library/logging.html#module-level-attributes)
      - [15.7.11. Интеграция с модулем warnings](https://python-all.ru/3.2/library/logging.html#integration-with-the-warnings-module)
    - [15.8. `logging.config` – Конфигурация логирования](https://python-all.ru/3.2/library/logging.config.html)

      - [15.8.1. Функции конфигурации](https://python-all.ru/3.2/library/logging.config.html#configuration-functions)
      - [15.8.2. Схема словаря конфигурации](https://python-all.ru/3.2/library/logging.config.html#configuration-dictionary-schema)

        - [15.8.2.1. Подробности схемы словаря](https://python-all.ru/3.2/library/logging.config.html#dictionary-schema-details)
        - [15.8.2.2. Инкрементальная конфигурация](https://python-all.ru/3.2/library/logging.config.html#incremental-configuration)
        - [15.8.2.3. Связи объектов](https://python-all.ru/3.2/library/logging.config.html#object-connections)
        - [15.8.2.4. Определяемые пользователем объекты](https://python-all.ru/3.2/library/logging.config.html#user-defined-objects)
        - [15.8.2.5. Доступ к внешним объектам](https://python-all.ru/3.2/library/logging.config.html#access-to-external-objects)
        - [15.8.2.6. Доступ к внутренним объектам](https://python-all.ru/3.2/library/logging.config.html#access-to-internal-objects)
        - [15.8.2.7. Разрешение импорта и пользовательские импортёры](https://python-all.ru/3.2/library/logging.config.html#import-resolution-and-custom-importers)
      - [15.8.3. Формат конфигурационного файла](https://python-all.ru/3.2/library/logging.config.html#configuration-file-format)
    - [15.9. `logging.handlers` – Обработчики журналирования](https://python-all.ru/3.2/library/logging.handlers.html)

      - [15.9.1. StreamHandler](https://python-all.ru/3.2/library/logging.handlers.html#streamhandler)
      - [15.9.2. FileHandler](https://python-all.ru/3.2/library/logging.handlers.html#filehandler)
      - [15.9.3. NullHandler](https://python-all.ru/3.2/library/logging.handlers.html#nullhandler)
      - [15.9.4. WatchedFileHandler](https://python-all.ru/3.2/library/logging.handlers.html#watchedfilehandler)
      - [15.9.5. RotatingFileHandler](https://python-all.ru/3.2/library/logging.handlers.html#rotatingfilehandler)
      - [15.9.6. TimedRotatingFileHandler](https://python-all.ru/3.2/library/logging.handlers.html#timedrotatingfilehandler)
      - [15.9.7. SocketHandler](https://python-all.ru/3.2/library/logging.handlers.html#sockethandler)
      - [15.9.8. DatagramHandler](https://python-all.ru/3.2/library/logging.handlers.html#datagramhandler)
      - [15.9.9. SysLogHandler](https://python-all.ru/3.2/library/logging.handlers.html#sysloghandler)
      - [15.9.10. NTEventLogHandler](https://python-all.ru/3.2/library/logging.handlers.html#nteventloghandler)
      - [15.9.11. SMTPHandler](https://python-all.ru/3.2/library/logging.handlers.html#smtphandler)
      - [15.9.12. MemoryHandler](https://python-all.ru/3.2/library/logging.handlers.html#memoryhandler)
      - [15.9.13. HTTPHandler](https://python-all.ru/3.2/library/logging.handlers.html#httphandler)
      - [15.9.14. QueueHandler](https://python-all.ru/3.2/library/logging.handlers.html#queuehandler)
      - [15.9.15. QueueListener](https://python-all.ru/3.2/library/logging.handlers.html#queuelistener)
    - [15.10. `getpass` – Переносимый ввод пароля](https://python-all.ru/3.2/library/getpass.html)
    - [15.11. `curses` – Управление терминалом для символьных дисплеев](https://python-all.ru/3.2/library/curses.html)

      - [15.11.1. Функции](https://python-all.ru/3.2/library/curses.html#functions)
      - [15.11.2. Объекты окон](https://python-all.ru/3.2/library/curses.html#window-objects)
      - [15.11.3. Константы](https://python-all.ru/3.2/library/curses.html#constants)
    - [15.12. `curses.textpad` – Виджет ввода текста для программ с curses](https://python-all.ru/3.2/library/curses.html#module-curses.textpad)

      - [15.12.1. Объекты Textbox](https://python-all.ru/3.2/library/curses.html#textbox-objects)
    - [15.13. `curses.ascii` – Утилиты для символов ASCII](https://python-all.ru/3.2/library/curses.ascii.html)
    - [15.14. `curses.panel` – Расширение стека панелей для curses](https://python-all.ru/3.2/library/curses.panel.html)

      - [15.14.1. Функции](https://python-all.ru/3.2/library/curses.panel.html#functions)
      - [15.14.2. Объекты панелей](https://python-all.ru/3.2/library/curses.panel.html#panel-objects)
    - [15.15. `platform` – Доступ к идентификационным данным базовой платформы](https://python-all.ru/3.2/library/platform.html)

      - [15.15.1. Кроссплатформенные](https://python-all.ru/3.2/library/platform.html#cross-platform)
      - [15.15.2. Платформа Java](https://python-all.ru/3.2/library/platform.html#java-platform)
      - [15.15.3. Платформа Windows](https://python-all.ru/3.2/library/platform.html#windows-platform)

        - [15.15.3.1. Особенности Win95/98](https://python-all.ru/3.2/library/platform.html#win95-98-specific)
      - [15.15.4. Платформа Mac OS](https://python-all.ru/3.2/library/platform.html#mac-os-platform)
      - [15.15.5. Платформы Unix](https://python-all.ru/3.2/library/platform.html#unix-platforms)
    - [15.16. `errno` – Стандартные системные символы errno](https://python-all.ru/3.2/library/errno.html)
    - [15.17. `ctypes` – Библиотека внешних функций для Python](https://python-all.ru/3.2/library/ctypes.html)

      - [15.17.1. Руководство по ctypes](https://python-all.ru/3.2/library/ctypes.html#ctypes-tutorial)

        - [15.17.1.1. Загрузка динамически подключаемых библиотек](https://python-all.ru/3.2/library/ctypes.html#loading-dynamic-link-libraries)
        - [15.17.1.2. Доступ к функциям из загруженных DLL](https://python-all.ru/3.2/library/ctypes.html#accessing-functions-from-loaded-dlls)
        - [15.17.1.3. Вызов функций](https://python-all.ru/3.2/library/ctypes.html#calling-functions)
        - [15.17.1.4. Базовые типы данных](https://python-all.ru/3.2/library/ctypes.html#fundamental-data-types)
        - [15.17.1.5. Вызов функций (продолжение)](https://python-all.ru/3.2/library/ctypes.html#calling-functions-continued)
        - [15.17.1.6. Вызов функций с собственными пользовательскими типами данных](https://python-all.ru/3.2/library/ctypes.html#calling-functions-with-your-own-custom-data-types)
        - [15.17.1.7. Указание требуемых типов аргументов (прототипы функций)](https://python-all.ru/3.2/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)
        - [15.17.1.8. Типы возвращаемых значений](https://python-all.ru/3.2/library/ctypes.html#return-types)
        - [15.17.1.9. Передача указателей (или передача параметров по ссылке)](https://python-all.ru/3.2/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)
        - [15.17.1.10. Структуры и объединения](https://python-all.ru/3.2/library/ctypes.html#structures-and-unions)
        - [15.17.1.11. Выравнивание структур/объединений и порядок байтов](https://python-all.ru/3.2/library/ctypes.html#structure-union-alignment-and-byte-order)
        - [15.17.1.12. Битовые поля в структурах и объединениях](https://python-all.ru/3.2/library/ctypes.html#bit-fields-in-structures-and-unions)
        - [15.17.1.13. Массивы](https://python-all.ru/3.2/library/ctypes.html#arrays)
        - [15.17.1.14. Указатели](https://python-all.ru/3.2/library/ctypes.html#pointers)
        - [15.17.1.15. Преобразования типов](https://python-all.ru/3.2/library/ctypes.html#type-conversions)
        - [15.17.1.16. Неполные типы](https://python-all.ru/3.2/library/ctypes.html#incomplete-types)
        - [15.17.1.17. Функции обратного вызова](https://python-all.ru/3.2/library/ctypes.html#callback-functions)
        - [15.17.1.18. Доступ к значениям, экспортируемым из DLL](https://python-all.ru/3.2/library/ctypes.html#accessing-values-exported-from-dlls)
        - [15.17.1.19. Неожиданности](https://python-all.ru/3.2/library/ctypes.html#surprises)
        - [15.17.1.20. Типы данных переменного размера](https://python-all.ru/3.2/library/ctypes.html#variable-sized-data-types)
      - [15.17.2. Справочник по ctypes](https://python-all.ru/3.2/library/ctypes.html#ctypes-reference)

        - [15.17.2.1. Поиск разделяемых библиотек](https://python-all.ru/3.2/library/ctypes.html#finding-shared-libraries)
        - [15.17.2.2. Загрузка разделяемых библиотек](https://python-all.ru/3.2/library/ctypes.html#loading-shared-libraries)
        - [15.17.2.3. Внешние функции](https://python-all.ru/3.2/library/ctypes.html#foreign-functions)
        - [15.17.2.4. Прототипы функций](https://python-all.ru/3.2/library/ctypes.html#function-prototypes)
        - [15.17.2.5. Вспомогательные функции](https://python-all.ru/3.2/library/ctypes.html#utility-functions)
        - [15.17.2.6. Типы данных](https://python-all.ru/3.2/library/ctypes.html#data-types)
        - [15.17.2.7. Базовые типы данных](https://python-all.ru/3.2/library/ctypes.html#ctypes-fundamental-data-types-2)
        - [15.17.2.8. Структурированные типы данных](https://python-all.ru/3.2/library/ctypes.html#structured-data-types)
        - [15.17.2.9. Массивы и указатели](https://python-all.ru/3.2/library/ctypes.html#arrays-and-pointers)
  - [16. Дополнительные службы операционной системы](https://python-all.ru/3.2/library/someos.html)

    - [16.1. `select` – Ожидание завершения ввода-вывода](https://python-all.ru/3.2/library/select.html)

      - [16.1.1. Объекты опроса по переднему фронту и по уровню (epoll)](https://python-all.ru/3.2/library/select.html#edge-and-level-trigger-polling-epoll-objects)
      - [16.1.2. Объекты опроса](https://python-all.ru/3.2/library/select.html#polling-objects)
      - [16.1.3. Объекты kqueue](https://python-all.ru/3.2/library/select.html#kqueue-objects)
      - [16.1.4. Объекты kevent](https://python-all.ru/3.2/library/select.html#kevent-objects)
    - [16.2. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.2/library/threading.html)

      - [16.2.1. Объекты потоков](https://python-all.ru/3.2/library/threading.html#thread-objects)
      - [16.2.2. Объекты блокировок](https://python-all.ru/3.2/library/threading.html#lock-objects)
      - [16.2.3. Объекты RLock](https://python-all.ru/3.2/library/threading.html#rlock-objects)
      - [16.2.4. Объекты Condition](https://python-all.ru/3.2/library/threading.html#condition-objects)

        - [16.2.4.1. Использование](https://python-all.ru/3.2/library/threading.html#usage)
        - [16.2.4.2. Интерфейс](https://python-all.ru/3.2/library/threading.html#interface)
      - [16.2.5. Объекты семафоров](https://python-all.ru/3.2/library/threading.html#semaphore-objects)

        - [16.2.5.1. Пример с `Semaphore`](https://python-all.ru/3.2/library/threading.html#semaphore-example)
      - [16.2.6. Объекты событий](https://python-all.ru/3.2/library/threading.html#event-objects)
      - [16.2.7. Объекты таймеров](https://python-all.ru/3.2/library/threading.html#timer-objects)
      - [16.2.8. Объекты Barrier](https://python-all.ru/3.2/library/threading.html#barrier-objects)
      - [16.2.9. Использование блокировок, условий и семафоров в операторе `with`](https://python-all.ru/3.2/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)
      - [16.2.10. Импорт в многопоточном коде](https://python-all.ru/3.2/library/threading.html#importing-in-threaded-code)
    - [16.3. `multiprocessing` – Параллелизм на основе процессов](https://python-all.ru/3.2/library/multiprocessing.html)

      - [16.3.1. Введение](https://python-all.ru/3.2/library/multiprocessing.html#introduction)

        - [16.3.1.1. Класс `Process`](https://python-all.ru/3.2/library/multiprocessing.html#the-process-class)
        - [16.3.1.2. Обмен объектами между процессами](https://python-all.ru/3.2/library/multiprocessing.html#exchanging-objects-between-processes)
        - [16.3.1.3. Синхронизация между процессами](https://python-all.ru/3.2/library/multiprocessing.html#synchronization-between-processes)
        - [16.3.1.4. Разделение состояния между процессами](https://python-all.ru/3.2/library/multiprocessing.html#sharing-state-between-processes)
        - [16.3.1.5. Использование пула процессов](https://python-all.ru/3.2/library/multiprocessing.html#using-a-pool-of-workers)
      - [16.3.2. Справочник](https://python-all.ru/3.2/library/multiprocessing.html#reference)

        - [16.3.2.1. `процесс` и исключения](https://python-all.ru/3.2/library/multiprocessing.html#process-and-exceptions)
        - [16.3.2.2. Каналы и очереди](https://python-all.ru/3.2/library/multiprocessing.html#pipes-and-queues)
        - [16.3.2.3. Разное](https://python-all.ru/3.2/library/multiprocessing.html#miscellaneous)
        - [16.3.2.4. Объекты соединений](https://python-all.ru/3.2/library/multiprocessing.html#connection-objects)
        - [16.3.2.5. Примитивы синхронизации](https://python-all.ru/3.2/library/multiprocessing.html#synchronization-primitives)
        - [16.3.2.6. Разделяемые `ctypes` объекты](https://python-all.ru/3.2/library/multiprocessing.html#shared-ctypes-objects)

          - [16.3.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.sharedctypes)
        - [16.3.2.7. Менеджеры](https://python-all.ru/3.2/library/multiprocessing.html#managers)

          - [16.3.2.7.1. Объекты пространства имён](https://python-all.ru/3.2/library/multiprocessing.html#namespace-objects)
          - [16.3.2.7.2. Настраиваемые менеджеры](https://python-all.ru/3.2/library/multiprocessing.html#customized-managers)
          - [16.3.2.7.3. Использование удалённого менеджера](https://python-all.ru/3.2/library/multiprocessing.html#using-a-remote-manager)
        - [16.3.2.8. Объекты-прокси](https://python-all.ru/3.2/library/multiprocessing.html#proxy-objects)

          - [16.3.2.8.1. Очистка](https://python-all.ru/3.2/library/multiprocessing.html#cleanup)
        - [16.3.2.9. Пулы процессов](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.pool)
        - [16.3.2.10. Слушатели и клиенты](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.connection)

          - [16.3.2.10.1. Форматы адресов](https://python-all.ru/3.2/library/multiprocessing.html#address-formats)
        - [16.3.2.11. Ключи аутентификации](https://python-all.ru/3.2/library/multiprocessing.html#authentication-keys)
        - [16.3.2.12. Журналирование](https://python-all.ru/3.2/library/multiprocessing.html#logging)
        - [16.3.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.2/library/multiprocessing.html#module-multiprocessing.dummy)
      - [16.3.3. Рекомендации по программированию](https://python-all.ru/3.2/library/multiprocessing.html#programming-guidelines)

        - [16.3.3.1. Все платформы](https://python-all.ru/3.2/library/multiprocessing.html#all-platforms)
        - [16.3.3.2. Windows](https://python-all.ru/3.2/library/multiprocessing.html#windows)
      - [16.3.4. Примеры](https://python-all.ru/3.2/library/multiprocessing.html#examples)
    - [16.4. `concurrent.futures` – запуск параллельных задач](https://python-all.ru/3.2/library/concurrent.futures.html)

      - [16.4.1. Объекты исполнителя](https://python-all.ru/3.2/library/concurrent.futures.html#executor-objects)
      - [16.4.2. ThreadPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#threadpoolexecutor)

        - [16.4.2.1. Пример ThreadPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#threadpoolexecutor-example)
      - [16.4.3. ProcessPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#processpoolexecutor)

        - [16.4.3.1. Пример ProcessPoolExecutor](https://python-all.ru/3.2/library/concurrent.futures.html#processpoolexecutor-example)
      - [16.4.4. Объекты Future](https://python-all.ru/3.2/library/concurrent.futures.html#future-objects)
      - [16.4.5. Функции модуля](https://python-all.ru/3.2/library/concurrent.futures.html#module-functions)
    - [16.5. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/3.2/library/mmap.html)
    - [16.6. `readline` – Интерфейс GNU readline](https://python-all.ru/3.2/library/readline.html)

      - [16.6.1. Пример](https://python-all.ru/3.2/library/readline.html#example)
    - [16.7. `rlcompleter` – Функция автодополнения для GNU readline](https://python-all.ru/3.2/library/rlcompleter.html)

      - [16.7.1. Объекты Completer](https://python-all.ru/3.2/library/rlcompleter.html#completer-objects)
    - [16.8. `dummy_threading` – Прозрачная замена модуля `threading`](https://python-all.ru/3.2/library/dummy_threading.html)
    - [16.9. `_thread` – Низкоуровневый API потоков](https://python-all.ru/3.2/library/_thread.html)
    - [16.10. `_dummy_thread` – Прозрачная замена модуля `_thread`](https://python-all.ru/3.2/library/_dummy_thread.html)
  - [17. Межпроцессное взаимодействие и сетевые возможности](https://python-all.ru/3.2/library/ipc.html)

    - [17.1. `subprocess` – Управление подпроцессами](https://python-all.ru/3.2/library/subprocess.html)

      - [17.1.1. Использование модуля `subprocess`](https://python-all.ru/3.2/library/subprocess.html#using-the-subprocess-module)

        - [17.1.1.1. Часто используемые аргументы](https://python-all.ru/3.2/library/subprocess.html#frequently-used-arguments)
        - [17.1.1.2. Конструктор Popen](https://python-all.ru/3.2/library/subprocess.html#popen-constructor)
        - [17.1.1.3. Исключения](https://python-all.ru/3.2/library/subprocess.html#exceptions)
        - [17.1.1.4. Безопасность](https://python-all.ru/3.2/library/subprocess.html#security)
      - [17.1.2. Объекты Popen](https://python-all.ru/3.2/library/subprocess.html#popen-objects)
      - [17.1.3. Вспомогательные функции Popen для Windows](https://python-all.ru/3.2/library/subprocess.html#windows-popen-helpers)

        - [17.1.3.1. Константы](https://python-all.ru/3.2/library/subprocess.html#constants)
      - [17.1.4. Замена старых функций модулем `subprocess`](https://python-all.ru/3.2/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)

        - [17.1.4.1. Замена обратных кавычек оболочки /bin/sh](https://python-all.ru/3.2/library/subprocess.html#replacing-bin-sh-shell-backquote)
        - [17.1.4.2. Замена конвейера оболочки](https://python-all.ru/3.2/library/subprocess.html#replacing-shell-pipeline)
        - [17.1.4.3. Замена `os.system()`](https://python-all.ru/3.2/library/subprocess.html#replacing-os-system)
        - [17.1.4.4. Замена семейства `os.spawn`](https://python-all.ru/3.2/library/subprocess.html#replacing-the-os-spawn-family)
        - [17.1.4.5. Замена `os.popen()`, `os.popen2()`, `os.popen3()`](https://python-all.ru/3.2/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3)
        - [17.1.4.6. Замена функций из модуля `popen2`](https://python-all.ru/3.2/library/subprocess.html#replacing-functions-from-the-popen2-module)
      - [17.1.5. Устаревшие функции вызова оболочки](https://python-all.ru/3.2/library/subprocess.html#legacy-shell-invocation-functions)
      - [17.1.6. Примечания](https://python-all.ru/3.2/library/subprocess.html#notes)

        - [17.1.6.1. Преобразование последовательности аргументов в строку в Windows](https://python-all.ru/3.2/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows)
    - [17.2. `socket` – Низкоуровневый сетевой интерфейс](https://python-all.ru/3.2/library/socket.html)

      - [17.2.1. Семейства сокетов](https://python-all.ru/3.2/library/socket.html#socket-families)
      - [17.2.2. Содержимое модуля](https://python-all.ru/3.2/library/socket.html#module-contents)
      - [17.2.3. Объекты сокетов](https://python-all.ru/3.2/library/socket.html#socket-objects)
      - [17.2.4. Замечания по тайм-аутам сокетов](https://python-all.ru/3.2/library/socket.html#notes-on-socket-timeouts)

        - [17.2.4.1. Тайм-ауты и метод `connect`](https://python-all.ru/3.2/library/socket.html#timeouts-and-the-connect-method)
        - [17.2.4.2. Тайм-ауты и метод `accept`](https://python-all.ru/3.2/library/socket.html#timeouts-and-the-accept-method)
      - [17.2.5. Пример](https://python-all.ru/3.2/library/socket.html#example)
    - [17.3. `ssl` – обёртка TLS/SSL для объектов сокетов](https://python-all.ru/3.2/library/ssl.html)

      - [17.3.1. Функции, константы и исключения](https://python-all.ru/3.2/library/ssl.html#functions-constants-and-exceptions)

        - [17.3.1.1. Создание сокетов](https://python-all.ru/3.2/library/ssl.html#socket-creation)
        - [17.3.1.2. Генерация случайных чисел](https://python-all.ru/3.2/library/ssl.html#random-generation)
        - [17.3.1.3. Работа с сертификатами](https://python-all.ru/3.2/library/ssl.html#certificate-handling)
        - [17.3.1.4. Константы](https://python-all.ru/3.2/library/ssl.html#constants)
      - [17.3.2. SSL-сокеты](https://python-all.ru/3.2/library/ssl.html#ssl-sockets)
      - [17.3.3. SSL-контексты](https://python-all.ru/3.2/library/ssl.html#ssl-contexts)
      - [17.3.4. Сертификаты](https://python-all.ru/3.2/library/ssl.html#certificates)

        - [17.3.4.1. Цепочки сертификатов](https://python-all.ru/3.2/library/ssl.html#certificate-chains)
        - [17.3.4.2. Сертификаты CA](https://python-all.ru/3.2/library/ssl.html#ca-certificates)
        - [17.3.4.3. Совмещённые ключ и сертификат](https://python-all.ru/3.2/library/ssl.html#combined-key-and-certificate)
        - [17.3.4.4. Самоподписанные сертификаты](https://python-all.ru/3.2/library/ssl.html#self-signed-certificates)
      - [17.3.5. Примеры](https://python-all.ru/3.2/library/ssl.html#examples)

        - [17.3.5.1. Проверка поддержки SSL](https://python-all.ru/3.2/library/ssl.html#testing-for-ssl-support)
        - [17.3.5.2. Работа на стороне клиента](https://python-all.ru/3.2/library/ssl.html#client-side-operation)
        - [17.3.5.3. Работа на стороне сервера](https://python-all.ru/3.2/library/ssl.html#server-side-operation)
      - [17.3.6. Замечания по неблокирующим сокетам](https://python-all.ru/3.2/library/ssl.html#notes-on-non-blocking-sockets)
      - [17.3.7. Вопросы безопасности](https://python-all.ru/3.2/library/ssl.html#security-considerations)

        - [17.3.7.1. Проверка сертификатов](https://python-all.ru/3.2/library/ssl.html#verifying-certificates)
        - [17.3.7.2. Версии протоколов](https://python-all.ru/3.2/library/ssl.html#protocol-versions)
        - [17.3.7.3. Выбор шифров](https://python-all.ru/3.2/library/ssl.html#cipher-selection)
    - [17.4. `signal` – Установка обработчиков для асинхронных событий](https://python-all.ru/3.2/library/signal.html)

      - [17.4.1. Общие правила](https://python-all.ru/3.2/library/signal.html#general-rules)

        - [17.4.1.1. Выполнение обработчиков сигналов Python](https://python-all.ru/3.2/library/signal.html#execution-of-python-signal-handlers)
        - [17.4.1.2. Сигналы и потоки](https://python-all.ru/3.2/library/signal.html#signals-and-threads)
      - [17.4.2. Содержимое модуля](https://python-all.ru/3.2/library/signal.html#module-contents)
      - [17.4.3. Пример](https://python-all.ru/3.2/library/signal.html#example)
    - [17.5. `asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/3.2/library/asyncore.html)

      - [17.5.1. asyncore – пример базового HTTP-клиента](https://python-all.ru/3.2/library/asyncore.html#asyncore-example-basic-http-client)
      - [17.5.2. asyncore – пример базового эхо-сервера](https://python-all.ru/3.2/library/asyncore.html#asyncore-example-basic-echo-server)
    - [17.6. `asynchat` – Асинхронный обработчик команд/ответов сокетов](https://python-all.ru/3.2/library/asynchat.html)

      - [17.6.1. asynchat – Вспомогательные классы](https://python-all.ru/3.2/library/asynchat.html#asynchat-auxiliary-classes)
      - [17.6.2. asynchat – пример](https://python-all.ru/3.2/library/asynchat.html#asynchat-example)
  - [18. Обработка интернет-данных](https://python-all.ru/3.2/library/netdata.html)

    - [18.1. `email` – Пакет для работы с электронной почтой и MIME](https://python-all.ru/3.2/library/email.html)

      - [18.1.1. `email.message`: Представление сообщения электронной почты](https://python-all.ru/3.2/library/email.message.html)
      - [18.1.2. `email.parser`: Разбор сообщений электронной почты](https://python-all.ru/3.2/library/email.parser.html)

        - [18.1.2.1. FeedParser API](https://python-all.ru/3.2/library/email.parser.html#feedparser-api)
        - [18.1.2.2. API класса Parser](https://python-all.ru/3.2/library/email.parser.html#parser-class-api)
        - [18.1.2.3. Дополнительные замечания](https://python-all.ru/3.2/library/email.parser.html#additional-notes)
      - [18.1.3. `email.generator`: Генерация MIME-документов](https://python-all.ru/3.2/library/email.generator.html)
      - [18.1.4. `email.mime`: Создание объектов электронной почты и MIME с нуля](https://python-all.ru/3.2/library/email.mime.html)
      - [18.1.5. `email.header`: Интернационализированные заголовки](https://python-all.ru/3.2/library/email.header.html)
      - [18.1.6. `email.charset`: Представление наборов символов](https://python-all.ru/3.2/library/email.charset.html)
      - [18.1.7. `email.encoders`: Кодировщики](https://python-all.ru/3.2/library/email.encoders.html)
      - [18.1.8. `email.errors`: Классы исключений и дефектов](https://python-all.ru/3.2/library/email.errors.html)
      - [18.1.9. `email.utils`: Разные утилиты](https://python-all.ru/3.2/library/email.util.html)
      - [18.1.10. `email.iterators`: Итераторы](https://python-all.ru/3.2/library/email.iterators.html)
      - [18.1.11. `email`: Примеры](https://python-all.ru/3.2/library/email-examples.html)
      - [18.1.12. История пакета](https://python-all.ru/3.2/library/email.html#package-history)
      - [18.1.13. Отличия от `mimelib`](https://python-all.ru/3.2/library/email.html#differences-from-mimelib)
    - [18.2. `json` – Кодировщик и декодировщик JSON](https://python-all.ru/3.2/library/json.html)

      - [18.2.1. Базовое использование](https://python-all.ru/3.2/library/json.html#basic-usage)
      - [18.2.2. Кодировщики и декодировщики](https://python-all.ru/3.2/library/json.html#encoders-and-decoders)
      - [18.2.3. Соответствие стандарту](https://python-all.ru/3.2/library/json.html#standard-compliance)

        - [18.2.3.1. Кодировки символов](https://python-all.ru/3.2/library/json.html#character-encodings)
        - [18.2.3.2. Значения верхнего уровня, не являющиеся объектами или массивами](https://python-all.ru/3.2/library/json.html#top-level-non-object-non-array-values)
        - [18.2.3.3. Бесконечные значения и NaN](https://python-all.ru/3.2/library/json.html#infinite-and-nan-number-values)
        - [18.2.3.4. Повторяющиеся имена внутри объекта](https://python-all.ru/3.2/library/json.html#repeated-names-within-an-object)
    - [18.3. `mailcap` – Обработка файлов mailcap](https://python-all.ru/3.2/library/mailcap.html)
    - [18.4. `mailbox` – Работа с почтовыми ящиками в различных форматах](https://python-all.ru/3.2/library/mailbox.html)

      - [18.4.1. Объекты `Mailbox`](https://python-all.ru/3.2/library/mailbox.html#mailbox-objects)

        - [18.4.1.1. `Maildir`](https://python-all.ru/3.2/library/mailbox.html#maildir)
        - [18.4.1.2. `mbox`](https://python-all.ru/3.2/library/mailbox.html#mbox)
        - [18.4.1.3. `MH`](https://python-all.ru/3.2/library/mailbox.html#mh)
        - [18.4.1.4. `Babyl`](https://python-all.ru/3.2/library/mailbox.html#babyl)
        - [18.4.1.5. `MMDF`](https://python-all.ru/3.2/library/mailbox.html#mmdf)
      - [18.4.2. Объекты `Message`](https://python-all.ru/3.2/library/mailbox.html#message-objects)

        - [18.4.2.1. `MaildirMessage`](https://python-all.ru/3.2/library/mailbox.html#maildirmessage)
        - [18.4.2.2. `mboxMessage`](https://python-all.ru/3.2/library/mailbox.html#mboxmessage)
        - [18.4.2.3. `MHMessage`](https://python-all.ru/3.2/library/mailbox.html#mhmessage)
        - [18.4.2.4. `BabylMessage`](https://python-all.ru/3.2/library/mailbox.html#babylmessage)
        - [18.4.2.5. `MMDFMessage`](https://python-all.ru/3.2/library/mailbox.html#mmdfmessage)
      - [18.4.3. Исключения](https://python-all.ru/3.2/library/mailbox.html#exceptions)
      - [18.4.4. Примеры](https://python-all.ru/3.2/library/mailbox.html#examples)
    - [18.5. `mimetypes` – Сопоставление имён файлов с MIME-типами](https://python-all.ru/3.2/library/mimetypes.html)

      - [18.5.1. Объекты MimeTypes](https://python-all.ru/3.2/library/mimetypes.html#mimetypes-objects)
    - [18.6. `base64` – RFC 3548: Кодирование данных Base16, Base32, Base64](https://python-all.ru/3.2/library/base64.html)
    - [18.7. `binhex` – Кодирование и декодирование файлов binhex4](https://python-all.ru/3.2/library/binhex.html)

      - [18.7.1. Замечания](https://python-all.ru/3.2/library/binhex.html#notes)
    - [18.8. `binascii` – Преобразование между двоичным и ASCII](https://python-all.ru/3.2/library/binascii.html)
    - [18.9. `quopri` – Кодирование и декодирование MIME quoted-printable данных](https://python-all.ru/3.2/library/quopri.html)
    - [18.10. `uu` – Кодирование и декодирование файлов uuencode](https://python-all.ru/3.2/library/uu.html)
  - [19. Инструменты обработки структурированной разметки](https://python-all.ru/3.2/library/markup.html)

    - [19.1. `html` – Поддержка языка гипертекстовой разметки](https://python-all.ru/3.2/library/html.html)
    - [19.2. `html.parser` – Простой парсер HTML и XHTML](https://python-all.ru/3.2/library/html.parser.html)

      - [19.2.1. Пример приложения парсера HTML](https://python-all.ru/3.2/library/html.parser.html#example-html-parser-application)
      - [19.2.2. Методы `HTMLParser`](https://python-all.ru/3.2/library/html.parser.html#htmlparser-methods)
      - [19.2.3. Примеры](https://python-all.ru/3.2/library/html.parser.html#examples)
    - [19.3. `html.entities` – Определения общих HTML-сущностей](https://python-all.ru/3.2/library/html.entities.html)
    - [19.4. Модули обработки XML](https://python-all.ru/3.2/library/xml.html)
    - [19.5. Уязвимости XML](https://python-all.ru/3.2/library/xml.html#xml-vulnerabilities)

      - [19.5.1. Пакеты defused](https://python-all.ru/3.2/library/xml.html#defused-packages)
    - [19.6. `xml.etree.ElementTree` – API XML для ElementTree](https://python-all.ru/3.2/library/xml.etree.elementtree.html)

      - [19.6.1. Функции](https://python-all.ru/3.2/library/xml.etree.elementtree.html#functions)
      - [19.6.2. Объекты Element](https://python-all.ru/3.2/library/xml.etree.elementtree.html#element-objects)
      - [19.6.3. Объекты ElementTree](https://python-all.ru/3.2/library/xml.etree.elementtree.html#elementtree-objects)
      - [19.6.4. Объекты QName](https://python-all.ru/3.2/library/xml.etree.elementtree.html#qname-objects)
      - [19.6.5. Объекты TreeBuilder](https://python-all.ru/3.2/library/xml.etree.elementtree.html#treebuilder-objects)
      - [19.6.6. Объекты XMLParser](https://python-all.ru/3.2/library/xml.etree.elementtree.html#xmlparser-objects)
    - [19.7. `xml.dom` – API объектной модели документа (DOM)](https://python-all.ru/3.2/library/xml.dom.html)

      - [19.7.1. Содержимое модуля](https://python-all.ru/3.2/library/xml.dom.html#module-contents)
      - [19.7.2. Объекты в DOM](https://python-all.ru/3.2/library/xml.dom.html#objects-in-the-dom)

        - [19.7.2.1. Объекты DOMImplementation](https://python-all.ru/3.2/library/xml.dom.html#domimplementation-objects)
        - [19.7.2.2. Объекты Node](https://python-all.ru/3.2/library/xml.dom.html#node-objects)
        - [19.7.2.3. Объекты NodeList](https://python-all.ru/3.2/library/xml.dom.html#nodelist-objects)
        - [19.7.2.4. Объекты DocumentType](https://python-all.ru/3.2/library/xml.dom.html#documenttype-objects)
        - [19.7.2.5. Объекты Document](https://python-all.ru/3.2/library/xml.dom.html#document-objects)
        - [19.7.2.6. Объекты Element](https://python-all.ru/3.2/library/xml.dom.html#element-objects)
        - [19.7.2.7. Объекты Attr](https://python-all.ru/3.2/library/xml.dom.html#attr-objects)
        - [19.7.2.8. Объекты NamedNodeMap](https://python-all.ru/3.2/library/xml.dom.html#namednodemap-objects)
        - [19.7.2.9. Объекты Comment](https://python-all.ru/3.2/library/xml.dom.html#comment-objects)
        - [19.7.2.10. Объекты Text и CDATASection](https://python-all.ru/3.2/library/xml.dom.html#text-and-cdatasection-objects)
        - [19.7.2.11. Объекты ProcessingInstruction](https://python-all.ru/3.2/library/xml.dom.html#processinginstruction-objects)
        - [19.7.2.12. Исключения](https://python-all.ru/3.2/library/xml.dom.html#exceptions)
      - [19.7.3. Соответствие стандарту](https://python-all.ru/3.2/library/xml.dom.html#conformance)

        - [19.7.3.1. Сопоставление типов](https://python-all.ru/3.2/library/xml.dom.html#type-mapping)
        - [19.7.3.2. Методы доступа](https://python-all.ru/3.2/library/xml.dom.html#accessor-methods)
    - [19.8. `xml.dom.minidom` – Минимальная реализация DOM](https://python-all.ru/3.2/library/xml.dom.minidom.html)

      - [19.8.1. Объекты DOM](https://python-all.ru/3.2/library/xml.dom.minidom.html#dom-objects)
      - [19.8.2. Пример DOM](https://python-all.ru/3.2/library/xml.dom.minidom.html#dom-example)
      - [19.8.3. minidom и стандарт DOM](https://python-all.ru/3.2/library/xml.dom.minidom.html#minidom-and-the-dom-standard)
    - [19.9. `xml.dom.pulldom` – Поддержка построения частичных DOM-деревьев](https://python-all.ru/3.2/library/xml.dom.pulldom.html)

      - [19.9.1. Объекты DOMEventStream](https://python-all.ru/3.2/library/xml.dom.pulldom.html#domeventstream-objects)
    - [19.10. `xml.sax` – Поддержка парсеров SAX2](https://python-all.ru/3.2/library/xml.sax.html)

      - [19.10.1. Объекты SAXException](https://python-all.ru/3.2/library/xml.sax.html#saxexception-objects)
    - [19.11. `xml.sax.handler` – Базовые классы для обработчиков SAX](https://python-all.ru/3.2/library/xml.sax.handler.html)

      - [19.11.1. Объекты ContentHandler](https://python-all.ru/3.2/library/xml.sax.handler.html#contenthandler-objects)
      - [19.11.2. Объекты DTDHandler](https://python-all.ru/3.2/library/xml.sax.handler.html#dtdhandler-objects)
      - [19.11.3. Объекты EntityResolver](https://python-all.ru/3.2/library/xml.sax.handler.html#entityresolver-objects)
      - [19.11.4. Объекты ErrorHandler](https://python-all.ru/3.2/library/xml.sax.handler.html#errorhandler-objects)
    - [19.12. `xml.sax.saxutils` – Утилиты SAX](https://python-all.ru/3.2/library/xml.sax.utils.html)
    - [19.13. `xml.sax.xmlreader` – Интерфейс для XML-парсеров](https://python-all.ru/3.2/library/xml.sax.reader.html)

      - [19.13.1. Объекты XMLReader](https://python-all.ru/3.2/library/xml.sax.reader.html#xmlreader-objects)
      - [19.13.2. Объекты IncrementalParser](https://python-all.ru/3.2/library/xml.sax.reader.html#incrementalparser-objects)
      - [19.13.3. Объекты Locator](https://python-all.ru/3.2/library/xml.sax.reader.html#locator-objects)
      - [19.13.4. Объекты InputSource](https://python-all.ru/3.2/library/xml.sax.reader.html#inputsource-objects)
      - [19.13.5. Интерфейс `Attributes`](https://python-all.ru/3.2/library/xml.sax.reader.html#the-attributes-interface)
      - [19.13.6. Интерфейс `AttributesNS`](https://python-all.ru/3.2/library/xml.sax.reader.html#the-attributesns-interface)
    - [19.14. `xml.parsers.expat` – Быстрый разбор XML с помощью Expat](https://python-all.ru/3.2/library/pyexpat.html)

      - [19.14.1. Объекты XMLParser](https://python-all.ru/3.2/library/pyexpat.html#xmlparser-objects)
      - [19.14.2. Исключения ExpatError](https://python-all.ru/3.2/library/pyexpat.html#expaterror-exceptions)
      - [19.14.3. Пример](https://python-all.ru/3.2/library/pyexpat.html#example)
      - [19.14.4. Описания моделей содержимого](https://python-all.ru/3.2/library/pyexpat.html#module-xml.parsers.expat.model)
      - [19.14.5. Константы ошибок Expat](https://python-all.ru/3.2/library/pyexpat.html#module-xml.parsers.expat.errors)
  - [20. Интернет-протоколы и поддержка](https://python-all.ru/3.2/library/internet.html)

    - [20.1. `webbrowser` – Удобный контроллер веб-браузера](https://python-all.ru/3.2/library/webbrowser.html)

      - [20.1.1. Объекты контроллера браузера](https://python-all.ru/3.2/library/webbrowser.html#browser-controller-objects)
    - [20.2. `cgi` – Поддержка Common Gateway Interface](https://python-all.ru/3.2/library/cgi.html)

      - [20.2.1. Введение](https://python-all.ru/3.2/library/cgi.html#introduction)
      - [20.2.2. Использование модуля cgi](https://python-all.ru/3.2/library/cgi.html#using-the-cgi-module)
      - [20.2.3. Интерфейс высокого уровня](https://python-all.ru/3.2/library/cgi.html#higher-level-interface)
      - [20.2.4. Функции](https://python-all.ru/3.2/library/cgi.html#functions)
      - [20.2.5. Вопросы безопасности](https://python-all.ru/3.2/library/cgi.html#caring-about-security)
      - [20.2.6. Установка CGI-скрипта в системе Unix](https://python-all.ru/3.2/library/cgi.html#installing-your-cgi-script-on-a-unix-system)
      - [20.2.7. Тестирование CGI-скрипта](https://python-all.ru/3.2/library/cgi.html#testing-your-cgi-script)
      - [20.2.8. Отладка CGI-скриптов](https://python-all.ru/3.2/library/cgi.html#debugging-cgi-scripts)
      - [20.2.9. Распространённые проблемы и их решения](https://python-all.ru/3.2/library/cgi.html#common-problems-and-solutions)
    - [20.3. `cgitb` – Менеджер трассировки для CGI-скриптов](https://python-all.ru/3.2/library/cgitb.html)
    - [20.4. `wsgiref` – Утилиты WSGI и эталонная реализация](https://python-all.ru/3.2/library/wsgiref.html)

      - [20.4.1. `wsgiref.util` – Утилиты окружения WSGI](https://python-all.ru/3.2/library/wsgiref.html#module-wsgiref.util)
      - [20.4.2. `wsgiref.headers` – Инструменты для заголовков ответов WSGI](https://python-all.ru/3.2/library/wsgiref.html#module-wsgiref.headers)
      - [20.4.3. `wsgiref.simple_server` – Простой HTTP-сервер WSGI](https://python-all.ru/3.2/library/wsgiref.html#module-wsgiref.simple_server)
      - [20.4.4. `wsgiref.validate` – Проверка соответствия WSGI](https://python-all.ru/3.2/library/wsgiref.html#module-wsgiref.validate)
      - [20.4.5. `wsgiref.handlers` – Базовые классы сервера/шлюза](https://python-all.ru/3.2/library/wsgiref.html#module-wsgiref.handlers)
      - [20.4.6. Примеры](https://python-all.ru/3.2/library/wsgiref.html#examples)
    - [20.5. `urllib.request` – Расширяемая библиотека для открытия URL](https://python-all.ru/3.2/library/urllib.request.html)

      - [20.5.1. Объекты Request](https://python-all.ru/3.2/library/urllib.request.html#request-objects)
      - [20.5.2. Объекты OpenerDirector](https://python-all.ru/3.2/library/urllib.request.html#openerdirector-objects)
      - [20.5.3. Объекты BaseHandler](https://python-all.ru/3.2/library/urllib.request.html#basehandler-objects)
      - [20.5.4. Объекты HTTPRedirectHandler](https://python-all.ru/3.2/library/urllib.request.html#httpredirecthandler-objects)
      - [20.5.5. Объекты HTTPCookieProcessor](https://python-all.ru/3.2/library/urllib.request.html#httpcookieprocessor-objects)
      - [20.5.6. Объекты ProxyHandler](https://python-all.ru/3.2/library/urllib.request.html#proxyhandler-objects)
      - [20.5.7. Объекты HTTPPasswordMgr](https://python-all.ru/3.2/library/urllib.request.html#httppasswordmgr-objects)
      - [20.5.8. Объекты AbstractBasicAuthHandler](https://python-all.ru/3.2/library/urllib.request.html#abstractbasicauthhandler-objects)
      - [20.5.9. Объекты HTTPBasicAuthHandler](https://python-all.ru/3.2/library/urllib.request.html#httpbasicauthhandler-objects)
      - [20.5.10. Объекты ProxyBasicAuthHandler](https://python-all.ru/3.2/library/urllib.request.html#proxybasicauthhandler-objects)
      - [20.5.11. Объекты AbstractDigestAuthHandler](https://python-all.ru/3.2/library/urllib.request.html#abstractdigestauthhandler-objects)
      - [20.5.12. Объекты HTTPDigestAuthHandler](https://python-all.ru/3.2/library/urllib.request.html#httpdigestauthhandler-objects)
      - [20.5.13. Объекты ProxyDigestAuthHandler](https://python-all.ru/3.2/library/urllib.request.html#proxydigestauthhandler-objects)
      - [20.5.14. Объекты HTTPHandler](https://python-all.ru/3.2/library/urllib.request.html#httphandler-objects)
      - [20.5.15. Объекты HTTPSHandler](https://python-all.ru/3.2/library/urllib.request.html#httpshandler-objects)
      - [20.5.16. Объекты FileHandler](https://python-all.ru/3.2/library/urllib.request.html#filehandler-objects)
      - [20.5.17. Объекты FTPHandler](https://python-all.ru/3.2/library/urllib.request.html#ftphandler-objects)
      - [20.5.18. Объекты CacheFTPHandler](https://python-all.ru/3.2/library/urllib.request.html#cacheftphandler-objects)
      - [20.5.19. Объекты UnknownHandler](https://python-all.ru/3.2/library/urllib.request.html#unknownhandler-objects)
      - [20.5.20. Объекты HTTPErrorProcessor](https://python-all.ru/3.2/library/urllib.request.html#httperrorprocessor-objects)
      - [20.5.21. Примеры](https://python-all.ru/3.2/library/urllib.request.html#examples)
      - [20.5.22. Устаревший интерфейс](https://python-all.ru/3.2/library/urllib.request.html#legacy-interface)
      - [20.5.23. `urllib.request` Ограничения](https://python-all.ru/3.2/library/urllib.request.html#urllib-request-restrictions)
    - [20.6. `urllib.response` – Классы ответов, используемые urllib](https://python-all.ru/3.2/library/urllib.request.html#module-urllib.response)
    - [20.7. `urllib.parse` – Разбор URL на компоненты](https://python-all.ru/3.2/library/urllib.parse.html)

      - [20.7.1. Разбор URL](https://python-all.ru/3.2/library/urllib.parse.html#url-parsing)
      - [20.7.2. Разбор ASCII-кодированных байтов](https://python-all.ru/3.2/library/urllib.parse.html#parsing-ascii-encoded-bytes)
      - [20.7.3. Структурированные результаты разбора](https://python-all.ru/3.2/library/urllib.parse.html#structured-parse-results)
      - [20.7.4. Квотирование URL](https://python-all.ru/3.2/library/urllib.parse.html#url-quoting)
    - [20.8. `urllib.error` – Классы исключений, вызываемые urllib.request](https://python-all.ru/3.2/library/urllib.error.html)
    - [20.9. `urllib.robotparser` – Парсер для robots.txt](https://python-all.ru/3.2/library/urllib.robotparser.html)
    - [20.10. `http.client` – Клиент протокола HTTP](https://python-all.ru/3.2/library/http.client.html)

      - [20.10.1. Объекты HTTPConnection](https://python-all.ru/3.2/library/http.client.html#httpconnection-objects)
      - [20.10.2. Объекты HTTPResponse](https://python-all.ru/3.2/library/http.client.html#httpresponse-objects)
      - [20.10.3. Примеры](https://python-all.ru/3.2/library/http.client.html#examples)
      - [20.10.4. Объекты HTTPMessage](https://python-all.ru/3.2/library/http.client.html#httpmessage-objects)
    - [20.11. `ftplib` – Клиент протокола FTP](https://python-all.ru/3.2/library/ftplib.html)

      - [20.11.1. Объекты FTP](https://python-all.ru/3.2/library/ftplib.html#ftp-objects)
      - [20.11.2. Объекты FTP\_TLS](https://python-all.ru/3.2/library/ftplib.html#ftp-tls-objects)
    - [20.12. `poplib` – Клиент протокола POP3](https://python-all.ru/3.2/library/poplib.html)

      - [20.12.1. Объекты POP3](https://python-all.ru/3.2/library/poplib.html#pop3-objects)
      - [20.12.2. Пример POP3](https://python-all.ru/3.2/library/poplib.html#pop3-example)
    - [20.13. `imaplib` – Клиент протокола IMAP4](https://python-all.ru/3.2/library/imaplib.html)

      - [20.13.1. Объекты IMAP4](https://python-all.ru/3.2/library/imaplib.html#imap4-objects)
      - [20.13.2. Пример IMAP4](https://python-all.ru/3.2/library/imaplib.html#imap4-example)
    - [20.14. `nntplib` – Клиент протокола NNTP](https://python-all.ru/3.2/library/nntplib.html)

      - [20.14.1. Объекты NNTP](https://python-all.ru/3.2/library/nntplib.html#nntp-objects)

        - [20.14.1.1. Атрибуты](https://python-all.ru/3.2/library/nntplib.html#attributes)
        - [20.14.1.2. Методы](https://python-all.ru/3.2/library/nntplib.html#methods)
      - [20.14.2. Вспомогательные функции](https://python-all.ru/3.2/library/nntplib.html#utility-functions)
    - [20.15. `smtplib` – Клиент протокола SMTP](https://python-all.ru/3.2/library/smtplib.html)

      - [20.15.1. Объекты SMTP](https://python-all.ru/3.2/library/smtplib.html#smtp-objects)
      - [20.15.2. Пример SMTP](https://python-all.ru/3.2/library/smtplib.html#smtp-example)
    - [20.16. `smtpd` – SMTP-сервер](https://python-all.ru/3.2/library/smtpd.html)

      - [20.16.1. Объекты SMTPServer](https://python-all.ru/3.2/library/smtpd.html#smtpserver-objects)
      - [20.16.2. Объекты DebuggingServer](https://python-all.ru/3.2/library/smtpd.html#debuggingserver-objects)
      - [20.16.3. Объекты PureProxy](https://python-all.ru/3.2/library/smtpd.html#pureproxy-objects)
      - [20.16.4. Объекты MailmanProxy](https://python-all.ru/3.2/library/smtpd.html#mailmanproxy-objects)
      - [20.16.5. Объекты SMTPChannel](https://python-all.ru/3.2/library/smtpd.html#smtpchannel-objects)
    - [20.17. `telnetlib` – Telnet-клиент](https://python-all.ru/3.2/library/telnetlib.html)

      - [20.17.1. Объекты Telnet](https://python-all.ru/3.2/library/telnetlib.html#telnet-objects)
      - [20.17.2. Пример Telnet](https://python-all.ru/3.2/library/telnetlib.html#telnet-example)
    - [20.18. `uuid` – объекты UUID по RFC 4122](https://python-all.ru/3.2/library/uuid.html)

      - [20.18.1. Пример](https://python-all.ru/3.2/library/uuid.html#example)
    - [20.19. `socketserver` – каркас для сетевых серверов](https://python-all.ru/3.2/library/socketserver.html)

      - [20.19.1. Замечания по созданию сервера](https://python-all.ru/3.2/library/socketserver.html#server-creation-notes)
      - [20.19.2. Объекты сервера](https://python-all.ru/3.2/library/socketserver.html#server-objects)
      - [20.19.3. Объекты RequestHandler](https://python-all.ru/3.2/library/socketserver.html#requesthandler-objects)
      - [20.19.4. Примеры](https://python-all.ru/3.2/library/socketserver.html#examples)

        - [20.19.4.1. Пример `socketserver.TCPServer`](https://python-all.ru/3.2/library/socketserver.html#socketserver-tcpserver-example)
        - [20.19.4.2. Пример `socketserver.UDPServer`](https://python-all.ru/3.2/library/socketserver.html#socketserver-udpserver-example)
        - [20.19.4.3. Асинхронные миксины](https://python-all.ru/3.2/library/socketserver.html#asynchronous-mixins)
    - [20.20. `http.server` – HTTP-серверы](https://python-all.ru/3.2/library/http.server.html)
    - [20.21. `http.cookies` – управление состоянием HTTP](https://python-all.ru/3.2/library/http.cookies.html)

      - [20.21.1. Объекты Cookie](https://python-all.ru/3.2/library/http.cookies.html#cookie-objects)
      - [20.21.2. Объекты Morsel](https://python-all.ru/3.2/library/http.cookies.html#morsel-objects)
      - [20.21.3. Пример](https://python-all.ru/3.2/library/http.cookies.html#example)
    - [20.22. `http.cookiejar` – обработка cookie для HTTP-клиентов](https://python-all.ru/3.2/library/http.cookiejar.html)

      - [20.22.1. Объекты CookieJar и FileCookieJar](https://python-all.ru/3.2/library/http.cookiejar.html#cookiejar-and-filecookiejar-objects)
      - [20.22.2. Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/3.2/library/http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)
      - [20.22.3. Объекты CookiePolicy](https://python-all.ru/3.2/library/http.cookiejar.html#cookiepolicy-objects)
      - [20.22.4. Объекты DefaultCookiePolicy](https://python-all.ru/3.2/library/http.cookiejar.html#defaultcookiepolicy-objects)
      - [20.22.5. Объекты Cookie](https://python-all.ru/3.2/library/http.cookiejar.html#cookie-objects)
      - [20.22.6. Примеры](https://python-all.ru/3.2/library/http.cookiejar.html#examples)
    - [20.23. `xmlrpc.client` – клиентский доступ к XML-RPC](https://python-all.ru/3.2/library/xmlrpc.client.html)

      - [20.23.1. Объекты ServerProxy](https://python-all.ru/3.2/library/xmlrpc.client.html#serverproxy-objects)
      - [20.23.2. Объекты DateTime](https://python-all.ru/3.2/library/xmlrpc.client.html#datetime-objects)
      - [20.23.3. Двоичные объекты](https://python-all.ru/3.2/library/xmlrpc.client.html#binary-objects)
      - [20.23.4. Объекты Fault](https://python-all.ru/3.2/library/xmlrpc.client.html#fault-objects)
      - [20.23.5. Объекты ProtocolError](https://python-all.ru/3.2/library/xmlrpc.client.html#protocolerror-objects)
      - [20.23.6. Объекты MultiCall](https://python-all.ru/3.2/library/xmlrpc.client.html#multicall-objects)
      - [20.23.7. Вспомогательные функции](https://python-all.ru/3.2/library/xmlrpc.client.html#convenience-functions)
      - [20.23.8. Пример использования клиента](https://python-all.ru/3.2/library/xmlrpc.client.html#example-of-client-usage)
      - [20.23.9. Пример использования клиента и сервера](https://python-all.ru/3.2/library/xmlrpc.client.html#example-of-client-and-server-usage)
    - [20.24. `xmlrpc.server` – Базовые XML-RPC-серверы](https://python-all.ru/3.2/library/xmlrpc.server.html)

      - [20.24.1. Объекты SimpleXMLRPCServer](https://python-all.ru/3.2/library/xmlrpc.server.html#simplexmlrpcserver-objects)

        - [20.24.1.1. Пример SimpleXMLRPCServer](https://python-all.ru/3.2/library/xmlrpc.server.html#simplexmlrpcserver-example)
      - [20.24.2. CGIXMLRPCRequestHandler](https://python-all.ru/3.2/library/xmlrpc.server.html#cgixmlrpcrequesthandler)
      - [20.24.3. Документирование XMLRPC-сервера](https://python-all.ru/3.2/library/xmlrpc.server.html#documenting-xmlrpc-server)
      - [20.24.4. Объекты DocXMLRPCServer](https://python-all.ru/3.2/library/xmlrpc.server.html#docxmlrpcserver-objects)
      - [20.24.5. DocCGIXMLRPCRequestHandler](https://python-all.ru/3.2/library/xmlrpc.server.html#doccgixmlrpcrequesthandler)
  - [21. Мультимедийные службы](https://python-all.ru/3.2/library/mm.html)

    - [21.1. `audioop` – Обработка необработанных аудиоданных](https://python-all.ru/3.2/library/audioop.html)
    - [21.2. `aifc` – Чтение и запись файлов AIFF и AIFC](https://python-all.ru/3.2/library/aifc.html)
    - [21.3. `sunau` – Чтение и запись файлов Sun AU](https://python-all.ru/3.2/library/sunau.html)

      - [21.3.1. Объекты AU\_read](https://python-all.ru/3.2/library/sunau.html#au-read-objects)
      - [21.3.2. Объекты AU\_write](https://python-all.ru/3.2/library/sunau.html#au-write-objects)
    - [21.4. `wave` – Чтение и запись WAV-файлов](https://python-all.ru/3.2/library/wave.html)

      - [21.4.1. Объекты Wave\_read](https://python-all.ru/3.2/library/wave.html#wave-read-objects)
      - [21.4.2. Объекты Wave\_write](https://python-all.ru/3.2/library/wave.html#wave-write-objects)
    - [21.5. `chunk` – Чтение блочных данных IFF](https://python-all.ru/3.2/library/chunk.html)
    - [21.6. `colorsys` – Преобразование между цветовыми системами](https://python-all.ru/3.2/library/colorsys.html)
    - [21.7. `imghdr` – Определение типа изображения](https://python-all.ru/3.2/library/imghdr.html)
    - [21.8. `sndhdr` – Определение типа звукового файла](https://python-all.ru/3.2/library/sndhdr.html)
    - [21.9. `ossaudiodev` – Доступ к аудиоустройствам, совместимым с OSS](https://python-all.ru/3.2/library/ossaudiodev.html)

      - [21.9.1. Объекты аудиоустройств](https://python-all.ru/3.2/library/ossaudiodev.html#audio-device-objects)
      - [21.9.2. Объекты микшерных устройств](https://python-all.ru/3.2/library/ossaudiodev.html#mixer-device-objects)
  - [22. Интернационализация](https://python-all.ru/3.2/library/i18n.html)

    - [22.1. `gettext` – Многоязычные службы интернационализации](https://python-all.ru/3.2/library/gettext.html)

      - [22.1.1. GNU **gettext** API](https://python-all.ru/3.2/library/gettext.html#gnu-gettext-api)
      - [22.1.2. API на основе классов](https://python-all.ru/3.2/library/gettext.html#class-based-api)

        - [22.1.2.1. Класс `NullTranslations`](https://python-all.ru/3.2/library/gettext.html#the-nulltranslations-class)
        - [22.1.2.2. Класс `GNUTranslations`](https://python-all.ru/3.2/library/gettext.html#the-gnutranslations-class)
        - [22.1.2.3. Поддержка каталогов сообщений Solaris](https://python-all.ru/3.2/library/gettext.html#solaris-message-catalog-support)
        - [22.1.2.4. Конструктор Catalog](https://python-all.ru/3.2/library/gettext.html#the-catalog-constructor)
      - [22.1.3. Интернационализация программ и модулей](https://python-all.ru/3.2/library/gettext.html#internationalizing-your-programs-and-modules)

        - [22.1.3.1. Локализация модуля](https://python-all.ru/3.2/library/gettext.html#localizing-your-module)
        - [22.1.3.2. Локализация приложения](https://python-all.ru/3.2/library/gettext.html#localizing-your-application)
        - [22.1.3.3. Смена языка на лету](https://python-all.ru/3.2/library/gettext.html#changing-languages-on-the-fly)
        - [22.1.3.4. Отложенные переводы](https://python-all.ru/3.2/library/gettext.html#deferred-translations)
      - [22.1.4. Благодарности](https://python-all.ru/3.2/library/gettext.html#acknowledgements)
    - [22.2. `locale` – Службы интернационализации](https://python-all.ru/3.2/library/locale.html)

      - [22.2.1. Предыстория, подробности, советы и предостережения](https://python-all.ru/3.2/library/locale.html#background-details-hints-tips-and-caveats)
      - [22.2.2. Для разработчиков расширений и программ, встраивающих Python](https://python-all.ru/3.2/library/locale.html#for-extension-writers-and-programs-that-embed-python)
      - [22.2.3. Доступ к каталогам сообщений](https://python-all.ru/3.2/library/locale.html#access-to-message-catalogs)
  - [23. Каркасы программ](https://python-all.ru/3.2/library/frameworks.html)

    - [23.1. `turtle` – Графика черепашки](https://python-all.ru/3.2/library/turtle.html)

      - [23.1.1. Введение](https://python-all.ru/3.2/library/turtle.html#introduction)
      - [23.1.2. Обзор доступных методов Turtle и Screen](https://python-all.ru/3.2/library/turtle.html#overview-of-available-turtle-and-screen-methods)

        - [23.1.2.1. Методы Turtle](https://python-all.ru/3.2/library/turtle.html#turtle-methods)
        - [23.1.2.2. Методы TurtleScreen/Screen](https://python-all.ru/3.2/library/turtle.html#methods-of-turtlescreen-screen)
      - [23.1.3. Методы RawTurtle/Turtle и соответствующие функции](https://python-all.ru/3.2/library/turtle.html#methods-of-rawturtle-turtle-and-corresponding-functions)

        - [23.1.3.1. Движение черепашки](https://python-all.ru/3.2/library/turtle.html#turtle-motion)
        - [23.1.3.2. Состояние черепашки](https://python-all.ru/3.2/library/turtle.html#tell-turtle-s-state)
        - [23.1.3.3. Настройки измерений](https://python-all.ru/3.2/library/turtle.html#settings-for-measurement)
        - [23.1.3.4. Управление пером](https://python-all.ru/3.2/library/turtle.html#pen-control)

          - [23.1.3.4.1. Состояние рисования](https://python-all.ru/3.2/library/turtle.html#drawing-state)
          - [23.1.3.4.2. Управление цветом](https://python-all.ru/3.2/library/turtle.html#color-control)
          - [23.1.3.4.3. Заливка](https://python-all.ru/3.2/library/turtle.html#filling)
          - [23.1.3.4.4. Дополнительное управление рисованием](https://python-all.ru/3.2/library/turtle.html#more-drawing-control)
        - [23.1.3.5. Состояние черепахи](https://python-all.ru/3.2/library/turtle.html#turtle-state)

          - [23.1.3.5.1. Видимость](https://python-all.ru/3.2/library/turtle.html#visibility)
          - [23.1.3.5.2. Внешний вид](https://python-all.ru/3.2/library/turtle.html#appearance)
        - [23.1.3.6. Использование событий](https://python-all.ru/3.2/library/turtle.html#using-events)
        - [23.1.3.7. Специальные методы Turtle](https://python-all.ru/3.2/library/turtle.html#special-turtle-methods)
        - [23.1.3.8. Составные формы](https://python-all.ru/3.2/library/turtle.html#compound-shapes)
      - [23.1.4. Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/3.2/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)

        - [23.1.4.1. Управление окном](https://python-all.ru/3.2/library/turtle.html#window-control)
        - [23.1.4.2. Управление анимацией](https://python-all.ru/3.2/library/turtle.html#animation-control)
        - [23.1.4.3. Использование событий экрана](https://python-all.ru/3.2/library/turtle.html#using-screen-events)
        - [23.1.4.4. Методы ввода](https://python-all.ru/3.2/library/turtle.html#input-methods)
        - [23.1.4.5. Настройки и специальные методы](https://python-all.ru/3.2/library/turtle.html#settings-and-special-methods)
        - [23.1.4.6. Методы, специфичные для Screen, не унаследованные от TurtleScreen](https://python-all.ru/3.2/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)
      - [23.1.5. Публичные классы](https://python-all.ru/3.2/library/turtle.html#public-classes)
      - [23.1.6. Справка и настройка](https://python-all.ru/3.2/library/turtle.html#help-and-configuration)

        - [23.1.6.1. Как пользоваться справкой](https://python-all.ru/3.2/library/turtle.html#how-to-use-help)
        - [23.1.6.2. Перевод докстрингов на разные языки](https://python-all.ru/3.2/library/turtle.html#translation-of-docstrings-into-different-languages)
        - [23.1.6.3. Как настроить экран и черепах](https://python-all.ru/3.2/library/turtle.html#how-to-configure-screen-and-turtles)
      - [23.1.7. Демонстрационные скрипты](https://python-all.ru/3.2/library/turtle.html#demo-scripts)
      - [23.1.8. Изменения начиная с Python 2.6](https://python-all.ru/3.2/library/turtle.html#changes-since-python-2-6)
      - [23.1.9. Изменения начиная с Python 3.0](https://python-all.ru/3.2/library/turtle.html#changes-since-python-3-0)
    - [23.2. `cmd` – поддержка построчных командных интерпретаторов](https://python-all.ru/3.2/library/cmd.html)

      - [23.2.1. Объекты Cmd](https://python-all.ru/3.2/library/cmd.html#cmd-objects)
      - [23.2.2. Пример Cmd](https://python-all.ru/3.2/library/cmd.html#cmd-example)
    - [23.3. `shlex` – простой лексический анализ](https://python-all.ru/3.2/library/shlex.html)

      - [23.3.1. Объекты shlex](https://python-all.ru/3.2/library/shlex.html#shlex-objects)
      - [23.3.2. Правила разбора](https://python-all.ru/3.2/library/shlex.html#parsing-rules)
  - [24. Графические пользовательские интерфейсы с Tk](https://python-all.ru/3.2/library/tk.html)

    - [24.1. `tkinter` – интерфейс Python к Tcl/Tk](https://python-all.ru/3.2/library/tkinter.html)

      - [24.1.1. Модули Tkinter](https://python-all.ru/3.2/library/tkinter.html#tkinter-modules)
      - [24.1.2. Жизненный спасатель Tkinter](https://python-all.ru/3.2/library/tkinter.html#tkinter-life-preserver)

        - [24.1.2.1. Как использовать этот раздел](https://python-all.ru/3.2/library/tkinter.html#how-to-use-this-section)
        - [24.1.2.2. Простая программа Hello World](https://python-all.ru/3.2/library/tkinter.html#a-simple-hello-world-program)
      - [24.1.3. Очень быстрый взгляд на Tcl/Tk](https://python-all.ru/3.2/library/tkinter.html#a-very-quick-look-at-tcl-tk)
      - [24.1.4. Отображение базового Tk в Tkinter](https://python-all.ru/3.2/library/tkinter.html#mapping-basic-tk-into-tkinter)
      - [24.1.5. Как связаны Tk и Tkinter](https://python-all.ru/3.2/library/tkinter.html#how-tk-and-tkinter-are-related)
      - [24.1.6. Удобный справочник](https://python-all.ru/3.2/library/tkinter.html#handy-reference)

        - [24.1.6.1. Настройка параметров](https://python-all.ru/3.2/library/tkinter.html#setting-options)
        - [24.1.6.2. Упаковщик](https://python-all.ru/3.2/library/tkinter.html#the-packer)
        - [24.1.6.3. Параметры упаковщика](https://python-all.ru/3.2/library/tkinter.html#packer-options)
        - [24.1.6.4. Привязка переменных виджетов](https://python-all.ru/3.2/library/tkinter.html#coupling-widget-variables)
        - [24.1.6.5. Менеджер окон](https://python-all.ru/3.2/library/tkinter.html#the-window-manager)
        - [24.1.6.6. Типы данных параметров Tk](https://python-all.ru/3.2/library/tkinter.html#tk-option-data-types)
        - [24.1.6.7. Привязки и события](https://python-all.ru/3.2/library/tkinter.html#bindings-and-events)
        - [24.1.6.8. Параметр index](https://python-all.ru/3.2/library/tkinter.html#the-index-parameter)
        - [24.1.6.9. Изображения](https://python-all.ru/3.2/library/tkinter.html#images)
    - [24.2. `tkinter.ttk` – тематические виджеты Tk](https://python-all.ru/3.2/library/tkinter.ttk.html)

      - [24.2.1. Использование Ttk](https://python-all.ru/3.2/library/tkinter.ttk.html#using-ttk)
      - [24.2.2. Виджеты Ttk](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-widgets)
      - [24.2.3. Виджет](https://python-all.ru/3.2/library/tkinter.ttk.html#widget)

        - [24.2.3.1. Стандартные параметры](https://python-all.ru/3.2/library/tkinter.ttk.html#standard-options)
        - [24.2.3.2. Параметры прокручиваемого виджета](https://python-all.ru/3.2/library/tkinter.ttk.html#scrollable-widget-options)
        - [24.2.3.3. Параметры метки](https://python-all.ru/3.2/library/tkinter.ttk.html#label-options)
        - [24.2.3.4. Параметры совместимости](https://python-all.ru/3.2/library/tkinter.ttk.html#compatibility-options)
        - [24.2.3.5. Состояния виджетов](https://python-all.ru/3.2/library/tkinter.ttk.html#widget-states)
        - [24.2.3.6. ttk.Widget](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-widget)
      - [24.2.4. Combobox](https://python-all.ru/3.2/library/tkinter.ttk.html#combobox)

        - [24.2.4.1. Параметры](https://python-all.ru/3.2/library/tkinter.ttk.html#options)
        - [24.2.4.2. Виртуальные события](https://python-all.ru/3.2/library/tkinter.ttk.html#virtual-events)
        - [24.2.4.3. ttk.Combobox](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-combobox)
      - [24.2.5. Notebook](https://python-all.ru/3.2/library/tkinter.ttk.html#notebook)

        - [24.2.5.1. Параметры](https://python-all.ru/3.2/library/tkinter.ttk.html#id1)
        - [24.2.5.2. Параметры вкладок](https://python-all.ru/3.2/library/tkinter.ttk.html#tab-options)
        - [24.2.5.3. Идентификаторы вкладок](https://python-all.ru/3.2/library/tkinter.ttk.html#tab-identifiers)
        - [24.2.5.4. Виртуальные события](https://python-all.ru/3.2/library/tkinter.ttk.html#id2)
        - [24.2.5.5. ttk.Notebook](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-notebook)
      - [24.2.6. Progressbar](https://python-all.ru/3.2/library/tkinter.ttk.html#progressbar)

        - [24.2.6.1. Параметры](https://python-all.ru/3.2/library/tkinter.ttk.html#id3)
        - [24.2.6.2. ttk.Progressbar](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-progressbar)
      - [24.2.7. Separator](https://python-all.ru/3.2/library/tkinter.ttk.html#separator)

        - [24.2.7.1. Параметры](https://python-all.ru/3.2/library/tkinter.ttk.html#id4)
      - [24.2.8. Sizegrip](https://python-all.ru/3.2/library/tkinter.ttk.html#sizegrip)

        - [24.2.8.1. Примечания для конкретных платформ](https://python-all.ru/3.2/library/tkinter.ttk.html#platform-specific-notes)
        - [24.2.8.2. Ошибки](https://python-all.ru/3.2/library/tkinter.ttk.html#bugs)
      - [24.2.9. Treeview](https://python-all.ru/3.2/library/tkinter.ttk.html#treeview)

        - [24.2.9.1. Параметры](https://python-all.ru/3.2/library/tkinter.ttk.html#id5)
        - [24.2.9.2. Параметры элементов](https://python-all.ru/3.2/library/tkinter.ttk.html#item-options)
        - [24.2.9.3. Параметры тегов](https://python-all.ru/3.2/library/tkinter.ttk.html#tag-options)
        - [24.2.9.4. Идентификаторы столбцов](https://python-all.ru/3.2/library/tkinter.ttk.html#column-identifiers)
        - [24.2.9.5. Виртуальные события](https://python-all.ru/3.2/library/tkinter.ttk.html#id6)
        - [24.2.9.6. ttk.Treeview](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-treeview)
      - [24.2.10. Стилизация Ttk](https://python-all.ru/3.2/library/tkinter.ttk.html#ttk-styling)

        - [24.2.10.1. Макеты](https://python-all.ru/3.2/library/tkinter.ttk.html#layouts)
    - [24.3. `tkinter.tix` – Расширяющие виджеты для Tk](https://python-all.ru/3.2/library/tkinter.tix.html)

      - [24.3.1. Использование Tix](https://python-all.ru/3.2/library/tkinter.tix.html#using-tix)
      - [24.3.2. Виджеты Tix](https://python-all.ru/3.2/library/tkinter.tix.html#tix-widgets)

        - [24.3.2.1. Базовые виджеты](https://python-all.ru/3.2/library/tkinter.tix.html#basic-widgets)
        - [24.3.2.2. Селекторы файлов](https://python-all.ru/3.2/library/tkinter.tix.html#file-selectors)
        - [24.3.2.3. Иерархический ListBox](https://python-all.ru/3.2/library/tkinter.tix.html#hierarchical-listbox)
        - [24.3.2.4. Табличный ListBox](https://python-all.ru/3.2/library/tkinter.tix.html#tabular-listbox)
        - [24.3.2.5. Виджеты-менеджеры](https://python-all.ru/3.2/library/tkinter.tix.html#manager-widgets)
        - [24.3.2.6. Типы изображений](https://python-all.ru/3.2/library/tkinter.tix.html#image-types)
        - [24.3.2.7. Прочие виджеты](https://python-all.ru/3.2/library/tkinter.tix.html#miscellaneous-widgets)
        - [24.3.2.8. Менеджер геометрии Form](https://python-all.ru/3.2/library/tkinter.tix.html#form-geometry-manager)
      - [24.3.3. Команды Tix](https://python-all.ru/3.2/library/tkinter.tix.html#tix-commands)
    - [24.4. `tkinter.scrolledtext` – Виджет прокручиваемого текста](https://python-all.ru/3.2/library/tkinter.scrolledtext.html)
    - [24.5. IDLE](https://python-all.ru/3.2/library/idle.html)

      - [24.5.1. Меню](https://python-all.ru/3.2/library/idle.html#menus)

        - [24.5.1.1. Меню «Файл»](https://python-all.ru/3.2/library/idle.html#file-menu)
        - [24.5.1.2. Меню «Правка»](https://python-all.ru/3.2/library/idle.html#edit-menu)
        - [24.5.1.3. Меню «Окна»](https://python-all.ru/3.2/library/idle.html#windows-menu)
        - [24.5.1.4. Меню «Отладка»](https://python-all.ru/3.2/library/idle.html#debug-menu)
        - [24.5.1.5. Контекстное меню редактора](https://python-all.ru/3.2/library/idle.html#edit-context-menu)
        - [24.5.1.6. Контекстное меню оболочки](https://python-all.ru/3.2/library/idle.html#shell-context-menu)
      - [24.5.2. Основы редактирования и навигации](https://python-all.ru/3.2/library/idle.html#basic-editing-and-navigation)

        - [24.5.2.1. Автоматический отступ](https://python-all.ru/3.2/library/idle.html#automatic-indentation)
        - [24.5.2.2. Окно оболочки Python](https://python-all.ru/3.2/library/idle.html#python-shell-window)
      - [24.5.3. Цвета синтаксиса](https://python-all.ru/3.2/library/idle.html#syntax-colors)
      - [24.5.4. Запуск](https://python-all.ru/3.2/library/idle.html#startup)

        - [24.5.4.1. Использование командной строки](https://python-all.ru/3.2/library/idle.html#command-line-usage)
    - [24.6. Другие пакеты графического интерфейса пользователя](https://python-all.ru/3.2/library/othergui.html)
  - [25. Инструменты разработки](https://python-all.ru/3.2/library/development.html)

    - [25.1. `pydoc` – Генератор документации и справочная система](https://python-all.ru/3.2/library/pydoc.html)
    - [25.2. `doctest` – Тестирование интерактивных примеров Python](https://python-all.ru/3.2/library/doctest.html)

      - [25.2.1. Простое использование: проверка примеров в docstrings](https://python-all.ru/3.2/library/doctest.html#simple-usage-checking-examples-in-docstrings)
      - [25.2.2. Простое использование: проверка примеров в текстовом файле](https://python-all.ru/3.2/library/doctest.html#simple-usage-checking-examples-in-a-text-file)
      - [25.2.3. Как это работает](https://python-all.ru/3.2/library/doctest.html#how-it-works)

        - [25.2.3.1. Какие docstrings проверяются?](https://python-all.ru/3.2/library/doctest.html#which-docstrings-are-examined)
        - [25.2.3.2. Как распознаются примеры в строках документации?](https://python-all.ru/3.2/library/doctest.html#how-are-docstring-examples-recognized)
        - [25.2.3.3. Каков контекст выполнения?](https://python-all.ru/3.2/library/doctest.html#what-s-the-execution-context)
        - [25.2.3.4. А что насчёт исключений?](https://python-all.ru/3.2/library/doctest.html#what-about-exceptions)
        - [25.2.3.5. Флаги опций и директивы](https://python-all.ru/3.2/library/doctest.html#option-flags-and-directives)
        - [25.2.3.6. Предупреждения](https://python-all.ru/3.2/library/doctest.html#warnings)
      - [25.2.4. Базовый API](https://python-all.ru/3.2/library/doctest.html#basic-api)
      - [25.2.5. Unittest API](https://python-all.ru/3.2/library/doctest.html#unittest-api)
      - [25.2.6. Продвинутый API](https://python-all.ru/3.2/library/doctest.html#advanced-api)

        - [25.2.6.1. Объекты DocTest](https://python-all.ru/3.2/library/doctest.html#doctest-objects)
        - [25.2.6.2. Объекты Example](https://python-all.ru/3.2/library/doctest.html#example-objects)
        - [25.2.6.3. Объекты DocTestFinder](https://python-all.ru/3.2/library/doctest.html#doctestfinder-objects)
        - [25.2.6.4. Объекты DocTestParser](https://python-all.ru/3.2/library/doctest.html#doctestparser-objects)
        - [25.2.6.5. Объекты DocTestRunner](https://python-all.ru/3.2/library/doctest.html#doctestrunner-objects)
        - [25.2.6.6. Объекты OutputChecker](https://python-all.ru/3.2/library/doctest.html#outputchecker-objects)
      - [25.2.7. Отладка](https://python-all.ru/3.2/library/doctest.html#debugging)
      - [25.2.8. Разное](https://python-all.ru/3.2/library/doctest.html#soapbox)
    - [25.3. `unittest` – фреймворк для модульного тестирования](https://python-all.ru/3.2/library/unittest.html)

      - [25.3.1. Простой пример](https://python-all.ru/3.2/library/unittest.html#basic-example)
      - [25.3.2. Интерфейс командной строки](https://python-all.ru/3.2/library/unittest.html#command-line-interface)

        - [25.3.2.1. Параметры командной строки](https://python-all.ru/3.2/library/unittest.html#command-line-options)
      - [25.3.3. Обнаружение тестов](https://python-all.ru/3.2/library/unittest.html#test-discovery)
      - [25.3.4. Организация тестового кода](https://python-all.ru/3.2/library/unittest.html#organizing-test-code)
      - [25.3.5. Повторное использование старого тестового кода](https://python-all.ru/3.2/library/unittest.html#re-using-old-test-code)
      - [25.3.6. Пропуск тестов и ожидаемые сбои](https://python-all.ru/3.2/library/unittest.html#skipping-tests-and-expected-failures)
      - [25.3.7. Классы и функции](https://python-all.ru/3.2/library/unittest.html#classes-and-functions)

        - [25.3.7.1. Тестовые примеры](https://python-all.ru/3.2/library/unittest.html#test-cases)

          - [25.3.7.1.1. Устаревшие псевдонимы](https://python-all.ru/3.2/library/unittest.html#deprecated-aliases)
        - [25.3.7.2. Группировка тестов](https://python-all.ru/3.2/library/unittest.html#grouping-tests)
        - [25.3.7.3. Загрузка и запуск тестов](https://python-all.ru/3.2/library/unittest.html#loading-and-running-tests)

          - [25.3.7.3.1. Протокол load\_tests](https://python-all.ru/3.2/library/unittest.html#load-tests-protocol)
      - [25.3.8. Фикстуры классов и модулей](https://python-all.ru/3.2/library/unittest.html#class-and-module-fixtures)

        - [25.3.8.1. setUpClass и tearDownClass](https://python-all.ru/3.2/library/unittest.html#setupclass-and-teardownclass)
        - [25.3.8.2. setUpModule и tearDownModule](https://python-all.ru/3.2/library/unittest.html#setupmodule-and-teardownmodule)
      - [25.3.9. Обработка сигналов](https://python-all.ru/3.2/library/unittest.html#signal-handling)
    - [25.4. 2to3 – автоматическое преобразование кода Python 2 в 3](https://python-all.ru/3.2/library/2to3.html)

      - [25.4.1. Использование 2to3](https://python-all.ru/3.2/library/2to3.html#using-2to3)
      - [25.4.2. Fixers](https://python-all.ru/3.2/library/2to3.html#fixers)
      - [25.4.3. `lib2to3` – библиотека 2to3](https://python-all.ru/3.2/library/2to3.html#module-lib2to3)
    - [25.5. `test` – пакет регрессионных тестов для Python](https://python-all.ru/3.2/library/test.html)

      - [25.5.1. Написание модульных тестов для пакета `test`](https://python-all.ru/3.2/library/test.html#writing-unit-tests-for-the-test-package)
      - [25.5.2. Запуск тестов с помощью интерфейса командной строки](https://python-all.ru/3.2/library/test.html#running-tests-using-the-command-line-interface)
    - [25.6. `test.support` – Утилиты для набора тестов Python](https://python-all.ru/3.2/library/test.html#module-test.support)
  - [26. Отладка и профилирование](https://python-all.ru/3.2/library/debug.html)

    - [26.1. `bdb` – Каркас отладчика](https://python-all.ru/3.2/library/bdb.html)
    - [26.2. `pdb` – Отладчик Python](https://python-all.ru/3.2/library/pdb.html)

      - [26.2.1. Команды отладчика](https://python-all.ru/3.2/library/pdb.html#debugger-commands)
    - [26.3. Профилировщики Python](https://python-all.ru/3.2/library/profile.html)

      - [26.3.1. Введение в профилировщики](https://python-all.ru/3.2/library/profile.html#introduction-to-the-profilers)
      - [26.3.2. Краткое руководство пользователя](https://python-all.ru/3.2/library/profile.html#instant-user-s-manual)
      - [26.3.3. Что такое детерминированное профилирование?](https://python-all.ru/3.2/library/profile.html#what-is-deterministic-profiling)
      - [26.3.4. Справочное руководство – `profile` и `cProfile`](https://python-all.ru/3.2/library/profile.html#module-cProfile)

        - [26.3.4.1. Класс `Stats`](https://python-all.ru/3.2/library/profile.html#the-stats-class)
      - [26.3.5. Ограничения](https://python-all.ru/3.2/library/profile.html#limitations)
      - [26.3.6. Калибровка](https://python-all.ru/3.2/library/profile.html#calibration)
      - [26.3.7. Расширения – создание более совершенных профилировщиков](https://python-all.ru/3.2/library/profile.html#extensions-deriving-better-profilers)
    - [26.4. `timeit` – Измерение времени выполнения небольших фрагментов кода](https://python-all.ru/3.2/library/timeit.html)

      - [26.4.1. Базовые примеры](https://python-all.ru/3.2/library/timeit.html#basic-examples)
      - [26.4.2. Интерфейс Python](https://python-all.ru/3.2/library/timeit.html#python-interface)
      - [26.4.3. Интерфейс командной строки](https://python-all.ru/3.2/library/timeit.html#command-line-interface)
      - [26.4.4. Примеры](https://python-all.ru/3.2/library/timeit.html#examples)
    - [26.5. `trace` – Трассировка или отслеживание выполнения инструкций Python](https://python-all.ru/3.2/library/trace.html)

      - [26.5.1. Использование командной строки](https://python-all.ru/3.2/library/trace.html#command-line-usage)

        - [26.5.1.1. Основные параметры](https://python-all.ru/3.2/library/trace.html#main-options)
        - [26.5.1.2. Модификаторы](https://python-all.ru/3.2/library/trace.html#modifiers)
        - [26.5.1.3. Фильтры](https://python-all.ru/3.2/library/trace.html#filters)
      - [26.5.2. Программный интерфейс](https://python-all.ru/3.2/library/trace.html#programmatic-interface)
  - [27. Службы времени выполнения Python](https://python-all.ru/3.2/library/python.html)

    - [27.1. `sys` – Системно-зависимые параметры и функции](https://python-all.ru/3.2/library/sys.html)
    - [27.2. `sysconfig` – Предоставление доступа к конфигурационной информации Python](https://python-all.ru/3.2/library/sysconfig.html)

      - [27.2.1. Переменные конфигурации](https://python-all.ru/3.2/library/sysconfig.html#configuration-variables)
      - [27.2.2. Пути установки](https://python-all.ru/3.2/library/sysconfig.html#installation-paths)
      - [27.2.3. Другие функции](https://python-all.ru/3.2/library/sysconfig.html#other-functions)
      - [27.2.4. Использование `sysconfig` в качестве скрипта](https://python-all.ru/3.2/library/sysconfig.html#using-sysconfig-as-a-script)
    - [27.3. `builtins` – Встроенные объекты](https://python-all.ru/3.2/library/builtins.html)
    - [27.4. `__main__` – Среда сценария верхнего уровня](https://python-all.ru/3.2/library/__main__.html)
    - [27.5. `warnings` – Управление предупреждениями](https://python-all.ru/3.2/library/warnings.html)

      - [27.5.1. Категории предупреждений](https://python-all.ru/3.2/library/warnings.html#warning-categories)
      - [27.5.2. Фильтр предупреждений](https://python-all.ru/3.2/library/warnings.html#the-warnings-filter)

        - [27.5.2.1. Фильтры предупреждений по умолчанию](https://python-all.ru/3.2/library/warnings.html#default-warning-filters)
      - [27.5.3. Временное подавление предупреждений](https://python-all.ru/3.2/library/warnings.html#temporarily-suppressing-warnings)
      - [27.5.4. Тестирование предупреждений](https://python-all.ru/3.2/library/warnings.html#testing-warnings)
      - [27.5.5. Обновление кода для новых версий Python](https://python-all.ru/3.2/library/warnings.html#updating-code-for-new-versions-of-python)
      - [27.5.6. Доступные функции](https://python-all.ru/3.2/library/warnings.html#available-functions)
      - [27.5.7. Доступные контекстные менеджеры](https://python-all.ru/3.2/library/warnings.html#available-context-managers)
    - [27.6. `contextlib` – Утилиты для контекстов оператора `with`](https://python-all.ru/3.2/library/contextlib.html)
    - [27.7. `abc` – Абстрактные базовые классы](https://python-all.ru/3.2/library/abc.html)
    - [27.8. `atexit` – Обработчики завершения](https://python-all.ru/3.2/library/atexit.html)

      - [27.8.1. Пример `atexit`](https://python-all.ru/3.2/library/atexit.html#atexit-example)
    - [27.9. `traceback` – Печать или получение трассировки стека](https://python-all.ru/3.2/library/traceback.html)

      - [27.9.1. Примеры трассировки](https://python-all.ru/3.2/library/traceback.html#traceback-examples)
    - [27.10. `__future__` – Определения оператора future](https://python-all.ru/3.2/library/__future__.html)
    - [27.11. `gc` – Интерфейс сборщика мусора](https://python-all.ru/3.2/library/gc.html)
    - [27.12. `inspect` – Инспекция живых объектов](https://python-all.ru/3.2/library/inspect.html)

      - [27.12.1. Типы и члены](https://python-all.ru/3.2/library/inspect.html#types-and-members)
      - [27.12.2. Получение исходного кода](https://python-all.ru/3.2/library/inspect.html#retrieving-source-code)
      - [27.12.3. Классы и функции](https://python-all.ru/3.2/library/inspect.html#classes-and-functions)
      - [27.12.4. Стек интерпретатора](https://python-all.ru/3.2/library/inspect.html#the-interpreter-stack)
      - [27.12.5. Статическое получение атрибутов](https://python-all.ru/3.2/library/inspect.html#fetching-attributes-statically)
      - [27.12.6. Текущее состояние генератора](https://python-all.ru/3.2/library/inspect.html#current-state-of-a-generator)
    - [27.13. `site` – Хук конфигурации для конкретного сайта](https://python-all.ru/3.2/library/site.html)
    - [27.14. `fpectl` – Управление исключениями с плавающей запятой](https://python-all.ru/3.2/library/fpectl.html)

      - [27.14.1. Пример](https://python-all.ru/3.2/library/fpectl.html#example)
      - [27.14.2. Ограничения и прочие соображения](https://python-all.ru/3.2/library/fpectl.html#limitations-and-other-considerations)
    - [27.15. `distutils` – Сборка и установка модулей Python](https://python-all.ru/3.2/library/distutils.html)
  - [28. Пользовательские интерпретаторы Python](https://python-all.ru/3.2/library/custominterp.html)

    - [28.1. `code` – Базовые классы интерпретатора](https://python-all.ru/3.2/library/code.html)

      - [28.1.1. Объекты интерактивного интерпретатора](https://python-all.ru/3.2/library/code.html#interactive-interpreter-objects)
      - [28.1.2. Объекты интерактивной консоли](https://python-all.ru/3.2/library/code.html#interactive-console-objects)
    - [28.2. `codeop` – Компиляция кода Python](https://python-all.ru/3.2/library/codeop.html)
  - [29. Импорт модулей](https://python-all.ru/3.2/library/modules.html)

    - [29.1. `imp` – Доступ к внутренним механизмам `import`](https://python-all.ru/3.2/library/imp.html)

      - [29.1.1. Примеры](https://python-all.ru/3.2/library/imp.html#examples)
    - [29.2. `zipimport` – Импорт модулей из Zip-архивов](https://python-all.ru/3.2/library/zipimport.html)

      - [29.2.1. Объекты zipimporter](https://python-all.ru/3.2/library/zipimport.html#zipimporter-objects)
      - [29.2.2. Примеры](https://python-all.ru/3.2/library/zipimport.html#examples)
    - [29.3. `pkgutil` – Утилита расширения пакетов](https://python-all.ru/3.2/library/pkgutil.html)
    - [29.4. `modulefinder` – Поиск модулей, используемых сценарием](https://python-all.ru/3.2/library/modulefinder.html)

      - [29.4.1. Пример использования `ModuleFinder`](https://python-all.ru/3.2/library/modulefinder.html#example-usage-of-modulefinder)
    - [29.5. `runpy` – Поиск и выполнение модулей Python](https://python-all.ru/3.2/library/runpy.html)
    - [29.6. `importlib` – Реализация `import`](https://python-all.ru/3.2/library/importlib.html)

      - [29.6.1. Введение](https://python-all.ru/3.2/library/importlib.html#introduction)
      - [29.6.2. Функции](https://python-all.ru/3.2/library/importlib.html#functions)
      - [29.6.3. `importlib.abc` – Абстрактные базовые классы, связанные с импортом](https://python-all.ru/3.2/library/importlib.html#module-importlib.abc)
      - [29.6.4. `importlib.machinery` – Импортеры и перехватчики путей](https://python-all.ru/3.2/library/importlib.html#module-importlib.machinery)
      - [29.6.5. `importlib.util` – Вспомогательный код для импортеров](https://python-all.ru/3.2/library/importlib.html#module-importlib.util)
  - [30. Службы языка Python](https://python-all.ru/3.2/library/language.html)

    - [30.1. `parser` – Доступ к деревьям разбора Python](https://python-all.ru/3.2/library/parser.html)

      - [30.1.1. Создание ST-объектов](https://python-all.ru/3.2/library/parser.html#creating-st-objects)
      - [30.1.2. Преобразование ST-объектов](https://python-all.ru/3.2/library/parser.html#converting-st-objects)
      - [30.1.3. Запросы к ST-объектам](https://python-all.ru/3.2/library/parser.html#queries-on-st-objects)
      - [30.1.4. Исключения и обработка ошибок](https://python-all.ru/3.2/library/parser.html#exceptions-and-error-handling)
      - [30.1.5. ST-объекты](https://python-all.ru/3.2/library/parser.html#st-objects)
      - [30.1.6. Пример: Эмуляция `compile()`](https://python-all.ru/3.2/library/parser.html#example-emulation-of-compile)
    - [30.2. `ast` – Абстрактные синтаксические деревья](https://python-all.ru/3.2/library/ast.html)

      - [30.2.1. Классы узлов](https://python-all.ru/3.2/library/ast.html#node-classes)
      - [30.2.2. Абстрактная грамматика](https://python-all.ru/3.2/library/ast.html#abstract-grammar)
      - [30.2.3. Вспомогательные функции `ast`](https://python-all.ru/3.2/library/ast.html#ast-helpers)
    - [30.3. `symtable` – Доступ к таблицам символов компилятора](https://python-all.ru/3.2/library/symtable.html)

      - [30.3.1. Генерация таблиц символов](https://python-all.ru/3.2/library/symtable.html#generating-symbol-tables)
      - [30.3.2. Изучение таблиц символов](https://python-all.ru/3.2/library/symtable.html#examining-symbol-tables)
    - [30.4. `symbol` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.2/library/symbol.html)
    - [30.5. `token` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.2/library/token.html)
    - [30.6. `keyword` – Проверка ключевых слов Python](https://python-all.ru/3.2/library/keyword.html)
    - [30.7. `tokenize` – Токенизатор исходного кода Python](https://python-all.ru/3.2/library/tokenize.html)
    - [30.8. `tabnanny` – Выявление неоднозначных отступов](https://python-all.ru/3.2/library/tabnanny.html)
    - [30.9. `pyclbr` – Поддержка обозревателя классов Python](https://python-all.ru/3.2/library/pyclbr.html)

      - [30.9.1. Объекты классов](https://python-all.ru/3.2/library/pyclbr.html#class-objects)
      - [30.9.2. Объекты функций](https://python-all.ru/3.2/library/pyclbr.html#function-objects)
    - [30.10. `py_compile` – Компиляция исходных файлов Python](https://python-all.ru/3.2/library/py_compile.html)
    - [30.11. `compileall` – Байт-компиляция библиотек Python](https://python-all.ru/3.2/library/compileall.html)

      - [30.11.1. Использование из командной строки](https://python-all.ru/3.2/library/compileall.html#command-line-use)
      - [30.11.2. Публичные функции](https://python-all.ru/3.2/library/compileall.html#public-functions)
    - [30.12. `dis` – Дизассемблер байт-кода Python](https://python-all.ru/3.2/library/dis.html)

      - [30.12.1. Инструкции байт-кода Python](https://python-all.ru/3.2/library/dis.html#python-bytecode-instructions)
    - [30.13. `pickletools` – Инструменты для разработчиков pickle](https://python-all.ru/3.2/library/pickletools.html)

      - [30.13.1. Использование из командной строки](https://python-all.ru/3.2/library/pickletools.html#command-line-usage)

        - [30.13.1.1. Параметры командной строки](https://python-all.ru/3.2/library/pickletools.html#command-line-options)
      - [30.13.2. Программный интерфейс](https://python-all.ru/3.2/library/pickletools.html#programmatic-interface)
  - [31. Разные служебные модули](https://python-all.ru/3.2/library/misc.html)

    - [31.1. `formatter` – Универсальное форматирование вывода](https://python-all.ru/3.2/library/formatter.html)

      - [31.1.1. The Formatter Interface](https://python-all.ru/3.2/library/formatter.html#the-formatter-interface)
      - [31.1.2. Formatter Implementations](https://python-all.ru/3.2/library/formatter.html#formatter-implementations)
      - [31.1.3. The Writer Interface](https://python-all.ru/3.2/library/formatter.html#the-writer-interface)
      - [31.1.4. Writer Implementations](https://python-all.ru/3.2/library/formatter.html#writer-implementations)
  - [32. Службы, специфичные для MS Windows](https://python-all.ru/3.2/library/windows.html)

    - [32.1. `msilib` – Чтение и запись файлов Microsoft Installer](https://python-all.ru/3.2/library/msilib.html)

      - [32.1.1. Объекты баз данных](https://python-all.ru/3.2/library/msilib.html#database-objects)
      - [32.1.2. Объекты представлений](https://python-all.ru/3.2/library/msilib.html#view-objects)
      - [32.1.3. Объекты сводной информации](https://python-all.ru/3.2/library/msilib.html#summary-information-objects)
      - [32.1.4. Объекты записей](https://python-all.ru/3.2/library/msilib.html#record-objects)
      - [32.1.5. Ошибки](https://python-all.ru/3.2/library/msilib.html#errors)
      - [32.1.6. Объекты CAB](https://python-all.ru/3.2/library/msilib.html#cab-objects)
      - [32.1.7. Объекты каталогов](https://python-all.ru/3.2/library/msilib.html#directory-objects)
      - [32.1.8. Возможности](https://python-all.ru/3.2/library/msilib.html#features)
      - [32.1.9. Классы GUI](https://python-all.ru/3.2/library/msilib.html#gui-classes)
      - [32.1.10. Предвычисленные таблицы](https://python-all.ru/3.2/library/msilib.html#precomputed-tables)
    - [32.2. `msvcrt` – Полезные процедуры из среды выполнения MS VC++](https://python-all.ru/3.2/library/msvcrt.html)

      - [32.2.1. Операции с файлами](https://python-all.ru/3.2/library/msvcrt.html#file-operations)
      - [32.2.2. Ввод-вывод консоли](https://python-all.ru/3.2/library/msvcrt.html#console-i-o)
      - [32.2.3. Другие функции](https://python-all.ru/3.2/library/msvcrt.html#other-functions)
    - [32.3. `winreg` – Доступ к реестру Windows](https://python-all.ru/3.2/library/winreg.html)

      - [32.3.1. Константы](https://python-all.ru/3.2/library/winreg.html#constants)

        - [32.3.1.1. Константы HKEY\_\*](https://python-all.ru/3.2/library/winreg.html#hkey-constants)
        - [32.3.1.2. Права доступа](https://python-all.ru/3.2/library/winreg.html#access-rights)

          - [32.3.1.2.1. Специфичное для 64-бит](https://python-all.ru/3.2/library/winreg.html#bit-specific)
        - [32.3.1.3. Типы значений](https://python-all.ru/3.2/library/winreg.html#value-types)
      - [32.3.2. Объекты дескрипторов реестра](https://python-all.ru/3.2/library/winreg.html#registry-handle-objects)
    - [32.4. `winsound` – Интерфейс воспроизведения звука для Windows](https://python-all.ru/3.2/library/winsound.html)
  - [33. Специфичные для Unix службы](https://python-all.ru/3.2/library/unix.html)

    - [33.1. `posix` – Наиболее распространённые системные вызовы POSIX](https://python-all.ru/3.2/library/posix.html)

      - [33.1.1. Поддержка больших файлов](https://python-all.ru/3.2/library/posix.html#large-file-support)
      - [33.1.2. Примечательное содержимое модуля](https://python-all.ru/3.2/library/posix.html#notable-module-contents)
    - [33.2. `pwd` – База данных паролей](https://python-all.ru/3.2/library/pwd.html)
    - [33.3. `spwd` – База данных теневых паролей](https://python-all.ru/3.2/library/spwd.html)
    - [33.4. `grp` – База данных групп](https://python-all.ru/3.2/library/grp.html)
    - [33.5. `crypt` – Функция проверки паролей Unix](https://python-all.ru/3.2/library/crypt.html)
    - [33.6. `termios` – Управление tty в стиле POSIX](https://python-all.ru/3.2/library/termios.html)

      - [33.6.1. Пример](https://python-all.ru/3.2/library/termios.html#example)
    - [33.7. `tty` – Функции управления терминалом](https://python-all.ru/3.2/library/tty.html)
    - [33.8. `pty` – Утилиты псевдотерминала](https://python-all.ru/3.2/library/pty.html)

      - [33.8.1. Пример](https://python-all.ru/3.2/library/pty.html#example)
    - [33.9. `fcntl` – Системные вызовы `fcntl()` и `ioctl()`](https://python-all.ru/3.2/library/fcntl.html)
    - [33.10. `pipes` – Интерфейс для конвейеров оболочки](https://python-all.ru/3.2/library/pipes.html)

      - [33.10.1. Шаблонные объекты](https://python-all.ru/3.2/library/pipes.html#template-objects)
    - [33.11. `resource` – Информация об использовании ресурсов](https://python-all.ru/3.2/library/resource.html)

      - [33.11.1. Лимиты ресурсов](https://python-all.ru/3.2/library/resource.html#resource-limits)
      - [33.11.2. Использование ресурсов](https://python-all.ru/3.2/library/resource.html#resource-usage)
    - [33.12. `nis` – Интерфейс к NIS (Yellow Pages) Sun](https://python-all.ru/3.2/library/nis.html)
    - [33.13. `syslog` – Библиотечные функции syslog в Unix](https://python-all.ru/3.2/library/syslog.html)

      - [33.13.1. Примеры](https://python-all.ru/3.2/library/syslog.html#examples)

        - [33.13.1.1. Простой пример](https://python-all.ru/3.2/library/syslog.html#simple-example)
  - [34. Незадокументированные модули](https://python-all.ru/3.2/library/undoc.html)

    - [34.1. Платформозависимые модули](https://python-all.ru/3.2/library/undoc.html#platform-specific-modules)
- [Расширение и встраивание интерпретатора Python](https://python-all.ru/3.2/extending/index.html)

  - [1. Расширение Python с помощью C или C++](https://python-all.ru/3.2/extending/extending.html)

    - [1.1. Простой пример](https://python-all.ru/3.2/extending/extending.html#a-simple-example)
    - [1.2. Интермеццо: ошибки и исключения](https://python-all.ru/3.2/extending/extending.html#intermezzo-errors-and-exceptions)
    - [1.3. Возвращение к примеру](https://python-all.ru/3.2/extending/extending.html#back-to-the-example)
    - [1.4. Таблица методов модуля и функция инициализации](https://python-all.ru/3.2/extending/extending.html#the-module-s-method-table-and-initialization-function)
    - [1.5. Компиляция и компоновка](https://python-all.ru/3.2/extending/extending.html#compilation-and-linkage)
    - [1.6. Вызов функций Python из C](https://python-all.ru/3.2/extending/extending.html#calling-python-functions-from-c)
    - [1.7. Извлечение параметров в функциях расширения](https://python-all.ru/3.2/extending/extending.html#extracting-parameters-in-extension-functions)
    - [1.8. Именованные параметры для функций расширения](https://python-all.ru/3.2/extending/extending.html#keyword-parameters-for-extension-functions)
    - [1.9. Построение произвольных значений](https://python-all.ru/3.2/extending/extending.html#building-arbitrary-values)
    - [1.10. Счетчики ссылок](https://python-all.ru/3.2/extending/extending.html#reference-counts)

      - [1.10.1. Подсчёт ссылок в Python](https://python-all.ru/3.2/extending/extending.html#reference-counting-in-python)
      - [1.10.2. Правила владения](https://python-all.ru/3.2/extending/extending.html#ownership-rules)
      - [1.10.3. Тонкий лёд](https://python-all.ru/3.2/extending/extending.html#thin-ice)
      - [1.10.4. Указатели NULL](https://python-all.ru/3.2/extending/extending.html#null-pointers)
    - [1.11. Написание расширений на C++](https://python-all.ru/3.2/extending/extending.html#writing-extensions-in-c)
    - [1.12. Предоставление C API для модуля расширения](https://python-all.ru/3.2/extending/extending.html#providing-a-c-api-for-an-extension-module)
  - [2. Определение новых типов](https://python-all.ru/3.2/extending/newtypes.html)

    - [2.1. Основы](https://python-all.ru/3.2/extending/newtypes.html#the-basics)

      - [2.1.1. Добавление данных и методов в базовый пример](https://python-all.ru/3.2/extending/newtypes.html#adding-data-and-methods-to-the-basic-example)
      - [2.1.2. Обеспечение более тонкого контроля над атрибутами данных](https://python-all.ru/3.2/extending/newtypes.html#providing-finer-control-over-data-attributes)
      - [2.1.3. Поддержка циклической сборки мусора](https://python-all.ru/3.2/extending/newtypes.html#supporting-cyclic-garbage-collection)
      - [2.1.4. Наследование от других типов](https://python-all.ru/3.2/extending/newtypes.html#subclassing-other-types)
    - [2.2. Методы типов](https://python-all.ru/3.2/extending/newtypes.html#type-methods)

      - [2.2.1. Финализация и освобождение памяти](https://python-all.ru/3.2/extending/newtypes.html#finalization-and-de-allocation)
      - [2.2.2. Представление объекта](https://python-all.ru/3.2/extending/newtypes.html#object-presentation)
      - [2.2.3. Управление атрибутами](https://python-all.ru/3.2/extending/newtypes.html#attribute-management)

        - [2.2.3.1. Общее управление атрибутами](https://python-all.ru/3.2/extending/newtypes.html#generic-attribute-management)
        - [2.2.3.2. Управление атрибутами, специфичными для типа](https://python-all.ru/3.2/extending/newtypes.html#type-specific-attribute-management)
      - [2.2.4. Сравнение объектов](https://python-all.ru/3.2/extending/newtypes.html#object-comparison)
      - [2.2.5. Поддержка абстрактных протоколов](https://python-all.ru/3.2/extending/newtypes.html#abstract-protocol-support)
      - [2.2.6. Поддержка слабых ссылок](https://python-all.ru/3.2/extending/newtypes.html#weak-reference-support)
      - [2.2.7. Дополнительные рекомендации](https://python-all.ru/3.2/extending/newtypes.html#more-suggestions)
  - [3. Сборка расширений на C и C++ с помощью distutils](https://python-all.ru/3.2/extending/building.html)

    - [3.1. Распространение модулей расширения](https://python-all.ru/3.2/extending/building.html#distributing-your-extension-modules)
  - [4. Сборка расширений C и C++ в Windows](https://python-all.ru/3.2/extending/windows.html)

    - [4.1. Подход «Кулинарная книга»](https://python-all.ru/3.2/extending/windows.html#a-cookbook-approach)
    - [4.2. Различия между Unix и Windows](https://python-all.ru/3.2/extending/windows.html#differences-between-unix-and-windows)
    - [4.3. Использование DLL на практике](https://python-all.ru/3.2/extending/windows.html#using-dlls-in-practice)
  - [5. Встраивание Python в другое приложение](https://python-all.ru/3.2/extending/embedding.html)

    - [5.1. Встраивание на очень высоком уровне](https://python-all.ru/3.2/extending/embedding.html#very-high-level-embedding)
    - [5.2. За пределами встраивания на очень высоком уровне: обзор](https://python-all.ru/3.2/extending/embedding.html#beyond-very-high-level-embedding-an-overview)
    - [5.3. Чистое встраивание](https://python-all.ru/3.2/extending/embedding.html#pure-embedding)
    - [5.4. Расширение встроенного Python](https://python-all.ru/3.2/extending/embedding.html#extending-embedded-python)
    - [5.5. Встраивание Python в C++](https://python-all.ru/3.2/extending/embedding.html#embedding-python-in-c)
    - [5.6. Компиляция и компоновка в системах семейства Unix](https://python-all.ru/3.2/extending/embedding.html#compiling-and-linking-under-unix-like-systems)
- [Справочное руководство по Python/C API](https://python-all.ru/3.2/c-api/index.html)

  - [Введение](https://python-all.ru/3.2/c-api/intro.html)

    - [Заголовочные файлы](https://python-all.ru/3.2/c-api/intro.html#include-files)
    - [Объекты, типы и счетчики ссылок](https://python-all.ru/3.2/c-api/intro.html#objects-types-and-reference-counts)

      - [Счётчики ссылок](https://python-all.ru/3.2/c-api/intro.html#reference-counts)

        - [Подробности подсчёта ссылок](https://python-all.ru/3.2/c-api/intro.html#reference-count-details)
      - [Типы](https://python-all.ru/3.2/c-api/intro.html#types)
    - [Исключения](https://python-all.ru/3.2/c-api/intro.html#exceptions)
    - [Встраивание Python](https://python-all.ru/3.2/c-api/intro.html#embedding-python)
    - [Отладочные сборки](https://python-all.ru/3.2/c-api/intro.html#debugging-builds)
  - [Очень высокоуровневый слой](https://python-all.ru/3.2/c-api/veryhigh.html)
  - [Подсчёт ссылок](https://python-all.ru/3.2/c-api/refcounting.html)
  - [Обработка исключений](https://python-all.ru/3.2/c-api/exceptions.html)

    - [Объекты исключений](https://python-all.ru/3.2/c-api/exceptions.html#exception-objects)
    - [Объекты исключений Unicode](https://python-all.ru/3.2/c-api/exceptions.html#unicode-exception-objects)
    - [Управление рекурсией](https://python-all.ru/3.2/c-api/exceptions.html#recursion-control)
    - [Стандартные исключения](https://python-all.ru/3.2/c-api/exceptions.html#standard-exceptions)
  - [Утилиты](https://python-all.ru/3.2/c-api/utilities.html)

    - [Утилиты операционной системы](https://python-all.ru/3.2/c-api/sys.html)
    - [Системные функции](https://python-all.ru/3.2/c-api/sys.html#system-functions)
    - [Управление процессами](https://python-all.ru/3.2/c-api/sys.html#process-control)
    - [Импорт модулей](https://python-all.ru/3.2/c-api/import.html)
    - [Поддержка маршалинга данных](https://python-all.ru/3.2/c-api/marshal.html)
    - [Разбор аргументов и сборка значений](https://python-all.ru/3.2/c-api/arg.html)

      - [Разбор аргументов](https://python-all.ru/3.2/c-api/arg.html#parsing-arguments)

        - [Строки и буферы](https://python-all.ru/3.2/c-api/arg.html#strings-and-buffers)
        - [Числа](https://python-all.ru/3.2/c-api/arg.html#numbers)
        - [Другие объекты](https://python-all.ru/3.2/c-api/arg.html#other-objects)
        - [Функции API](https://python-all.ru/3.2/c-api/arg.html#api-functions)
      - [Сборка значений](https://python-all.ru/3.2/c-api/arg.html#building-values)
    - [Преобразование и форматирование строк](https://python-all.ru/3.2/c-api/conversion.html)
    - [Рефлексия](https://python-all.ru/3.2/c-api/reflection.html)
    - [Реестр кодировок и вспомогательные функции](https://python-all.ru/3.2/c-api/codec.html)

      - [API поиска кодировок](https://python-all.ru/3.2/c-api/codec.html#codec-lookup-api)
      - [API реестра обработчиков ошибок кодирования Unicode](https://python-all.ru/3.2/c-api/codec.html#registry-api-for-unicode-encoding-error-handlers)
  - [Слой абстрактных объектов](https://python-all.ru/3.2/c-api/abstract.html)

    - [Протокол объекта](https://python-all.ru/3.2/c-api/object.html)
    - [Протокол чисел](https://python-all.ru/3.2/c-api/number.html)
    - [Протокол последовательностей](https://python-all.ru/3.2/c-api/sequence.html)
    - [Протокол отображений](https://python-all.ru/3.2/c-api/mapping.html)
    - [Протокол итератора](https://python-all.ru/3.2/c-api/iter.html)
    - [Протокол буфера](https://python-all.ru/3.2/c-api/buffer.html)

      - [Структура буфера](https://python-all.ru/3.2/c-api/buffer.html#the-buffer-structure)
      - [Функции, связанные с буферами](https://python-all.ru/3.2/c-api/buffer.html#buffer-related-functions)
    - [Старый буферный протокол](https://python-all.ru/3.2/c-api/objbuffer.html)
  - [Слой конкретных объектов](https://python-all.ru/3.2/c-api/concrete.html)

    - [Базовые объекты](https://python-all.ru/3.2/c-api/concrete.html#fundamental-objects)

      - [Объекты типов](https://python-all.ru/3.2/c-api/type.html)
      - [Объект None](https://python-all.ru/3.2/c-api/none.html)
    - [Числовые объекты](https://python-all.ru/3.2/c-api/concrete.html#numeric-objects)

      - [Объекты целых чисел](https://python-all.ru/3.2/c-api/long.html)
      - [Объекты логических значений](https://python-all.ru/3.2/c-api/bool.html)
      - [Объекты чисел с плавающей запятой](https://python-all.ru/3.2/c-api/float.html)
      - [Объекты комплексных чисел](https://python-all.ru/3.2/c-api/complex.html)

        - [Комплексные числа как структуры C](https://python-all.ru/3.2/c-api/complex.html#complex-numbers-as-c-structures)
        - [Комплексные числа как объекты Python](https://python-all.ru/3.2/c-api/complex.html#complex-numbers-as-python-objects)
    - [Объекты последовательностей](https://python-all.ru/3.2/c-api/concrete.html#sequence-objects)

      - [Объекты bytes](https://python-all.ru/3.2/c-api/bytes.html)
      - [Объекты массива байтов](https://python-all.ru/3.2/c-api/bytearray.html)

        - [Макросы проверки типа](https://python-all.ru/3.2/c-api/bytearray.html#type-check-macros)
        - [Функции прямого API](https://python-all.ru/3.2/c-api/bytearray.html#direct-api-functions)
        - [Макросы](https://python-all.ru/3.2/c-api/bytearray.html#macros)
      - [Объекты Unicode и кодеки](https://python-all.ru/3.2/c-api/unicode.html)

        - [Объекты Unicode](https://python-all.ru/3.2/c-api/unicode.html#unicode-objects)

          - [Тип Юникода](https://python-all.ru/3.2/c-api/unicode.html#unicode-type)
          - [Свойства символов Юникода](https://python-all.ru/3.2/c-api/unicode.html#unicode-character-properties)
          - [Простой Py\_UNICODE](https://python-all.ru/3.2/c-api/unicode.html#plain-py-unicode)
          - [Кодировка файловой системы](https://python-all.ru/3.2/c-api/unicode.html#file-system-encoding)
          - [Поддержка wchar\_t](https://python-all.ru/3.2/c-api/unicode.html#wchar-t-support)
        - [Встроенные кодеки](https://python-all.ru/3.2/c-api/unicode.html#built-in-codecs)

          - [Общие кодеки](https://python-all.ru/3.2/c-api/unicode.html#generic-codecs)
          - [Кодеки UTF-8](https://python-all.ru/3.2/c-api/unicode.html#utf-8-codecs)
          - [Кодеки UTF-32](https://python-all.ru/3.2/c-api/unicode.html#utf-32-codecs)
          - [Кодеки UTF-16](https://python-all.ru/3.2/c-api/unicode.html#utf-16-codecs)
          - [Кодеки UTF-7](https://python-all.ru/3.2/c-api/unicode.html#utf-7-codecs)
          - [Кодеки Unicode-Escape](https://python-all.ru/3.2/c-api/unicode.html#unicode-escape-codecs)
          - [Кодеки Raw-Unicode-Escape](https://python-all.ru/3.2/c-api/unicode.html#raw-unicode-escape-codecs)
          - [Кодеки Latin-1](https://python-all.ru/3.2/c-api/unicode.html#latin-1-codecs)
          - [Кодеки ASCII](https://python-all.ru/3.2/c-api/unicode.html#ascii-codecs)
          - [Кодеки символьной карты](https://python-all.ru/3.2/c-api/unicode.html#character-map-codecs)
          - [Кодеки MBCS для Windows](https://python-all.ru/3.2/c-api/unicode.html#mbcs-codecs-for-windows)
          - [Методы и слоты](https://python-all.ru/3.2/c-api/unicode.html#methods-slots)
        - [Методы и слот-функции](https://python-all.ru/3.2/c-api/unicode.html#methods-and-slot-functions)
      - [Кортежи](https://python-all.ru/3.2/c-api/tuple.html)
      - [Списки](https://python-all.ru/3.2/c-api/list.html)
    - [Объекты-отображения](https://python-all.ru/3.2/c-api/concrete.html#mapping-objects)

      - [Объекты словарей](https://python-all.ru/3.2/c-api/dict.html)
    - [Прочие объекты](https://python-all.ru/3.2/c-api/concrete.html#other-objects)

      - [Множества](https://python-all.ru/3.2/c-api/set.html)
      - [Объекты функций](https://python-all.ru/3.2/c-api/function.html)
      - [Объекты методов экземпляра](https://python-all.ru/3.2/c-api/method.html)
      - [Объекты методов](https://python-all.ru/3.2/c-api/method.html#method-objects)
      - [Объекты файлов](https://python-all.ru/3.2/c-api/file.html)
      - [Объекты модулей](https://python-all.ru/3.2/c-api/module.html)

        - [Инициализация C-модулей](https://python-all.ru/3.2/c-api/module.html#initializing-c-modules)
      - [Объекты итераторов](https://python-all.ru/3.2/c-api/iterator.html)
      - [Объекты дескрипторов](https://python-all.ru/3.2/c-api/descriptor.html)
      - [Объекты срезов](https://python-all.ru/3.2/c-api/slice.html)
      - [Объекты memoryview](https://python-all.ru/3.2/c-api/memoryview.html)
      - [Объекты слабых ссылок](https://python-all.ru/3.2/c-api/weakref.html)
      - [Капсулы](https://python-all.ru/3.2/c-api/capsule.html)
      - [Объекты ячеек](https://python-all.ru/3.2/c-api/cell.html)
      - [Объекты-генераторы](https://python-all.ru/3.2/c-api/gen.html)
      - [Объекты datetime](https://python-all.ru/3.2/c-api/datetime.html)
      - [Объекты кода](https://python-all.ru/3.2/c-api/code.html)
  - [Инициализация, финализация и потоки](https://python-all.ru/3.2/c-api/init.html)

    - [Инициализация и финализация интерпретатора](https://python-all.ru/3.2/c-api/init.html#initializing-and-finalizing-the-interpreter)
    - [Параметры уровня процесса](https://python-all.ru/3.2/c-api/init.html#process-wide-parameters)
    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/3.2/c-api/init.html#thread-state-and-the-global-interpreter-lock)

      - [Освобождение GIL из кода расширения](https://python-all.ru/3.2/c-api/init.html#releasing-the-gil-from-extension-code)
      - [Потоки, созданные не в Python](https://python-all.ru/3.2/c-api/init.html#non-python-created-threads)
      - [Высокоуровневый API](https://python-all.ru/3.2/c-api/init.html#high-level-api)
      - [Низкоуровневый API](https://python-all.ru/3.2/c-api/init.html#low-level-api)
    - [Поддержка под-интерпретаторов](https://python-all.ru/3.2/c-api/init.html#sub-interpreter-support)

      - [Ошибки и предостережения](https://python-all.ru/3.2/c-api/init.html#bugs-and-caveats)
    - [Асинхронные уведомления](https://python-all.ru/3.2/c-api/init.html#asynchronous-notifications)
    - [Профилирование и трассировка](https://python-all.ru/3.2/c-api/init.html#profiling-and-tracing)
    - [Расширенная поддержка отладчика](https://python-all.ru/3.2/c-api/init.html#advanced-debugger-support)
  - [Управление памятью](https://python-all.ru/3.2/c-api/memory.html)

    - [Обзор](https://python-all.ru/3.2/c-api/memory.html#overview)
    - [Интерфейс памяти](https://python-all.ru/3.2/c-api/memory.html#memory-interface)
    - [Примеры](https://python-all.ru/3.2/c-api/memory.html#examples)
  - [Поддержка реализации объектов](https://python-all.ru/3.2/c-api/objimpl.html)

    - [Выделение объектов в куче](https://python-all.ru/3.2/c-api/allocation.html)
    - [Общие структуры объектов](https://python-all.ru/3.2/c-api/structures.html)
    - [Объекты типов](https://python-all.ru/3.2/c-api/typeobj.html)
    - [Структуры числовых объектов](https://python-all.ru/3.2/c-api/typeobj.html#number-object-structures)
    - [Структуры объектов отображений](https://python-all.ru/3.2/c-api/typeobj.html#mapping-object-structures)
    - [Структуры объектов последовательностей](https://python-all.ru/3.2/c-api/typeobj.html#sequence-object-structures)
    - [Структуры буферных объектов](https://python-all.ru/3.2/c-api/typeobj.html#buffer-object-structures)
    - [Поддержка циклической сборки мусора](https://python-all.ru/3.2/c-api/gcsupport.html)
- [Распространение модулей Python](https://python-all.ru/3.2/distutils/index.html)

  - [1. Введение в Distutils](https://python-all.ru/3.2/distutils/introduction.html)

    - [1.1. Понятия и терминология](https://python-all.ru/3.2/distutils/introduction.html#concepts-terminology)
    - [1.2. Простой пример](https://python-all.ru/3.2/distutils/introduction.html#a-simple-example)
    - [1.3. Общая терминология Python](https://python-all.ru/3.2/distutils/introduction.html#general-python-terminology)
    - [1.4. Терминология Distutils](https://python-all.ru/3.2/distutils/introduction.html#distutils-specific-terminology)
  - [2. Написание скрипта установки](https://python-all.ru/3.2/distutils/setupscript.html)

    - [2.1. Перечисление целых пакетов](https://python-all.ru/3.2/distutils/setupscript.html#listing-whole-packages)
    - [2.2. Перечисление отдельных модулей](https://python-all.ru/3.2/distutils/setupscript.html#listing-individual-modules)
    - [2.3. Описание модулей расширения](https://python-all.ru/3.2/distutils/setupscript.html#describing-extension-modules)

      - [2.3.1. Имена расширений и пакеты](https://python-all.ru/3.2/distutils/setupscript.html#extension-names-and-packages)
      - [2.3.2. Исходные файлы расширений](https://python-all.ru/3.2/distutils/setupscript.html#extension-source-files)
      - [2.3.3. Опции препроцессора](https://python-all.ru/3.2/distutils/setupscript.html#preprocessor-options)
      - [2.3.4. Опции библиотек](https://python-all.ru/3.2/distutils/setupscript.html#library-options)
      - [2.3.5. Другие опции](https://python-all.ru/3.2/distutils/setupscript.html#other-options)
    - [2.4. Связи между дистрибутивами и пакетами](https://python-all.ru/3.2/distutils/setupscript.html#relationships-between-distributions-and-packages)
    - [2.5. Установка скриптов](https://python-all.ru/3.2/distutils/setupscript.html#installing-scripts)
    - [2.6. Установка данных пакета](https://python-all.ru/3.2/distutils/setupscript.html#installing-package-data)
    - [2.7. Установка дополнительных файлов](https://python-all.ru/3.2/distutils/setupscript.html#installing-additional-files)
    - [2.8. Дополнительные метаданные](https://python-all.ru/3.2/distutils/setupscript.html#additional-meta-data)
    - [2.9. Отладка скрипта установки](https://python-all.ru/3.2/distutils/setupscript.html#debugging-the-setup-script)
  - [3. Написание файла конфигурации установки](https://python-all.ru/3.2/distutils/configfile.html)
  - [4. Создание исходного дистрибутива](https://python-all.ru/3.2/distutils/sourcedist.html)

    - [4.1. Указание файлов для распространения](https://python-all.ru/3.2/distutils/sourcedist.html#specifying-the-files-to-distribute)
    - [4.2. Опции, связанные с манифестом](https://python-all.ru/3.2/distutils/sourcedist.html#manifest-related-options)
  - [5. Создание готовых дистрибутивов](https://python-all.ru/3.2/distutils/builtdist.html)

    - [5.1. Создание RPM-пакетов](https://python-all.ru/3.2/distutils/builtdist.html#creating-rpm-packages)
    - [5.2. Создание установщиков для Windows](https://python-all.ru/3.2/distutils/builtdist.html#creating-windows-installers)
    - [5.3. Кросс-компиляция на Windows](https://python-all.ru/3.2/distutils/builtdist.html#cross-compiling-on-windows)

      - [5.3.1. Постустановочный скрипт](https://python-all.ru/3.2/distutils/builtdist.html#the-postinstallation-script)
    - [5.4. Контроль учётных записей (UAC) в Vista](https://python-all.ru/3.2/distutils/builtdist.html#vista-user-access-control-uac)
  - [6. Индекс пакетов Python (PyPI)](https://python-all.ru/3.2/distutils/packageindex.html)

    - [6.1. Регистрация пакетов](https://python-all.ru/3.2/distutils/packageindex.html#registering-packages)
    - [6.2. Загрузка пакетов](https://python-all.ru/3.2/distutils/packageindex.html#uploading-packages)
    - [6.3. Файл .pypirc](https://python-all.ru/3.2/distutils/packageindex.html#the-pypirc-file)
    - [6.4. Отображение пакетов PyPI](https://python-all.ru/3.2/distutils/packageindex.html#pypi-package-display)
  - [7. Примеры](https://python-all.ru/3.2/distutils/examples.html)

    - [7.1. Дистрибутив на чистом Python (по модулям)](https://python-all.ru/3.2/distutils/examples.html#pure-python-distribution-by-module)
    - [7.2. Дистрибутив на чистом Python (по пакетам)](https://python-all.ru/3.2/distutils/examples.html#pure-python-distribution-by-package)
    - [7.3. Один модуль расширения](https://python-all.ru/3.2/distutils/examples.html#single-extension-module)
    - [7.4. Проверка пакета](https://python-all.ru/3.2/distutils/examples.html#checking-a-package)
  - [8. Расширение Distutils](https://python-all.ru/3.2/distutils/extending.html)

    - [8.1. Интеграция новых команд](https://python-all.ru/3.2/distutils/extending.html#integrating-new-commands)
    - [8.2. Добавление новых типов дистрибутивов](https://python-all.ru/3.2/distutils/extending.html#adding-new-distribution-types)
  - [9. Справочник команд](https://python-all.ru/3.2/distutils/commandref.html)

    - [9.1. Установка модулей: семейство команд **install**](https://python-all.ru/3.2/distutils/commandref.html#installing-modules-the-install-command-family)

      - [9.1.1. **install\_data**](https://python-all.ru/3.2/distutils/commandref.html#install-data)
      - [9.1.2. **install\_scripts**](https://python-all.ru/3.2/distutils/commandref.html#install-scripts)
    - [9.2. Создание дистрибутива исходного кода: команда **sdist**](https://python-all.ru/3.2/distutils/commandref.html#creating-a-source-distribution-the-sdist-command)
  - [10. Справочник API](https://python-all.ru/3.2/distutils/apiref.html)

    - [10.1. `distutils.core` – Основные функции Distutils](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.core)
    - [10.2. `distutils.ccompiler` – Базовый класс CCompiler](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.ccompiler)
    - [10.3. `distutils.unixccompiler` – Компилятор C для Unix](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.unixccompiler)
    - [10.4. `distutils.msvccompiler` – Компилятор Microsoft](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.msvccompiler)
    - [10.5. `distutils.bcppcompiler` – Компилятор Borland](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.bcppcompiler)
    - [10.6. `distutils.cygwincompiler` – Компилятор Cygwin](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.cygwinccompiler)
    - [10.7. `distutils.emxccompiler` – Компилятор OS/2 EMX](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.emxccompiler)
    - [10.8. `distutils.archive_util` – Утилиты архивации](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.archive_util)
    - [10.9. `distutils.dep_util` – Проверка зависимостей](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.dep_util)
    - [10.10. `distutils.dir_util` – Операции с деревом каталогов](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.dir_util)
    - [10.11. `distutils.file_util` – Операции с отдельными файлами](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.file_util)
    - [10.12. `distutils.util` – Прочие вспомогательные функции](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.util)
    - [10.13. `distutils.dist` – Класс Distribution](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.dist)
    - [10.14. `distutils.extension` – Класс Extension](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.extension)
    - [10.15. `distutils.debug` – Режим отладки Distutils](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.debug)
    - [10.16. `distutils.errors` – Исключения Distutils](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.errors)
    - [10.17. `distutils.fancy_getopt` – Обёртка над стандартным модулем getopt](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.fancy_getopt)
    - [10.18. `distutils.filelist` – Класс FileList](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.filelist)
    - [10.19. `distutils.log` – Простое логирование в стиле PEP 282](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.log)
    - [10.20. `distutils.spawn` – Запуск подпроцесса](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.spawn)
    - [10.21. `distutils.sysconfig` – Информация о системной конфигурации](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.sysconfig)
    - [10.22. `distutils.text_file` – Класс TextFile](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.text_file)
    - [10.23. `distutils.version` – Классы номеров версий](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.version)
    - [10.24. `distutils.cmd` – Абстрактный базовый класс для команд Distutils](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.cmd)
    - [10.25. Создание новой команды Distutils](https://python-all.ru/3.2/distutils/apiref.html#creating-a-new-distutils-command)
    - [10.26. `distutils.command` – Отдельные команды Distutils](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command)
    - [10.27. `distutils.command.bdist` – Сборка двоичного установщика](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.bdist)
    - [10.28. `distutils.command.bdist_packager` – Абстрактный базовый класс для упаковщиков](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.bdist_packager)
    - [10.29. `distutils.command.bdist_dumb` – Сборка «немого» установщика](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.bdist_dumb)
    - [10.30. `distutils.command.bdist_msi` – Сборка двоичного пакета Microsoft Installer](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.bdist_msi)
    - [10.31. `distutils.command.bdist_rpm` – Сборка двоичного дистрибутива в формате Redhat RPM и SRPM](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.bdist_rpm)
    - [10.32. `distutils.command.bdist_wininst` – Сборка установщика для Windows](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.bdist_wininst)
    - [10.33. `distutils.command.sdist` – Сборка дистрибутива исходного кода](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.sdist)
    - [10.34. `distutils.command.build` – Сборка всех файлов пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.build)
    - [10.35. `distutils.command.build_clib` – Сборка библиотек C в пакете](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.build_clib)
    - [10.36. `distutils.command.build_ext` – Сборка расширений в пакете](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.build_ext)
    - [10.37. `distutils.command.build_py` – Сборка .py/.pyc файлов пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.build_py)
    - [10.38. `distutils.command.build_scripts` – Сборка скриптов пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.build_scripts)
    - [10.39. `distutils.command.clean` – Очистка каталога сборки пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.clean)
    - [10.40. `distutils.command.config` – Выполнение конфигурации пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.config)
    - [10.41. `distutils.command.install` – Установка пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.install)
    - [10.42. `distutils.command.install_data` – Установка файлов данных из пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.install_data)
    - [10.43. `distutils.command.install_headers` – Установка заголовочных файлов C/C++ из пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.install_headers)
    - [10.44. `distutils.command.install_lib` – Установка файлов библиотеки из пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.install_lib)
    - [10.45. `distutils.command.install_scripts` – Установка файлов скриптов из пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.install_scripts)
    - [10.46. `distutils.command.register` – Регистрация модуля в индексе пакетов Python](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.register)
    - [10.47. `distutils.command.check` – Проверка метаданных пакета](https://python-all.ru/3.2/distutils/apiref.html#module-distutils.command.check)
- [Установка модулей Python](https://python-all.ru/3.2/install/index.html)

  - [Введение](https://python-all.ru/3.2/install/index.html#introduction)

    - [Идеальный случай: простая установка](https://python-all.ru/3.2/install/index.html#best-case-trivial-installation)
    - [Новый стандарт: Distutils](https://python-all.ru/3.2/install/index.html#the-new-standard-distutils)
  - [Стандартная сборка и установка](https://python-all.ru/3.2/install/index.html#standard-build-and-install)

    - [Различия платформ](https://python-all.ru/3.2/install/index.html#platform-variations)
    - [Разделение задачи на части](https://python-all.ru/3.2/install/index.html#splitting-the-job-up)
    - [Как работает сборка](https://python-all.ru/3.2/install/index.html#how-building-works)
    - [Как работает установка](https://python-all.ru/3.2/install/index.html#how-installation-works)
  - [Альтернативная установка](https://python-all.ru/3.2/install/index.html#alternate-installation)

    - [Альтернативная установка: схема пользователя](https://python-all.ru/3.2/install/index.html#alternate-installation-the-user-scheme)
    - [Альтернативная установка: домашняя схема](https://python-all.ru/3.2/install/index.html#alternate-installation-the-home-scheme)
    - [Альтернативная установка: Unix (схема префикса)](https://python-all.ru/3.2/install/index.html#alternate-installation-unix-the-prefix-scheme)
    - [Альтернативная установка: Windows (схема префикса)](https://python-all.ru/3.2/install/index.html#alternate-installation-windows-the-prefix-scheme)
  - [Пользовательская установка](https://python-all.ru/3.2/install/index.html#custom-installation)

    - [Изменение пути поиска Python](https://python-all.ru/3.2/install/index.html#modifying-python-s-search-path)
  - [Файлы конфигурации Distutils](https://python-all.ru/3.2/install/index.html#distutils-configuration-files)

    - [Расположение и имена файлов конфигурации](https://python-all.ru/3.2/install/index.html#location-and-names-of-config-files)
    - [Синтаксис файлов конфигурации](https://python-all.ru/3.2/install/index.html#syntax-of-config-files)
  - [Сборка расширений: советы и рекомендации](https://python-all.ru/3.2/install/index.html#building-extensions-tips-and-tricks)

    - [Настройка флагов компилятора/компоновщика](https://python-all.ru/3.2/install/index.html#tweaking-compiler-linker-flags)
    - [Использование компиляторов, отличных от Microsoft, в Windows](https://python-all.ru/3.2/install/index.html#using-non-microsoft-compilers-on-windows)

      - [Borland/CodeGear C++](https://python-all.ru/3.2/install/index.html#borland-codegear-c)
      - [GNU C / Cygwin / MinGW](https://python-all.ru/3.2/install/index.html#gnu-c-cygwin-mingw)

        - [Старые версии Python и MinGW](https://python-all.ru/3.2/install/index.html#older-versions-of-python-and-mingw)
- [Руководства Python HOWTO](https://python-all.ru/3.2/howto/index.html)

  - [HOWTO по продвижению Python](https://python-all.ru/3.2/howto/advocacy.html)

    - [Причины использовать Python](https://python-all.ru/3.2/howto/advocacy.html#reasons-to-use-python)

      - [Программируемость](https://python-all.ru/3.2/howto/advocacy.html#programmability)
      - [Прототипирование](https://python-all.ru/3.2/howto/advocacy.html#prototyping)
      - [Простота и лёгкость понимания](https://python-all.ru/3.2/howto/advocacy.html#simplicity-and-ease-of-understanding)
      - [Интеграция с Java](https://python-all.ru/3.2/howto/advocacy.html#java-integration)
    - [Аргументы и контраргументы](https://python-all.ru/3.2/howto/advocacy.html#arguments-and-rebuttals)
    - [Полезные ресурсы](https://python-all.ru/3.2/howto/advocacy.html#useful-resources)
  - [Перенос кода с Python 2 на Python 3](https://python-all.ru/3.2/howto/pyporting.html)

    - [Выбор стратегии](https://python-all.ru/3.2/howto/pyporting.html#choosing-a-strategy)

      - [Общие советы](https://python-all.ru/3.2/howto/pyporting.html#universal-bits-of-advice)
    - [Python 3 и 3to2](https://python-all.ru/3.2/howto/pyporting.html#python-3-and-3to2)
    - [Python 2 и 2to3](https://python-all.ru/3.2/howto/pyporting.html#python-2-and-2to3)

      - [Поддержка Python 2.7](https://python-all.ru/3.2/howto/pyporting.html#support-python-2-7)
      - [Попробуйте поддерживать только Python 2.6 и новее](https://python-all.ru/3.2/howto/pyporting.html#try-to-support-python-2-6-and-newer-only)

        - [`from __future__ import print_function`](https://python-all.ru/3.2/howto/pyporting.html#from-future-import-print-function)
        - [`from __future__ import unicode_literals`](https://python-all.ru/3.2/howto/pyporting.html#from-future-import-unicode-literals)
        - [Байтовые литералы](https://python-all.ru/3.2/howto/pyporting.html#bytes-literals)
      - [Поддержка только Python 2.5 и новее](https://python-all.ru/3.2/howto/pyporting.html#supporting-python-2-5-and-newer-only)

        - [`from __future__ import absolute_import`](https://python-all.ru/3.2/howto/pyporting.html#from-future-import-absolute-import)
      - [Обработка распространённых «подводных камней»](https://python-all.ru/3.2/howto/pyporting.html#handle-common-gotchas)

        - [`from __future__ import division`](https://python-all.ru/3.2/howto/pyporting.html#from-future-import-division)
        - [Указывать при открытии файла как двоичный](https://python-all.ru/3.2/howto/pyporting.html#specify-when-opening-a-file-as-binary)
        - [Текстовые файлы](https://python-all.ru/3.2/howto/pyporting.html#text-files)
        - [Наследовать от `object`](https://python-all.ru/3.2/howto/pyporting.html#subclass-object)
        - [Работа с дихотомией байты/строки](https://python-all.ru/3.2/howto/pyporting.html#deal-with-the-bytes-string-dichotomy)

          - [Размечать строковые литералы Python 2](https://python-all.ru/3.2/howto/pyporting.html#mark-up-python-2-string-literals)
          - [Решить, что будут принимать API](https://python-all.ru/3.2/howto/pyporting.html#decide-what-apis-will-accept)
          - [Сравнение байтов и Unicode](https://python-all.ru/3.2/howto/pyporting.html#bytes-unicode-comparison)
        - [Индексация объектов bytes](https://python-all.ru/3.2/howto/pyporting.html#indexing-bytes-objects)
        - [`__str__()`/`__unicode__()`](https://python-all.ru/3.2/howto/pyporting.html#str-unicode)
        - [Не индексировать по исключениям](https://python-all.ru/3.2/howto/pyporting.html#don-t-index-on-exceptions)
        - [Не используйте `__getslice__` и его аналоги](https://python-all.ru/3.2/howto/pyporting.html#don-t-use-getslice-friends)
        - [Обновление доктестов](https://python-all.ru/3.2/howto/pyporting.html#updating-doctests)
        - [Обновление *map* для несбалансированных входных последовательностей](https://python-all.ru/3.2/howto/pyporting.html#update-map-for-imbalanced-input-sequences)
      - [Устранить предупреждения `-3`](https://python-all.ru/3.2/howto/pyporting.html#eliminate-3-warnings)
      - [Запуск 2to3](https://python-all.ru/3.2/howto/pyporting.html#run-2to3)

        - [Вручную](https://python-all.ru/3.2/howto/pyporting.html#manually)
        - [Во время установки](https://python-all.ru/3.2/howto/pyporting.html#during-installation)
      - [Проверка и тестирование](https://python-all.ru/3.2/howto/pyporting.html#verify-test)
    - [Совместимый с Python 2/3 исходный код](https://python-all.ru/3.2/howto/pyporting.html#python-2-3-compatible-source)

      - [Использование 2to3](https://python-all.ru/3.2/howto/pyporting.html#follow-the-steps-for-using-2to3)
      - [Использование six](https://python-all.ru/3.2/howto/pyporting.html#use-six)
      - [Захват текущего поднятого исключения](https://python-all.ru/3.2/howto/pyporting.html#capturing-the-currently-raised-exception)
    - [Другие ресурсы](https://python-all.ru/3.2/howto/pyporting.html#other-resources)
  - [Перенос модулей расширения на Python 3](https://python-all.ru/3.2/howto/cporting.html)

    - [Условная компиляция](https://python-all.ru/3.2/howto/cporting.html#conditional-compilation)
    - [Изменения в объектных API](https://python-all.ru/3.2/howto/cporting.html#changes-to-object-apis)

      - [Объединение str/unicode](https://python-all.ru/3.2/howto/cporting.html#str-unicode-unification)
      - [Объединение long/int](https://python-all.ru/3.2/howto/cporting.html#long-int-unification)
    - [Инициализация и состояние модулей](https://python-all.ru/3.2/howto/cporting.html#module-initialization-and-state)
    - [CObject заменён на Capsule](https://python-all.ru/3.2/howto/cporting.html#cobject-replaced-with-capsule)
    - [Другие опции](https://python-all.ru/3.2/howto/cporting.html#other-options)
  - [Программирование с curses на Python](https://python-all.ru/3.2/howto/curses.html)

    - [Что такое curses?](https://python-all.ru/3.2/howto/curses.html#what-is-curses)

      - [Модуль curses в Python](https://python-all.ru/3.2/howto/curses.html#the-python-curses-module)
    - [Запуск и завершение приложения curses](https://python-all.ru/3.2/howto/curses.html#starting-and-ending-a-curses-application)
    - [Окна и пады](https://python-all.ru/3.2/howto/curses.html#windows-and-pads)
    - [Отображение текста](https://python-all.ru/3.2/howto/curses.html#displaying-text)

      - [Атрибуты и цвет](https://python-all.ru/3.2/howto/curses.html#attributes-and-color)
    - [Ввод пользователя](https://python-all.ru/3.2/howto/curses.html#user-input)
    - [Для получения дополнительных сведений](https://python-all.ru/3.2/howto/curses.html#for-more-information)
  - [Руководство по дескрипторам](https://python-all.ru/3.2/howto/descriptor.html)

    - [Аннотация](https://python-all.ru/3.2/howto/descriptor.html#abstract)
    - [Определение и введение](https://python-all.ru/3.2/howto/descriptor.html#definition-and-introduction)
    - [Протокол дескрипторов](https://python-all.ru/3.2/howto/descriptor.html#descriptor-protocol)
    - [Вызов дескрипторов](https://python-all.ru/3.2/howto/descriptor.html#invoking-descriptors)
    - [Пример дескриптора](https://python-all.ru/3.2/howto/descriptor.html#descriptor-example)
    - [Свойства](https://python-all.ru/3.2/howto/descriptor.html#properties)
    - [Функции и методы](https://python-all.ru/3.2/howto/descriptor.html#functions-and-methods)
    - [Статические методы и методы класса](https://python-all.ru/3.2/howto/descriptor.html#static-methods-and-class-methods)
  - [HOWTO по функциональному программированию](https://python-all.ru/3.2/howto/functional.html)

    - [Введение](https://python-all.ru/3.2/howto/functional.html#introduction)

      - [Формальная доказуемость](https://python-all.ru/3.2/howto/functional.html#formal-provability)
      - [Модульность](https://python-all.ru/3.2/howto/functional.html#modularity)
      - [Простота отладки и тестирования](https://python-all.ru/3.2/howto/functional.html#ease-of-debugging-and-testing)
      - [Композируемость](https://python-all.ru/3.2/howto/functional.html#composability)
    - [Итераторы](https://python-all.ru/3.2/howto/functional.html#iterators)

      - [Типы данных, поддерживающие итераторы](https://python-all.ru/3.2/howto/functional.html#data-types-that-support-iterators)
    - [Генераторные выражения и списковые включения](https://python-all.ru/3.2/howto/functional.html#generator-expressions-and-list-comprehensions)
    - [Генераторы](https://python-all.ru/3.2/howto/functional.html#generators)

      - [Передача значений в генератор](https://python-all.ru/3.2/howto/functional.html#passing-values-into-a-generator)
    - [Встроенные функции](https://python-all.ru/3.2/howto/functional.html#built-in-functions)
    - [Модуль itertools](https://python-all.ru/3.2/howto/functional.html#the-itertools-module)

      - [Создание новых итераторов](https://python-all.ru/3.2/howto/functional.html#creating-new-iterators)
      - [Вызов функций для элементов](https://python-all.ru/3.2/howto/functional.html#calling-functions-on-elements)
      - [Выбор элементов](https://python-all.ru/3.2/howto/functional.html#selecting-elements)
      - [Группировка элементов](https://python-all.ru/3.2/howto/functional.html#grouping-elements)
    - [Модуль functools](https://python-all.ru/3.2/howto/functional.html#the-functools-module)

      - [Модуль operator](https://python-all.ru/3.2/howto/functional.html#the-operator-module)
    - [Небольшие функции и лямбда-выражение](https://python-all.ru/3.2/howto/functional.html#small-functions-and-the-lambda-expression)
    - [История изменений и благодарности](https://python-all.ru/3.2/howto/functional.html#revision-history-and-acknowledgements)
    - [Ссылки](https://python-all.ru/3.2/howto/functional.html#references)

      - [Общие](https://python-all.ru/3.2/howto/functional.html#general)
      - [Специфичное для Python](https://python-all.ru/3.2/howto/functional.html#python-specific)
      - [Документация Python](https://python-all.ru/3.2/howto/functional.html#python-documentation)
  - [Руководство по логированию](https://python-all.ru/3.2/howto/logging.html)

    - [Базовое руководство по логированию](https://python-all.ru/3.2/howto/logging.html#basic-logging-tutorial)

      - [Когда использовать логирование](https://python-all.ru/3.2/howto/logging.html#when-to-use-logging)
      - [Простой пример](https://python-all.ru/3.2/howto/logging.html#a-simple-example)
      - [Логирование в файл](https://python-all.ru/3.2/howto/logging.html#logging-to-a-file)
      - [Логирование из нескольких модулей](https://python-all.ru/3.2/howto/logging.html#logging-from-multiple-modules)
      - [Логирование переменных данных](https://python-all.ru/3.2/howto/logging.html#logging-variable-data)
      - [Изменение формата отображаемых сообщений](https://python-all.ru/3.2/howto/logging.html#changing-the-format-of-displayed-messages)
      - [Отображение даты/времени в сообщениях](https://python-all.ru/3.2/howto/logging.html#displaying-the-date-time-in-messages)
      - [Дальнейшие шаги](https://python-all.ru/3.2/howto/logging.html#next-steps)
    - [Расширенное руководство по логированию](https://python-all.ru/3.2/howto/logging.html#advanced-logging-tutorial)

      - [Поток логирования](https://python-all.ru/3.2/howto/logging.html#logging-flow)
      - [Логгеры](https://python-all.ru/3.2/howto/logging.html#loggers)
      - [Обработчики](https://python-all.ru/3.2/howto/logging.html#handlers)
      - [Форматировщики](https://python-all.ru/3.2/howto/logging.html#formatters)
      - [Настройка логирования](https://python-all.ru/3.2/howto/logging.html#configuring-logging)
      - [Что происходит, если конфигурация не предоставлена](https://python-all.ru/3.2/howto/logging.html#what-happens-if-no-configuration-is-provided)
      - [Настройка логирования для библиотеки](https://python-all.ru/3.2/howto/logging.html#configuring-logging-for-a-library)
    - [Уровни журналирования](https://python-all.ru/3.2/howto/logging.html#logging-levels)

      - [Пользовательские уровни](https://python-all.ru/3.2/howto/logging.html#custom-levels)
    - [Полезные обработчики](https://python-all.ru/3.2/howto/logging.html#useful-handlers)
    - [Исключения, возникающие при логировании](https://python-all.ru/3.2/howto/logging.html#exceptions-raised-during-logging)
    - [Использование произвольных объектов в качестве сообщений](https://python-all.ru/3.2/howto/logging.html#using-arbitrary-objects-as-messages)
    - [Оптимизация](https://python-all.ru/3.2/howto/logging.html#optimization)
  - [Рецепты по логированию](https://python-all.ru/3.2/howto/logging-cookbook.html)

    - [Использование логирования в нескольких модулях](https://python-all.ru/3.2/howto/logging-cookbook.html#using-logging-in-multiple-modules)
    - [Несколько обработчиков и форматировщиков](https://python-all.ru/3.2/howto/logging-cookbook.html#multiple-handlers-and-formatters)
    - [Логирование в несколько мест назначения](https://python-all.ru/3.2/howto/logging-cookbook.html#logging-to-multiple-destinations)
    - [Пример сервера конфигурации](https://python-all.ru/3.2/howto/logging-cookbook.html#configuration-server-example)
    - [Работа с блокирующими обработчиками](https://python-all.ru/3.2/howto/logging-cookbook.html#dealing-with-handlers-that-block)
    - [Отправка и получение событий логирования по сети](https://python-all.ru/3.2/howto/logging-cookbook.html#sending-and-receiving-logging-events-across-a-network)
    - [Добавление контекстной информации в вывод логирования](https://python-all.ru/3.2/howto/logging-cookbook.html#adding-contextual-information-to-your-logging-output)

      - [Использование LoggerAdapters для передачи контекстной информации](https://python-all.ru/3.2/howto/logging-cookbook.html#using-loggeradapters-to-impart-contextual-information)
      - [Использование фильтров для передачи контекстной информации](https://python-all.ru/3.2/howto/logging-cookbook.html#using-filters-to-impart-contextual-information)
    - [Логирование в один файл из нескольких процессов](https://python-all.ru/3.2/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes)
    - [Использование ротации файлов](https://python-all.ru/3.2/howto/logging-cookbook.html#using-file-rotation)
    - [Использование альтернативных стилей форматирования](https://python-all.ru/3.2/howto/logging-cookbook.html#use-of-alternative-formatting-styles)
    - [Настройка `LogRecord`](https://python-all.ru/3.2/howto/logging-cookbook.html#customising-logrecord)
    - [Наследование от QueueHandler – пример с ZeroMQ](https://python-all.ru/3.2/howto/logging-cookbook.html#subclassing-queuehandler-a-zeromq-example)
    - [Наследование от QueueListener – пример с ZeroMQ](https://python-all.ru/3.2/howto/logging-cookbook.html#subclassing-queuelistener-a-zeromq-example)
    - [Пример конфигурации на основе словаря](https://python-all.ru/3.2/howto/logging-cookbook.html#an-example-dictionary-based-configuration)
    - [Более сложный пример многопроцессорной обработки](https://python-all.ru/3.2/howto/logging-cookbook.html#a-more-elaborate-multiprocessing-example)
    - [Вставка BOM в сообщения, отправляемые в SysLogHandler](https://python-all.ru/3.2/howto/logging-cookbook.html#inserting-a-bom-into-messages-sent-to-a-sysloghandler)
    - [Реализация структурированного логирования](https://python-all.ru/3.2/howto/logging-cookbook.html#implementing-structured-logging)
  - [HOWTO по регулярным выражениям](https://python-all.ru/3.2/howto/regex.html)

    - [Введение](https://python-all.ru/3.2/howto/regex.html#introduction)
    - [Простые шаблоны](https://python-all.ru/3.2/howto/regex.html#simple-patterns)

      - [Сопоставление символов](https://python-all.ru/3.2/howto/regex.html#matching-characters)
      - [Повторение](https://python-all.ru/3.2/howto/regex.html#repeating-things)
    - [Использование регулярных выражений](https://python-all.ru/3.2/howto/regex.html#using-regular-expressions)

      - [Компиляция регулярных выражений](https://python-all.ru/3.2/howto/regex.html#compiling-regular-expressions)
      - [Проблема обратной косой черты](https://python-all.ru/3.2/howto/regex.html#the-backslash-plague)
      - [Выполнение сопоставлений](https://python-all.ru/3.2/howto/regex.html#performing-matches)
      - [Функции уровня модуля](https://python-all.ru/3.2/howto/regex.html#module-level-functions)
      - [Флаги компиляции](https://python-all.ru/3.2/howto/regex.html#compilation-flags)
    - [Дополнительные возможности шаблонов](https://python-all.ru/3.2/howto/regex.html#more-pattern-power)

      - [Дополнительные метасимволы](https://python-all.ru/3.2/howto/regex.html#more-metacharacters)
      - [Группировка](https://python-all.ru/3.2/howto/regex.html#grouping)
      - [Незахватывающие и именованные группы](https://python-all.ru/3.2/howto/regex.html#non-capturing-and-named-groups)
      - [Опережающие проверки](https://python-all.ru/3.2/howto/regex.html#lookahead-assertions)
    - [Изменение строк](https://python-all.ru/3.2/howto/regex.html#modifying-strings)

      - [Разделение строк](https://python-all.ru/3.2/howto/regex.html#splitting-strings)
      - [Поиск и замена](https://python-all.ru/3.2/howto/regex.html#search-and-replace)
    - [Распространённые проблемы](https://python-all.ru/3.2/howto/regex.html#common-problems)

      - [Использование строковых методов](https://python-all.ru/3.2/howto/regex.html#use-string-methods)
      - [match() и search()](https://python-all.ru/3.2/howto/regex.html#match-versus-search)
      - [Жадные и нежадные квантификаторы](https://python-all.ru/3.2/howto/regex.html#greedy-versus-non-greedy)
      - [Использование re.VERBOSE](https://python-all.ru/3.2/howto/regex.html#using-re-verbose)
    - [Обратная связь](https://python-all.ru/3.2/howto/regex.html#feedback)
  - [Руководство по программированию сокетов](https://python-all.ru/3.2/howto/sockets.html)

    - [Сокеты](https://python-all.ru/3.2/howto/sockets.html#sockets)

      - [История](https://python-all.ru/3.2/howto/sockets.html#history)
    - [Создание сокета](https://python-all.ru/3.2/howto/sockets.html#creating-a-socket)

      - [Межпроцессное взаимодействие](https://python-all.ru/3.2/howto/sockets.html#ipc)
    - [Использование сокета](https://python-all.ru/3.2/howto/sockets.html#using-a-socket)

      - [Двоичные данные](https://python-all.ru/3.2/howto/sockets.html#binary-data)
    - [Отключение](https://python-all.ru/3.2/howto/sockets.html#disconnecting)

      - [Когда сокеты завершают работу](https://python-all.ru/3.2/howto/sockets.html#when-sockets-die)
    - [Неблокирующие сокеты](https://python-all.ru/3.2/howto/sockets.html#non-blocking-sockets)

      - [Производительность](https://python-all.ru/3.2/howto/sockets.html#performance)
  - [Руководство по сортировке](https://python-all.ru/3.2/howto/sorting.html)

    - [Основы сортировки](https://python-all.ru/3.2/howto/sorting.html#sorting-basics)
    - [Ключевые функции](https://python-all.ru/3.2/howto/sorting.html#key-functions)
    - [Функции модуля operator](https://python-all.ru/3.2/howto/sorting.html#operator-module-functions)
    - [По возрастанию и по убыванию](https://python-all.ru/3.2/howto/sorting.html#ascending-and-descending)
    - [Стабильность сортировки и сложные сортировки](https://python-all.ru/3.2/howto/sorting.html#sort-stability-and-complex-sorts)
    - [Старый способ: Decorate-Sort-Undecorate](https://python-all.ru/3.2/howto/sorting.html#the-old-way-using-decorate-sort-undecorate)
    - [Старый способ: использование параметра *cmp*](https://python-all.ru/3.2/howto/sorting.html#the-old-way-using-the-cmp-parameter)
    - [Разное](https://python-all.ru/3.2/howto/sorting.html#odd-and-ends)
  - [Руководство по Unicode](https://python-all.ru/3.2/howto/unicode.html)

    - [Введение в Unicode](https://python-all.ru/3.2/howto/unicode.html#introduction-to-unicode)

      - [История кодов символов](https://python-all.ru/3.2/howto/unicode.html#history-of-character-codes)
      - [Определения](https://python-all.ru/3.2/howto/unicode.html#definitions)
      - [Кодировки](https://python-all.ru/3.2/howto/unicode.html#encodings)
      - [Ссылки](https://python-all.ru/3.2/howto/unicode.html#references)
    - [Поддержка Unicode в Python](https://python-all.ru/3.2/howto/unicode.html#python-s-unicode-support)

      - [Тип str](https://python-all.ru/3.2/howto/unicode.html#the-string-type)
      - [Преобразование в байты](https://python-all.ru/3.2/howto/unicode.html#converting-to-bytes)
      - [Unicode-литералы в исходном коде Python](https://python-all.ru/3.2/howto/unicode.html#unicode-literals-in-python-source-code)
      - [Свойства Unicode](https://python-all.ru/3.2/howto/unicode.html#unicode-properties)
      - [Ссылки](https://python-all.ru/3.2/howto/unicode.html#id2)
    - [Чтение и запись данных Unicode](https://python-all.ru/3.2/howto/unicode.html#reading-and-writing-unicode-data)

      - [Имена файлов в Unicode](https://python-all.ru/3.2/howto/unicode.html#unicode-filenames)
      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/3.2/howto/unicode.html#tips-for-writing-unicode-aware-programs)
      - [Ссылки](https://python-all.ru/3.2/howto/unicode.html#id3)
    - [Благодарности](https://python-all.ru/3.2/howto/unicode.html#acknowledgements)
  - [HOWTO: получение интернет-ресурсов с помощью пакета urllib](https://python-all.ru/3.2/howto/urllib2.html)

    - [Введение](https://python-all.ru/3.2/howto/urllib2.html#introduction)
    - [Получение URL-адресов](https://python-all.ru/3.2/howto/urllib2.html#fetching-urls)

      - [Данные](https://python-all.ru/3.2/howto/urllib2.html#data)
      - [Заголовки](https://python-all.ru/3.2/howto/urllib2.html#headers)
    - [Обработка исключений](https://python-all.ru/3.2/howto/urllib2.html#handling-exceptions)

      - \<[URLError](https://python-all.ru/3.2/howto/urllib2.html#urlerror)\>
      - [HTTPError](https://python-all.ru/3.2/howto/urllib2.html#httperror)

        - [Коды ошибок](https://python-all.ru/3.2/howto/urllib2.html#error-codes)
      - [Заключение](https://python-all.ru/3.2/howto/urllib2.html#wrapping-it-up)

        - [Номер 1](https://python-all.ru/3.2/howto/urllib2.html#number-1)
        - [Номер 2](https://python-all.ru/3.2/howto/urllib2.html#number-2)
    - [info и geturl](https://python-all.ru/3.2/howto/urllib2.html#info-and-geturl)
    - [Открыватели и обработчики](https://python-all.ru/3.2/howto/urllib2.html#openers-and-handlers)
    - [Базовая аутентификация](https://python-all.ru/3.2/howto/urllib2.html#id6)
    - [Прокси](https://python-all.ru/3.2/howto/urllib2.html#proxies)
    - [Сокеты и слои](https://python-all.ru/3.2/howto/urllib2.html#sockets-and-layers)
    - [Сноски](https://python-all.ru/3.2/howto/urllib2.html#footnotes)
  - [HOWTO: использование Python в вебе](https://python-all.ru/3.2/howto/webservers.html)

    - [Низкоуровневое представление](https://python-all.ru/3.2/howto/webservers.html#the-low-level-view)

      - [Общий шлюзовый интерфейс](https://python-all.ru/3.2/howto/webservers.html#common-gateway-interface)

        - [Простой скрипт для тестирования CGI](https://python-all.ru/3.2/howto/webservers.html#simple-script-for-testing-cgi)
        - [Настройка CGI на собственном сервере](https://python-all.ru/3.2/howto/webservers.html#setting-up-cgi-on-your-own-server)
        - [Типичные проблемы CGI-скриптов](https://python-all.ru/3.2/howto/webservers.html#common-problems-with-cgi-scripts)
      - [mod\_python](https://python-all.ru/3.2/howto/webservers.html#mod-python)
      - [FastCGI и SCGI](https://python-all.ru/3.2/howto/webservers.html#fastcgi-and-scgi)

        - [Настройка FastCGI](https://python-all.ru/3.2/howto/webservers.html#setting-up-fastcgi)
      - [mod\_wsgi](https://python-all.ru/3.2/howto/webservers.html#mod-wsgi)
    - [Отступление: WSGI](https://python-all.ru/3.2/howto/webservers.html#step-back-wsgi)

      - [WSGI-серверы](https://python-all.ru/3.2/howto/webservers.html#wsgi-servers)
      - [Пример: MoinMoin](https://python-all.ru/3.2/howto/webservers.html#case-study-moinmoin)
    - [Модель-Представление-Контроллер](https://python-all.ru/3.2/howto/webservers.html#model-view-controller)
    - [Составляющие веб-сайтов](https://python-all.ru/3.2/howto/webservers.html#ingredients-for-websites)

      - [Шаблоны](https://python-all.ru/3.2/howto/webservers.html#templates)
      - [Постоянное хранение данных](https://python-all.ru/3.2/howto/webservers.html#data-persistence)
    - [Фреймворки](https://python-all.ru/3.2/howto/webservers.html#frameworks)

      - [Некоторые известные фреймворки](https://python-all.ru/3.2/howto/webservers.html#some-notable-frameworks)

        - [Django](https://python-all.ru/3.2/howto/webservers.html#django)
        - [TurboGears](https://python-all.ru/3.2/howto/webservers.html#turbogears)
        - [Zope](https://python-all.ru/3.2/howto/webservers.html#zope)
        - [Другие известные фреймворки](https://python-all.ru/3.2/howto/webservers.html#other-notable-frameworks)
  - [Учебное пособие по argparse](https://python-all.ru/3.2/howto/argparse.html)

    - [Основные понятия](https://python-all.ru/3.2/howto/argparse.html#concepts)
    - [Основы](https://python-all.ru/3.2/howto/argparse.html#the-basics)
    - [Знакомство с позиционными аргументами](https://python-all.ru/3.2/howto/argparse.html#introducing-positional-arguments)
    - [Знакомство с необязательными аргументами](https://python-all.ru/3.2/howto/argparse.html#introducing-optional-arguments)

      - [Короткие опции](https://python-all.ru/3.2/howto/argparse.html#short-options)
    - [Сочетание позиционных и необязательных аргументов](https://python-all.ru/3.2/howto/argparse.html#combining-positional-and-optional-arguments)
    - [Переходим к более сложным темам](https://python-all.ru/3.2/howto/argparse.html#getting-a-little-more-advanced)

      - [Конфликтующие опции](https://python-all.ru/3.2/howto/argparse.html#conflicting-options)
    - [Заключение](https://python-all.ru/3.2/howto/argparse.html#conclusion)
- [Часто задаваемые вопросы по Python](https://python-all.ru/3.2/faq/index.html)

  - [Общие вопросы по Python](https://python-all.ru/3.2/faq/general.html)

    - [Общая информация](https://python-all.ru/3.2/faq/general.html#general-information)
    - [Python в реальном мире](https://python-all.ru/3.2/faq/general.html#python-in-the-real-world)
  - [Вопросы по программированию](https://python-all.ru/3.2/faq/programming.html)

    - [Общие вопросы](https://python-all.ru/3.2/faq/programming.html#general-questions)
    - [Ядро языка](https://python-all.ru/3.2/faq/programming.html#core-language)
    - [Числа и строки](https://python-all.ru/3.2/faq/programming.html#numbers-and-strings)
    - [Производительность](https://python-all.ru/3.2/faq/programming.html#performance)
    - [Последовательности (кортежи/списки)](https://python-all.ru/3.2/faq/programming.html#sequences-tuples-lists)
    - [Словари](https://python-all.ru/3.2/faq/programming.html#dictionaries)
    - [Объекты](https://python-all.ru/3.2/faq/programming.html#objects)
    - [Модули](https://python-all.ru/3.2/faq/programming.html#modules)
  - [Вопросы по дизайну и истории](https://python-all.ru/3.2/faq/design.html)

    - [Почему в Python для группировки инструкций используются отступы?](https://python-all.ru/3.2/faq/design.html#why-does-python-use-indentation-for-grouping-of-statements)
    - [Почему при простых арифметических операциях получаются странные результаты?](https://python-all.ru/3.2/faq/design.html#why-am-i-getting-strange-results-with-simple-arithmetic-operations)
    - [Почему вычисления с плавающей запятой такие неточные?](https://python-all.ru/3.2/faq/design.html#why-are-floating-point-calculations-so-inaccurate)
    - [Почему строки в Python неизменяемы?](https://python-all.ru/3.2/faq/design.html#why-are-python-strings-immutable)
    - [Почему self нужно явно указывать в определениях и вызовах методов?](https://python-all.ru/3.2/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls)
    - [Почему в выражении нельзя использовать присваивание?](https://python-all.ru/3.2/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression)
    - [Почему в Python для одних возможностей используются методы (например, list.index()), а для других – функции (например, len(list))?](https://python-all.ru/3.2/faq/design.html#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list)
    - [Почему join() – метод строки, а не списка или кортежа?](https://python-all.ru/3.2/faq/design.html#why-is-join-a-string-method-instead-of-a-list-or-tuple-method)
    - [Насколько быстры исключения?](https://python-all.ru/3.2/faq/design.html#how-fast-are-exceptions)
    - [Почему в Python нет оператора switch или case?](https://python-all.ru/3.2/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python)
    - [Разве нельзя эмулировать потоки в интерпретаторе, вместо того чтобы полагаться на реализацию потоков, зависящую от ОС?](https://python-all.ru/3.2/faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation)
    - [Почему лямбда-формы не могут содержать инструкции?](https://python-all.ru/3.2/faq/design.html#why-can-t-lambda-forms-contain-statements)
    - [Можно ли скомпилировать Python в машинный код, C или другой язык?](https://python-all.ru/3.2/faq/design.html#can-python-be-compiled-to-machine-code-c-or-some-other-language)
    - [Как Python управляет памятью?](https://python-all.ru/3.2/faq/design.html#how-does-python-manage-memory)
    - [Почему CPython не использует более традиционную схему сборки мусора?](https://python-all.ru/3.2/faq/design.html#why-doesn-t-cpython-use-a-more-traditional-garbage-collection-scheme)
    - [Почему при завершении CPython освобождается не вся память?](https://python-all.ru/3.2/faq/design.html#why-isn-t-all-memory-freed-when-cpython-exits)
    - [Почему существуют отдельные типы данных кортеж и список?](https://python-all.ru/3.2/faq/design.html#why-are-there-separate-tuple-and-list-data-types)
    - [Как реализованы списки?](https://python-all.ru/3.2/faq/design.html#how-are-lists-implemented)
    - [Как реализованы словари?](https://python-all.ru/3.2/faq/design.html#how-are-dictionaries-implemented)
    - [Почему ключи словаря должны быть неизменяемыми?](https://python-all.ru/3.2/faq/design.html#why-must-dictionary-keys-be-immutable)
    - [Почему list.sort() не возвращает отсортированный список?](https://python-all.ru/3.2/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list)
    - [Как задать и обеспечить соблюдение спецификации интерфейса в Python?](https://python-all.ru/3.2/faq/design.html#how-do-you-specify-and-enforce-an-interface-spec-in-python)
    - [Почему значения по умолчанию разделяются между объектами?](https://python-all.ru/3.2/faq/design.html#why-are-default-values-shared-between-objects)
    - [Почему нет goto?](https://python-all.ru/3.2/faq/design.html#why-is-there-no-goto)
    - [Почему сырые строки (r-строки) не могут заканчиваться обратной косой чертой?](https://python-all.ru/3.2/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash)
    - [Почему в Python нет оператора with для присваивания атрибутов?](https://python-all.ru/3.2/faq/design.html#why-doesn-t-python-have-a-with-statement-for-attribute-assignments)
    - [Почему в операторах if/while/def/class требуется двоеточие?](https://python-all.ru/3.2/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements)
    - [Почему Python разрешает запятые в конце списков и кортежей?](https://python-all.ru/3.2/faq/design.html#why-does-python-allow-commas-at-the-end-of-lists-and-tuples)
  - [FAQ по библиотекам и расширениям](https://python-all.ru/3.2/faq/library.html)

    - [Общие вопросы по библиотекам](https://python-all.ru/3.2/faq/library.html#general-library-questions)
    - [Типовые задачи](https://python-all.ru/3.2/faq/library.html#common-tasks)
    - [Потоки](https://python-all.ru/3.2/faq/library.html#threads)
    - [Ввод и вывод](https://python-all.ru/3.2/faq/library.html#input-and-output)
    - [Сетевое и интернет-программирование](https://python-all.ru/3.2/faq/library.html#network-internet-programming)
    - [Базы данных](https://python-all.ru/3.2/faq/library.html#databases)
    - [Математика и численные методы](https://python-all.ru/3.2/faq/library.html#mathematics-and-numerics)
  - [FAQ по расширению и встраиванию](https://python-all.ru/3.2/faq/extending.html)

    - [Можно ли создавать собственные функции на C?](https://python-all.ru/3.2/faq/extending.html#can-i-create-my-own-functions-in-c)
    - [Можно ли создавать собственные функции на C++?](https://python-all.ru/3.2/faq/extending.html#id1)
    - [Писать на C сложно; есть ли альтернативы?](https://python-all.ru/3.2/faq/extending.html#writing-c-is-hard-are-there-any-alternatives)
    - [Как выполнить произвольные инструкции Python из C?](https://python-all.ru/3.2/faq/extending.html#how-can-i-execute-arbitrary-python-statements-from-c)
    - [Как вычислить произвольное выражение Python из C?](https://python-all.ru/3.2/faq/extending.html#how-can-i-evaluate-an-arbitrary-python-expression-from-c)
    - [Как извлечь значения C из объекта Python?](https://python-all.ru/3.2/faq/extending.html#how-do-i-extract-c-values-from-a-python-object)
    - [Как использовать Py\_BuildValue() для создания кортежа произвольной длины?](https://python-all.ru/3.2/faq/extending.html#how-do-i-use-py-buildvalue-to-create-a-tuple-of-arbitrary-length)
    - [Как вызвать метод объекта из C?](https://python-all.ru/3.2/faq/extending.html#how-do-i-call-an-object-s-method-from-c)
    - [Как перехватить вывод PyErr\_Print() (или любого другого вывода в stdout/stderr)?](https://python-all.ru/3.2/faq/extending.html#how-do-i-catch-the-output-from-pyerr-print-or-anything-that-prints-to-stdout-stderr)
    - [Как получить доступ к модулю, написанному на Python, из C?](https://python-all.ru/3.2/faq/extending.html#how-do-i-access-a-module-written-in-python-from-c)
    - [Как организовать взаимодействие с объектами C++ из Python?](https://python-all.ru/3.2/faq/extending.html#how-do-i-interface-to-c-objects-from-python)
    - [Почему make завершается ошибкой после добавления модуля через файл Setup?](https://python-all.ru/3.2/faq/extending.html#i-added-a-module-using-the-setup-file-and-the-make-fails-why)
    - [Как отлаживать расширение?](https://python-all.ru/3.2/faq/extending.html#how-do-i-debug-an-extension)
    - [Почему при компиляции модуля Python в Linux отсутствуют некоторые файлы?](https://python-all.ru/3.2/faq/extending.html#i-want-to-compile-a-python-module-on-my-linux-system-but-some-files-are-missing-why)
    - [Что означает «SystemError: \_PyImport\_FixupExtension: module yourmodule not loaded»?](https://python-all.ru/3.2/faq/extending.html#what-does-systemerror-pyimport-fixupextension-module-yourmodule-not-loaded-mean)
    - [Как отличить «неполный ввод» от «неверного ввода»?](https://python-all.ru/3.2/faq/extending.html#how-do-i-tell-incomplete-input-from-invalid-input)
    - [Как найти неопределённые символы g++ \_\_builtin\_new или \_\_pure\_virtual?](https://python-all.ru/3.2/faq/extending.html#how-do-i-find-undefined-g-symbols-builtin-new-or-pure-virtual)
    - [Можно ли создать класс объекта, в котором часть методов реализована на C, а часть – на Python (например, через наследование)?](https://python-all.ru/3.2/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance)
    - [Почему при импорте модуля X возникает ошибка «undefined symbol: PyUnicodeUCS2\*»?](https://python-all.ru/3.2/faq/extending.html#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2)
  - [FAQ по Python в Windows](https://python-all.ru/3.2/faq/windows.html)

    - [Как запустить программу Python в Windows?](https://python-all.ru/3.2/faq/windows.html#how-do-i-run-a-python-program-under-windows)
    - [Как сделать скрипты Python исполняемыми?](https://python-all.ru/3.2/faq/windows.html#how-do-i-make-python-scripts-executable)
    - [Почему Python иногда так долго запускается?](https://python-all.ru/3.2/faq/windows.html#why-does-python-sometimes-take-so-long-to-start)
    - [Как создать исполняемый файл из скрипта Python?](https://python-all.ru/3.2/faq/windows.html#how-do-i-make-an-executable-from-a-python-script)
    - [Является ли файл `*.pyd` тем же самым, что и DLL?](https://python-all.ru/3.2/faq/windows.html#is-a-pyd-file-the-same-as-a-dll)
    - [Как встроить Python в приложение Windows?](https://python-all.ru/3.2/faq/windows.html#how-can-i-embed-python-into-a-windows-application)
    - [Как запретить редакторам вставлять табуляцию в исходный код Python?](https://python-all.ru/3.2/faq/windows.html#how-do-i-keep-editors-from-inserting-tabs-into-my-python-source)
    - [Как проверить нажатие клавиши без блокировки?](https://python-all.ru/3.2/faq/windows.html#how-do-i-check-for-a-keypress-without-blocking)
    - [Как эмулировать os.kill() в Windows?](https://python-all.ru/3.2/faq/windows.html#how-do-i-emulate-os-kill-in-windows)
    - [Как извлечь загруженную документацию в Windows?](https://python-all.ru/3.2/faq/windows.html#how-do-i-extract-the-downloaded-documentation-on-windows)
  - [Часто задаваемые вопросы о графическом интерфейсе пользователя](https://python-all.ru/3.2/faq/gui.html)

    - [Общие вопросы по GUI](https://python-all.ru/3.2/faq/gui.html#general-gui-questions)
    - [Какие существуют кроссплатформенные GUI-инструментарии для Python?](https://python-all.ru/3.2/faq/gui.html#what-platform-independent-gui-toolkits-exist-for-python)
    - [Какие существуют платформозависимые GUI-инструментарии для Python?](https://python-all.ru/3.2/faq/gui.html#what-platform-specific-gui-toolkits-exist-for-python)
    - [Вопросы по Tkinter](https://python-all.ru/3.2/faq/gui.html#tkinter-questions)
  - [FAQ «Почему Python установлен на моём компьютере?»](https://python-all.ru/3.2/faq/installed.html)

    - [Что такое Python?](https://python-all.ru/3.2/faq/installed.html#what-is-python)
    - [Почему Python установлен на моём компьютере?](https://python-all.ru/3.2/faq/installed.html#why-is-python-installed-on-my-machine)
    - [Можно ли удалить Python?](https://python-all.ru/3.2/faq/installed.html#can-i-delete-python)
- [Глоссарий](https://python-all.ru/3.2/glossary.html)
- [Об этих документах](https://python-all.ru/3.2/about.html)

  - [Участники документации Python](https://python-all.ru/3.2/about.html#contributors-to-the-python-documentation)
- [Сообщение об ошибках](https://python-all.ru/3.2/bugs.html)

  - [Ошибки в документации](https://python-all.ru/3.2/bugs.html#documentation-bugs)
  - [Использование трекера задач Python](https://python-all.ru/3.2/bugs.html#using-the-python-issue-tracker)
- [Авторские права](https://python-all.ru/3.2/copyright.html)
- [История и лицензия](https://python-all.ru/3.2/license.html)

  - [История программного обеспечения](https://python-all.ru/3.2/license.html#history-of-the-software)
  - [Условия доступа и использования Python](https://python-all.ru/3.2/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python)
  - [Лицензии и благодарности для включённого программного обеспечения](https://python-all.ru/3.2/license.html#licenses-and-acknowledgements-for-incorporated-software)

    - [Вихрь Мерсенна](https://python-all.ru/3.2/license.html#mersenne-twister)
    - [Сокеты](https://python-all.ru/3.2/license.html#sockets)
    - [Управление исключениями с плавающей точкой](https://python-all.ru/3.2/license.html#floating-point-exception-control)
    - [Асинхронные службы сокетов](https://python-all.ru/3.2/license.html#asynchronous-socket-services)
    - [Управление cookie](https://python-all.ru/3.2/license.html#cookie-management)
    - [Трассировка выполнения](https://python-all.ru/3.2/license.html#execution-tracing)
    - [Функции UUencode и UUdecode](https://python-all.ru/3.2/license.html#uuencode-and-uudecode-functions)
    - [XML-вызовы удалённых процедур](https://python-all.ru/3.2/license.html#xml-remote-procedure-calls)
    - [test\_epoll](https://python-all.ru/3.2/license.html#test-epoll)
    - [Select kqueue](https://python-all.ru/3.2/license.html#select-kqueue)
    - [strtod and dtoa](https://python-all.ru/3.2/license.html#strtod-and-dtoa)
    - [OpenSSL](https://python-all.ru/3.2/license.html#openssl)
    - [expat](https://python-all.ru/3.2/license.html#expat)
    - [libffi](https://python-all.ru/3.2/license.html#libffi)
    - [zlib](https://python-all.ru/3.2/license.html#zlib)
