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

---

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        - [3.4.2.1. Дополнительный доступ к атрибутам для классов нового стиля](https://python-all.ru/2.6/reference/datamodel.html#more-attribute-access-for-new-style-classes)
        - [3.4.2.2. Реализация дескрипторов](https://python-all.ru/2.6/reference/datamodel.html#implementing-descriptors)
        - [3.4.2.3. Вызов дескрипторов](https://python-all.ru/2.6/reference/datamodel.html#invoking-descriptors)
        - [3.4.2.4. \_\_slots\_\_](https://python-all.ru/2.6/reference/datamodel.html#slots)
      - [3.4.3. Настройка создания классов](https://python-all.ru/2.6/reference/datamodel.html#customizing-class-creation)
      - [3.4.4. Настройка проверок экземпляров и подклассов](https://python-all.ru/2.6/reference/datamodel.html#customizing-instance-and-subclass-checks)
      - [3.4.5. Эмуляция вызываемых объектов](https://python-all.ru/2.6/reference/datamodel.html#emulating-callable-objects)
      - [3.4.6. Эмуляция контейнерных типов](https://python-all.ru/2.6/reference/datamodel.html#emulating-container-types)
      - [3.4.7. Дополнительные методы для эмуляции типов последовательностей](https://python-all.ru/2.6/reference/datamodel.html#additional-methods-for-emulation-of-sequence-types)
      - [3.4.8. Эмуляция числовых типов](https://python-all.ru/2.6/reference/datamodel.html#emulating-numeric-types)
      - [3.4.9. Правила приведения типов](https://python-all.ru/2.6/reference/datamodel.html#coercion-rules)
      - [3.4.10. Контекстные менеджеры оператора with](https://python-all.ru/2.6/reference/datamodel.html#with-statement-context-managers)
      - [3.4.11. Поиск специальных методов для классов старого стиля](https://python-all.ru/2.6/reference/datamodel.html#special-method-lookup-for-old-style-classes)
      - [3.4.12. Поиск специальных методов для классов нового стиля](https://python-all.ru/2.6/reference/datamodel.html#special-method-lookup-for-new-style-classes)
  - [4. Модель выполнения](https://python-all.ru/2.6/reference/executionmodel.html)

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

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

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

      - [5.2.1. Идентификаторы (имена)](https://python-all.ru/2.6/reference/expressions.html#atom-identifiers)
      - [5.2.2. Литералы](https://python-all.ru/2.6/reference/expressions.html#literals)
      - [5.2.3. Формы в скобках](https://python-all.ru/2.6/reference/expressions.html#parenthesized-forms)
      - [5.2.4. Отображения списков](https://python-all.ru/2.6/reference/expressions.html#list-displays)
      - [5.2.5. Выражения-генераторы](https://python-all.ru/2.6/reference/expressions.html#generator-expressions)
      - [5.2.6. Отображения словарей](https://python-all.ru/2.6/reference/expressions.html#dictionary-displays)
      - [5.2.7. Преобразования строк](https://python-all.ru/2.6/reference/expressions.html#string-conversions)
      - [5.2.8. Выражения yield](https://python-all.ru/2.6/reference/expressions.html#yield-expressions)
    - [5.3. Первичные элементы](https://python-all.ru/2.6/reference/expressions.html#primaries)

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

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

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

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

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

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

  - [1. Введение](https://python-all.ru/2.6/library/intro.html)
  - [2. Встроенные функции](https://python-all.ru/2.6/library/functions.html)
  - [3. Необязательные встроенные функции](https://python-all.ru/2.6/library/functions.html#non-essential-built-in-functions)
  - [4. Встроенные константы](https://python-all.ru/2.6/library/constants.html)

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

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

      - [5.4.1. Битовые операции над целочисленными типами](https://python-all.ru/2.6/library/stdtypes.html#bit-string-operations-on-integer-types)
      - [5.4.2. Дополнительные методы для float](https://python-all.ru/2.6/library/stdtypes.html#additional-methods-on-float)
    - [5.5. Типы итераторов](https://python-all.ru/2.6/library/stdtypes.html#iterator-types)

      - [5.5.1. Типы генераторов](https://python-all.ru/2.6/library/stdtypes.html#generator-types)
    - [5.6. Типы последовательностей – `str`, `unicode`, `list`, `tuple`, `buffer`, `xrange`](https://python-all.ru/2.6/library/stdtypes.html#sequence-types-str-unicode-list-tuple-buffer-xrange)

      - [5.6.1. Методы строк](https://python-all.ru/2.6/library/stdtypes.html#string-methods)
      - [5.6.2. Операции форматирования строк](https://python-all.ru/2.6/library/stdtypes.html#string-formatting-operations)
      - [5.6.3. Тип XRange](https://python-all.ru/2.6/library/stdtypes.html#xrange-type)
      - [5.6.4. Изменяемые типы последовательностей](https://python-all.ru/2.6/library/stdtypes.html#mutable-sequence-types)
    - [5.7. Типы множеств – `set`, `frozenset`](https://python-all.ru/2.6/library/stdtypes.html#set-types-set-frozenset)
    - [5.8. Типы отображений – `dict`](https://python-all.ru/2.6/library/stdtypes.html#mapping-types-dict)
    - [5.9. Файловые объекты](https://python-all.ru/2.6/library/stdtypes.html#file-objects)
    - [5.10. Типы контекстных менеджеров](https://python-all.ru/2.6/library/stdtypes.html#context-manager-types)
    - [5.11. Прочие встроенные типы](https://python-all.ru/2.6/library/stdtypes.html#other-built-in-types)

      - [5.11.1. Модули](https://python-all.ru/2.6/library/stdtypes.html#modules)
      - [5.11.2. Классы и экземпляры классов](https://python-all.ru/2.6/library/stdtypes.html#classes-and-class-instances)
      - [5.11.3. Функции](https://python-all.ru/2.6/library/stdtypes.html#functions)
      - [5.11.4. Методы](https://python-all.ru/2.6/library/stdtypes.html#methods)
      - [5.11.5. Объекты кода](https://python-all.ru/2.6/library/stdtypes.html#code-objects)
      - [5.11.6. Объекты типов](https://python-all.ru/2.6/library/stdtypes.html#type-objects)
      - [5.11.7. Объект Null](https://python-all.ru/2.6/library/stdtypes.html#the-null-object)
      - [5.11.8. Объект Ellipsis](https://python-all.ru/2.6/library/stdtypes.html#the-ellipsis-object)
      - [5.11.9. Логические значения](https://python-all.ru/2.6/library/stdtypes.html#boolean-values)
      - [5.11.10. Внутренние объекты](https://python-all.ru/2.6/library/stdtypes.html#internal-objects)
    - [5.12. Специальные атрибуты](https://python-all.ru/2.6/library/stdtypes.html#special-attributes)
  - [6. Встроенные исключения](https://python-all.ru/2.6/library/exceptions.html)

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

    - [7.1. `string` – Основные операции со строками](https://python-all.ru/2.6/library/string.html)

      - [7.1.1. Константы строк](https://python-all.ru/2.6/library/string.html#string-constants)
      - [7.1.2. Форматирование строк](https://python-all.ru/2.6/library/string.html#string-formatting)
      - [7.1.3. Синтаксис строк форматирования](https://python-all.ru/2.6/library/string.html#format-string-syntax)

        - [7.1.3.1. Мини-язык спецификации форматирования](https://python-all.ru/2.6/library/string.html#format-specification-mini-language)
        - [7.1.3.2. Примеры форматирования](https://python-all.ru/2.6/library/string.html#format-examples)
      - [7.1.4. Шаблонные строки](https://python-all.ru/2.6/library/string.html#template-strings)
      - [7.1.5. Строковые функции](https://python-all.ru/2.6/library/string.html#string-functions)
      - [7.1.6. Устаревшие строковые функции](https://python-all.ru/2.6/library/string.html#deprecated-string-functions)
    - [7.2. `re` – Регулярные выражения](https://python-all.ru/2.6/library/re.html)

      - [7.2.1. Синтаксис регулярных выражений](https://python-all.ru/2.6/library/re.html#regular-expression-syntax)
      - [7.2.2. Сопоставление и поиск](https://python-all.ru/2.6/library/re.html#matching-vs-searching)
      - [7.2.3. Содержимое модуля](https://python-all.ru/2.6/library/re.html#module-contents)
      - [7.2.4. Объекты регулярных выражений](https://python-all.ru/2.6/library/re.html#regular-expression-objects)
      - [7.2.5. Объекты совпадений](https://python-all.ru/2.6/library/re.html#match-objects)
      - [7.2.6. Примеры](https://python-all.ru/2.6/library/re.html#examples)

        - [7.2.6.1. Проверка на пару](https://python-all.ru/2.6/library/re.html#checking-for-a-pair)
        - [7.2.6.2. Имитация scanf()](https://python-all.ru/2.6/library/re.html#simulating-scanf)
        - [7.2.6.3. Избегание рекурсии](https://python-all.ru/2.6/library/re.html#avoiding-recursion)
        - [7.2.6.4. search() против match()](https://python-all.ru/2.6/library/re.html#search-vs-match)
        - [7.2.6.5. Создание телефонной книги](https://python-all.ru/2.6/library/re.html#making-a-phonebook)
        - [7.2.6.6. Обработка текста](https://python-all.ru/2.6/library/re.html#text-munging)
        - [7.2.6.7. Поиск всех наречий](https://python-all.ru/2.6/library/re.html#finding-all-adverbs)
        - [7.2.6.8. Поиск всех наречий и их позиций](https://python-all.ru/2.6/library/re.html#finding-all-adverbs-and-their-positions)
        - [7.2.6.9. Сырые строки](https://python-all.ru/2.6/library/re.html#raw-string-notation)
    - [7.3. `struct` – Интерпретация строк как упакованных двоичных данных](https://python-all.ru/2.6/library/struct.html)

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

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

      - [7.4.1. Объекты SequenceMatcher](https://python-all.ru/2.6/library/difflib.html#sequencematcher-objects)
      - [7.4.2. Примеры SequenceMatcher](https://python-all.ru/2.6/library/difflib.html#sequencematcher-examples)
      - [7.4.3. Объекты Differ](https://python-all.ru/2.6/library/difflib.html#differ-objects)
      - [7.4.4. Пример Differ](https://python-all.ru/2.6/library/difflib.html#differ-example)
      - [7.4.5. Интерфейс командной строки для difflib](https://python-all.ru/2.6/library/difflib.html#a-command-line-interface-to-difflib)
    - [7.5. `StringIO` – Чтение и запись строк как файлов](https://python-all.ru/2.6/library/stringio.html)
    - [7.6. `cStringIO` – Более быстрая версия `StringIO`](https://python-all.ru/2.6/library/stringio.html#module-cStringIO)
    - [7.7. `textwrap` – Перенос и заполнение текста](https://python-all.ru/2.6/library/textwrap.html)
    - [7.8. `codecs` – Реестр кодеков и базовые классы](https://python-all.ru/2.6/library/codecs.html)

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

        - [7.8.1.1. Объекты кодеков](https://python-all.ru/2.6/library/codecs.html#codec-objects)
        - [7.8.1.2. Объекты IncrementalEncoder](https://python-all.ru/2.6/library/codecs.html#incrementalencoder-objects)
        - [7.8.1.3. Объекты IncrementalDecoder](https://python-all.ru/2.6/library/codecs.html#incrementaldecoder-objects)
        - [7.8.1.4. Объекты StreamWriter](https://python-all.ru/2.6/library/codecs.html#streamwriter-objects)
        - [7.8.1.5. Объекты StreamReader](https://python-all.ru/2.6/library/codecs.html#streamreader-objects)
        - [7.8.1.6. Объекты StreamReaderWriter](https://python-all.ru/2.6/library/codecs.html#streamreaderwriter-objects)
        - [7.8.1.7. Объекты StreamRecoder](https://python-all.ru/2.6/library/codecs.html#streamrecoder-objects)
      - [7.8.2. Кодировки и Unicode](https://python-all.ru/2.6/library/codecs.html#encodings-and-unicode)
      - [7.8.3. Стандартные кодировки](https://python-all.ru/2.6/library/codecs.html#standard-encodings)
      - [7.8.4. `encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/2.6/library/codecs.html#module-encodings.idna)
      - [7.8.5. `encodings.utf_8_sig` – кодировка UTF-8 с сигнатурой BOM](https://python-all.ru/2.6/library/codecs.html#module-encodings.utf_8_sig)
    - [7.9. `unicodedata` – база данных Unicode](https://python-all.ru/2.6/library/unicodedata.html)
    - [7.10. `stringprep` – подготовка интернет-строк](https://python-all.ru/2.6/library/stringprep.html)
    - [7.11. `fpformat` – преобразования чисел с плавающей запятой](https://python-all.ru/2.6/library/fpformat.html)
  - [8. Типы данных](https://python-all.ru/2.6/library/datatypes.html)

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

      - [8.1.1. Доступные типы](https://python-all.ru/2.6/library/datetime.html#available-types)
      - [8.1.2. `timedelta` Объекты](https://python-all.ru/2.6/library/datetime.html#timedelta-objects)
      - [8.1.3. `date` Объекты](https://python-all.ru/2.6/library/datetime.html#date-objects)
      - [8.1.4. `datetime` Объекты](https://python-all.ru/2.6/library/datetime.html#datetime-objects)
      - [8.1.5. `time` Объекты](https://python-all.ru/2.6/library/datetime.html#time-objects)
      - [8.1.6. `tzinfo` Объекты](https://python-all.ru/2.6/library/datetime.html#tzinfo-objects)
      - [8.1.7. Поведение `strftime()` и `strptime()`](https://python-all.ru/2.6/library/datetime.html#strftime-and-strptime-behavior)
    - [8.2. `calendar` – Общие функции, связанные с календарём](https://python-all.ru/2.6/library/calendar.html)
    - [8.3. `collections` – высокопроизводительные типы контейнеров](https://python-all.ru/2.6/library/collections.html)

      - [8.3.1. ABCs – абстрактные базовые классы](https://python-all.ru/2.6/library/collections.html#abcs-abstract-base-classes)
      - [8.3.2. Объекты `deque`](https://python-all.ru/2.6/library/collections.html#deque-objects)

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

        - [8.3.3.1. Примеры `defaultdict`](https://python-all.ru/2.6/library/collections.html#defaultdict-examples)
      - [8.3.4. `namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/2.6/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)
    - [8.4. `heapq` – Алгоритм пирамидальной очереди](https://python-all.ru/2.6/library/heapq.html)

      - [8.4.1. Теория](https://python-all.ru/2.6/library/heapq.html#theory)
    - [8.5. `bisect` – Алгоритм бисекции массива](https://python-all.ru/2.6/library/bisect.html)

      - [8.5.1. Примеры](https://python-all.ru/2.6/library/bisect.html#examples)
    - [8.6. `array` – Эффективные массивы числовых значений](https://python-all.ru/2.6/library/array.html)
    - [8.7. `sets` – неупорядоченные коллекции уникальных элементов](https://python-all.ru/2.6/library/sets.html)

      - [8.7.1. Объекты множеств](https://python-all.ru/2.6/library/sets.html#set-objects)
      - [8.7.2. Пример](https://python-all.ru/2.6/library/sets.html#example)
      - [8.7.3. Протокол автоматического преобразования в неизменяемое](https://python-all.ru/2.6/library/sets.html#protocol-for-automatic-conversion-to-immutable)
      - [8.7.4. Сравнение со встроенными типами `set`](https://python-all.ru/2.6/library/sets.html#comparison-to-the-built-in-set-types)
    - [8.8. `sched` – планировщик событий](https://python-all.ru/2.6/library/sched.html)

      - [8.8.1. Объекты планировщика](https://python-all.ru/2.6/library/sched.html#scheduler-objects)
    - [8.9. `mutex` – поддержка взаимного исключения](https://python-all.ru/2.6/library/mutex.html)

      - [8.9.1. Объекты мьютекса](https://python-all.ru/2.6/library/mutex.html#mutex-objects)
    - [8.10. `queue` – синхронизированный класс очереди](https://python-all.ru/2.6/library/queue.html)

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

      - [8.11.1. Объекты слабых ссылок](https://python-all.ru/2.6/library/weakref.html#weak-reference-objects)
      - [8.11.2. Пример](https://python-all.ru/2.6/library/weakref.html#example)
    - [8.12. `UserDict` – класс-обёртка для словарей](https://python-all.ru/2.6/library/userdict.html)
    - [8.13. `UserList` – класс-обёртка для списков](https://python-all.ru/2.6/library/userdict.html#module-UserList)
    - [8.14. `UserString` – класс-обёртка для строк](https://python-all.ru/2.6/library/userdict.html#module-UserString)
    - [8.15. `types` – имена встроенных типов](https://python-all.ru/2.6/library/types.html)
    - [8.16. `new` – создание внутренних объектов времени выполнения](https://python-all.ru/2.6/library/new.html)
    - [8.17. `copy` – операции поверхностного и глубокого копирования](https://python-all.ru/2.6/library/copy.html)
    - [8.18. `pprint` – красивый вывод данных](https://python-all.ru/2.6/library/pprint.html)

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

      - [8.19.1. Объекты Repr](https://python-all.ru/2.6/library/repr.html#repr-objects)
      - [8.19.2. Создание подклассов объектов Repr](https://python-all.ru/2.6/library/repr.html#subclassing-repr-objects)
  - [9. Модули числовых и математических функций](https://python-all.ru/2.6/library/numeric.html)

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

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

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

      - [9.2.1. Теоретико-числовые функции и функции представления](https://python-all.ru/2.6/library/math.html#number-theoretic-and-representation-functions)
      - [9.2.2. Степенные и логарифмические функции](https://python-all.ru/2.6/library/math.html#power-and-logarithmic-functions)
      - [9.2.3. Тригонометрические функции](https://python-all.ru/2.6/library/math.html#trigonometric-functions)
      - [9.2.4. Преобразование углов](https://python-all.ru/2.6/library/math.html#angular-conversion)
      - [9.2.5. Гиперболические функции](https://python-all.ru/2.6/library/math.html#hyperbolic-functions)
      - [9.2.6. Константы](https://python-all.ru/2.6/library/math.html#constants)
    - [9.3. `cmath` – Математические функции для комплексных чисел](https://python-all.ru/2.6/library/cmath.html)

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

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

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

        - [9.4.5.1. Уменьшение погрешности округления с помощью повышенной точности](https://python-all.ru/2.6/library/decimal.html#mitigating-round-off-error-with-increased-precision)
        - [9.4.5.2. Особые значения](https://python-all.ru/2.6/library/decimal.html#special-values)
      - [9.4.6. Работа с потоками](https://python-all.ru/2.6/library/decimal.html#working-with-threads)
      - [9.4.7. Рецепты](https://python-all.ru/2.6/library/decimal.html#recipes)
      - [9.4.8. Часто задаваемые вопросы по Decimal](https://python-all.ru/2.6/library/decimal.html#decimal-faq)
    - [9.5. `fractions` – Рациональные числа](https://python-all.ru/2.6/library/fractions.html)
    - [9.6. `random` – Генерация псевдослучайных чисел](https://python-all.ru/2.6/library/random.html)
    - [9.7. `itertools` – Функции, создающие итераторы для эффективного циклического обхода](https://python-all.ru/2.6/library/itertools.html)

      - [9.7.1. Функции модуля itertools](https://python-all.ru/2.6/library/itertools.html#itertool-functions)
      - [9.7.2. Примеры](https://python-all.ru/2.6/library/itertools.html#examples)
      - [9.7.3. Рецепты](https://python-all.ru/2.6/library/itertools.html#recipes)
    - [9.8. `functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/2.6/library/functools.html)

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

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

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

      - [10.5.1. Класс `dircmp`](https://python-all.ru/2.6/library/filecmp.html#the-dircmp-class)
    - [10.6. `tempfile` – создание временных файлов и каталогов](https://python-all.ru/2.6/library/tempfile.html)
    - [10.7. `glob` – развёртывание шаблонов путей в стиле Unix](https://python-all.ru/2.6/library/glob.html)
    - [10.8. `fnmatch` – сопоставление имён файлов с шаблонами в стиле Unix](https://python-all.ru/2.6/library/fnmatch.html)
    - [10.9. `linecache` – произвольный доступ к строкам текста](https://python-all.ru/2.6/library/linecache.html)
    - [10.10. `shutil` – высокоуровневые операции с файлами](https://python-all.ru/2.6/library/shutil.html)

      - [10.10.1. Пример](https://python-all.ru/2.6/library/shutil.html#example)
    - [10.11. `dircache` – Кешированные списки каталогов](https://python-all.ru/2.6/library/dircache.html)
    - [10.12. `macpath` – Функции для работы с путями Mac OS 9](https://python-all.ru/2.6/library/macpath.html)
  - [11. Устойчивое сохранение данных](https://python-all.ru/2.6/library/persistence.html)

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

      - [11.1.1. Отношение к другим модулям Python](https://python-all.ru/2.6/library/pickle.html#relationship-to-other-python-modules)
      - [11.1.2. Формат потока данных](https://python-all.ru/2.6/library/pickle.html#data-stream-format)
      - [11.1.3. Использование](https://python-all.ru/2.6/library/pickle.html#usage)
      - [11.1.4. Что можно сериализовать и десериализовать?](https://python-all.ru/2.6/library/pickle.html#what-can-be-pickled-and-unpickled)
      - [11.1.5. Протокол pickle](https://python-all.ru/2.6/library/pickle.html#the-pickle-protocol)

        - [11.1.5.1. Упаковка и распаковка обычных экземпляров классов](https://python-all.ru/2.6/library/pickle.html#pickling-and-unpickling-normal-class-instances)
        - [11.1.5.2. Упаковка и распаковка расширенных типов](https://python-all.ru/2.6/library/pickle.html#pickling-and-unpickling-extension-types)
        - [11.1.5.3. Упаковка и распаковка внешних объектов](https://python-all.ru/2.6/library/pickle.html#pickling-and-unpickling-external-objects)
      - [11.1.6. Создание подклассов Unpickler](https://python-all.ru/2.6/library/pickle.html#subclassing-unpicklers)
      - [11.1.7. Пример](https://python-all.ru/2.6/library/pickle.html#example)
    - [11.2. `cPickle` – Быстрая версия `pickle`](https://python-all.ru/2.6/library/pickle.html#module-cPickle)
    - [11.3. `copy_reg` – Регистрация вспомогательных функций для `pickle`](https://python-all.ru/2.6/library/copy_reg.html)
    - [11.4. `shelve` – Сохранение объектов Python](https://python-all.ru/2.6/library/shelve.html)

      - [11.4.1. Ограничения](https://python-all.ru/2.6/library/shelve.html#restrictions)
      - [11.4.2. Пример](https://python-all.ru/2.6/library/shelve.html#example)
    - [11.5. `marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/2.6/library/marshal.html)
    - [11.6. `anydbm` – Универсальный доступ к базам данных в стиле DBM](https://python-all.ru/2.6/library/anydbm.html)
    - [11.7. `whichdb` – Определение, какой модуль DBM создал базу данных](https://python-all.ru/2.6/library/whichdb.html)
    - [11.8. `dbm` – Простой интерфейс «базы данных»](https://python-all.ru/2.6/library/dbm.html)
    - [11.9. `gdbm` – Переосмысление dbm в GNU](https://python-all.ru/2.6/library/gdbm.html)
    - [11.10. `dbhash` – Интерфейс в стиле DBM к библиотеке BSD database](https://python-all.ru/2.6/library/dbhash.html)

      - [11.10.1. Объекты базы данных](https://python-all.ru/2.6/library/dbhash.html#database-objects)
    - [11.11. `bsddb` – Интерфейс к библиотеке Berkeley DB](https://python-all.ru/2.6/library/bsddb.html)

      - [11.11.1. Объекты Hash, BTree и Record](https://python-all.ru/2.6/library/bsddb.html#hash-btree-and-record-objects)
    - [11.12. `dumbdbm` – Переносимая реализация DBM](https://python-all.ru/2.6/library/dumbdbm.html)

      - [11.12.1. Объекты Dumbdbm](https://python-all.ru/2.6/library/dumbdbm.html#dumbdbm-objects)
    - [11.13. `sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/2.6/library/sqlite3.html)

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

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

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

        - [11.13.7.1. Использование сокращённых методов](https://python-all.ru/2.6/library/sqlite3.html#using-shortcut-methods)
        - [11.13.7.2. Доступ к столбцам по имени вместо индекса](https://python-all.ru/2.6/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)
        - [11.13.7.3. Использование соединения как менеджера контекста](https://python-all.ru/2.6/library/sqlite3.html#using-the-connection-as-a-context-manager)
  - [12. Сжатие и архивирование данных](https://python-all.ru/2.6/library/archiving.html)

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

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

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

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

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

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

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

      - [13.2.1. Объекты RawConfigParser](https://python-all.ru/2.6/library/configparser.html#rawconfigparser-objects)
      - [13.2.2. Объекты ConfigParser](https://python-all.ru/2.6/library/configparser.html#configparser-objects)
      - [13.2.3. Объекты SafeConfigParser](https://python-all.ru/2.6/library/configparser.html#safeconfigparser-objects)
      - [13.2.4. Примеры](https://python-all.ru/2.6/library/configparser.html#examples)
    - [13.3. `robotparser` – Парсер для robots.txt](https://python-all.ru/2.6/library/robotparser.html)
    - [13.4. `netrc` – Обработка файлов netrc](https://python-all.ru/2.6/library/netrc.html)

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

      - [13.5.1. Объекты Packer](https://python-all.ru/2.6/library/xdrlib.html#packer-objects)
      - [13.5.2. Объекты Unpacker](https://python-all.ru/2.6/library/xdrlib.html#unpacker-objects)
      - [13.5.3. Исключения](https://python-all.ru/2.6/library/xdrlib.html#exceptions)
    - [13.6. `plistlib` – Генерация и разбор файлов Mac OS X `.plist`](https://python-all.ru/2.6/library/plistlib.html)

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

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

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

      - [15.1.1. Параметры процесса](https://python-all.ru/2.6/library/os.html#process-parameters)
      - [15.1.2. Создание файловых объектов](https://python-all.ru/2.6/library/os.html#file-object-creation)
      - [15.1.3. Операции с файловыми дескрипторами](https://python-all.ru/2.6/library/os.html#file-descriptor-operations)

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

      - [15.2.1. Интерфейс модуля](https://python-all.ru/2.6/library/io.html#module-interface)
      - [15.2.2. Базовые классы ввода-вывода](https://python-all.ru/2.6/library/io.html#i-o-base-classes)
      - [15.2.3. Низкоуровневый файловый ввод-вывод](https://python-all.ru/2.6/library/io.html#raw-file-i-o)
      - [15.2.4. Буферизованные потоки данных](https://python-all.ru/2.6/library/io.html#buffered-streams)
      - [15.2.5. Текстовый ввод-вывод](https://python-all.ru/2.6/library/io.html#text-i-o)
    - [15.3. `time` – Доступ ко времени и преобразования](https://python-all.ru/2.6/library/time.html)
    - [15.4. `optparse` – более мощный анализатор параметров командной строки](https://python-all.ru/2.6/library/optparse.html)

      - [15.4.1. Предыстория](https://python-all.ru/2.6/library/optparse.html#background)

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

        - [15.4.2.1. Понимание действий параметров](https://python-all.ru/2.6/library/optparse.html#understanding-option-actions)
        - [15.4.2.2. Действие store](https://python-all.ru/2.6/library/optparse.html#the-store-action)
        - [15.4.2.3. Обработка булевых (флаговых) параметров](https://python-all.ru/2.6/library/optparse.html#handling-boolean-flag-options)
        - [15.4.2.4. Другие действия](https://python-all.ru/2.6/library/optparse.html#other-actions)
        - [15.4.2.5. Значения по умолчанию](https://python-all.ru/2.6/library/optparse.html#default-values)
        - [15.4.2.6. Генерация справки](https://python-all.ru/2.6/library/optparse.html#generating-help)
        - [15.4.2.7. Вывод строки версии](https://python-all.ru/2.6/library/optparse.html#printing-a-version-string)
        - [15.4.2.8. Как `optparse` обрабатывает ошибки](https://python-all.ru/2.6/library/optparse.html#how-optparse-handles-errors)
        - [15.4.2.9. Собираем всё вместе](https://python-all.ru/2.6/library/optparse.html#putting-it-all-together)
      - [15.4.3. Справочное руководство](https://python-all.ru/2.6/library/optparse.html#reference-guide)

        - [15.4.3.1. Создание анализатора](https://python-all.ru/2.6/library/optparse.html#creating-the-parser)
        - [15.4.3.2. Наполнение анализатора](https://python-all.ru/2.6/library/optparse.html#populating-the-parser)
        - [15.4.3.3. Определение параметров](https://python-all.ru/2.6/library/optparse.html#defining-options)
        - [15.4.3.4. Атрибуты параметров](https://python-all.ru/2.6/library/optparse.html#option-attributes)
        - [15.4.3.5. Стандартные действия параметров](https://python-all.ru/2.6/library/optparse.html#standard-option-actions)
        - [15.4.3.6. Стандартные типы параметров](https://python-all.ru/2.6/library/optparse.html#standard-option-types)
        - [15.4.3.7. Разбор аргументов](https://python-all.ru/2.6/library/optparse.html#parsing-arguments)
        - [15.4.3.8. Запросы и управление анализатором параметров](https://python-all.ru/2.6/library/optparse.html#querying-and-manipulating-your-option-parser)
        - [15.4.3.9. Конфликты между параметрами](https://python-all.ru/2.6/library/optparse.html#conflicts-between-options)
        - [15.4.3.10. Очистка](https://python-all.ru/2.6/library/optparse.html#cleanup)
        - [15.4.3.11. Другие методы](https://python-all.ru/2.6/library/optparse.html#other-methods)
      - [15.4.4. Колбэки опций](https://python-all.ru/2.6/library/optparse.html#option-callbacks)

        - [15.4.4.1. Определение опции с колбэком](https://python-all.ru/2.6/library/optparse.html#defining-a-callback-option)
        - [15.4.4.2. Как вызываются колбэки](https://python-all.ru/2.6/library/optparse.html#how-callbacks-are-called)
        - [15.4.4.3. Возбуждение ошибок в колбэке](https://python-all.ru/2.6/library/optparse.html#raising-errors-in-a-callback)
        - [15.4.4.4. Пример колбэка 1: простой колбэк](https://python-all.ru/2.6/library/optparse.html#callback-example-1-trivial-callback)
        - [15.4.4.5. Пример колбэка 2: проверка порядка опций](https://python-all.ru/2.6/library/optparse.html#callback-example-2-check-option-order)
        - [15.4.4.6. Пример колбэка 3: проверка порядка опций (обобщённая)](https://python-all.ru/2.6/library/optparse.html#callback-example-3-check-option-order-generalized)
        - [15.4.4.7. Пример колбэка 4: проверка произвольного условия](https://python-all.ru/2.6/library/optparse.html#callback-example-4-check-arbitrary-condition)
        - [15.4.4.8. Пример колбэка 5: фиксированные аргументы](https://python-all.ru/2.6/library/optparse.html#callback-example-5-fixed-arguments)
        - [15.4.4.9. Пример колбэка 6: переменное число аргументов](https://python-all.ru/2.6/library/optparse.html#callback-example-6-variable-arguments)
      - [15.4.5. Расширение `optparse`](https://python-all.ru/2.6/library/optparse.html#extending-optparse)

        - [15.4.5.1. Добавление новых типов](https://python-all.ru/2.6/library/optparse.html#adding-new-types)
        - [15.4.5.2. Добавление новых действий](https://python-all.ru/2.6/library/optparse.html#adding-new-actions)
    - [15.5. `getopt` – Парсер параметров командной строки](https://python-all.ru/2.6/library/getopt.html)
    - [15.6. `logging` – Средство журналирования для Python](https://python-all.ru/2.6/library/logging.html)

      - [15.6.1. Учебное пособие по logging](https://python-all.ru/2.6/library/logging.html#logging-tutorial)

        - [15.6.1.1. Простые примеры](https://python-all.ru/2.6/library/logging.html#simple-examples)
        - [15.6.1.2. Логгеры](https://python-all.ru/2.6/library/logging.html#loggers)
        - [15.6.1.3. Обработчики](https://python-all.ru/2.6/library/logging.html#handlers)
        - [15.6.1.4. Форматировщики](https://python-all.ru/2.6/library/logging.html#formatters)
        - [15.6.1.5. Настройка журналирования](https://python-all.ru/2.6/library/logging.html#configuring-logging)
        - [15.6.1.6. Настройка журналирования для библиотеки](https://python-all.ru/2.6/library/logging.html#configuring-logging-for-a-library)
      - [15.6.2. Уровни журналирования](https://python-all.ru/2.6/library/logging.html#logging-levels)
      - [15.6.3. Полезные обработчики](https://python-all.ru/2.6/library/logging.html#useful-handlers)
      - [15.6.4. Функции уровня модуля](https://python-all.ru/2.6/library/logging.html#module-level-functions)
      - [15.6.5. Объекты логгера](https://python-all.ru/2.6/library/logging.html#logger-objects)
      - [15.6.6. Базовый пример](https://python-all.ru/2.6/library/logging.html#basic-example)
      - [15.6.7. Журналирование в несколько мест назначения](https://python-all.ru/2.6/library/logging.html#logging-to-multiple-destinations)
      - [15.6.8. Исключения, возникающие при журналировании](https://python-all.ru/2.6/library/logging.html#exceptions-raised-during-logging)
      - [15.6.9. Добавление контекстной информации в вывод журнала](https://python-all.ru/2.6/library/logging.html#adding-contextual-information-to-your-logging-output)
      - [15.6.10. Логирование в один файл из нескольких процессов](https://python-all.ru/2.6/library/logging.html#logging-to-a-single-file-from-multiple-processes)
      - [15.6.11. Отправка и получение событий логирования по сети](https://python-all.ru/2.6/library/logging.html#sending-and-receiving-logging-events-across-a-network)
      - [15.6.12. Использование произвольных объектов в качестве сообщений](https://python-all.ru/2.6/library/logging.html#using-arbitrary-objects-as-messages)
      - [15.6.13. Оптимизация](https://python-all.ru/2.6/library/logging.html#optimization)
      - [15.6.14. Объекты-обработчики](https://python-all.ru/2.6/library/logging.html#handler-objects)

        - [15.6.14.1. StreamHandler](https://python-all.ru/2.6/library/logging.html#streamhandler)
        - [15.6.14.2. FileHandler](https://python-all.ru/2.6/library/logging.html#filehandler)
        - [15.6.14.3. WatchedFileHandler](https://python-all.ru/2.6/library/logging.html#watchedfilehandler)
        - [15.6.14.4. RotatingFileHandler](https://python-all.ru/2.6/library/logging.html#rotatingfilehandler)
        - [15.6.14.5. TimedRotatingFileHandler](https://python-all.ru/2.6/library/logging.html#timedrotatingfilehandler)
        - [15.6.14.6. SocketHandler](https://python-all.ru/2.6/library/logging.html#sockethandler)
        - [15.6.14.7. DatagramHandler](https://python-all.ru/2.6/library/logging.html#datagramhandler)
        - [15.6.14.8. SysLogHandler](https://python-all.ru/2.6/library/logging.html#sysloghandler)
        - [15.6.14.9. NTEventLogHandler](https://python-all.ru/2.6/library/logging.html#nteventloghandler)
        - [15.6.14.10. SMTPHandler](https://python-all.ru/2.6/library/logging.html#smtphandler)
        - [15.6.14.11. MemoryHandler](https://python-all.ru/2.6/library/logging.html#memoryhandler)
        - [15.6.14.12. HTTPHandler](https://python-all.ru/2.6/library/logging.html#httphandler)
      - [15.6.15. Объекты-форматеры](https://python-all.ru/2.6/library/logging.html#formatter-objects)
      - [15.6.16. Объекты-фильтры](https://python-all.ru/2.6/library/logging.html#filter-objects)
      - [15.6.17. Объекты LogRecord](https://python-all.ru/2.6/library/logging.html#logrecord-objects)
      - [15.6.18. Объекты LoggerAdapter](https://python-all.ru/2.6/library/logging.html#loggeradapter-objects)
      - [15.6.19. Потокобезопасность](https://python-all.ru/2.6/library/logging.html#thread-safety)
      - [15.6.20. Конфигурация](https://python-all.ru/2.6/library/logging.html#configuration)

        - [15.6.20.1. Функции конфигурации](https://python-all.ru/2.6/library/logging.html#configuration-functions)
        - [15.6.20.2. Формат конфигурационного файла](https://python-all.ru/2.6/library/logging.html#configuration-file-format)
        - [15.6.20.3. Пример сервера конфигурации](https://python-all.ru/2.6/library/logging.html#configuration-server-example)
      - [15.6.21. Дополнительные примеры](https://python-all.ru/2.6/library/logging.html#more-examples)

        - [15.6.21.1. Несколько обработчиков и форматеров](https://python-all.ru/2.6/library/logging.html#multiple-handlers-and-formatters)
        - [15.6.21.2. Использование логирования в нескольких модулях](https://python-all.ru/2.6/library/logging.html#using-logging-in-multiple-modules)
    - [15.7. `getpass` – Переносимый ввод пароля](https://python-all.ru/2.6/library/getpass.html)
    - [15.8. `curses` – Управление терминалом для символьных дисплеев](https://python-all.ru/2.6/library/curses.html)

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

      - [15.9.1. Объекты Textbox](https://python-all.ru/2.6/library/curses.html#textbox-objects)
    - [15.10. `curses.wrapper` – Обработчик терминала для программ curses](https://python-all.ru/2.6/library/curses.html#module-curses.wrapper)
    - [15.11. `curses.ascii` – Утилиты для работы с ASCII-символами](https://python-all.ru/2.6/library/curses.ascii.html)
    - [15.12. `curses.panel` – Расширение стека панелей для curses](https://python-all.ru/2.6/library/curses.panel.html)

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

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

        - [15.13.3.1. Специфичное для Win95/98](https://python-all.ru/2.6/library/platform.html#win95-98-specific)
      - [15.13.4. Платформа Mac OS](https://python-all.ru/2.6/library/platform.html#mac-os-platform)
      - [15.13.5. Платформы Unix](https://python-all.ru/2.6/library/platform.html#unix-platforms)
    - [15.14. `errno` – Стандартные системные символы errno](https://python-all.ru/2.6/library/errno.html)
    - [15.15. `ctypes` – Библиотека для вызова внешних функций в Python](https://python-all.ru/2.6/library/ctypes.html)

      - [15.15.1. Учебник по ctypes](https://python-all.ru/2.6/library/ctypes.html#ctypes-tutorial)

        - [15.15.1.1. Загрузка динамически подключаемых библиотек](https://python-all.ru/2.6/library/ctypes.html#loading-dynamic-link-libraries)
        - [15.15.1.2. Доступ к функциям из загруженных DLL](https://python-all.ru/2.6/library/ctypes.html#accessing-functions-from-loaded-dlls)
        - [15.15.1.3. Вызов функций](https://python-all.ru/2.6/library/ctypes.html#calling-functions)
        - [15.15.1.4. Базовые типы данных](https://python-all.ru/2.6/library/ctypes.html#fundamental-data-types)
        - [15.15.1.5. Вызов функций (продолжение)](https://python-all.ru/2.6/library/ctypes.html#calling-functions-continued)
        - [15.15.1.6. Вызов функций с пользовательскими типами данных](https://python-all.ru/2.6/library/ctypes.html#calling-functions-with-your-own-custom-data-types)
        - [15.15.1.7. Указание требуемых типов аргументов (прототипы функций)](https://python-all.ru/2.6/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)
        - [15.15.1.8. Типы возвращаемых значений](https://python-all.ru/2.6/library/ctypes.html#return-types)
        - [15.15.1.9. Передача указателей (или: передача параметров по ссылке)](https://python-all.ru/2.6/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)
        - [15.15.1.10. Структуры и объединения](https://python-all.ru/2.6/library/ctypes.html#structures-and-unions)
        - [15.15.1.11. Выравнивание структур и объединений и порядок байтов](https://python-all.ru/2.6/library/ctypes.html#structure-union-alignment-and-byte-order)
        - [15.15.1.12. Битовые поля в структурах и объединениях](https://python-all.ru/2.6/library/ctypes.html#bit-fields-in-structures-and-unions)
        - [15.15.1.13. Массивы](https://python-all.ru/2.6/library/ctypes.html#arrays)
        - [15.15.1.14. Указатели](https://python-all.ru/2.6/library/ctypes.html#pointers)
        - [15.15.1.15. Преобразования типов](https://python-all.ru/2.6/library/ctypes.html#type-conversions)
        - [15.15.1.16. Неполные типы](https://python-all.ru/2.6/library/ctypes.html#incomplete-types)
        - [15.15.1.17. Функции обратного вызова](https://python-all.ru/2.6/library/ctypes.html#callback-functions)
        - [15.15.1.18. Доступ к значениям, экспортируемым из DLL](https://python-all.ru/2.6/library/ctypes.html#accessing-values-exported-from-dlls)
        - [15.15.1.19. Сюрпризы](https://python-all.ru/2.6/library/ctypes.html#surprises)
        - [15.15.1.20. Типы данных переменного размера](https://python-all.ru/2.6/library/ctypes.html#variable-sized-data-types)
      - [15.15.2. Справочник по ctypes](https://python-all.ru/2.6/library/ctypes.html#ctypes-reference)

        - [15.15.2.1. Поиск разделяемых библиотек](https://python-all.ru/2.6/library/ctypes.html#finding-shared-libraries)
        - [15.15.2.2. Загрузка разделяемых библиотек](https://python-all.ru/2.6/library/ctypes.html#loading-shared-libraries)
        - [15.15.2.3. Внешние функции](https://python-all.ru/2.6/library/ctypes.html#foreign-functions)
        - [15.15.2.4. Прототипы функций](https://python-all.ru/2.6/library/ctypes.html#function-prototypes)
        - [15.15.2.5. Вспомогательные функции](https://python-all.ru/2.6/library/ctypes.html#utility-functions)
        - [15.15.2.6. Типы данных](https://python-all.ru/2.6/library/ctypes.html#data-types)
        - [15.15.2.7. Базовые типы данных](https://python-all.ru/2.6/library/ctypes.html#ctypes-fundamental-data-types-2)
        - [15.15.2.8. Структурированные типы данных](https://python-all.ru/2.6/library/ctypes.html#structured-data-types)
        - [15.15.2.9. Массивы и указатели](https://python-all.ru/2.6/library/ctypes.html#arrays-and-pointers)
  - [16. Дополнительные службы операционной системы](https://python-all.ru/2.6/library/someos.html)

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

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

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

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

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

        - [16.6.1.1. Класс `Процесс`](https://python-all.ru/2.6/library/multiprocessing.html#the-process-class)
        - [16.6.1.2. Обмен объектами между процессами](https://python-all.ru/2.6/library/multiprocessing.html#exchanging-objects-between-processes)
        - [16.6.1.3. Синхронизация между процессами](https://python-all.ru/2.6/library/multiprocessing.html#synchronization-between-processes)
        - [16.6.1.4. Совместное использование состояния между процессами](https://python-all.ru/2.6/library/multiprocessing.html#sharing-state-between-processes)
        - [16.6.1.5. Использование пула рабочих процессов](https://python-all.ru/2.6/library/multiprocessing.html#using-a-pool-of-workers)
      - [16.6.2. Справочник](https://python-all.ru/2.6/library/multiprocessing.html#reference)

        - [16.6.2.1. `Процесс` и исключения](https://python-all.ru/2.6/library/multiprocessing.html#process-and-exceptions)
        - [16.6.2.2. Каналы и очереди](https://python-all.ru/2.6/library/multiprocessing.html#pipes-and-queues)
        - [16.6.2.3. Разное](https://python-all.ru/2.6/library/multiprocessing.html#miscellaneous)
        - [16.6.2.4. Объекты соединений](https://python-all.ru/2.6/library/multiprocessing.html#connection-objects)
        - [16.6.2.5. Примитивы синхронизации](https://python-all.ru/2.6/library/multiprocessing.html#synchronization-primitives)
        - [16.6.2.6. Общие объекты `ctypes`](https://python-all.ru/2.6/library/multiprocessing.html#shared-ctypes-objects)

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

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

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

          - [16.6.2.10.1. Форматы адресов](https://python-all.ru/2.6/library/multiprocessing.html#address-formats)
        - [16.6.2.11. Ключи аутентификации](https://python-all.ru/2.6/library/multiprocessing.html#authentication-keys)
        - [16.6.2.12. Логирование](https://python-all.ru/2.6/library/multiprocessing.html#logging)
        - [16.6.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/2.6/library/multiprocessing.html#module-multiprocessing.dummy)
      - [16.6.3. Рекомендации по программированию](https://python-all.ru/2.6/library/multiprocessing.html#programming-guidelines)

        - [16.6.3.1. Все платформы](https://python-all.ru/2.6/library/multiprocessing.html#all-platforms)
        - [16.6.3.2. Windows](https://python-all.ru/2.6/library/multiprocessing.html#windows)
      - [16.6.4. Примеры](https://python-all.ru/2.6/library/multiprocessing.html#examples)
    - [16.7. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/2.6/library/mmap.html)
    - [16.8. `readline` – Интерфейс GNU readline](https://python-all.ru/2.6/library/readline.html)

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

      - [16.9.1. Объекты автодополнения](https://python-all.ru/2.6/library/rlcompleter.html#completer-objects)
  - [17. Межпроцессное взаимодействие и сетевые возможности](https://python-all.ru/2.6/library/ipc.html)

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

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

        - [17.1.1.1. Вспомогательные функции](https://python-all.ru/2.6/library/subprocess.html#convenience-functions)
        - [17.1.1.2. Исключения](https://python-all.ru/2.6/library/subprocess.html#exceptions)
        - [17.1.1.3. Безопасность](https://python-all.ru/2.6/library/subprocess.html#security)
      - [17.1.2. Объекты Popen](https://python-all.ru/2.6/library/subprocess.html#popen-objects)
      - [17.1.3. Replacing Older Functions with the subprocess Module](https://python-all.ru/2.6/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)

        - [17.1.3.1. Замена обратной кавычки оболочки /bin/sh](https://python-all.ru/2.6/library/subprocess.html#replacing-bin-sh-shell-backquote)
        - [17.1.3.2. Замена конвейера оболочки](https://python-all.ru/2.6/library/subprocess.html#replacing-shell-pipeline)
        - [17.1.3.3. Замена `os.system()`](https://python-all.ru/2.6/library/subprocess.html#replacing-os-system)
        - [17.1.3.4. Замена семейства `os.spawn`](https://python-all.ru/2.6/library/subprocess.html#replacing-the-os-spawn-family)
        - [17.1.3.5. Замена `os.popen()`, `os.popen2()`, `os.popen3()`](https://python-all.ru/2.6/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3)
        - [17.1.3.6. Замена функций из модуля `popen2`](https://python-all.ru/2.6/library/subprocess.html#replacing-functions-from-the-popen2-module)
    - [17.2. `socket` – Низкоуровневый сетевой интерфейс](https://python-all.ru/2.6/library/socket.html)

      - [17.2.1. Объекты сокетов](https://python-all.ru/2.6/library/socket.html#socket-objects)
      - [17.2.2. Пример](https://python-all.ru/2.6/library/socket.html#example)
    - [17.3. `ssl` – Обёртка SSL для объектов сокетов](https://python-all.ru/2.6/library/ssl.html)

      - [17.3.1. Функции, константы и исключения](https://python-all.ru/2.6/library/ssl.html#functions-constants-and-exceptions)
      - [17.3.2. Объекты SSLSocket](https://python-all.ru/2.6/library/ssl.html#sslsocket-objects)
      - [17.3.3. Сертификаты](https://python-all.ru/2.6/library/ssl.html#certificates)
      - [17.3.4. Примеры](https://python-all.ru/2.6/library/ssl.html#examples)

        - [17.3.4.1. Проверка поддержки SSL](https://python-all.ru/2.6/library/ssl.html#testing-for-ssl-support)
        - [17.3.4.2. Работа на стороне клиента](https://python-all.ru/2.6/library/ssl.html#client-side-operation)
        - [17.3.4.3. Работа на стороне сервера](https://python-all.ru/2.6/library/ssl.html#server-side-operation)
    - [17.4. `signal` – Установка обработчиков для асинхронных событий](https://python-all.ru/2.6/library/signal.html)

      - [17.4.1. Пример](https://python-all.ru/2.6/library/signal.html#example)
    - [17.5. `popen2` – Подпроцессы с доступными потоками ввода-вывода](https://python-all.ru/2.6/library/popen2.html)

      - [17.5.1. Объекты Popen3 и Popen4](https://python-all.ru/2.6/library/popen2.html#popen3-and-popen4-objects)
      - [17.5.2. Проблемы управления потоком](https://python-all.ru/2.6/library/popen2.html#flow-control-issues)
    - [17.6. `asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/2.6/library/asyncore.html)

      - [17.6.1. Пример asyncore: простой HTTP-клиент](https://python-all.ru/2.6/library/asyncore.html#asyncore-example-basic-http-client)
    - [17.7. `asynchat` – Асинхронный обработчик команд/ответов через сокеты](https://python-all.ru/2.6/library/asynchat.html)

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

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

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

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

      - [18.2.1. Базовое использование](https://python-all.ru/2.6/library/json.html#basic-usage)
      - [18.2.2. Кодировщики и декодировщики](https://python-all.ru/2.6/library/json.html#encoders-and-decoders)
    - [18.3. `mailcap` – Обработка файлов mailcap](https://python-all.ru/2.6/library/mailcap.html)
    - [18.4. `mailbox` – Работа с почтовыми ящиками в различных форматах](https://python-all.ru/2.6/library/mailbox.html)

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

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

        - [18.4.2.1. `MaildirMessage`](https://python-all.ru/2.6/library/mailbox.html#maildirmessage)
        - [18.4.2.2. `mboxMessage`](https://python-all.ru/2.6/library/mailbox.html#mboxmessage)
        - [18.4.2.3. `MHMessage`](https://python-all.ru/2.6/library/mailbox.html#mhmessage)
        - [18.4.2.4. `BabylMessage`](https://python-all.ru/2.6/library/mailbox.html#babylmessage)
        - [18.4.2.5. `MMDFMessage`](https://python-all.ru/2.6/library/mailbox.html#mmdfmessage)
      - [18.4.3. Исключения](https://python-all.ru/2.6/library/mailbox.html#exceptions)
      - [18.4.4. Устаревшие классы и методы](https://python-all.ru/2.6/library/mailbox.html#deprecated-classes-and-methods)
      - [18.4.5. Примеры](https://python-all.ru/2.6/library/mailbox.html#examples)
    - [18.5. `mhlib` – Доступ к почтовым ящикам MH](https://python-all.ru/2.6/library/mhlib.html)

      - [18.5.1. Объекты MH](https://python-all.ru/2.6/library/mhlib.html#mh-objects)
      - [18.5.2. Объекты папок](https://python-all.ru/2.6/library/mhlib.html#folder-objects)
      - [18.5.3. Объекты сообщений](https://python-all.ru/2.6/library/mhlib.html#message-objects)
    - [18.6. `mimetools` – Инструменты для разбора MIME-сообщений](https://python-all.ru/2.6/library/mimetools.html)

      - [18.6.1. Дополнительные методы объектов сообщений](https://python-all.ru/2.6/library/mimetools.html#additional-methods-of-message-objects)
    - [18.7. `mimetypes` – Сопоставление имён файлов с MIME-типами](https://python-all.ru/2.6/library/mimetypes.html)

      - [18.7.1. Объекты MimeTypes](https://python-all.ru/2.6/library/mimetypes.html#mimetypes-objects)
    - [18.8. `MimeWriter` – Универсальный модуль записи MIME-файлов](https://python-all.ru/2.6/library/mimewriter.html)

      - [18.8.1. Объекты MimeWriter](https://python-all.ru/2.6/library/mimewriter.html#mimewriter-objects)
    - [18.9. `mimify` – Обработка MIME в почтовых сообщениях](https://python-all.ru/2.6/library/mimify.html)
    - [18.10. `multifile` – Поддержка файлов, состоящих из отдельных частей](https://python-all.ru/2.6/library/multifile.html)

      - [18.10.1. Объекты MultiFile](https://python-all.ru/2.6/library/multifile.html#multifile-objects)
      - [18.10.2. `MultiFile` Пример](https://python-all.ru/2.6/library/multifile.html#multifile-example)
    - [18.11. `rfc822` – Разбор заголовков почтовых сообщений RFC 2822](https://python-all.ru/2.6/library/rfc822.html)

      - [18.11.1. Объекты Message](https://python-all.ru/2.6/library/rfc822.html#message-objects)
      - [18.11.2. Объекты AddressList](https://python-all.ru/2.6/library/rfc822.html#addresslist-objects)
    - [18.12. `base64` – RFC 3548: кодировки данных Base16, Base32, Base64](https://python-all.ru/2.6/library/base64.html)
    - [18.13. `binhex` – Кодирование и декодирование файлов binhex4](https://python-all.ru/2.6/library/binhex.html)

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

    - [19.1. `HTMLParser` – Простой синтаксический анализатор HTML и XHTML](https://python-all.ru/2.6/library/htmlparser.html)

      - [19.1.1. Пример приложения для парсинга HTML](https://python-all.ru/2.6/library/htmlparser.html#example-html-parser-application)
    - [19.2. `sgmllib` – Простой анализатор SGML](https://python-all.ru/2.6/library/sgmllib.html)
    - [19.3. `htmllib` – Анализатор HTML-документов](https://python-all.ru/2.6/library/htmllib.html)

      - [19.3.1. Объекты HTMLParser](https://python-all.ru/2.6/library/htmllib.html#htmlparser-objects)
    - [19.4. `htmlentitydefs` – Определения общих сущностей HTML](https://python-all.ru/2.6/library/htmllib.html#module-htmlentitydefs)
    - [19.5. `xml.parsers.expat` – Быстрый разбор XML с помощью Expat](https://python-all.ru/2.6/library/pyexpat.html)

      - [19.5.1. Объекты XMLParser](https://python-all.ru/2.6/library/pyexpat.html#xmlparser-objects)
      - [19.5.2. Исключения ExpatError](https://python-all.ru/2.6/library/pyexpat.html#expaterror-exceptions)
      - [19.5.3. Пример](https://python-all.ru/2.6/library/pyexpat.html#example)
      - [19.5.4. Описания моделей содержимого](https://python-all.ru/2.6/library/pyexpat.html#content-model-descriptions)
      - [19.5.5. Константы ошибок Expat](https://python-all.ru/2.6/library/pyexpat.html#expat-error-constants)
    - [19.6. `xml.dom` – API объектной модели документа](https://python-all.ru/2.6/library/xml.dom.html)

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

        - [19.6.2.1. Объекты DOMImplementation](https://python-all.ru/2.6/library/xml.dom.html#domimplementation-objects)
        - [19.6.2.2. Объекты Node](https://python-all.ru/2.6/library/xml.dom.html#node-objects)
        - [19.6.2.3. Объекты NodeList](https://python-all.ru/2.6/library/xml.dom.html#nodelist-objects)
        - [19.6.2.4. Объекты DocumentType](https://python-all.ru/2.6/library/xml.dom.html#documenttype-objects)
        - [19.6.2.5. Объекты Document](https://python-all.ru/2.6/library/xml.dom.html#document-objects)
        - [19.6.2.6. Объекты Element](https://python-all.ru/2.6/library/xml.dom.html#element-objects)
        - [19.6.2.7. Объекты Attr](https://python-all.ru/2.6/library/xml.dom.html#attr-objects)
        - [19.6.2.8. Объекты NamedNodeMap](https://python-all.ru/2.6/library/xml.dom.html#namednodemap-objects)
        - [19.6.2.9. Объекты Comment](https://python-all.ru/2.6/library/xml.dom.html#comment-objects)
        - [19.6.2.10. Объекты Text и CDATASection](https://python-all.ru/2.6/library/xml.dom.html#text-and-cdatasection-objects)
        - [19.6.2.11. Объекты ProcessingInstruction](https://python-all.ru/2.6/library/xml.dom.html#processinginstruction-objects)
        - [19.6.2.12. Исключения](https://python-all.ru/2.6/library/xml.dom.html#exceptions)
      - [19.6.3. Соответствие](https://python-all.ru/2.6/library/xml.dom.html#conformance)

        - [19.6.3.1. Отображение типов](https://python-all.ru/2.6/library/xml.dom.html#type-mapping)
        - [19.6.3.2. Методы доступа](https://python-all.ru/2.6/library/xml.dom.html#accessor-methods)
    - [19.7. `xml.dom.minidom` – Лёгкая реализация DOM](https://python-all.ru/2.6/library/xml.dom.minidom.html)

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

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

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

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

      - [19.12.1. Объекты XMLReader](https://python-all.ru/2.6/library/xml.sax.reader.html#xmlreader-objects)
      - [19.12.2. Объекты IncrementalParser](https://python-all.ru/2.6/library/xml.sax.reader.html#incrementalparser-objects)
      - [19.12.3. Объекты Locator](https://python-all.ru/2.6/library/xml.sax.reader.html#locator-objects)
      - [19.12.4. Объекты InputSource](https://python-all.ru/2.6/library/xml.sax.reader.html#inputsource-objects)
      - [19.12.5. Интерфейс `Attributes`](https://python-all.ru/2.6/library/xml.sax.reader.html#the-attributes-interface)
      - [19.12.6. Интерфейс `AttributesNS`](https://python-all.ru/2.6/library/xml.sax.reader.html#the-attributesns-interface)
    - [19.13. `xml.etree.ElementTree` – XML API ElementTree](https://python-all.ru/2.6/library/xml.etree.elementtree.html)

      - [19.13.1. Функции](https://python-all.ru/2.6/library/xml.etree.elementtree.html#functions)
      - [19.13.2. Интерфейс Element](https://python-all.ru/2.6/library/xml.etree.elementtree.html#the-element-interface)
      - [19.13.3. Объекты ElementTree](https://python-all.ru/2.6/library/xml.etree.elementtree.html#elementtree-objects)
      - [19.13.4. Объекты QName](https://python-all.ru/2.6/library/xml.etree.elementtree.html#qname-objects)
      - [19.13.5. Объекты TreeBuilder](https://python-all.ru/2.6/library/xml.etree.elementtree.html#treebuilder-objects)
      - [19.13.6. Объекты XMLTreeBuilder](https://python-all.ru/2.6/library/xml.etree.elementtree.html#xmltreebuilder-objects)
  - [20. Интернет-протоколы и поддержка](https://python-all.ru/2.6/library/internet.html)

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

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

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

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

      - [20.5.1. Интерфейс высокого уровня](https://python-all.ru/2.6/library/urllib.html#high-level-interface)
      - [20.5.2. Вспомогательные функции](https://python-all.ru/2.6/library/urllib.html#utility-functions)
      - [20.5.3. Объекты-открыватели URL](https://python-all.ru/2.6/library/urllib.html#url-opener-objects)
      - [20.5.4. `urllib` Ограничения](https://python-all.ru/2.6/library/urllib.html#urllib-restrictions)
      - [20.5.5. Примеры](https://python-all.ru/2.6/library/urllib.html#examples)
    - [20.6. `urllib2` – расширяемая библиотека для открытия URL](https://python-all.ru/2.6/library/urllib2.html)

      - [20.6.1. Объекты запроса](https://python-all.ru/2.6/library/urllib2.html#request-objects)
      - [20.6.2. Объекты OpenerDirector](https://python-all.ru/2.6/library/urllib2.html#openerdirector-objects)
      - [20.6.3. Объекты BaseHandler](https://python-all.ru/2.6/library/urllib2.html#basehandler-objects)
      - [20.6.4. Объекты HTTPRedirectHandler](https://python-all.ru/2.6/library/urllib2.html#httpredirecthandler-objects)
      - [20.6.5. Объекты HTTPCookieProcessor](https://python-all.ru/2.6/library/urllib2.html#httpcookieprocessor-objects)
      - [20.6.6. Объекты ProxyHandler](https://python-all.ru/2.6/library/urllib2.html#proxyhandler-objects)
      - [20.6.7. Объекты HTTPPasswordMgr](https://python-all.ru/2.6/library/urllib2.html#httppasswordmgr-objects)
      - [20.6.8. Объекты AbstractBasicAuthHandler](https://python-all.ru/2.6/library/urllib2.html#abstractbasicauthhandler-objects)
      - [20.6.9. Объекты HTTPBasicAuthHandler](https://python-all.ru/2.6/library/urllib2.html#httpbasicauthhandler-objects)
      - [20.6.10. Объекты ProxyBasicAuthHandler](https://python-all.ru/2.6/library/urllib2.html#proxybasicauthhandler-objects)
      - [20.6.11. Объекты AbstractDigestAuthHandler](https://python-all.ru/2.6/library/urllib2.html#abstractdigestauthhandler-objects)
      - [20.6.12. Объекты HTTPDigestAuthHandler](https://python-all.ru/2.6/library/urllib2.html#httpdigestauthhandler-objects)
      - [20.6.13. Объекты ProxyDigestAuthHandler](https://python-all.ru/2.6/library/urllib2.html#proxydigestauthhandler-objects)
      - [20.6.14. Объекты HTTPHandler](https://python-all.ru/2.6/library/urllib2.html#httphandler-objects)
      - [20.6.15. Объекты HTTPSHandler](https://python-all.ru/2.6/library/urllib2.html#httpshandler-objects)
      - [20.6.16. Объекты FileHandler](https://python-all.ru/2.6/library/urllib2.html#filehandler-objects)
      - [20.6.17. Объекты FTPHandler](https://python-all.ru/2.6/library/urllib2.html#ftphandler-objects)
      - [20.6.18. Объекты CacheFTPHandler](https://python-all.ru/2.6/library/urllib2.html#cacheftphandler-objects)
      - [20.6.19. Объекты UnknownHandler](https://python-all.ru/2.6/library/urllib2.html#unknownhandler-objects)
      - [20.6.20. Объекты HTTPErrorProcessor](https://python-all.ru/2.6/library/urllib2.html#httperrorprocessor-objects)
      - [20.6.21. Примеры](https://python-all.ru/2.6/library/urllib2.html#examples)
    - [20.7. `httplib` – клиент протокола HTTP](https://python-all.ru/2.6/library/httplib.html)

      - [20.7.1. Объекты HTTPConnection](https://python-all.ru/2.6/library/httplib.html#httpconnection-objects)
      - [20.7.2. Объекты HTTPResponse](https://python-all.ru/2.6/library/httplib.html#httpresponse-objects)
      - [20.7.3. Примеры](https://python-all.ru/2.6/library/httplib.html#examples)
    - [20.8. `ftplib` – клиент протокола FTP](https://python-all.ru/2.6/library/ftplib.html)

      - [20.8.1. Объекты FTP](https://python-all.ru/2.6/library/ftplib.html#ftp-objects)
    - [20.9. `poplib` – клиент протокола POP3](https://python-all.ru/2.6/library/poplib.html)

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

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

      - [20.11.1. Объекты NNTP](https://python-all.ru/2.6/library/nntplib.html#nntp-objects)
    - [20.12. `smtplib` – клиент протокола SMTP](https://python-all.ru/2.6/library/smtplib.html)

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

      - [20.13.1. Объекты SMTPServer](https://python-all.ru/2.6/library/smtpd.html#smtpserver-objects)
      - [20.13.2. Объекты DebuggingServer](https://python-all.ru/2.6/library/smtpd.html#debuggingserver-objects)
      - [20.13.3. Объекты PureProxy](https://python-all.ru/2.6/library/smtpd.html#pureproxy-objects)
      - [20.13.4. Объекты MailmanProxy](https://python-all.ru/2.6/library/smtpd.html#mailmanproxy-objects)
    - [20.14. `telnetlib` – Telnet-клиент](https://python-all.ru/2.6/library/telnetlib.html)

      - [20.14.1. Объекты Telnet](https://python-all.ru/2.6/library/telnetlib.html#telnet-objects)
      - [20.14.2. Пример Telnet](https://python-all.ru/2.6/library/telnetlib.html#telnet-example)
    - [20.15. `uuid` – объекты UUID в соответствии с RFC 4122](https://python-all.ru/2.6/library/uuid.html)

      - [20.15.1. Пример](https://python-all.ru/2.6/library/uuid.html#example)
    - [20.16. `urlparse` – Разбор URL на компоненты](https://python-all.ru/2.6/library/urlparse.html)

      - [20.16.1. Результаты `urlparse()` и `urlsplit()`](https://python-all.ru/2.6/library/urlparse.html#results-of-urlparse-and-urlsplit)
    - [20.17. `SocketServer` – Фреймворк для сетевых серверов](https://python-all.ru/2.6/library/socketserver.html)

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

        - [20.17.4.1. `SocketServer.TCPServer` Пример](https://python-all.ru/2.6/library/socketserver.html#socketserver-tcpserver-example)
        - [20.17.4.2. `SocketServer.UDPServer` Пример](https://python-all.ru/2.6/library/socketserver.html#socketserver-udpserver-example)
        - [20.17.4.3. Асинхронные примеси](https://python-all.ru/2.6/library/socketserver.html#asynchronous-mixins)
    - [20.18. `BaseHTTPServer` – Базовый HTTP-сервер](https://python-all.ru/2.6/library/basehttpserver.html)

      - [20.18.1. Дополнительные примеры](https://python-all.ru/2.6/library/basehttpserver.html#more-examples)
    - [20.19. `SimpleHTTPServer` – Простой обработчик HTTP-запросов](https://python-all.ru/2.6/library/simplehttpserver.html)
    - [20.20. `CGIHTTPServer` – Обработчик HTTP-запросов с поддержкой CGI](https://python-all.ru/2.6/library/cgihttpserver.html)
    - [20.21. `cookielib` – Обработка куки для HTTP-клиентов](https://python-all.ru/2.6/library/cookielib.html)

      - [20.21.1. Объекты CookieJar и FileCookieJar](https://python-all.ru/2.6/library/cookielib.html#cookiejar-and-filecookiejar-objects)
      - [20.21.2. Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/2.6/library/cookielib.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)
      - [20.21.3. Объекты CookiePolicy](https://python-all.ru/2.6/library/cookielib.html#cookiepolicy-objects)
      - [20.21.4. Объекты DefaultCookiePolicy](https://python-all.ru/2.6/library/cookielib.html#defaultcookiepolicy-objects)
      - [20.21.5. Объекты Cookie](https://python-all.ru/2.6/library/cookielib.html#cookie-objects)
      - [20.21.6. Примеры](https://python-all.ru/2.6/library/cookielib.html#examples)
    - [20.22. `Cookie` – Управление состоянием HTTP](https://python-all.ru/2.6/library/cookie.html)

      - [20.22.1. Объекты Cookie](https://python-all.ru/2.6/library/cookie.html#cookie-objects)
      - [20.22.2. Объекты Morsel](https://python-all.ru/2.6/library/cookie.html#morsel-objects)
      - [20.22.3. Пример](https://python-all.ru/2.6/library/cookie.html#example)
    - [20.23. `xmlrpclib` – Клиентский доступ к XML-RPC](https://python-all.ru/2.6/library/xmlrpclib.html)

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

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

        - [20.24.1.1. Пример SimpleXMLRPCServer](https://python-all.ru/2.6/library/simplexmlrpcserver.html#simplexmlrpcserver-example)
      - [20.24.2. CGIXMLRPCRequestHandler](https://python-all.ru/2.6/library/simplexmlrpcserver.html#cgixmlrpcrequesthandler)
    - [20.25. `DocXMLRPCServer` – Самодокументируемый XML-RPC сервер](https://python-all.ru/2.6/library/docxmlrpcserver.html)

      - [20.25.1. Объекты DocXMLRPCServer](https://python-all.ru/2.6/library/docxmlrpcserver.html#docxmlrpcserver-objects)
      - [20.25.2. DocCGIXMLRPCRequestHandler](https://python-all.ru/2.6/library/docxmlrpcserver.html#doccgixmlrpcrequesthandler)
  - [21. Мультимедийные службы](https://python-all.ru/2.6/library/mm.html)

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

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

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

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

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

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

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

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

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

    - [23.1. `cmd` – Поддержка построчных интерпретаторов команд](https://python-all.ru/2.6/library/cmd.html)

      - [23.1.1. Объекты Cmd](https://python-all.ru/2.6/library/cmd.html#cmd-objects)
    - [23.2. `shlex` – Простой лексический анализ](https://python-all.ru/2.6/library/shlex.html)

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

    - [24.1. `Tkinter` – Интерфейс Python для Tcl/Tk](https://python-all.ru/2.6/library/tkinter.html)

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

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

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

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

        - [24.2.2.1. Базовые виджеты](https://python-all.ru/2.6/library/tix.html#basic-widgets)
        - [24.2.2.2. Выбор файлов](https://python-all.ru/2.6/library/tix.html#file-selectors)
        - [24.2.2.3. Иерархический ListBox](https://python-all.ru/2.6/library/tix.html#hierarchical-listbox)
        - [24.2.2.4. Табличный ListBox](https://python-all.ru/2.6/library/tix.html#tabular-listbox)
        - [24.2.2.5. Виджеты-менеджеры](https://python-all.ru/2.6/library/tix.html#manager-widgets)
        - [24.2.2.6. Типы изображений](https://python-all.ru/2.6/library/tix.html#image-types)
        - [24.2.2.7. Прочие виджеты](https://python-all.ru/2.6/library/tix.html#miscellaneous-widgets)
        - [24.2.2.8. Менеджер геометрии формы](https://python-all.ru/2.6/library/tix.html#form-geometry-manager)
      - [24.2.3. Команды Tix](https://python-all.ru/2.6/library/tix.html#tix-commands)
    - [24.3. `ScrolledText` – виджет с прокруткой текста](https://python-all.ru/2.6/library/scrolledtext.html)
    - [24.4. `turtle` – графика Turtle для Tk](https://python-all.ru/2.6/library/turtle.html)

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

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

        - [24.4.3.1. Движение Turtle](https://python-all.ru/2.6/library/turtle.html#turtle-motion)
        - [24.4.3.2. Определение состояния Turtle](https://python-all.ru/2.6/library/turtle.html#tell-turtle-s-state)
        - [24.4.3.3. Настройки измерения](https://python-all.ru/2.6/library/turtle.html#settings-for-measurement)
        - [24.4.3.4. Управление пером](https://python-all.ru/2.6/library/turtle.html#pen-control)

          - [24.4.3.4.1. Состояние рисования](https://python-all.ru/2.6/library/turtle.html#drawing-state)
          - [24.4.3.4.2. Управление цветом](https://python-all.ru/2.6/library/turtle.html#color-control)
          - [24.4.3.4.3. Заливка](https://python-all.ru/2.6/library/turtle.html#filling)
          - [24.4.3.4.4. Дополнительное управление рисованием](https://python-all.ru/2.6/library/turtle.html#more-drawing-control)
        - [24.4.3.5. Состояние Turtle](https://python-all.ru/2.6/library/turtle.html#turtle-state)

          - [24.4.3.5.1. Видимость](https://python-all.ru/2.6/library/turtle.html#visibility)
          - [24.4.3.5.2. Внешний вид](https://python-all.ru/2.6/library/turtle.html#appearance)
        - [24.4.3.6. Использование событий](https://python-all.ru/2.6/library/turtle.html#using-events)
        - [24.4.3.7. Специальные методы Turtle](https://python-all.ru/2.6/library/turtle.html#special-turtle-methods)
        - [24.4.3.8. Экскурс об использовании составных фигур](https://python-all.ru/2.6/library/turtle.html#excursus-about-the-use-of-compound-shapes)
      - [24.4.4. Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/2.6/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)

        - [24.4.4.1. Управление окном](https://python-all.ru/2.6/library/turtle.html#window-control)
        - [24.4.4.2. Управление анимацией](https://python-all.ru/2.6/library/turtle.html#animation-control)
        - [24.4.4.3. Использование событий экрана](https://python-all.ru/2.6/library/turtle.html#using-screen-events)
        - [24.4.4.4. Настройки и специальные методы](https://python-all.ru/2.6/library/turtle.html#settings-and-special-methods)
        - [24.4.4.5. Методы, специфичные для Screen, не унаследованные от TurtleScreen](https://python-all.ru/2.6/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)
      - [24.4.5. Публичные классы модуля `turtle`](https://python-all.ru/2.6/library/turtle.html#the-public-classes-of-the-module-turtle)
      - [24.4.6. Справка и настройка](https://python-all.ru/2.6/library/turtle.html#help-and-configuration)

        - [24.4.6.1. Как пользоваться справкой](https://python-all.ru/2.6/library/turtle.html#how-to-use-help)
        - [24.4.6.2. Перевод строк документации на разные языки](https://python-all.ru/2.6/library/turtle.html#translation-of-docstrings-into-different-languages)
        - [24.4.6.3. Как настроить Screen и Turtles](https://python-all.ru/2.6/library/turtle.html#how-to-configure-screen-and-turtles)
      - [24.4.7. Демонстрационные скрипты](https://python-all.ru/2.6/library/turtle.html#demo-scripts)
    - [24.5. IDLE](https://python-all.ru/2.6/library/idle.html)

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

        - [24.5.1.1. Меню «Файл»](https://python-all.ru/2.6/library/idle.html#file-menu)
        - [24.5.1.2. Меню «Правка»](https://python-all.ru/2.6/library/idle.html#edit-menu)
        - [24.5.1.3. Меню «Окна»](https://python-all.ru/2.6/library/idle.html#windows-menu)
        - [24.5.1.4. Меню отладки (только в окне Python Shell)](https://python-all.ru/2.6/library/idle.html#debug-menu-in-the-python-shell-window-only)
      - [24.5.2. Основы редактирования и навигации](https://python-all.ru/2.6/library/idle.html#basic-editing-and-navigation)

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

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

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

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

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

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

      - [25.3.1. Простой пример](https://python-all.ru/2.6/library/unittest.html#basic-example)
      - [25.3.2. Организация тестового кода](https://python-all.ru/2.6/library/unittest.html#organizing-test-code)
      - [25.3.3. Повторное использование старого тестового кода](https://python-all.ru/2.6/library/unittest.html#re-using-old-test-code)
      - [25.3.4. Классы и функции](https://python-all.ru/2.6/library/unittest.html#classes-and-functions)
      - [25.3.5. Объекты TestCase](https://python-all.ru/2.6/library/unittest.html#testcase-objects)
      - [25.3.6. Объекты TestSuite](https://python-all.ru/2.6/library/unittest.html#testsuite-objects)
      - [25.3.7. Объекты TestResult](https://python-all.ru/2.6/library/unittest.html#testresult-objects)
      - [25.3.8. Объекты TestLoader](https://python-all.ru/2.6/library/unittest.html#testloader-objects)
    - [25.4. 2to3 – автоматическое преобразование кода Python 2 в 3](https://python-all.ru/2.6/library/2to3.html)

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

      - [25.5.1. Написание модульных тестов для пакета `test`](https://python-all.ru/2.6/library/test.html#writing-unit-tests-for-the-test-package)
      - [25.5.2. Запуск тестов с помощью `test.regrtest`](https://python-all.ru/2.6/library/test.html#running-tests-using-test-regrtest)
    - [25.6. `test.test_support` – Вспомогательные функции для тестов](https://python-all.ru/2.6/library/test.html#module-test.test_support)
  - [26. Отладка и профилирование](https://python-all.ru/2.6/library/debug.html)

    - [26.1. `bdb` – Каркас отладчика](https://python-all.ru/2.6/library/bdb.html)
    - [26.2. `pdb` – Отладчик Python](https://python-all.ru/2.6/library/pdb.html)
    - [26.3. Команды отладчика](https://python-all.ru/2.6/library/pdb.html#debugger-commands)
    - [26.4. Профилировщики Python](https://python-all.ru/2.6/library/profile.html)

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

        - [26.4.4.1. Класс `Stats`](https://python-all.ru/2.6/library/profile.html#the-stats-class)
      - [26.4.5. Ограничения](https://python-all.ru/2.6/library/profile.html#limitations)
      - [26.4.6. Калибровка](https://python-all.ru/2.6/library/profile.html#calibration)
      - [26.4.7. Расширения – создание более качественных профилировщиков](https://python-all.ru/2.6/library/profile.html#extensions-deriving-better-profilers)
    - [26.5. `hotshot` – Высокопроизводительный профилировщик с журналированием](https://python-all.ru/2.6/library/hotshot.html)

      - [26.5.1. Объекты профиля](https://python-all.ru/2.6/library/hotshot.html#profile-objects)
      - [26.5.2. Использование данных hotshot](https://python-all.ru/2.6/library/hotshot.html#module-hotshot.stats)
      - [26.5.3. Пример использования](https://python-all.ru/2.6/library/hotshot.html#example-usage)
    - [26.6. `timeit` – Измерение времени выполнения небольших фрагментов кода](https://python-all.ru/2.6/library/timeit.html)

      - [26.6.1. Интерфейс командной строки](https://python-all.ru/2.6/library/timeit.html#command-line-interface)
      - [26.6.2. Примеры](https://python-all.ru/2.6/library/timeit.html#examples)
    - [26.7. `trace` – Трассировка или отслеживание выполнения инструкций Python](https://python-all.ru/2.6/library/trace.html)

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

        - [26.7.1.1. Мета-опции](https://python-all.ru/2.6/library/trace.html#meta-options)
        - [26.7.1.2. Основные опции](https://python-all.ru/2.6/library/trace.html#main-options)
        - [26.7.1.3. Модификаторы](https://python-all.ru/2.6/library/trace.html#modifiers)
        - [26.7.1.4. Фильтры](https://python-all.ru/2.6/library/trace.html#filters)
      - [26.7.2. Программный интерфейс](https://python-all.ru/2.6/library/trace.html#programming-interface)
  - [27. Службы времени выполнения Python](https://python-all.ru/2.6/library/python.html)

    - [27.1. `sys` – Системно-зависимые параметры и функции](https://python-all.ru/2.6/library/sys.html)
    - [27.2. `__builtin__` – Встроенные объекты](https://python-all.ru/2.6/library/__builtin__.html)
    - [27.3. `future_builtins` – Встроенные функции Python 3](https://python-all.ru/2.6/library/future_builtins.html)
    - [27.4. `__main__` – Среда сценария верхнего уровня](https://python-all.ru/2.6/library/__main__.html)
    - [27.5. `warnings` – Управление предупреждениями](https://python-all.ru/2.6/library/warnings.html)

      - [27.5.1. Категории предупреждений](https://python-all.ru/2.6/library/warnings.html#warning-categories)
      - [27.5.2. Фильтр предупреждений](https://python-all.ru/2.6/library/warnings.html#the-warnings-filter)
      - [27.5.3. Временное подавление предупреждений](https://python-all.ru/2.6/library/warnings.html#temporarily-suppressing-warnings)
      - [27.5.4. Тестирование предупреждений](https://python-all.ru/2.6/library/warnings.html#testing-warnings)
      - [27.5.5. Доступные функции](https://python-all.ru/2.6/library/warnings.html#available-functions)
      - [27.5.6. Доступные менеджеры контекста](https://python-all.ru/2.6/library/warnings.html#available-context-managers)
    - [27.6. `contextlib` – Утилиты для контекстов оператора `with`](https://python-all.ru/2.6/library/contextlib.html)
    - [27.7. `abc` – Абстрактные базовые классы](https://python-all.ru/2.6/library/abc.html)
    - [27.8. `atexit` – Обработчики завершения](https://python-all.ru/2.6/library/atexit.html)

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

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

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

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

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

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

    - [29.1. `rexec` – Фреймворк ограниченного выполнения](https://python-all.ru/2.6/library/rexec.html)

      - [29.1.1. Объекты RExec](https://python-all.ru/2.6/library/rexec.html#rexec-objects)
      - [29.1.2. Определение ограниченных сред](https://python-all.ru/2.6/library/rexec.html#defining-restricted-environments)
      - [29.1.3. Пример](https://python-all.ru/2.6/library/rexec.html#an-example)
    - [29.2. `Bastion` – Ограничение доступа к объектам](https://python-all.ru/2.6/library/bastion.html)
  - [30. Импорт модулей](https://python-all.ru/2.6/library/modules.html)

    - [30.1. `imp` – Доступ к внутреннему устройству `import`](https://python-all.ru/2.6/library/imp.html)

      - [30.1.1. Примеры](https://python-all.ru/2.6/library/imp.html#examples)
    - [30.2. `imputil` – Утилиты импорта](https://python-all.ru/2.6/library/imputil.html)

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

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

      - [30.5.1. Пример использования `ModuleFinder`](https://python-all.ru/2.6/library/modulefinder.html#example-usage-of-modulefinder)
    - [30.6. `runpy` – Поиск и выполнение модулей Python](https://python-all.ru/2.6/library/runpy.html)
  - [31. Языковые средства Python](https://python-all.ru/2.6/library/language.html)

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

      - [31.1.1. Создание объектов ST](https://python-all.ru/2.6/library/parser.html#creating-st-objects)
      - [31.1.2. Преобразование объектов ST](https://python-all.ru/2.6/library/parser.html#converting-st-objects)
      - [31.1.3. Запросы к объектам ST](https://python-all.ru/2.6/library/parser.html#queries-on-st-objects)
      - [31.1.4. Исключения и обработка ошибок](https://python-all.ru/2.6/library/parser.html#exceptions-and-error-handling)
      - [31.1.5. Объекты ST](https://python-all.ru/2.6/library/parser.html#st-objects)
      - [31.1.6. Примеры](https://python-all.ru/2.6/library/parser.html#examples)

        - [31.1.6.1. Эмуляция `compile()`](https://python-all.ru/2.6/library/parser.html#emulation-of-compile)
        - [31.1.6.2. Обнаружение информации](https://python-all.ru/2.6/library/parser.html#information-discovery)
    - [31.2. Абстрактные синтаксические деревья](https://python-all.ru/2.6/library/ast.html)

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

      - [31.3.1. Генерация таблиц символов](https://python-all.ru/2.6/library/symtable.html#generating-symbol-tables)
      - [31.3.2. Изучение таблиц символов](https://python-all.ru/2.6/library/symtable.html#examining-symbol-tables)
    - [31.4. `symbol` – Константы, используемые с деревьями разбора Python](https://python-all.ru/2.6/library/symbol.html)
    - [31.5. `token` – Константы, используемые с деревьями разбора Python](https://python-all.ru/2.6/library/token.html)
    - [31.6. `keyword` – Проверка ключевых слов Python](https://python-all.ru/2.6/library/keyword.html)
    - [31.7. `tokenize` – Токенизатор исходного кода Python](https://python-all.ru/2.6/library/tokenize.html)
    - [31.8. `tabnanny` – Обнаружение неоднозначных отступов](https://python-all.ru/2.6/library/tabnanny.html)
    - [31.9. `pyclbr` – Поддержка просмотра классов Python](https://python-all.ru/2.6/library/pyclbr.html)

      - [31.9.1. Объекты классов](https://python-all.ru/2.6/library/pyclbr.html#class-objects)
      - [31.9.2. Объекты функций](https://python-all.ru/2.6/library/pyclbr.html#function-objects)
    - [31.10. `py_compile` – Компиляция исходных файлов Python](https://python-all.ru/2.6/library/py_compile.html)
    - [31.11. `compileall` – Байт-компиляция библиотек Python](https://python-all.ru/2.6/library/compileall.html)
    - [31.12. `dis` – Дизассемблер для байт-кода Python](https://python-all.ru/2.6/library/dis.html)

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

    - [32.1. Базовый интерфейс](https://python-all.ru/2.6/library/compiler.html#module-compiler)
    - [32.2. Ограничения](https://python-all.ru/2.6/library/compiler.html#limitations)
    - [32.3. Абстрактный синтаксис Python](https://python-all.ru/2.6/library/compiler.html#python-abstract-syntax)

      - [32.3.1. Узлы AST](https://python-all.ru/2.6/library/compiler.html#module-compiler.ast)
      - [32.3.2. Узлы присваивания](https://python-all.ru/2.6/library/compiler.html#assignment-nodes)
      - [32.3.3. Примеры](https://python-all.ru/2.6/library/compiler.html#examples)
    - [32.4. Использование обходчиков для обхода AST](https://python-all.ru/2.6/library/compiler.html#module-compiler.visitor)
    - [32.5. Генерация байт-кода](https://python-all.ru/2.6/library/compiler.html#bytecode-generation)
  - [33. Прочие службы](https://python-all.ru/2.6/library/misc.html)

    - [33.1. `formatter` – Общее форматирование вывода](https://python-all.ru/2.6/library/formatter.html)

      - [33.1.1. Интерфейс форматировщика](https://python-all.ru/2.6/library/formatter.html#the-formatter-interface)
      - [33.1.2. Реализации форматировщиков](https://python-all.ru/2.6/library/formatter.html#formatter-implementations)
      - [33.1.3. Интерфейс записи](https://python-all.ru/2.6/library/formatter.html#the-writer-interface)
      - [33.1.4. Реализации записывающих объектов](https://python-all.ru/2.6/library/formatter.html#writer-implementations)
  - [34. Службы для MS Windows](https://python-all.ru/2.6/library/windows.html)

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

      - [34.1.1. Объекты базы данных](https://python-all.ru/2.6/library/msilib.html#database-objects)
      - [34.1.2. Объекты представлений](https://python-all.ru/2.6/library/msilib.html#view-objects)
      - [34.1.3. Объекты сводной информации](https://python-all.ru/2.6/library/msilib.html#summary-information-objects)
      - [34.1.4. Объекты записей](https://python-all.ru/2.6/library/msilib.html#record-objects)
      - [34.1.5. Ошибки](https://python-all.ru/2.6/library/msilib.html#errors)
      - [34.1.6. Объекты CAB](https://python-all.ru/2.6/library/msilib.html#cab-objects)
      - [34.1.7. Объекты каталогов](https://python-all.ru/2.6/library/msilib.html#directory-objects)
      - [34.1.8. Возможности](https://python-all.ru/2.6/library/msilib.html#features)
      - [34.1.9. Классы GUI](https://python-all.ru/2.6/library/msilib.html#gui-classes)
      - [34.1.10. Предварительно вычисленные таблицы](https://python-all.ru/2.6/library/msilib.html#precomputed-tables)
    - [34.2. `msvcrt` – Полезные процедуры из среды выполнения MS VC++](https://python-all.ru/2.6/library/msvcrt.html)

      - [34.2.1. Операции с файлами](https://python-all.ru/2.6/library/msvcrt.html#file-operations)
      - [34.2.2. Консольный ввод/вывод](https://python-all.ru/2.6/library/msvcrt.html#console-i-o)
      - [34.2.3. Прочие функции](https://python-all.ru/2.6/library/msvcrt.html#other-functions)
    - [34.3. `_winreg` – доступ к реестру Windows](https://python-all.ru/2.6/library/_winreg.html)

      - [34.3.1. Константы](https://python-all.ru/2.6/library/_winreg.html#constants)

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

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

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

      - [35.1.1. Поддержка больших файлов](https://python-all.ru/2.6/library/posix.html#large-file-support)
      - [35.1.2. Примечательные возможности модуля](https://python-all.ru/2.6/library/posix.html#notable-module-contents)
    - [35.2. `pwd` – База данных паролей](https://python-all.ru/2.6/library/pwd.html)
    - [35.3. `spwd` – База данных теневых паролей](https://python-all.ru/2.6/library/spwd.html)
    - [35.4. `grp` – База данных групп](https://python-all.ru/2.6/library/grp.html)
    - [35.5. `crypt` – Функция проверки паролей Unix](https://python-all.ru/2.6/library/crypt.html)
    - [35.6. `dl` – вызов C-функций из разделяемых объектов](https://python-all.ru/2.6/library/dl.html)

      - [35.6.1. Объекты Dl](https://python-all.ru/2.6/library/dl.html#dl-objects)
    - [35.7. `termios` – управление tty в стиле POSIX](https://python-all.ru/2.6/library/termios.html)

      - [35.7.1. Пример](https://python-all.ru/2.6/library/termios.html#example)
    - [35.8. `tty` – функции управления терминалом](https://python-all.ru/2.6/library/tty.html)
    - [35.9. `pty` – утилиты псевдотерминалов](https://python-all.ru/2.6/library/pty.html)
    - [35.10. `fcntl` – системные вызовы `fcntl()` и `ioctl()`](https://python-all.ru/2.6/library/fcntl.html)
    - [35.11. `pipes` – интерфейс к конвейерам командной оболочки](https://python-all.ru/2.6/library/pipes.html)

      - [35.11.1. Объекты шаблонов](https://python-all.ru/2.6/library/pipes.html#template-objects)
    - [35.12. `posixfile` – файлоподобные объекты с поддержкой блокировок](https://python-all.ru/2.6/library/posixfile.html)
    - [35.13. `resource` – информация об использовании ресурсов](https://python-all.ru/2.6/library/resource.html)

      - [35.13.1. Ограничения ресурсов](https://python-all.ru/2.6/library/resource.html#resource-limits)
      - [35.13.2. Использование ресурсов](https://python-all.ru/2.6/library/resource.html#resource-usage)
    - [35.14. `nis` – интерфейс к NIS (Yellow Pages) от Sun](https://python-all.ru/2.6/library/nis.html)
    - [35.15. `syslog` – библиотечные функции syslog в Unix](https://python-all.ru/2.6/library/syslog.html)
    - [35.16. `commands` – утилиты для запуска команд](https://python-all.ru/2.6/library/commands.html)
  - [36. Специфичные для Mac OS X службы](https://python-all.ru/2.6/library/mac.html)

    - [36.1. `ic` – доступ к Internet Config в Mac OS X](https://python-all.ru/2.6/library/ic.html)

      - [36.1.1. Объекты IC](https://python-all.ru/2.6/library/ic.html#ic-objects)
    - [36.2. `MacOS` – доступ к функциям интерпретатора Mac OS](https://python-all.ru/2.6/library/macos.html)
    - [36.3. `macostools` – удобные процедуры для работы с файлами](https://python-all.ru/2.6/library/macostools.html)
    - [36.4. `findertools` – интерфейс Apple Events **Finder**](https://python-all.ru/2.6/library/macostools.html#module-findertools)
    - [36.5. `EasyDialogs` – базовые диалоги Macintosh](https://python-all.ru/2.6/library/easydialogs.html)

      - [36.5.1. Объекты ProgressBar](https://python-all.ru/2.6/library/easydialogs.html#progressbar-objects)
    - [36.6. `FrameWork` – интерактивная платформа приложений](https://python-all.ru/2.6/library/framework.html)

      - [36.6.1. Объекты Application](https://python-all.ru/2.6/library/framework.html#application-objects)
      - [36.6.2. Объекты Window](https://python-all.ru/2.6/library/framework.html#window-objects)
      - [36.6.3. Объект ControlsWindow](https://python-all.ru/2.6/library/framework.html#controlswindow-object)
      - [36.6.4. Объект ScrolledWindow](https://python-all.ru/2.6/library/framework.html#scrolledwindow-object)
      - [36.6.5. Объекты DialogWindow](https://python-all.ru/2.6/library/framework.html#dialogwindow-objects)
    - [36.7. `autoGIL` – обработка GIL в циклах событий](https://python-all.ru/2.6/library/autogil.html)
    - [36.8. Модули Toolbox Mac OS](https://python-all.ru/2.6/library/carbon.html)

      - [36.8.1. `Carbon.AE` – Apple Events](https://python-all.ru/2.6/library/carbon.html#module-Carbon.AE)
      - [36.8.2. `Carbon.AH` – Apple Help](https://python-all.ru/2.6/library/carbon.html#module-Carbon.AH)
      - [36.8.3. `Carbon.App` – Appearance Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.App)
      - [36.8.4. `Carbon.Appearance` – константы Appearance Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Appearance)
      - [36.8.5. `Carbon.CF` – Core Foundation](https://python-all.ru/2.6/library/carbon.html#module-Carbon.CF)
      - [36.8.6. `Carbon.CG` – Core Graphics](https://python-all.ru/2.6/library/carbon.html#module-Carbon.CG)
      - [36.8.7. `Carbon.CarbonEvt` – Carbon Event Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.CarbonEvt)
      - [36.8.8. `Carbon.CarbonEvents` – константы Carbon Event Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.CarbonEvents)
      - [36.8.9. `Carbon.Cm` – Component Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Cm)
      - [36.8.10. `Carbon.Components` – константы Component Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Components)
      - [36.8.11. `Carbon.ControlAccessor` – аксессоры Control Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.ControlAccessor)
      - [36.8.12. `Carbon.Controls` – константы Control Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Controls)
      - [36.8.13. `Carbon.CoreFounation` – константы CoreFoundation](https://python-all.ru/2.6/library/carbon.html#module-Carbon.CoreFounation)
      - [36.8.14. `Carbon.CoreGraphics` – константы CoreGraphics](https://python-all.ru/2.6/library/carbon.html#module-Carbon.CoreGraphics)
      - [36.8.15. `Carbon.Ctl` – Control Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Ctl)
      - [36.8.16. `Carbon.Dialogs` – константы Dialog Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Dialogs)
      - [36.8.17. `Carbon.Dlg` – Dialog Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Dlg)
      - [36.8.18. `Carbon.Drag` – Drag and Drop Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Drag)
      - [36.8.19. `Carbon.Dragconst` – константы Drag and Drop Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Dragconst)
      - [36.8.20. `Carbon.Events` – константы Event Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Events)
      - [36.8.21. `Carbon.Evt` – Event Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Evt)
      - [36.8.22. `Carbon.File` – File Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.File)
      - [36.8.23. `Carbon.Files` – константы File Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Files)
      - [36.8.24. `Carbon.Fm` – Font Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Fm)
      - [36.8.25. `Carbon.Folder` – Folder Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Folder)
      - [36.8.26. `Carbon.Folders` – константы Folder Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Folders)
      - [36.8.27. `Carbon.Fonts` – константы Font Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Fonts)
      - [36.8.28. `Carbon.Help` – Help Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Help)
      - [36.8.29. `Carbon.IBCarbon` – Carbon InterfaceBuilder](https://python-all.ru/2.6/library/carbon.html#module-Carbon.IBCarbon)
      - [36.8.30. `Carbon.IBCarbonRuntime` – константы Carbon InterfaceBuilder](https://python-all.ru/2.6/library/carbon.html#module-Carbon.IBCarbonRuntime)
      - [36.8.31. `Carbon.Icn` – Carbon Icon Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Icns)
      - [36.8.32. `Carbon.Icons` – константы Carbon Icon Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Icons)
      - [36.8.33. `Carbon.Launch` – Carbon Launch Services](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Launch)
      - [36.8.34. `Carbon.LaunchServices` – константы Carbon Launch Services](https://python-all.ru/2.6/library/carbon.html#module-Carbon.LaunchServices)
      - [36.8.35. `Carbon.List` – List Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.List)
      - [36.8.36. `Carbon.Lists` – константы List Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Lists)
      - [36.8.37. `Carbon.MacHelp` – константы Help Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.MacHelp)
      - [36.8.38. `Carbon.MediaDescr` – Парсеры и генераторы дескрипторов Quicktime Media](https://python-all.ru/2.6/library/carbon.html#module-Carbon.MediaDescr)
      - [36.8.39. `Carbon.Menu` – Menu Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Menu)
      - [36.8.40. `Carbon.Menus` – константы Menu Manager](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Menus)
      - [36.8.41. `Carbon.Mlte` – Многоязычный текстовый редактор](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Mlte)
      - [36.8.42. `Carbon.OSA` – Carbon OSA Interface](https://python-all.ru/2.6/library/carbon.html#module-Carbon.OSA)
      - [36.8.43. `Carbon.OSAconst` – константы Carbon OSA Interface](https://python-all.ru/2.6/library/carbon.html#module-Carbon.OSAconst)
      - [36.8.44. `Carbon.QDOffscreen` – константы QuickDraw Offscreen](https://python-all.ru/2.6/library/carbon.html#module-Carbon.QDOffscreen)
      - [36.8.45. `Carbon.Qd` – QuickDraw](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Qd)
      - [36.8.46. `Carbon.Qdoffs` – QuickDraw Offscreen](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Qdoffs)
      - [36.8.47. `Carbon.Qt` – QuickTime](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Qt)
      - [36.8.48. `Carbon.QuickDraw` – константы QuickDraw](https://python-all.ru/2.6/library/carbon.html#module-Carbon.QuickDraw)
      - [36.8.49. `Carbon.QuickTime` – константы QuickTime](https://python-all.ru/2.6/library/carbon.html#module-Carbon.QuickTime)
      - [36.8.50. `Carbon.Res` – Resource Manager и Handles](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Res)
      - [36.8.51. `Carbon.Resources` – константы Resource Manager и Handles](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Resources)
      - [36.8.52. `Carbon.Scrap` – Менеджер фрагментов](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Scrap)
      - [36.8.53. `Carbon.Snd` – Менеджер звука](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Snd)
      - [36.8.54. `Carbon.Sound` – Константы менеджера звука](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Sound)
      - [36.8.55. `Carbon.TE` – TextEdit](https://python-all.ru/2.6/library/carbon.html#module-Carbon.TE)
      - [36.8.56. `Carbon.TextEdit` – Константы TextEdit](https://python-all.ru/2.6/library/carbon.html#module-Carbon.TextEdit)
      - [36.8.57. `Carbon.Win` – Менеджер окон](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Win)
      - [36.8.58. `Carbon.Windows` – Константы менеджера окон](https://python-all.ru/2.6/library/carbon.html#module-Carbon.Windows)
    - [36.9. `ColorPicker` – Диалог выбора цвета](https://python-all.ru/2.6/library/colorpicker.html)
  - [37. Модули MacPython OSA](https://python-all.ru/2.6/library/macosa.html)

    - [37.1. `gensuitemodule` – Генерация пакетов-заглушек OSA](https://python-all.ru/2.6/library/gensuitemodule.html)
    - [37.2. `aetools` – Поддержка клиента OSA](https://python-all.ru/2.6/library/aetools.html)
    - [37.3. `aepack` – Преобразование между переменными Python и контейнерами данных AppleEvent](https://python-all.ru/2.6/library/aepack.html)
    - [37.4. `aetypes` – Объекты AppleEvent](https://python-all.ru/2.6/library/aetypes.html)
    - [37.5. `MiniAEFrame` – Поддержка сервера Open Scripting Architecture](https://python-all.ru/2.6/library/miniaeframe.html)

      - [37.5.1. Объекты AEServer](https://python-all.ru/2.6/library/miniaeframe.html#aeserver-objects)
  - [38. Специфические службы SGI IRIX](https://python-all.ru/2.6/library/sgi.html)

    - [38.1. `al` – Аудиофункции на SGI](https://python-all.ru/2.6/library/al.html)

      - [38.1.1. Объекты конфигурации](https://python-all.ru/2.6/library/al.html#configuration-objects)
      - [38.1.2. Объекты портов](https://python-all.ru/2.6/library/al.html#port-objects)
    - [38.2. `AL` – Константы, используемые с модулем `al`](https://python-all.ru/2.6/library/al.html#module-AL)
    - [38.3. `cd` – Доступ к CD-ROM на системах SGI](https://python-all.ru/2.6/library/cd.html)

      - [38.3.1. Объекты проигрывателя](https://python-all.ru/2.6/library/cd.html#player-objects)
      - [38.3.2. Объекты синтаксического анализатора](https://python-all.ru/2.6/library/cd.html#parser-objects)
    - [38.4. `fl` – Библиотека FORMS для графических пользовательских интерфейсов](https://python-all.ru/2.6/library/fl.html)

      - [38.4.1. Функции, определённые в модуле `fl`](https://python-all.ru/2.6/library/fl.html#functions-defined-in-module-fl)
      - [38.4.2. Объекты форм](https://python-all.ru/2.6/library/fl.html#form-objects)
      - [38.4.3. Объекты FORMS](https://python-all.ru/2.6/library/fl.html#forms-objects)
    - [38.5. `FL` – Константы, используемые с модулем `fl`](https://python-all.ru/2.6/library/fl.html#module-FL)
    - [38.6. `flp` – Функции для загрузки сохранённых форм FORMS](https://python-all.ru/2.6/library/fl.html#module-flp)
    - [38.7. `fm` – Интерфейс *менеджера шрифтов*](https://python-all.ru/2.6/library/fm.html)
    - [38.8. `gl` – Интерфейс *графической библиотеки*](https://python-all.ru/2.6/library/gl.html)
    - [38.9. `DEVICE` – Константы, используемые с модулем `gl`](https://python-all.ru/2.6/library/gl.html#module-DEVICE)
    - [38.10. `GL` – Константы, используемые с модулем `gl`](https://python-all.ru/2.6/library/gl.html#module-GL)
    - [38.11. `imgfile` – Поддержка файлов SGI imglib](https://python-all.ru/2.6/library/imgfile.html)
    - [38.12. `jpeg` – Чтение и запись файлов JPEG](https://python-all.ru/2.6/library/jpeg.html)
  - [39. Службы SunOS](https://python-all.ru/2.6/library/sun.html)

    - [39.1. `sunaudiodev` – Доступ к аудиооборудованию Sun](https://python-all.ru/2.6/library/sunaudio.html)

      - [39.1.1. Объекты аудиоустройств](https://python-all.ru/2.6/library/sunaudio.html#audio-device-objects)
    - [39.2. `SUNAUDIODEV` – Константы, используемые с `sunaudiodev`](https://python-all.ru/2.6/library/sunaudio.html#module-SUNAUDIODEV)
  - [40. Недокументированные модули](https://python-all.ru/2.6/library/undoc.html)

    - [40.1. Разные полезные утилиты](https://python-all.ru/2.6/library/undoc.html#miscellaneous-useful-utilities)
    - [40.2. Платформозависимые модули](https://python-all.ru/2.6/library/undoc.html#platform-specific-modules)
    - [40.3. Мультимедиа](https://python-all.ru/2.6/library/undoc.html#multimedia)
    - [40.4. Недокументированные модули Mac OS](https://python-all.ru/2.6/library/undoc.html#undocumented-mac-os-modules)

      - [40.4.1. `applesingle` – Декодер AppleSingle](https://python-all.ru/2.6/library/undoc.html#module-applesingle)
      - [40.4.2. `buildtools` – Вспомогательный модуль для BuildApplet и Friends](https://python-all.ru/2.6/library/undoc.html#module-buildtools)
      - [40.4.3. `cfmfile` – Модуль ресурсов фрагментов кода](https://python-all.ru/2.6/library/undoc.html#module-cfmfile)
      - [40.4.4. `icopen` – Замена Internet Config для `open()`](https://python-all.ru/2.6/library/undoc.html#module-icopen)
      - [40.4.5. `macerrors` – Ошибки Mac OS](https://python-all.ru/2.6/library/undoc.html#module-macerrors)
      - [40.4.6. `macresource` – Поиск ресурсов скриптов](https://python-all.ru/2.6/library/undoc.html#module-macresource)
      - [40.4.7. `Nav` – Вызовы NavServices](https://python-all.ru/2.6/library/undoc.html#module-Nav)
      - [40.4.8. `PixMapWrapper` – Обёртка для объектов PixMap](https://python-all.ru/2.6/library/undoc.html#module-PixMapWrapper)
      - [40.4.9. `videoreader` – Чтение фильмов QuickTime](https://python-all.ru/2.6/library/undoc.html#module-videoreader)
      - [40.4.10. `W` – Виджеты, построенные на `FrameWork`](https://python-all.ru/2.6/library/undoc.html#module-W)
    - [40.5. Устаревшее](https://python-all.ru/2.6/library/undoc.html#obsolete)
    - [40.6. Модули расширения для SGI](https://python-all.ru/2.6/library/undoc.html#sgi-specific-extension-modules)
- [Расширение и встраивание интерпретатора Python](https://python-all.ru/2.6/extending/index.html)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    - [Управление рекурсией](https://python-all.ru/2.6/c-api/exceptions.html#recursion-control)
    - [Стандартные исключения](https://python-all.ru/2.6/c-api/exceptions.html#standard-exceptions)
    - [Устаревание строковых исключений](https://python-all.ru/2.6/c-api/exceptions.html#deprecation-of-string-exceptions)
  - [Утилиты](https://python-all.ru/2.6/c-api/utilities.html)

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

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

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

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

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

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

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

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

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

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

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

        - [Структура Py\_buffer нового стиля](https://python-all.ru/2.6/c-api/buffer.html#the-new-style-py-buffer-struct)
        - [Функции для работы с буферами](https://python-all.ru/2.6/c-api/buffer.html#buffer-related-functions)
        - [Буферные объекты старого стиля](https://python-all.ru/2.6/c-api/buffer.html#old-style-buffer-objects)
      - [Кортежи](https://python-all.ru/2.6/c-api/tuple.html)
      - [Списки](https://python-all.ru/2.6/c-api/list.html)
    - [Объекты-отображения](https://python-all.ru/2.6/c-api/concrete.html#mapping-objects)

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

      - [Объекты классов и экземпляров](https://python-all.ru/2.6/c-api/class.html)
      - [Объекты функций](https://python-all.ru/2.6/c-api/function.html)
      - [Объекты методов](https://python-all.ru/2.6/c-api/method.html)
      - [Объекты файлов](https://python-all.ru/2.6/c-api/file.html)
      - [Объекты модулей](https://python-all.ru/2.6/c-api/module.html)
      - [Объекты итераторов](https://python-all.ru/2.6/c-api/iterator.html)
      - [Объекты дескрипторов](https://python-all.ru/2.6/c-api/descriptor.html)
      - [Объекты срезов](https://python-all.ru/2.6/c-api/slice.html)
      - [Объекты слабых ссылок](https://python-all.ru/2.6/c-api/weakref.html)
      - [CObjects](https://python-all.ru/2.6/c-api/cobject.html)
      - [Объекты ячеек](https://python-all.ru/2.6/c-api/cell.html)
      - [Объекты-генераторы](https://python-all.ru/2.6/c-api/gen.html)
      - [Объекты datetime](https://python-all.ru/2.6/c-api/datetime.html)
      - [Множества](https://python-all.ru/2.6/c-api/set.html)
  - [Инициализация, финализация и потоки](https://python-all.ru/2.6/c-api/init.html)

    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/2.6/c-api/init.html#thread-state-and-the-global-interpreter-lock)
    - [Профилирование и трассировка](https://python-all.ru/2.6/c-api/init.html#profiling-and-tracing)
    - [Расширенная поддержка отладчика](https://python-all.ru/2.6/c-api/init.html#advanced-debugger-support)
  - [Управление памятью](https://python-all.ru/2.6/c-api/memory.html)

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

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

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

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

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

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

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

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

      - [5.4.1. Постинсталляционный скрипт](https://python-all.ru/2.6/distutils/builtdist.html#the-postinstallation-script)
    - [5.5. Контроль учётных записей (UAC) в Windows Vista](https://python-all.ru/2.6/distutils/builtdist.html#vista-user-access-control-uac)
  - [6. Регистрация в индексе пакетов](https://python-all.ru/2.6/distutils/packageindex.html)

    - [6.1. Файл .pypirc](https://python-all.ru/2.6/distutils/packageindex.html#the-pypirc-file)
  - [7. Загрузка пакетов в индекс пакетов](https://python-all.ru/2.6/distutils/uploading.html)
  - [8. Примеры](https://python-all.ru/2.6/distutils/examples.html)

    - [8.1. Чисто Python-дистрибутив (по модулям)](https://python-all.ru/2.6/distutils/examples.html#pure-python-distribution-by-module)
    - [8.2. Чисто Python-дистрибутив (по пакетам)](https://python-all.ru/2.6/distutils/examples.html#pure-python-distribution-by-package)
    - [8.3. Один модуль расширения](https://python-all.ru/2.6/distutils/examples.html#single-extension-module)
  - [9. Расширение Distutils](https://python-all.ru/2.6/distutils/extending.html)

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

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

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

    - [11.1. `distutils.core` – Основные возможности Distutils](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.core)
    - [11.2. `distutils.ccompiler` – Базовый класс CCompiler](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.ccompiler)
    - [11.3. `distutils.unixccompiler` – Компилятор C для Unix](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.unixccompiler)
    - [11.4. `distutils.msvccompiler` – Компилятор Microsoft](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.msvccompiler)
    - [11.5. `distutils.bcppcompiler` – Компилятор Borland](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.bcppcompiler)
    - [11.6. `distutils.cygwincompiler` – Компилятор Cygwin](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.cygwinccompiler)
    - [11.7. `distutils.emxccompiler` – Компилятор OS/2 EMX](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.emxccompiler)
    - [11.8. `distutils.mwerkscompiler` – Поддержка Metrowerks CodeWarrior](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.mwerkscompiler)
    - [11.9. `distutils.archive_util` – Утилиты архивирования](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.archive_util)
    - [11.10. `distutils.dep_util` – Проверка зависимостей](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.dep_util)
    - [11.11. `distutils.dir_util` – Операции с деревом каталогов](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.dir_util)
    - [11.12. `distutils.file_util` – Операции с отдельными файлами](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.file_util)
    - [11.13. `distutils.util` – Прочие вспомогательные функции](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.util)
    - [11.14. `distutils.dist` – Класс Distribution](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.dist)
    - [11.15. `distutils.extension` – Класс Extension](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.extension)
    - [11.16. `distutils.debug` – Режим отладки Distutils](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.debug)
    - [11.17. `distutils.errors` – Исключения Distutils](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.errors)
    - [11.18. `distutils.fancy_getopt` – Обёртка вокруг стандартного модуля getopt](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.fancy_getopt)
    - [11.19. `distutils.filelist` – Класс FileList](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.filelist)
    - [11.20. `distutils.log` – Простое логирование в стиле PEP 282](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.log)
    - [11.21. `distutils.spawn` – Запуск подпроцесса](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.spawn)
    - [11.22. `distutils.sysconfig` – Информация о системной конфигурации](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.sysconfig)
    - [11.23. `distutils.text_file` – Класс TextFile](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.text_file)
    - [11.24. `distutils.version` – Классы номеров версий](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.version)
    - [11.25. `distutils.cmd` – Абстрактный базовый класс для команд Distutils](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.cmd)
    - [11.26. `distutils.command` – Отдельные команды Distutils](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command)
    - [11.27. `distutils.command.bdist` – Сборка бинарного установщика](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.bdist)
    - [11.28. `distutils.command.bdist_packager` – Абстрактный базовый класс для упаковщиков](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.bdist_packager)
    - [11.29. `distutils.command.bdist_dumb` – Сборка «dumb»-установщика](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.bdist_dumb)
    - [11.30. `distutils.command.bdist_msi` – Сборка бинарного пакета Microsoft Installer](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.bdist_msi)
    - [11.31. `distutils.command.bdist_rpm` – Сборка бинарного дистрибутива в виде RPM и SRPM для Red Hat](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.bdist_rpm)
    - [11.32. `distutils.command.bdist_wininst` – Сборка установщика для Windows](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.bdist_wininst)
    - [11.33. `distutils.command.sdist` – Сборка дистрибутива исходного кода](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.sdist)
    - [11.34. `distutils.command.build` – Сборка всех файлов пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.build)
    - [11.35. `distutils.command.build_clib` – Сборка любых библиотек C в пакете](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.build_clib)
    - [11.36. `distutils.command.build_ext` – Сборка любых расширений в пакете](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.build_ext)
    - [11.37. `distutils.command.build_py` – Сборка .py/.pyc файлов пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.build_py)
    - [11.38. `distutils.command.build_scripts` – Сборка скриптов пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.build_scripts)
    - [11.39. `distutils.command.clean` – Очистка области сборки пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.clean)
    - [11.40. `distutils.command.config` – Выполнение конфигурации пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.config)
    - [11.41. `distutils.command.install` – Установка пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.install)
    - [11.42. `distutils.command.install_data` – Установка файлов данных из пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.install_data)
    - [11.43. `distutils.command.install_headers` – Установка заголовочных файлов C/C++ из пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.install_headers)
    - [11.44. `distutils.command.install_lib` – Установка файлов библиотек из пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.install_lib)
    - [11.45. `distutils.command.install_scripts` – Установка файлов скриптов из пакета](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.install_scripts)
    - [11.46. `distutils.command.register` – Регистрация модуля в Python Package Index](https://python-all.ru/2.6/distutils/apiref.html#module-distutils.command.register)
    - [11.47. Создание новой команды Distutils](https://python-all.ru/2.6/distutils/apiref.html#creating-a-new-distutils-command)
- [Установка модулей Python](https://python-all.ru/2.6/install/index.html)

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

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

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

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

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

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

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

      - [Borland/CodeGear C++](https://python-all.ru/2.6/install/index.html#borland-codegear-c)
      - [GNU C / Cygwin / MinGW](https://python-all.ru/2.6/install/index.html#gnu-c-cygwin-mingw)
- [Документирование Python](https://python-all.ru/2.6/documenting/index.html)

  - [1. Введение](https://python-all.ru/2.6/documenting/intro.html)
  - [2. Руководство по стилю](https://python-all.ru/2.6/documenting/style.html)
  - [3. Введение в reStructuredText](https://python-all.ru/2.6/documenting/rest.html)

    - [3.1. Абзацы](https://python-all.ru/2.6/documenting/rest.html#paragraphs)
    - [3.2. Встроенная разметка](https://python-all.ru/2.6/documenting/rest.html#inline-markup)
    - [3.3. Списки и цитаты](https://python-all.ru/2.6/documenting/rest.html#lists-and-quotes)
    - [3.4. Исходный код](https://python-all.ru/2.6/documenting/rest.html#source-code)
    - [3.5. Гиперссылки](https://python-all.ru/2.6/documenting/rest.html#hyperlinks)

      - [3.5.1. Внешние ссылки](https://python-all.ru/2.6/documenting/rest.html#external-links)
      - [3.5.2. Внутренние ссылки](https://python-all.ru/2.6/documenting/rest.html#internal-links)
    - [3.6. Разделы](https://python-all.ru/2.6/documenting/rest.html#sections)
    - [3.7. Явная разметка](https://python-all.ru/2.6/documenting/rest.html#explicit-markup)
    - [3.8. Директивы](https://python-all.ru/2.6/documenting/rest.html#directives)
    - [3.9. Сноски](https://python-all.ru/2.6/documenting/rest.html#footnotes)
    - [3.10. Комментарии](https://python-all.ru/2.6/documenting/rest.html#comments)
    - [3.11. Кодировка исходного текста](https://python-all.ru/2.6/documenting/rest.html#source-encoding)
    - [3.12. Подводные камни](https://python-all.ru/2.6/documenting/rest.html#gotchas)
  - [4. Дополнительные конструкции разметки](https://python-all.ru/2.6/documenting/markup.html)

    - [4.1. Разметка мета-информации](https://python-all.ru/2.6/documenting/markup.html#meta-information-markup)
    - [4.2. Разметка для модулей](https://python-all.ru/2.6/documenting/markup.html#module-specific-markup)
    - [4.3. Информационные единицы](https://python-all.ru/2.6/documenting/markup.html#information-units)
    - [4.4. Примеры кода](https://python-all.ru/2.6/documenting/markup.html#showing-code-examples)
    - [4.5. Встроенная разметка](https://python-all.ru/2.6/documenting/markup.html#inline-markup)
    - [4.6. Разметка перекрёстных ссылок](https://python-all.ru/2.6/documenting/markup.html#cross-linking-markup)
    - [4.7. Разметка на уровне абзаца](https://python-all.ru/2.6/documenting/markup.html#paragraph-level-markup)
    - [4.8. Разметка оглавления](https://python-all.ru/2.6/documenting/markup.html#table-of-contents-markup)
    - [4.9. Разметка для генерации указателя](https://python-all.ru/2.6/documenting/markup.html#index-generating-markup)
    - [4.10. Отображение грамматических правил](https://python-all.ru/2.6/documenting/markup.html#grammar-production-displays)
    - [4.11. Подстановки](https://python-all.ru/2.6/documenting/markup.html#substitutions)
  - [5. Отличия от разметки LaTeX](https://python-all.ru/2.6/documenting/fromlatex.html)

    - [5.1. Встроенная разметка](https://python-all.ru/2.6/documenting/fromlatex.html#inline-markup)
    - [5.2. Информационные единицы](https://python-all.ru/2.6/documenting/fromlatex.html#information-units)
    - [5.3. Структура](https://python-all.ru/2.6/documenting/fromlatex.html#structure)
  - [6. Сборка документации](https://python-all.ru/2.6/documenting/building.html)

    - [6.1. Использование make](https://python-all.ru/2.6/documenting/building.html#using-make)
    - [6.2. Без make](https://python-all.ru/2.6/documenting/building.html#without-make)
- [Руководства Python HOWTO](https://python-all.ru/2.6/howto/index.html)

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

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

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

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

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

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

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

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

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

    - [Конструкции языка, которые не следует использовать](https://python-all.ru/2.6/howto/doanddont.html#language-constructs-you-should-not-use)

      - [from module import \*](https://python-all.ru/2.6/howto/doanddont.html#from-module-import)

        - [Внутри определений функций](https://python-all.ru/2.6/howto/doanddont.html#inside-function-definitions)
        - [На уровне модуля](https://python-all.ru/2.6/howto/doanddont.html#at-module-level)
        - [Когда это нормально](https://python-all.ru/2.6/howto/doanddont.html#when-it-is-just-fine)
      - [Без украшений `exec`, `execfile()` и другие](https://python-all.ru/2.6/howto/doanddont.html#unadorned-exec-execfile-and-friends)
      - [from module import name1, name2](https://python-all.ru/2.6/howto/doanddont.html#from-module-import-name1-name2)
      - [except:](https://python-all.ru/2.6/howto/doanddont.html#except)
    - [Исключения](https://python-all.ru/2.6/howto/doanddont.html#exceptions)
    - [Использование батареек](https://python-all.ru/2.6/howto/doanddont.html#using-the-batteries)
    - [Использование обратной косой черты для продолжения инструкций](https://python-all.ru/2.6/howto/doanddont.html#using-backslash-to-continue-statements)
  - [HOWTO по функциональному программированию](https://python-all.ru/2.6/howto/functional.html)

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

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

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

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

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

      - [Модуль operator](https://python-all.ru/2.6/howto/functional.html#the-operator-module)
      - [Модуль functional](https://python-all.ru/2.6/howto/functional.html#the-functional-module)
    - [История изменений и благодарности](https://python-all.ru/2.6/howto/functional.html#revision-history-and-acknowledgements)
    - [Ссылки](https://python-all.ru/2.6/howto/functional.html#references)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      - [Имена файлов в Unicode](https://python-all.ru/2.6/howto/unicode.html#unicode-filenames)
      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/2.6/howto/unicode.html#tips-for-writing-unicode-aware-programs)
      - [Ссылки](https://python-all.ru/2.6/howto/unicode.html#id2)
    - [История изменений и благодарности](https://python-all.ru/2.6/howto/unicode.html#revision-history-and-acknowledgements)
  - [Руководство по получению интернет-ресурсов с помощью urllib2](https://python-all.ru/2.6/howto/urllib2.html)

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

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

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

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

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

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

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

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

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

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

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

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

        - [Django](https://python-all.ru/2.6/howto/webservers.html#django)
        - [TurboGears](https://python-all.ru/2.6/howto/webservers.html#turbogears)
        - [Zope](https://python-all.ru/2.6/howto/webservers.html#zope)
        - [Другие известные фреймворки](https://python-all.ru/2.6/howto/webservers.html#other-notable-frameworks)
- [Часто задаваемые вопросы по Python](https://python-all.ru/2.6/faq/index.html)

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

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

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

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

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

    - [Можно ли создавать собственные функции на C?](https://python-all.ru/2.6/faq/extending.html#can-i-create-my-own-functions-in-c)
    - [Можно ли создавать собственные функции на C++?](https://python-all.ru/2.6/faq/extending.html#id1)
    - [Писать на C сложно; есть ли альтернативы?](https://python-all.ru/2.6/faq/extending.html#writing-c-is-hard-are-there-any-alternatives)
    - [Как выполнить произвольные инструкции Python из C?](https://python-all.ru/2.6/faq/extending.html#how-can-i-execute-arbitrary-python-statements-from-c)
    - [Как вычислить произвольное выражение Python из C?](https://python-all.ru/2.6/faq/extending.html#how-can-i-evaluate-an-arbitrary-python-expression-from-c)
    - [Как извлечь значения C из объекта Python?](https://python-all.ru/2.6/faq/extending.html#how-do-i-extract-c-values-from-a-python-object)
    - [Как использовать Py\_BuildValue() для создания кортежа произвольной длины?](https://python-all.ru/2.6/faq/extending.html#how-do-i-use-py-buildvalue-to-create-a-tuple-of-arbitrary-length)
    - [Как вызвать метод объекта из C?](https://python-all.ru/2.6/faq/extending.html#how-do-i-call-an-object-s-method-from-c)
    - [Как перехватить вывод PyErr\_Print() (или любого другого вывода в stdout/stderr)?](https://python-all.ru/2.6/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/2.6/faq/extending.html#how-do-i-access-a-module-written-in-python-from-c)
    - [Как организовать взаимодействие с объектами C++ из Python?](https://python-all.ru/2.6/faq/extending.html#how-do-i-interface-to-c-objects-from-python)
    - [Почему make завершается ошибкой после добавления модуля через файл Setup?](https://python-all.ru/2.6/faq/extending.html#i-added-a-module-using-the-setup-file-and-the-make-fails-why)
    - [Как отлаживать расширение?](https://python-all.ru/2.6/faq/extending.html#how-do-i-debug-an-extension)
    - [Почему при компиляции модуля Python в Linux отсутствуют некоторые файлы?](https://python-all.ru/2.6/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/2.6/faq/extending.html#what-does-systemerror-pyimport-fixupextension-module-yourmodule-not-loaded-mean)
    - [Как отличить «неполный ввод» от «неверного ввода»?](https://python-all.ru/2.6/faq/extending.html#how-do-i-tell-incomplete-input-from-invalid-input)
    - [Как найти неопределённые символы g++ \_\_builtin\_new или \_\_pure\_virtual?](https://python-all.ru/2.6/faq/extending.html#how-do-i-find-undefined-g-symbols-builtin-new-or-pure-virtual)
    - [Можно ли создать класс объекта, в котором часть методов реализована на C, а часть – на Python (например, через наследование)?](https://python-all.ru/2.6/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/2.6/faq/extending.html#when-importing-module-x-why-do-i-get-undefined-symbol-pyunicodeucs2)
  - [FAQ по Python в Windows](https://python-all.ru/2.6/faq/windows.html)

    - [Как запустить программу Python в Windows?](https://python-all.ru/2.6/faq/windows.html#how-do-i-run-a-python-program-under-windows)
    - [Как сделать скрипты Python исполняемыми?](https://python-all.ru/2.6/faq/windows.html#how-do-i-make-python-scripts-executable)
    - [Почему Python иногда так долго запускается?](https://python-all.ru/2.6/faq/windows.html#why-does-python-sometimes-take-so-long-to-start)
    - [Где найти Freeze для Windows?](https://python-all.ru/2.6/faq/windows.html#where-is-freeze-for-windows)
    - [Является ли файл `*.pyd` тем же самым, что и DLL?](https://python-all.ru/2.6/faq/windows.html#is-a-pyd-file-the-same-as-a-dll)
    - [Как встроить Python в приложение Windows?](https://python-all.ru/2.6/faq/windows.html#how-can-i-embed-python-into-a-windows-application)
    - [Как использовать Python для CGI?](https://python-all.ru/2.6/faq/windows.html#how-do-i-use-python-for-cgi)
    - [Как запретить редакторам вставлять табуляцию в исходный код Python?](https://python-all.ru/2.6/faq/windows.html#how-do-i-keep-editors-from-inserting-tabs-into-my-python-source)
    - [Как проверить нажатие клавиши без блокировки?](https://python-all.ru/2.6/faq/windows.html#how-do-i-check-for-a-keypress-without-blocking)
    - [Как эмулировать os.kill() в Windows?](https://python-all.ru/2.6/faq/windows.html#how-do-i-emulate-os-kill-in-windows)
    - [Почему os.path.isdir() не работает с общими каталогами NT?](https://python-all.ru/2.6/faq/windows.html#why-does-os-path-isdir-fail-on-nt-shared-directories)
    - [cgi.py (или другие CGI-программы) иногда не работают на NT или win95!](https://python-all.ru/2.6/faq/windows.html#cgi-py-or-other-cgi-programming-doesn-t-work-sometimes-on-nt-or-win95)
    - [Почему os.popen() не работает в PythonWin на NT?](https://python-all.ru/2.6/faq/windows.html#why-doesn-t-os-popen-work-in-pythonwin-on-nt)
    - [Почему os.popen()/win32pipe.popen() не работают на Win9x?](https://python-all.ru/2.6/faq/windows.html#why-doesn-t-os-popen-win32pipe-popen-work-on-win9x)
    - [PyRun\_SimpleFile() падает на Windows, но не на Unix; почему?](https://python-all.ru/2.6/faq/windows.html#pyrun-simplefile-crashes-on-windows-but-not-on-unix-why)
    - [Импорт \_tkinter не удаётся на Windows 95/98: почему?](https://python-all.ru/2.6/faq/windows.html#importing-tkinter-fails-on-windows-95-98-why)
    - [Как извлечь загруженную документацию в Windows?](https://python-all.ru/2.6/faq/windows.html#how-do-i-extract-the-downloaded-documentation-on-windows)
    - [Отсутствует cw3215mt.dll (или cw3215.dll)](https://python-all.ru/2.6/faq/windows.html#missing-cw3215mt-dll-or-missing-cw3215-dll)
    - [Предупреждение о версии CTL3D32 от установщика](https://python-all.ru/2.6/faq/windows.html#warning-about-ctl3d32-version-from-installer)
  - [Часто задаваемые вопросы о графическом интерфейсе пользователя](https://python-all.ru/2.6/faq/gui.html)

    - [Общие вопросы по GUI](https://python-all.ru/2.6/faq/gui.html#general-gui-questions)
    - [Вопросы по Tkinter](https://python-all.ru/2.6/faq/gui.html#tkinter-questions)
  - [FAQ «Почему Python установлен на моём компьютере?»](https://python-all.ru/2.6/faq/installed.html)

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

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

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

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

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