Документация Python неофициальный перевод

contents.md

2368 строк · 229.0 КБ · обычная страница · сырой текст · скачать

1> **Источник:** https://python-all.ru/3.0/contents.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Содержание документации Python89- [Что нового в Python](https://python-all.ru/3.0/whatsnew/index.html)1011  - [Что нового в Python 3.0](https://python-all.ru/3.0/whatsnew/3.0.html)1213    - [Типичные трудности](https://python-all.ru/3.0/whatsnew/3.0.html#common-stumbling-blocks)1415      - [Print – это функция](https://python-all.ru/3.0/whatsnew/3.0.html#print-is-a-function)16      - [Представления и итераторы вместо списков](https://python-all.ru/3.0/whatsnew/3.0.html#views-and-iterators-instead-of-lists)17      - [Сравнение на упорядочивание](https://python-all.ru/3.0/whatsnew/3.0.html#ordering-comparisons)18      - [Целые числа](https://python-all.ru/3.0/whatsnew/3.0.html#integers)19      - [Текст против данных: вместо Unicode и 8-битных строк](https://python-all.ru/3.0/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit)20    - [Обзор изменений синтаксиса](https://python-all.ru/3.0/whatsnew/3.0.html#overview-of-syntax-changes)2122      - [Новый синтаксис](https://python-all.ru/3.0/whatsnew/3.0.html#new-syntax)23      - [Изменённый синтаксис](https://python-all.ru/3.0/whatsnew/3.0.html#changed-syntax)24      - [Удалённый синтаксис](https://python-all.ru/3.0/whatsnew/3.0.html#removed-syntax)25    - [Изменения, уже присутствовавшие в Python 2.6](https://python-all.ru/3.0/whatsnew/3.0.html#changes-already-present-in-python-2-6)26    - [Изменения в библиотеке](https://python-all.ru/3.0/whatsnew/3.0.html#library-changes)27    - [**PEP 3101**: Новый подход к форматированию строк](https://python-all.ru/3.0/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting)28    - [Изменения в исключениях](https://python-all.ru/3.0/whatsnew/3.0.html#changes-to-exceptions)29    - [Прочие изменения](https://python-all.ru/3.0/whatsnew/3.0.html#miscellaneous-other-changes)3031      - [Операторы и специальные методы](https://python-all.ru/3.0/whatsnew/3.0.html#operators-and-special-methods)32      - [Встроенные функции](https://python-all.ru/3.0/whatsnew/3.0.html#builtins)33    - [Изменения в сборке и C API](https://python-all.ru/3.0/whatsnew/3.0.html#build-and-c-api-changes)34    - [Производительность](https://python-all.ru/3.0/whatsnew/3.0.html#performance)35    - [Переход на Python 3.0](https://python-all.ru/3.0/whatsnew/3.0.html#porting-to-python-3-0)36  - [Что нового в Python 2.7](https://python-all.ru/3.0/whatsnew/2.7.html)3738    - [Прочие изменения языка](https://python-all.ru/3.0/whatsnew/2.7.html#other-language-changes)3940      - [Оптимизации](https://python-all.ru/3.0/whatsnew/2.7.html#optimizations)41    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.0/whatsnew/2.7.html#new-improved-and-deprecated-modules)4243      - [ttk: Тематические виджеты для Tk](https://python-all.ru/3.0/whatsnew/2.7.html#ttk-themed-widgets-for-tk)44    - [Изменения в сборке и C API](https://python-all.ru/3.0/whatsnew/2.7.html#build-and-c-api-changes)4546      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.0/whatsnew/2.7.html#port-specific-changes-windows)47      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.0/whatsnew/2.7.html#port-specific-changes-mac-os-x)48    - [Переход на Python 2.7](https://python-all.ru/3.0/whatsnew/2.7.html#porting-to-python-2-7)49    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.7.html#acknowledgements)50  - [Что нового в Python 2.6](https://python-all.ru/3.0/whatsnew/2.6.html)5152    - [Python 3.0](https://python-all.ru/3.0/whatsnew/2.6.html#python-3-0)53    - [Изменения в процессе разработки](https://python-all.ru/3.0/whatsnew/2.6.html#changes-to-the-development-process)5455      - [Новый трекер ошибок: Roundup](https://python-all.ru/3.0/whatsnew/2.6.html#new-issue-tracker-roundup)56      - [Новый формат документации: reStructuredText с использованием Sphinx](https://python-all.ru/3.0/whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx)57    - [PEP 343: Оператор 'with'](https://python-all.ru/3.0/whatsnew/2.6.html#pep-343-the-with-statement)5859      - [Написание контекстных менеджеров](https://python-all.ru/3.0/whatsnew/2.6.html#writing-context-managers)60      - [Модуль contextlib](https://python-all.ru/3.0/whatsnew/2.6.html#the-contextlib-module)61    - [PEP 366: Явные относительные импорты из главного модуля](https://python-all.ru/3.0/whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module)62    - [PEP 370: Пользовательская `site-packages` директория](https://python-all.ru/3.0/whatsnew/2.6.html#pep-370-per-user-site-packages-directory)63    - [PEP 371: Пакет `multiprocessing`](https://python-all.ru/3.0/whatsnew/2.6.html#pep-371-the-multiprocessing-package)64    - [PEP 3101: Расширенное форматирование строк](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3101-advanced-string-formatting)65    - [PEP 3105: `print` как функция](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3105-print-as-a-function)66    - [PEP 3110: Изменения в обработке исключений](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3110-exception-handling-changes)67    - [PEP 3112: Байтовые литералы](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3112-byte-literals)68    - [PEP 3116: Новая библиотека ввода-вывода](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3116-new-i-o-library)69    - [PEP 3118: Пересмотренный протокол буферов](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3118-revised-buffer-protocol)70    - [PEP 3119: Абстрактные базовые классы](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3119-abstract-base-classes)71    - [PEP 3127: Поддержка и синтаксис целочисленных литералов](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax)72    - [PEP 3129: Декораторы классов](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3129-class-decorators)73    - [PEP 3141: Иерархия типов для чисел](https://python-all.ru/3.0/whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers)7475      - [Модуль `fractions`](https://python-all.ru/3.0/whatsnew/2.6.html#the-fractions-module)76    - [Прочие изменения языка](https://python-all.ru/3.0/whatsnew/2.6.html#other-language-changes)7778      - [Оптимизации](https://python-all.ru/3.0/whatsnew/2.6.html#optimizations)79      - [Изменения в интерпретаторе](https://python-all.ru/3.0/whatsnew/2.6.html#interpreter-changes)80    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.0/whatsnew/2.6.html#new-improved-and-deprecated-modules)8182      - [Модуль `ast`](https://python-all.ru/3.0/whatsnew/2.6.html#the-ast-module)83      - [Модуль `future_builtins`](https://python-all.ru/3.0/whatsnew/2.6.html#the-future-builtins-module)84      - [Модуль `json`: JavaScript Object Notation](https://python-all.ru/3.0/whatsnew/2.6.html#the-json-module-javascript-object-notation)85      - [Модуль `plistlib`: парсер списков свойств](https://python-all.ru/3.0/whatsnew/2.6.html#the-plistlib-module-a-property-list-parser)86      - [Улучшения ctypes](https://python-all.ru/3.0/whatsnew/2.6.html#ctypes-enhancements)87      - [Улучшенная поддержка SSL](https://python-all.ru/3.0/whatsnew/2.6.html#improved-ssl-support)88    - [Изменения в сборке и C API](https://python-all.ru/3.0/whatsnew/2.6.html#build-and-c-api-changes)8990      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.0/whatsnew/2.6.html#port-specific-changes-windows)91      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.0/whatsnew/2.6.html#port-specific-changes-mac-os-x)92      - [Изменения для конкретных платформ: IRIX](https://python-all.ru/3.0/whatsnew/2.6.html#port-specific-changes-irix)93    - [Переход на Python 2.6](https://python-all.ru/3.0/whatsnew/2.6.html#porting-to-python-2-6)94    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.6.html#acknowledgements)95  - [Что нового в Python 2.5](https://python-all.ru/3.0/whatsnew/2.5.html)9697    - [PEP 308: Условные выражения](https://python-all.ru/3.0/whatsnew/2.5.html#pep-308-conditional-expressions)98    - [PEP 309: Частичное применение функций](https://python-all.ru/3.0/whatsnew/2.5.html#pep-309-partial-function-application)99    - [PEP 314: Метаданные для пакетов Python v1.1](https://python-all.ru/3.0/whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1)100    - [PEP 328: Абсолютные и относительные импорты](https://python-all.ru/3.0/whatsnew/2.5.html#pep-328-absolute-and-relative-imports)101    - [PEP 338: Выполнение модулей как сценариев](https://python-all.ru/3.0/whatsnew/2.5.html#pep-338-executing-modules-as-scripts)102    - [PEP 341: Единый try/except/finally](https://python-all.ru/3.0/whatsnew/2.5.html#pep-341-unified-try-except-finally)103    - [PEP 342: Новые возможности генераторов](https://python-all.ru/3.0/whatsnew/2.5.html#pep-342-new-generator-features)104    - [PEP 343: Оператор 'with'](https://python-all.ru/3.0/whatsnew/2.5.html#pep-343-the-with-statement)105106      - [Написание контекстных менеджеров](https://python-all.ru/3.0/whatsnew/2.5.html#writing-context-managers)107      - [Модуль contextlib](https://python-all.ru/3.0/whatsnew/2.5.html#the-contextlib-module)108    - [PEP 352: Исключения как классы нового стиля](https://python-all.ru/3.0/whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes)109    - [PEP 353: Использование ssize\_t в качестве типа индекса](https://python-all.ru/3.0/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type)110    - [PEP 357: Метод '\_\_index\_\_'](https://python-all.ru/3.0/whatsnew/2.5.html#pep-357-the-index-method)111    - [Прочие изменения языка](https://python-all.ru/3.0/whatsnew/2.5.html#other-language-changes)112113      - [Изменения в интерактивном интерпретаторе](https://python-all.ru/3.0/whatsnew/2.5.html#interactive-interpreter-changes)114      - [Оптимизации](https://python-all.ru/3.0/whatsnew/2.5.html#optimizations)115    - [Новые, улучшенные и удалённые модули](https://python-all.ru/3.0/whatsnew/2.5.html#module-ctypes)116117      - [Пакет ctypes](https://python-all.ru/3.0/whatsnew/2.5.html#module-etree)118      - [Пакет ElementTree](https://python-all.ru/3.0/whatsnew/2.5.html#module-hashlib)119      - [Пакет hashlib](https://python-all.ru/3.0/whatsnew/2.5.html#module-sqlite)120      - [Пакет sqlite3](https://python-all.ru/3.0/whatsnew/2.5.html#module-wsgiref)121      - [Пакет wsgiref](https://python-all.ru/3.0/whatsnew/2.5.html#the-wsgiref-package)122    - [Изменения в сборке и C API](https://python-all.ru/3.0/whatsnew/2.5.html#build-and-c-api-changes)123124      - [Изменения для конкретных платформ](https://python-all.ru/3.0/whatsnew/2.5.html#port-specific-changes)125    - [Перенос на Python 2.5](https://python-all.ru/3.0/whatsnew/2.5.html#porting-to-python-2-5)126    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.5.html#acknowledgements)127  - [Что нового в Python 2.4](https://python-all.ru/3.0/whatsnew/2.4.html)128129    - [PEP 218: Встроенные объекты множеств](https://python-all.ru/3.0/whatsnew/2.4.html#pep-218-built-in-set-objects)130    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.0/whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers)131    - [PEP 289: Генераторные выражения](https://python-all.ru/3.0/whatsnew/2.4.html#pep-289-generator-expressions)132    - [PEP 292: Упрощённая подстановка строк](https://python-all.ru/3.0/whatsnew/2.4.html#pep-292-simpler-string-substitutions)133    - [PEP 318: Декораторы для функций и методов](https://python-all.ru/3.0/whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods)134    - [PEP 322: Обратная итерация](https://python-all.ru/3.0/whatsnew/2.4.html#pep-322-reverse-iteration)135    - [PEP 324: Новый модуль подпроцесса](https://python-all.ru/3.0/whatsnew/2.4.html#pep-324-new-subprocess-module)136    - [PEP 327: Тип данных Decimal](https://python-all.ru/3.0/whatsnew/2.4.html#pep-327-decimal-data-type)137138      - [Зачем нужен Decimal?](https://python-all.ru/3.0/whatsnew/2.4.html#why-is-decimal-needed)139      - [Тип `Decimal`](https://python-all.ru/3.0/whatsnew/2.4.html#the-decimal-type)140      - [Тип `Context`](https://python-all.ru/3.0/whatsnew/2.4.html#the-context-type)141    - [PEP 328: Многострочные импорты](https://python-all.ru/3.0/whatsnew/2.4.html#pep-328-multi-line-imports)142    - [PEP 331: Независящие от локали преобразования float/строк](https://python-all.ru/3.0/whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions)143    - [Прочие изменения языка](https://python-all.ru/3.0/whatsnew/2.4.html#other-language-changes)144145      - [Оптимизации](https://python-all.ru/3.0/whatsnew/2.4.html#optimizations)146    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.0/whatsnew/2.4.html#new-improved-and-deprecated-modules)147148      - [cookielib](https://python-all.ru/3.0/whatsnew/2.4.html#cookielib)149      - [doctest](https://python-all.ru/3.0/whatsnew/2.4.html#doctest)150    - [Изменения в сборке и C API](https://python-all.ru/3.0/whatsnew/2.4.html#build-and-c-api-changes)151152      - [Изменения для конкретных платформ](https://python-all.ru/3.0/whatsnew/2.4.html#port-specific-changes)153    - [Перенос на Python 2.4](https://python-all.ru/3.0/whatsnew/2.4.html#porting-to-python-2-4)154    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.4.html#acknowledgements)155  - [Что нового в Python 2.3](https://python-all.ru/3.0/whatsnew/2.3.html)156157    - [PEP 218: Стандартный тип set](https://python-all.ru/3.0/whatsnew/2.3.html#pep-218-a-standard-set-datatype)158    - [PEP 255: простые генераторы](https://python-all.ru/3.0/whatsnew/2.3.html#pep-255-simple-generators)159    - [PEP 263: Кодировки исходного кода](https://python-all.ru/3.0/whatsnew/2.3.html#pep-263-source-code-encodings)160    - [PEP 273: Импорт модулей из ZIP-архивов](https://python-all.ru/3.0/whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives)161    - [PEP 277: Поддержка имён файлов в Unicode для Windows NT](https://python-all.ru/3.0/whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt)162    - [PEP 278: Универсальная поддержка символов новой строки](https://python-all.ru/3.0/whatsnew/2.3.html#pep-278-universal-newline-support)163    - [PEP 279: enumerate()](https://python-all.ru/3.0/whatsnew/2.3.html#pep-279-enumerate)164    - [PEP 282: Пакет logging](https://python-all.ru/3.0/whatsnew/2.3.html#pep-282-the-logging-package)165    - [PEP 285: Булев тип](https://python-all.ru/3.0/whatsnew/2.3.html#pep-285-a-boolean-type)166    - [PEP 293: Колбэки обработки ошибок кодеков](https://python-all.ru/3.0/whatsnew/2.3.html#pep-293-codec-error-handling-callbacks)167    - [PEP 301: Индекс пакетов и метаданные для Distutils](https://python-all.ru/3.0/whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils)168    - [PEP 302: Новые хуки импорта](https://python-all.ru/3.0/whatsnew/2.3.html#pep-302-new-import-hooks)169    - [PEP 305: Файлы с разделителями-запятыми](https://python-all.ru/3.0/whatsnew/2.3.html#pep-305-comma-separated-files)170    - [PEP 307: Улучшения pickle](https://python-all.ru/3.0/whatsnew/2.3.html#pep-307-pickle-enhancements)171    - [Расширенные срезы](https://python-all.ru/3.0/whatsnew/2.3.html#extended-slices)172    - [Прочие изменения языка](https://python-all.ru/3.0/whatsnew/2.3.html#other-language-changes)173174      - [Изменения в строках](https://python-all.ru/3.0/whatsnew/2.3.html#string-changes)175      - [Оптимизации](https://python-all.ru/3.0/whatsnew/2.3.html#optimizations)176    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.0/whatsnew/2.3.html#new-improved-and-deprecated-modules)177178      - [Тип даты/времени](https://python-all.ru/3.0/whatsnew/2.3.html#date-time-type)179      - [Модуль optparse](https://python-all.ru/3.0/whatsnew/2.3.html#the-optparse-module)180    - [Pymalloc: Специализированный аллокатор объектов](https://python-all.ru/3.0/whatsnew/2.3.html#pymalloc-a-specialized-object-allocator)181    - [Изменения в сборке и C API](https://python-all.ru/3.0/whatsnew/2.3.html#build-and-c-api-changes)182183      - [Изменения для конкретных платформ](https://python-all.ru/3.0/whatsnew/2.3.html#port-specific-changes)184    - [Прочие изменения и исправления](https://python-all.ru/3.0/whatsnew/2.3.html#other-changes-and-fixes)185    - [Перенос на Python 2.3](https://python-all.ru/3.0/whatsnew/2.3.html#porting-to-python-2-3)186    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.3.html#acknowledgements)187  - [Что нового в Python 2.2](https://python-all.ru/3.0/whatsnew/2.2.html)188189    - [Введение](https://python-all.ru/3.0/whatsnew/2.2.html#introduction)190    - [PEP 252 и 253: изменения типов и классов](https://python-all.ru/3.0/whatsnew/2.2.html#peps-252-and-253-type-and-class-changes)191192      - [Старые и новые классы](https://python-all.ru/3.0/whatsnew/2.2.html#old-and-new-classes)193      - [Дескрипторы](https://python-all.ru/3.0/whatsnew/2.2.html#descriptors)194      - [Множественное наследование: правило ромба](https://python-all.ru/3.0/whatsnew/2.2.html#multiple-inheritance-the-diamond-rule)195      - [Доступ к атрибутам](https://python-all.ru/3.0/whatsnew/2.2.html#attribute-access)196      - [Связанные ссылки](https://python-all.ru/3.0/whatsnew/2.2.html#related-links)197    - [PEP 234: итераторы](https://python-all.ru/3.0/whatsnew/2.2.html#pep-234-iterators)198    - [PEP 255: простые генераторы](https://python-all.ru/3.0/whatsnew/2.2.html#pep-255-simple-generators)199    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.0/whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers)200    - [PEP 238: изменение оператора деления](https://python-all.ru/3.0/whatsnew/2.2.html#pep-238-changing-the-division-operator)201    - [Изменения в Unicode](https://python-all.ru/3.0/whatsnew/2.2.html#unicode-changes)202    - [PEP 227: вложенные области видимости](https://python-all.ru/3.0/whatsnew/2.2.html#pep-227-nested-scopes)203    - [Новые и улучшенные модули](https://python-all.ru/3.0/whatsnew/2.2.html#new-and-improved-modules)204    - [Изменения и исправления интерпретатора](https://python-all.ru/3.0/whatsnew/2.2.html#interpreter-changes-and-fixes)205    - [Прочие изменения и исправления](https://python-all.ru/3.0/whatsnew/2.2.html#other-changes-and-fixes)206    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.2.html#acknowledgements)207  - [Что нового в Python 2.1](https://python-all.ru/3.0/whatsnew/2.1.html)208209    - [Введение](https://python-all.ru/3.0/whatsnew/2.1.html#introduction)210    - [PEP 227: вложенные области видимости](https://python-all.ru/3.0/whatsnew/2.1.html#pep-227-nested-scopes)211    - [PEP 236: директивы \_\_future\_\_](https://python-all.ru/3.0/whatsnew/2.1.html#pep-236-future-directives)212    - [PEP 207: расширенные сравнения](https://python-all.ru/3.0/whatsnew/2.1.html#pep-207-rich-comparisons)213    - [PEP 230: инфраструктура предупреждений](https://python-all.ru/3.0/whatsnew/2.1.html#pep-230-warning-framework)214    - [PEP 229: новая система сборки](https://python-all.ru/3.0/whatsnew/2.1.html#pep-229-new-build-system)215    - [PEP 205: слабые ссылки](https://python-all.ru/3.0/whatsnew/2.1.html#pep-205-weak-references)216    - [PEP 232: атрибуты функций](https://python-all.ru/3.0/whatsnew/2.1.html#pep-232-function-attributes)217    - [PEP 235: импорт модулей на платформах, нечувствительных к регистру](https://python-all.ru/3.0/whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms)218    - [PEP 217: интерактивный перехватчик вывода](https://python-all.ru/3.0/whatsnew/2.1.html#pep-217-interactive-display-hook)219    - [PEP 208: новая модель приведения типов](https://python-all.ru/3.0/whatsnew/2.1.html#pep-208-new-coercion-model)220    - [PEP 241: метаданные в пакетах Python](https://python-all.ru/3.0/whatsnew/2.1.html#pep-241-metadata-in-python-packages)221    - [Новые и улучшенные модули](https://python-all.ru/3.0/whatsnew/2.1.html#new-and-improved-modules)222    - [Прочие изменения и исправления](https://python-all.ru/3.0/whatsnew/2.1.html#other-changes-and-fixes)223    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.1.html#acknowledgements)224  - [Что нового в Python 2.0](https://python-all.ru/3.0/whatsnew/2.0.html)225226    - [Введение](https://python-all.ru/3.0/whatsnew/2.0.html#introduction)227    - [А что насчёт Python 1.6?](https://python-all.ru/3.0/whatsnew/2.0.html#what-about-python-1-6)228    - [Новый процесс разработки](https://python-all.ru/3.0/whatsnew/2.0.html#new-development-process)229    - [Юникод](https://python-all.ru/3.0/whatsnew/2.0.html#unicode)230    - [Списковые включения](https://python-all.ru/3.0/whatsnew/2.0.html#list-comprehensions)231    - [Расширенное присваивание](https://python-all.ru/3.0/whatsnew/2.0.html#augmented-assignment)232    - [Методы строк](https://python-all.ru/3.0/whatsnew/2.0.html#string-methods)233    - [Сборка мусора циклических ссылок](https://python-all.ru/3.0/whatsnew/2.0.html#garbage-collection-of-cycles)234    - [Другие изменения ядра](https://python-all.ru/3.0/whatsnew/2.0.html#other-core-changes)235236      - [Мелкие изменения языка](https://python-all.ru/3.0/whatsnew/2.0.html#minor-language-changes)237      - [Изменения встроенных функций](https://python-all.ru/3.0/whatsnew/2.0.html#changes-to-built-in-functions)238    - [Перенос на 2.0](https://python-all.ru/3.0/whatsnew/2.0.html#porting-to-2-0)239    - [Изменения в расширении/встраивании](https://python-all.ru/3.0/whatsnew/2.0.html#extending-embedding-changes)240    - [Distutils: упрощение установки модулей](https://python-all.ru/3.0/whatsnew/2.0.html#distutils-making-modules-easy-to-install)241    - [Модули XML](https://python-all.ru/3.0/whatsnew/2.0.html#xml-modules)242243      - [Поддержка SAX2](https://python-all.ru/3.0/whatsnew/2.0.html#sax2-support)244      - [Поддержка DOM](https://python-all.ru/3.0/whatsnew/2.0.html#dom-support)245      - [Связь с PyXML](https://python-all.ru/3.0/whatsnew/2.0.html#relationship-to-pyxml)246    - [Изменения модулей](https://python-all.ru/3.0/whatsnew/2.0.html#module-changes)247    - [Новые модули](https://python-all.ru/3.0/whatsnew/2.0.html#new-modules)248    - [Улучшения IDLE](https://python-all.ru/3.0/whatsnew/2.0.html#idle-improvements)249    - [Удалённые и устаревшие модули](https://python-all.ru/3.0/whatsnew/2.0.html#deleted-and-deprecated-modules)250    - [Благодарности](https://python-all.ru/3.0/whatsnew/2.0.html#acknowledgements)251- [Учебник Python](https://python-all.ru/3.0/tutorial/index.html)252253  - [Разжигание аппетита](https://python-all.ru/3.0/tutorial/appetite.html)254  - [Использование интерпретатора Python](https://python-all.ru/3.0/tutorial/interpreter.html)255256    - [Запуск интерпретатора](https://python-all.ru/3.0/tutorial/interpreter.html#invoking-the-interpreter)257258      - [Передача аргументов](https://python-all.ru/3.0/tutorial/interpreter.html#argument-passing)259      - [Интерактивный режим](https://python-all.ru/3.0/tutorial/interpreter.html#interactive-mode)260    - [Интерпретатор и его окружение](https://python-all.ru/3.0/tutorial/interpreter.html#the-interpreter-and-its-environment)261262      - [Обработка ошибок](https://python-all.ru/3.0/tutorial/interpreter.html#error-handling)263      - [Исполняемые скрипты Python](https://python-all.ru/3.0/tutorial/interpreter.html#executable-python-scripts)264      - [Кодировка исходного кода](https://python-all.ru/3.0/tutorial/interpreter.html#source-code-encoding)265      - [Интерактивный файл запуска](https://python-all.ru/3.0/tutorial/interpreter.html#the-interactive-startup-file)266  - [Неофициальное введение в Python](https://python-all.ru/3.0/tutorial/introduction.html)267268    - [Использование Python как калькулятора](https://python-all.ru/3.0/tutorial/introduction.html#using-python-as-a-calculator)269270      - [Числа](https://python-all.ru/3.0/tutorial/introduction.html#numbers)271      - [Строки](https://python-all.ru/3.0/tutorial/introduction.html#strings)272      - [О Юникоде](https://python-all.ru/3.0/tutorial/introduction.html#about-unicode)273      - [Списки](https://python-all.ru/3.0/tutorial/introduction.html#lists)274    - [Первые шаги в программировании](https://python-all.ru/3.0/tutorial/introduction.html#first-steps-towards-programming)275  - [Дополнительные средства управления потоком](https://python-all.ru/3.0/tutorial/controlflow.html)276277    - [`if` инструкции](https://python-all.ru/3.0/tutorial/controlflow.html#if-statements)278    - [`for` инструкции](https://python-all.ru/3.0/tutorial/controlflow.html#for-statements)279    - [Функция `range()`](https://python-all.ru/3.0/tutorial/controlflow.html#the-range-function)280    - [`break` и `continue` инструкции, и `else` предложения в циклах](https://python-all.ru/3.0/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)281    - [`pass` инструкции](https://python-all.ru/3.0/tutorial/controlflow.html#pass-statements)282    - [Определение функций](https://python-all.ru/3.0/tutorial/controlflow.html#defining-functions)283    - [Подробнее об определении функций](https://python-all.ru/3.0/tutorial/controlflow.html#more-on-defining-functions)284285      - [Значения аргументов по умолчанию](https://python-all.ru/3.0/tutorial/controlflow.html#default-argument-values)286      - [Именованные аргументы](https://python-all.ru/3.0/tutorial/controlflow.html#keyword-arguments)287      - [Произвольные списки аргументов](https://python-all.ru/3.0/tutorial/controlflow.html#arbitrary-argument-lists)288      - [Распаковка списков аргументов](https://python-all.ru/3.0/tutorial/controlflow.html#unpacking-argument-lists)289      - [Лямбда-выражения](https://python-all.ru/3.0/tutorial/controlflow.html#lambda-forms)290      - [Строки документации](https://python-all.ru/3.0/tutorial/controlflow.html#documentation-strings)291    - [Интермеццо: Стиль кода](https://python-all.ru/3.0/tutorial/controlflow.html#intermezzo-coding-style)292  - [Структуры данных](https://python-all.ru/3.0/tutorial/datastructures.html)293294    - [Подробнее о списках](https://python-all.ru/3.0/tutorial/datastructures.html#more-on-lists)295296      - [Использование списков в качестве стеков](https://python-all.ru/3.0/tutorial/datastructures.html#using-lists-as-stacks)297      - [Использование списков в качестве очередей](https://python-all.ru/3.0/tutorial/datastructures.html#using-lists-as-queues)298      - [Списковые включения](https://python-all.ru/3.0/tutorial/datastructures.html#list-comprehensions)299      - [Вложенные списковые включения](https://python-all.ru/3.0/tutorial/datastructures.html#nested-list-comprehensions)300    - [Инструкция `del`](https://python-all.ru/3.0/tutorial/datastructures.html#the-del-statement)301    - [Кортежи и последовательности](https://python-all.ru/3.0/tutorial/datastructures.html#tuples-and-sequences)302    - [Множества](https://python-all.ru/3.0/tutorial/datastructures.html#sets)303    - [Словари](https://python-all.ru/3.0/tutorial/datastructures.html#dictionaries)304    - [Приёмы работы с циклами](https://python-all.ru/3.0/tutorial/datastructures.html#looping-techniques)305    - [Подробнее об условиях](https://python-all.ru/3.0/tutorial/datastructures.html#more-on-conditions)306    - [Сравнение последовательностей и других типов](https://python-all.ru/3.0/tutorial/datastructures.html#comparing-sequences-and-other-types)307  - [Модули](https://python-all.ru/3.0/tutorial/modules.html)308309    - [Подробнее о модулях](https://python-all.ru/3.0/tutorial/modules.html#more-on-modules)310311      - [Запуск модулей как скриптов](https://python-all.ru/3.0/tutorial/modules.html#executing-modules-as-scripts)312      - [Путь поиска модулей](https://python-all.ru/3.0/tutorial/modules.html#the-module-search-path)313      - [«Скомпилированные» файлы Python](https://python-all.ru/3.0/tutorial/modules.html#compiled-python-files)314    - [Стандартные модули](https://python-all.ru/3.0/tutorial/modules.html#standard-modules)315    - [Функция `dir()`](https://python-all.ru/3.0/tutorial/modules.html#the-dir-function)316    - [Пакеты](https://python-all.ru/3.0/tutorial/modules.html#packages)317318      - [Импорт \* из пакета](https://python-all.ru/3.0/tutorial/modules.html#importing-from-a-package)319      - [Ссылки внутри пакета](https://python-all.ru/3.0/tutorial/modules.html#intra-package-references)320      - [Пакеты в нескольких каталогах](https://python-all.ru/3.0/tutorial/modules.html#packages-in-multiple-directories)321  - [Ввод и вывод](https://python-all.ru/3.0/tutorial/inputoutput.html)322323    - [Более изощрённое форматирование вывода](https://python-all.ru/3.0/tutorial/inputoutput.html#fancier-output-formatting)324325      - [Старое форматирование строк](https://python-all.ru/3.0/tutorial/inputoutput.html#old-string-formatting)326    - [Чтение и запись файлов](https://python-all.ru/3.0/tutorial/inputoutput.html#reading-and-writing-files)327328      - [Методы файловых объектов](https://python-all.ru/3.0/tutorial/inputoutput.html#methods-of-file-objects)329      - [Модуль `pickle`](https://python-all.ru/3.0/tutorial/inputoutput.html#the-pickle-module)330  - [Ошибки и исключения](https://python-all.ru/3.0/tutorial/errors.html)331332    - [Синтаксические ошибки](https://python-all.ru/3.0/tutorial/errors.html#syntax-errors)333    - [Исключения](https://python-all.ru/3.0/tutorial/errors.html#exceptions)334    - [Обработка исключений](https://python-all.ru/3.0/tutorial/errors.html#handling-exceptions)335    - [Возбуждение исключений](https://python-all.ru/3.0/tutorial/errors.html#raising-exceptions)336    - [Определяемые пользователем исключения](https://python-all.ru/3.0/tutorial/errors.html#user-defined-exceptions)337    - [Определение действий по очистке](https://python-all.ru/3.0/tutorial/errors.html#defining-clean-up-actions)338    - [Предопределённые действия по очистке](https://python-all.ru/3.0/tutorial/errors.html#predefined-clean-up-actions)339  - [Классы](https://python-all.ru/3.0/tutorial/classes.html)340341    - [Несколько слов о терминологии](https://python-all.ru/3.0/tutorial/classes.html#a-word-about-terminology)342    - [Области видимости и пространства имён в Python](https://python-all.ru/3.0/tutorial/classes.html#python-scopes-and-name-spaces)343344      - [Пример областей видимости и пространств имён](https://python-all.ru/3.0/tutorial/classes.html#scopes-and-namespaces-example)345    - [Первое знакомство с классами](https://python-all.ru/3.0/tutorial/classes.html#a-first-look-at-classes)346347      - [Синтаксис определения класса](https://python-all.ru/3.0/tutorial/classes.html#class-definition-syntax)348      - [Объекты классов](https://python-all.ru/3.0/tutorial/classes.html#class-objects)349      - [Объекты экземпляров](https://python-all.ru/3.0/tutorial/classes.html#instance-objects)350      - [Объекты методов](https://python-all.ru/3.0/tutorial/classes.html#method-objects)351    - [Разные замечания](https://python-all.ru/3.0/tutorial/classes.html#random-remarks)352    - [Наследование](https://python-all.ru/3.0/tutorial/classes.html#inheritance)353354      - [Множественное наследование](https://python-all.ru/3.0/tutorial/classes.html#multiple-inheritance)355    - [Приватные переменные](https://python-all.ru/3.0/tutorial/classes.html#private-variables)356    - [Разное](https://python-all.ru/3.0/tutorial/classes.html#odds-and-ends)357    - [Исключения – это тоже классы](https://python-all.ru/3.0/tutorial/classes.html#exceptions-are-classes-too)358    - [Итераторы](https://python-all.ru/3.0/tutorial/classes.html#iterators)359    - [Генераторы](https://python-all.ru/3.0/tutorial/classes.html#generators)360    - [Генераторные выражения](https://python-all.ru/3.0/tutorial/classes.html#generator-expressions)361  - [Краткий обзор стандартной библиотеки](https://python-all.ru/3.0/tutorial/stdlib.html)362363    - [Интерфейс операционной системы](https://python-all.ru/3.0/tutorial/stdlib.html#operating-system-interface)364    - [Шаблоны имён файлов](https://python-all.ru/3.0/tutorial/stdlib.html#file-wildcards)365    - [Аргументы командной строки](https://python-all.ru/3.0/tutorial/stdlib.html#command-line-arguments)366    - [Перенаправление вывода ошибок и завершение программы](https://python-all.ru/3.0/tutorial/stdlib.html#error-output-redirection-and-program-termination)367    - [Поиск по шаблону в строках](https://python-all.ru/3.0/tutorial/stdlib.html#string-pattern-matching)368    - [Математика](https://python-all.ru/3.0/tutorial/stdlib.html#mathematics)369    - [Доступ к интернету](https://python-all.ru/3.0/tutorial/stdlib.html#internet-access)370    - [Даты и время](https://python-all.ru/3.0/tutorial/stdlib.html#dates-and-times)371    - [Сжатие данных](https://python-all.ru/3.0/tutorial/stdlib.html#data-compression)372    - [Измерение производительности](https://python-all.ru/3.0/tutorial/stdlib.html#performance-measurement)373    - [Контроль качества](https://python-all.ru/3.0/tutorial/stdlib.html#quality-control)374    - [Батарейки в комплекте](https://python-all.ru/3.0/tutorial/stdlib.html#batteries-included)375  - [Краткий обзор стандартной библиотеки – часть II](https://python-all.ru/3.0/tutorial/stdlib2.html)376377    - [Форматирование вывода](https://python-all.ru/3.0/tutorial/stdlib2.html#output-formatting)378    - [Шаблоны](https://python-all.ru/3.0/tutorial/stdlib2.html#templating)379    - [Работа с двоичными данными: структуры записей](https://python-all.ru/3.0/tutorial/stdlib2.html#working-with-binary-data-record-layouts)380    - [Многопоточность](https://python-all.ru/3.0/tutorial/stdlib2.html#multi-threading)381    - [Логирование](https://python-all.ru/3.0/tutorial/stdlib2.html#logging)382    - [Слабые ссылки](https://python-all.ru/3.0/tutorial/stdlib2.html#weak-references)383    - [Инструменты для работы со списками](https://python-all.ru/3.0/tutorial/stdlib2.html#tools-for-working-with-lists)384    - [Арифметика с плавающей запятой десятичных чисел](https://python-all.ru/3.0/tutorial/stdlib2.html#decimal-floating-point-arithmetic)385  - [Что дальше?](https://python-all.ru/3.0/tutorial/whatnow.html)386  - [Интерактивное редактирование ввода и подстановка истории](https://python-all.ru/3.0/tutorial/interactive.html)387388    - [Редактирование строки](https://python-all.ru/3.0/tutorial/interactive.html#line-editing)389    - [Подстановка истории](https://python-all.ru/3.0/tutorial/interactive.html#history-substitution)390    - [Привязки клавиш](https://python-all.ru/3.0/tutorial/interactive.html#key-bindings)391    - [Комментарии](https://python-all.ru/3.0/tutorial/interactive.html#commentary)392  - [Арифметика с плавающей запятой: проблемы и ограничения](https://python-all.ru/3.0/tutorial/floatingpoint.html)393394    - [Ошибка представления](https://python-all.ru/3.0/tutorial/floatingpoint.html#representation-error)395- [Использование Python](https://python-all.ru/3.0/using/index.html)396397  - [Командная строка и окружение](https://python-all.ru/3.0/using/cmdline.html)398399    - [Командная строка](https://python-all.ru/3.0/using/cmdline.html#command-line)400401      - [Опции интерфейса](https://python-all.ru/3.0/using/cmdline.html#interface-options)402      - [Общие опции](https://python-all.ru/3.0/using/cmdline.html#generic-options)403      - [Прочие опции](https://python-all.ru/3.0/using/cmdline.html#miscellaneous-options)404    - [Переменные окружения](https://python-all.ru/3.0/using/cmdline.html#environment-variables)405406      - [Переменные режима отладки](https://python-all.ru/3.0/using/cmdline.html#debug-mode-variables)407  - [Использование Python на платформах Unix](https://python-all.ru/3.0/using/unix.html)408409    - [Получение и установка последней версии Python](https://python-all.ru/3.0/using/unix.html#getting-and-installing-the-latest-version-of-python)410411      - [В Linux](https://python-all.ru/3.0/using/unix.html#on-linux)412      - [В FreeBSD и OpenBSD](https://python-all.ru/3.0/using/unix.html#on-freebsd-and-openbsd)413      - [В OpenSolaris](https://python-all.ru/3.0/using/unix.html#on-opensolaris)414    - [Сборка Python](https://python-all.ru/3.0/using/unix.html#building-python)415    - [Пути и файлы, связанные с Python](https://python-all.ru/3.0/using/unix.html#python-related-paths-and-files)416    - [Разное](https://python-all.ru/3.0/using/unix.html#miscellaneous)417    - [Редакторы](https://python-all.ru/3.0/using/unix.html#editors)418  - [Использование Python в Windows](https://python-all.ru/3.0/using/windows.html)419420    - [Установка Python](https://python-all.ru/3.0/using/windows.html#installing-python)421    - [Альтернативные пакеты](https://python-all.ru/3.0/using/windows.html#alternative-bundles)422    - [Настройка Python](https://python-all.ru/3.0/using/windows.html#configuring-python)423424      - [Отступление: настройка переменных окружения](https://python-all.ru/3.0/using/windows.html#excursus-setting-environment-variables)425      - [Поиск исполняемого файла Python](https://python-all.ru/3.0/using/windows.html#finding-the-python-executable)426      - [Поиск модулей](https://python-all.ru/3.0/using/windows.html#finding-modules)427      - [Выполнение скриптов](https://python-all.ru/3.0/using/windows.html#executing-scripts)428    - [Дополнительные модули](https://python-all.ru/3.0/using/windows.html#additional-modules)429430      - [PyWin32](https://python-all.ru/3.0/using/windows.html#pywin32)431      - [Py2exe](https://python-all.ru/3.0/using/windows.html#py2exe)432      - [WConio](https://python-all.ru/3.0/using/windows.html#wconio)433    - [Компиляция Python в Windows](https://python-all.ru/3.0/using/windows.html#compiling-python-on-windows)434    - [Другие ресурсы](https://python-all.ru/3.0/using/windows.html#other-resources)435  - [Использование Python на Macintosh](https://python-all.ru/3.0/using/mac.html)436437    - [Получение и установка MacPython](https://python-all.ru/3.0/using/mac.html#getting-and-installing-macpython)438439      - [Как запустить скрипт Python](https://python-all.ru/3.0/using/mac.html#how-to-run-a-python-script)440      - [Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.0/using/mac.html#running-scripts-with-a-gui)441      - [Настройка](https://python-all.ru/3.0/using/mac.html#configuration)442    - [Среда разработки](https://python-all.ru/3.0/using/mac.html#the-ide)443    - [Установка дополнительных пакетов Python](https://python-all.ru/3.0/using/mac.html#installing-additional-python-packages)444    - [Программирование GUI на Mac](https://python-all.ru/3.0/using/mac.html#gui-programming-on-the-mac)445    - [Распространение приложений Python на Mac](https://python-all.ru/3.0/using/mac.html#distributing-python-applications-on-the-mac)446    - [Скриптинг приложений](https://python-all.ru/3.0/using/mac.html#application-scripting)447    - [Другие ресурсы](https://python-all.ru/3.0/using/mac.html#other-resources)448- [Справочник по языку Python](https://python-all.ru/3.0/reference/index.html)449450  - [Введение](https://python-all.ru/3.0/reference/introduction.html)451452    - [Альтернативные реализации](https://python-all.ru/3.0/reference/introduction.html#alternate-implementations)453    - [Нотация](https://python-all.ru/3.0/reference/introduction.html#id2)454  - [Лексический анализ](https://python-all.ru/3.0/reference/lexical_analysis.html)455456    - [Структура строк](https://python-all.ru/3.0/reference/lexical_analysis.html#id1)457458      - [Логические строки](https://python-all.ru/3.0/reference/lexical_analysis.html#id2)459      - [Физические строки](https://python-all.ru/3.0/reference/lexical_analysis.html#id3)460      - [Комментарии](https://python-all.ru/3.0/reference/lexical_analysis.html#id4)461      - [Объявления кодировки](https://python-all.ru/3.0/reference/lexical_analysis.html#encoding-declarations)462      - [Явное объединение строк](https://python-all.ru/3.0/reference/lexical_analysis.html#explicit-line-joining)463      - [Неявное объединение строк](https://python-all.ru/3.0/reference/lexical_analysis.html#implicit-line-joining)464      - [Пустые строки](https://python-all.ru/3.0/reference/lexical_analysis.html#id5)465      - [Отступы](https://python-all.ru/3.0/reference/lexical_analysis.html#id6)466      - [Пробелы между токенами](https://python-all.ru/3.0/reference/lexical_analysis.html#whitespace-between-tokens)467    - [Другие токены](https://python-all.ru/3.0/reference/lexical_analysis.html#id7)468    - [Идентификаторы и ключевые слова](https://python-all.ru/3.0/reference/lexical_analysis.html#identifiers-and-keywords)469470      - [Ключевые слова](https://python-all.ru/3.0/reference/lexical_analysis.html#id8)471      - [Зарезервированные классы идентификаторов](https://python-all.ru/3.0/reference/lexical_analysis.html#reserved-classes-of-identifiers)472    - [Литералы](https://python-all.ru/3.0/reference/lexical_analysis.html#id9)473474      - [Строковые литералы и литералы байтов](https://python-all.ru/3.0/reference/lexical_analysis.html#string-and-bytes-literals)475      - [Конкатенация строковых литералов](https://python-all.ru/3.0/reference/lexical_analysis.html#string-literal-concatenation)476      - [Числовые литералы](https://python-all.ru/3.0/reference/lexical_analysis.html#numeric-literals)477      - [Целочисленные литералы](https://python-all.ru/3.0/reference/lexical_analysis.html#integer-literals)478      - [Литералы с плавающей точкой](https://python-all.ru/3.0/reference/lexical_analysis.html#floating-point-literals)479      - [Мнимые литералы](https://python-all.ru/3.0/reference/lexical_analysis.html#imaginary-literals)480    - [Операторы](https://python-all.ru/3.0/reference/lexical_analysis.html#id10)481    - [Разделители](https://python-all.ru/3.0/reference/lexical_analysis.html#id11)482  - [Модель данных](https://python-all.ru/3.0/reference/datamodel.html)483484    - [Объекты, значения и типы](https://python-all.ru/3.0/reference/datamodel.html#objects-values-and-types)485    - [Стандартная иерархия типов](https://python-all.ru/3.0/reference/datamodel.html#the-standard-type-hierarchy)486    - [Имена специальных методов](https://python-all.ru/3.0/reference/datamodel.html#special-method-names)487488      - [Базовая настройка](https://python-all.ru/3.0/reference/datamodel.html#basic-customization)489      - [Настройка доступа к атрибутам](https://python-all.ru/3.0/reference/datamodel.html#customizing-attribute-access)490491        - [Реализация дескрипторов](https://python-all.ru/3.0/reference/datamodel.html#implementing-descriptors)492        - [Вызов дескрипторов](https://python-all.ru/3.0/reference/datamodel.html#invoking-descriptors)493        - [\_\_slots\_\_](https://python-all.ru/3.0/reference/datamodel.html#id3)494495          - [Примечания по использованию *\_\_slots\_\_*](https://python-all.ru/3.0/reference/datamodel.html#notes-on-using-slots)496      - [Настройка создания классов](https://python-all.ru/3.0/reference/datamodel.html#customizing-class-creation)497      - [Эмуляция вызываемых объектов](https://python-all.ru/3.0/reference/datamodel.html#emulating-callable-objects)498      - [Эмуляция типов-контейнеров](https://python-all.ru/3.0/reference/datamodel.html#emulating-container-types)499      - [Эмуляция числовых типов](https://python-all.ru/3.0/reference/datamodel.html#emulating-numeric-types)500      - [Менеджеры контекста оператора with](https://python-all.ru/3.0/reference/datamodel.html#with-statement-context-managers)501      - [Поиск специальных методов](https://python-all.ru/3.0/reference/datamodel.html#special-method-lookup)502  - [Модель выполнения](https://python-all.ru/3.0/reference/executionmodel.html)503504    - [Именование и связывание](https://python-all.ru/3.0/reference/executionmodel.html#naming-and-binding)505506      - [Взаимодействие с динамическими возможностями](https://python-all.ru/3.0/reference/executionmodel.html#interaction-with-dynamic-features)507    - [Исключения](https://python-all.ru/3.0/reference/executionmodel.html#id2)508  - [Выражения](https://python-all.ru/3.0/reference/expressions.html)509510    - [Арифметические преобразования](https://python-all.ru/3.0/reference/expressions.html#arithmetic-conversions)511    - [Атомы](https://python-all.ru/3.0/reference/expressions.html#id2)512513      - [Идентификаторы (имена)](https://python-all.ru/3.0/reference/expressions.html#identifiers-names)514      - [Литералы](https://python-all.ru/3.0/reference/expressions.html#literals)515      - [Формы в скобках](https://python-all.ru/3.0/reference/expressions.html#parenthesized-forms)516      - [Представления списков, множеств и словарей](https://python-all.ru/3.0/reference/expressions.html#displays-for-lists-sets-and-dictionaries)517      - [Представления списков](https://python-all.ru/3.0/reference/expressions.html#list-displays)518      - [Представления множеств](https://python-all.ru/3.0/reference/expressions.html#set-displays)519      - [Представления словарей](https://python-all.ru/3.0/reference/expressions.html#dictionary-displays)520      - [Генераторные выражения](https://python-all.ru/3.0/reference/expressions.html#generator-expressions)521      - [Выражения yield](https://python-all.ru/3.0/reference/expressions.html#yield-expressions)522    - [Первичные выражения](https://python-all.ru/3.0/reference/expressions.html#id3)523524      - [Обращение к атрибутам](https://python-all.ru/3.0/reference/expressions.html#id4)525      - [Индексация](https://python-all.ru/3.0/reference/expressions.html#id5)526      - [Срезы](https://python-all.ru/3.0/reference/expressions.html#id6)527      - [Вызовы](https://python-all.ru/3.0/reference/expressions.html#id7)528    - [Оператор возведения в степень](https://python-all.ru/3.0/reference/expressions.html#the-power-operator)529    - [Унарные арифметические операции](https://python-all.ru/3.0/reference/expressions.html#unary-arithmetic-operations)530    - [Бинарные арифметические операции](https://python-all.ru/3.0/reference/expressions.html#binary-arithmetic-operations)531    - [Операции сдвига](https://python-all.ru/3.0/reference/expressions.html#shifting-operations)532    - [Бинарные поразрядные операции](https://python-all.ru/3.0/reference/expressions.html#binary-bitwise-operations)533    - [Сравнения](https://python-all.ru/3.0/reference/expressions.html#id10)534    - [Логические операции](https://python-all.ru/3.0/reference/expressions.html#boolean-operations)535    - [Лямбда-выражения](https://python-all.ru/3.0/reference/expressions.html#id15)536    - [Списки выражений](https://python-all.ru/3.0/reference/expressions.html#expression-lists)537    - [Порядок вычислений](https://python-all.ru/3.0/reference/expressions.html#evaluation-order)538    - [Сводка](https://python-all.ru/3.0/reference/expressions.html#summary)539  - [Простые инструкции](https://python-all.ru/3.0/reference/simple_stmts.html)540541    - [Инструкции-выражения](https://python-all.ru/3.0/reference/simple_stmts.html#expression-statements)542    - [Инструкции присваивания](https://python-all.ru/3.0/reference/simple_stmts.html#assignment-statements)543544      - [Составные инструкции присваивания](https://python-all.ru/3.0/reference/simple_stmts.html#augmented-assignment-statements)545    - [Инструкция `assert`](https://python-all.ru/3.0/reference/simple_stmts.html#the-assert-statement)546    - [Инструкция `pass`](https://python-all.ru/3.0/reference/simple_stmts.html#the-pass-statement)547    - [Инструкция `del`](https://python-all.ru/3.0/reference/simple_stmts.html#the-del-statement)548    - [Инструкция `return`](https://python-all.ru/3.0/reference/simple_stmts.html#the-return-statement)549    - [Инструкция `yield`](https://python-all.ru/3.0/reference/simple_stmts.html#the-yield-statement)550    - [Инструкция `raise`](https://python-all.ru/3.0/reference/simple_stmts.html#the-raise-statement)551    - [Инструкция `break`](https://python-all.ru/3.0/reference/simple_stmts.html#the-break-statement)552    - [Инструкция `continue`](https://python-all.ru/3.0/reference/simple_stmts.html#the-continue-statement)553    - [Инструкция `import`](https://python-all.ru/3.0/reference/simple_stmts.html#the-import-statement)554555      - [Future-инструкции](https://python-all.ru/3.0/reference/simple_stmts.html#future-statements)556    - [Инструкция `global`](https://python-all.ru/3.0/reference/simple_stmts.html#the-global-statement)557    - [Инструкция `nonlocal`](https://python-all.ru/3.0/reference/simple_stmts.html#the-nonlocal-statement)558  - [Составные инструкции](https://python-all.ru/3.0/reference/compound_stmts.html)559560    - [Инструкция `if`](https://python-all.ru/3.0/reference/compound_stmts.html#the-if-statement)561    - [Инструкция `while`](https://python-all.ru/3.0/reference/compound_stmts.html#the-while-statement)562    - [Инструкция `for`](https://python-all.ru/3.0/reference/compound_stmts.html#the-for-statement)563    - [Инструкция `try`](https://python-all.ru/3.0/reference/compound_stmts.html#the-try-statement)564    - [Инструкция `with`](https://python-all.ru/3.0/reference/compound_stmts.html#the-with-statement)565    - [Определения функций](https://python-all.ru/3.0/reference/compound_stmts.html#function-definitions)566    - [Определения классов](https://python-all.ru/3.0/reference/compound_stmts.html#class-definitions)567  - [Компоненты верхнего уровня](https://python-all.ru/3.0/reference/toplevel_components.html)568569    - [Полные программы на Python](https://python-all.ru/3.0/reference/toplevel_components.html#complete-python-programs)570    - [Ввод из файла](https://python-all.ru/3.0/reference/toplevel_components.html#id1)571    - [Интерактивный ввод](https://python-all.ru/3.0/reference/toplevel_components.html#interactive-input)572    - [Ввод выражений](https://python-all.ru/3.0/reference/toplevel_components.html#id2)573  - [Полная спецификация грамматики](https://python-all.ru/3.0/reference/grammar.html)574- [Стандартная библиотека Python](https://python-all.ru/3.0/library/index.html)575576  - [Введение](https://python-all.ru/3.0/library/intro.html)577  - [Встроенные функции](https://python-all.ru/3.0/library/functions.html)578  - [Встроенные константы](https://python-all.ru/3.0/library/constants.html)579580    - [Константы, добавляемые модулем `site`](https://python-all.ru/3.0/library/constants.html#constants-added-by-the-site-module)581  - [Встроенные объекты](https://python-all.ru/3.0/library/objects.html)582  - [Встроенные типы](https://python-all.ru/3.0/library/stdtypes.html)583584    - [Проверка истинности](https://python-all.ru/3.0/library/stdtypes.html#truth-value-testing)585    - [Булевы операции – `and`, `or`, `not`](https://python-all.ru/3.0/library/stdtypes.html#boolean-operations-and-or-not)586    - [Сравнения](https://python-all.ru/3.0/library/stdtypes.html#comparisons)587    - [Числовые типы – `int`, `float`, `complex`](https://python-all.ru/3.0/library/stdtypes.html#numeric-types-int-float-complex)588589      - [Битовые операции над целыми числами](https://python-all.ru/3.0/library/stdtypes.html#bit-string-operations-on-integer-types)590      - [Дополнительные методы целых типов](https://python-all.ru/3.0/library/stdtypes.html#additional-methods-on-integer-types)591      - [Дополнительные методы типа float](https://python-all.ru/3.0/library/stdtypes.html#additional-methods-on-float)592    - [Типы итераторов](https://python-all.ru/3.0/library/stdtypes.html#iterator-types)593    - [Типы последовательностей – `str`, `bytes`, `bytearray`, `list`, `tuple`, `range`](https://python-all.ru/3.0/library/stdtypes.html#sequence-types-str-bytes-bytearray-list-tuple-range)594595      - [Методы строк](https://python-all.ru/3.0/library/stdtypes.html#id4)596      - [Устаревшие операции форматирования строк](https://python-all.ru/3.0/library/stdtypes.html#old-string-formatting-operations)597      - [Тип range](https://python-all.ru/3.0/library/stdtypes.html#range-type)598      - [Изменяемые типы последовательностей](https://python-all.ru/3.0/library/stdtypes.html#mutable-sequence-types)599      - [Методы байтов и байтовых массивов](https://python-all.ru/3.0/library/stdtypes.html#bytes-and-byte-array-methods)600    - [Типы множеств – `set`, `frozenset`](https://python-all.ru/3.0/library/stdtypes.html#set-types-set-frozenset)601    - [Типы отображений – `dict`](https://python-all.ru/3.0/library/stdtypes.html#mapping-types-dict)602603      - [Объекты представлений словаря](https://python-all.ru/3.0/library/stdtypes.html#dictionary-view-objects)604    - [Объекты файлов](https://python-all.ru/3.0/library/stdtypes.html#file-objects)605    - [Тип memoryview](https://python-all.ru/3.0/library/stdtypes.html#memoryview-types)606    - [Типы контекстных менеджеров](https://python-all.ru/3.0/library/stdtypes.html#context-manager-types)607    - [Прочие встроенные типы](https://python-all.ru/3.0/library/stdtypes.html#other-built-in-types)608609      - [Модули](https://python-all.ru/3.0/library/stdtypes.html#modules)610      - [Классы и экземпляры классов](https://python-all.ru/3.0/library/stdtypes.html#classes-and-class-instances)611      - [Функции](https://python-all.ru/3.0/library/stdtypes.html#functions)612      - [Методы](https://python-all.ru/3.0/library/stdtypes.html#methods)613      - [Объекты кода](https://python-all.ru/3.0/library/stdtypes.html#code-objects)614      - [Объекты типов](https://python-all.ru/3.0/library/stdtypes.html#type-objects)615      - [Объект None](https://python-all.ru/3.0/library/stdtypes.html#the-null-object)616      - [Объект Ellipsis](https://python-all.ru/3.0/library/stdtypes.html#the-ellipsis-object)617      - [Логические значения](https://python-all.ru/3.0/library/stdtypes.html#boolean-values)618      - [Внутренние объекты](https://python-all.ru/3.0/library/stdtypes.html#internal-objects)619    - [Специальные атрибуты](https://python-all.ru/3.0/library/stdtypes.html#special-attributes)620  - [Встроенные исключения](https://python-all.ru/3.0/library/exceptions.html)621  - [Строковые сервисы](https://python-all.ru/3.0/library/strings.html)622623    - [`string` – Общие операции со строками](https://python-all.ru/3.0/library/string.html)624625      - [Строковые константы](https://python-all.ru/3.0/library/string.html#string-constants)626      - [Форматирование строк](https://python-all.ru/3.0/library/string.html#id1)627      - [Синтаксис строки форматирования](https://python-all.ru/3.0/library/string.html#format-string-syntax)628629        - [Мини-язык спецификации формата](https://python-all.ru/3.0/library/string.html#format-specification-mini-language)630      - [Строки-шаблоны](https://python-all.ru/3.0/library/string.html#id3)631      - [Строковые функции](https://python-all.ru/3.0/library/string.html#string-functions)632    - [`re` – Операции с регулярными выражениями](https://python-all.ru/3.0/library/re.html)633634      - [Синтаксис регулярных выражений](https://python-all.ru/3.0/library/re.html#regular-expression-syntax)635      - [Сопоставление и поиск](https://python-all.ru/3.0/library/re.html#matching-vs-searching)636      - [Содержимое модуля](https://python-all.ru/3.0/library/re.html#module-contents)637      - [Объекты регулярных выражений](https://python-all.ru/3.0/library/re.html#regular-expression-objects)638      - [Объекты Match](https://python-all.ru/3.0/library/re.html#id1)639      - [Примеры](https://python-all.ru/3.0/library/re.html#examples)640641        - [Проверка наличия пары](https://python-all.ru/3.0/library/re.html#checking-for-a-pair)642        - [Имитация scanf()](https://python-all.ru/3.0/library/re.html#simulating-scanf)643        - [Избегание рекурсии](https://python-all.ru/3.0/library/re.html#avoiding-recursion)644        - [search() и match()](https://python-all.ru/3.0/library/re.html#search-vs-match)645        - [Создание телефонного справочника](https://python-all.ru/3.0/library/re.html#making-a-phonebook)646        - [Преобразование текста](https://python-all.ru/3.0/library/re.html#text-munging)647        - [Поиск всех наречий](https://python-all.ru/3.0/library/re.html#finding-all-adverbs)648        - [Поиск всех наречий и их позиций](https://python-all.ru/3.0/library/re.html#finding-all-adverbs-and-their-positions)649        - [Сырая строковая нотация](https://python-all.ru/3.0/library/re.html#raw-string-notation)650    - [`struct` – Интерпретирует байты как упакованные двоичные данные](https://python-all.ru/3.0/library/struct.html)651652      - [Объекты struct](https://python-all.ru/3.0/library/struct.html#id1)653    - [`difflib` – Вспомогательные функции для вычисления различий](https://python-all.ru/3.0/library/difflib.html)654655      - [Объекты SequenceMatcher](https://python-all.ru/3.0/library/difflib.html#sequencematcher-objects)656      - [Примеры SequenceMatcher](https://python-all.ru/3.0/library/difflib.html#id1)657      - [Объекты Differ](https://python-all.ru/3.0/library/difflib.html#id2)658      - [Пример Differ](https://python-all.ru/3.0/library/difflib.html#differ-example)659      - [Интерфейс командной строки для difflib](https://python-all.ru/3.0/library/difflib.html#a-command-line-interface-to-difflib)660    - [`textwrap` – Перенос и заполнение текста](https://python-all.ru/3.0/library/textwrap.html)661    - [`codecs` – Реестр кодеков и базовые классы](https://python-all.ru/3.0/library/codecs.html)662663      - [Базовые классы кодеков](https://python-all.ru/3.0/library/codecs.html#id1)664665        - [Объекты Codec](https://python-all.ru/3.0/library/codecs.html#id2)666        - [Объекты IncrementalEncoder](https://python-all.ru/3.0/library/codecs.html#incrementalencoder-objects)667        - [Объекты IncrementalDecoder](https://python-all.ru/3.0/library/codecs.html#incrementaldecoder-objects)668        - [Объекты StreamWriter](https://python-all.ru/3.0/library/codecs.html#streamwriter-objects)669        - [Объекты StreamReader](https://python-all.ru/3.0/library/codecs.html#streamreader-objects)670        - [Объекты StreamReaderWriter](https://python-all.ru/3.0/library/codecs.html#streamreaderwriter-objects)671        - [Объекты StreamRecoder](https://python-all.ru/3.0/library/codecs.html#streamrecoder-objects)672      - [Кодировки и Юникод](https://python-all.ru/3.0/library/codecs.html#encodings-and-unicode)673      - [Стандартные кодировки](https://python-all.ru/3.0/library/codecs.html#id3)674      - [`encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/3.0/library/codecs.html#module-encodings.idna)675      - [`encodings.utf_8_sig` – Кодек UTF-8 с сигнатурой BOM](https://python-all.ru/3.0/library/codecs.html#module-encodings.utf_8_sig)676    - [`unicodedata` – База данных Unicode](https://python-all.ru/3.0/library/unicodedata.html)677    - [`stringprep` – Подготовка строк для интернета](https://python-all.ru/3.0/library/stringprep.html)678  - [Типы данных](https://python-all.ru/3.0/library/datatypes.html)679680    - [`datetime` – Базовые типы даты и времени](https://python-all.ru/3.0/library/datetime.html)681682      - [Доступные типы](https://python-all.ru/3.0/library/datetime.html#available-types)683      - [`timedelta` Объекты](https://python-all.ru/3.0/library/datetime.html#timedelta-objects)684      - [`date` Объекты](https://python-all.ru/3.0/library/datetime.html#date-objects)685      - [`datetime` Объекты](https://python-all.ru/3.0/library/datetime.html#datetime-objects)686      - [`time` Объекты](https://python-all.ru/3.0/library/datetime.html#time-objects)687      - [`tzinfo` Объекты](https://python-all.ru/3.0/library/datetime.html#tzinfo-objects)688      - [`strftime()` Поведение](https://python-all.ru/3.0/library/datetime.html#id1)689    - [`calendar` – Общие функции, связанные с календарём](https://python-all.ru/3.0/library/calendar.html)690    - [`collections` – Типы данных-контейнеры](https://python-all.ru/3.0/library/collections.html)691692      - [ABC – абстрактные базовые классы](https://python-all.ru/3.0/library/collections.html#abcs-abstract-base-classes)693      - [`deque` объекты](https://python-all.ru/3.0/library/collections.html#id1)694695        - [`deque` Рецепты](https://python-all.ru/3.0/library/collections.html#id2)696      - [`defaultdict` объекты](https://python-all.ru/3.0/library/collections.html#id3)697698        - [`defaultdict` Примеры](https://python-all.ru/3.0/library/collections.html#id4)699      - [`namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/3.0/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)700      - [`UserDict` объекты](https://python-all.ru/3.0/library/collections.html#userdict-objects)701      - [`UserList` объекты](https://python-all.ru/3.0/library/collections.html#userlist-objects)702      - [`UserString` объекты](https://python-all.ru/3.0/library/collections.html#userstring-objects)703    - [`heapq` – Алгоритм кучи (пирамидальная очередь)](https://python-all.ru/3.0/library/heapq.html)704705      - [Теория](https://python-all.ru/3.0/library/heapq.html#theory)706    - [`bisect` – Алгоритм двоичного поиска в массиве](https://python-all.ru/3.0/library/bisect.html)707708      - [Примеры](https://python-all.ru/3.0/library/bisect.html#examples)709    - [`array` – Эффективные массивы числовых значений](https://python-all.ru/3.0/library/array.html)710    - [`sched` – Планировщик событий](https://python-all.ru/3.0/library/sched.html)711712      - [Объекты планировщика](https://python-all.ru/3.0/library/sched.html#id1)713    - [`queue` – A synchronized queue class](https://python-all.ru/3.0/library/queue.html)714715      - [Объекты очередей](https://python-all.ru/3.0/library/queue.html#queue-objects)716    - [`weakref` – Слабые ссылки](https://python-all.ru/3.0/library/weakref.html)717718      - [Объекты слабых ссылок](https://python-all.ru/3.0/library/weakref.html#weak-reference-objects)719      - [Пример](https://python-all.ru/3.0/library/weakref.html#example)720    - [`types` – Имена встроенных типов](https://python-all.ru/3.0/library/types.html)721    - [`copy` – Операции поверхностного и глубокого копирования](https://python-all.ru/3.0/library/copy.html)722    - [`pprint` – Красивый вывод данных](https://python-all.ru/3.0/library/pprint.html)723724      - [Объекты PrettyPrinter](https://python-all.ru/3.0/library/pprint.html#id1)725      - [Пример pprint](https://python-all.ru/3.0/library/pprint.html#id2)726    - [`reprlib` – Альтернативная реализация `repr()`](https://python-all.ru/3.0/library/reprlib.html)727728      - [Объекты Repr](https://python-all.ru/3.0/library/reprlib.html#id1)729      - [Создание подклассов Repr](https://python-all.ru/3.0/library/reprlib.html#subclassing-repr-objects)730  - [Числовые и математические модули](https://python-all.ru/3.0/library/numeric.html)731732    - [`numbers` – Числовые абстрактные базовые классы](https://python-all.ru/3.0/library/numbers.html)733734      - [Числовая иерархия](https://python-all.ru/3.0/library/numbers.html#the-numeric-tower)735      - [Примечания для разработчиков типов](https://python-all.ru/3.0/library/numbers.html#notes-for-type-implementors)736737        - [Добавление дополнительных числовых абстрактных базовых классов](https://python-all.ru/3.0/library/numbers.html#adding-more-numeric-abcs)738        - [Реализация арифметических операций](https://python-all.ru/3.0/library/numbers.html#implementing-the-arithmetic-operations)739    - [`math` – Математические функции](https://python-all.ru/3.0/library/math.html)740741      - [Теоретико-числовые функции и функции представления](https://python-all.ru/3.0/library/math.html#number-theoretic-and-representation-functions)742      - [Степенные и логарифмические функции](https://python-all.ru/3.0/library/math.html#power-and-logarithmic-functions)743      - [Тригонометрические функции](https://python-all.ru/3.0/library/math.html#trigonometric-functions)744      - [Преобразование угловых величин](https://python-all.ru/3.0/library/math.html#angular-conversion)745      - [Гиперболические функции](https://python-all.ru/3.0/library/math.html#hyperbolic-functions)746    - [Константы](https://python-all.ru/3.0/library/math.html#constants)747    - [`cmath` – Математические функции для комплексных чисел](https://python-all.ru/3.0/library/cmath.html)748749      - [Комплексные координаты](https://python-all.ru/3.0/library/cmath.html#complex-coordinates)750      - [Функции cmath](https://python-all.ru/3.0/library/cmath.html#cmath-functions)751    - [`decimal` – Десятичная арифметика с фиксированной и плавающей точкой](https://python-all.ru/3.0/library/decimal.html)752753      - [Краткое руководство](https://python-all.ru/3.0/library/decimal.html#quick-start-tutorial)754      - [Объекты Decimal](https://python-all.ru/3.0/library/decimal.html#decimal-objects)755756        - [Логические операнды](https://python-all.ru/3.0/library/decimal.html#logical-operands)757      - [Объекты контекста](https://python-all.ru/3.0/library/decimal.html#context-objects)758      - [Сигналы](https://python-all.ru/3.0/library/decimal.html#signals)759      - [Примечания о числах с плавающей точкой](https://python-all.ru/3.0/library/decimal.html#floating-point-notes)760761        - [Уменьшение ошибки округления за счёт повышенной точности](https://python-all.ru/3.0/library/decimal.html#mitigating-round-off-error-with-increased-precision)762        - [Особые значения](https://python-all.ru/3.0/library/decimal.html#special-values)763      - [Работа с потоками](https://python-all.ru/3.0/library/decimal.html#working-with-threads)764      - [Рецепты](https://python-all.ru/3.0/library/decimal.html#recipes)765      - [Часто задаваемые вопросы по Decimal](https://python-all.ru/3.0/library/decimal.html#id1)766    - [`fractions` – Рациональные числа](https://python-all.ru/3.0/library/fractions.html)767    - [`random` – Генерация псевдослучайных чисел](https://python-all.ru/3.0/library/random.html)768    - [`itertools` – Функции, создающие итераторы для эффективного циклического обхода](https://python-all.ru/3.0/library/itertools.html)769770      - [Функции itertools](https://python-all.ru/3.0/library/itertools.html#itertool-functions)771      - [Примеры](https://python-all.ru/3.0/library/itertools.html#examples)772      - [Рецепты](https://python-all.ru/3.0/library/itertools.html#recipes)773    - [`functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/3.0/library/functools.html)774775      - [`partial` Объекты](https://python-all.ru/3.0/library/functools.html#id1)776    - [`operator` – Стандартные операторы в виде функций](https://python-all.ru/3.0/library/operator.html)777778      - [Отображение операторов на функции](https://python-all.ru/3.0/library/operator.html#mapping-operators-to-functions)779  - [Доступ к файлам и каталогам](https://python-all.ru/3.0/library/filesys.html)780781    - [`os.path` – Распространённые операции с путями](https://python-all.ru/3.0/library/os.path.html)782    - [`fileinput` – Итерация по строкам из нескольких входных потоков](https://python-all.ru/3.0/library/fileinput.html)783    - [`stat` – Интерпретация результатов `stat()`](https://python-all.ru/3.0/library/stat.html)784    - [`filecmp` – Сравнение файлов и каталогов](https://python-all.ru/3.0/library/filecmp.html)785786      - [Класс `dircmp`](https://python-all.ru/3.0/library/filecmp.html#the-dircmp-class)787    - [`tempfile` – Создание временных файлов и каталогов](https://python-all.ru/3.0/library/tempfile.html)788    - [`glob` – Развёртывание шаблонов имён путей в стиле Unix](https://python-all.ru/3.0/library/glob.html)789    - [`fnmatch` – Сопоставление имён файлов с шаблонами в стиле Unix](https://python-all.ru/3.0/library/fnmatch.html)790    - [`linecache` – Произвольный доступ к строкам текста](https://python-all.ru/3.0/library/linecache.html)791    - [`shutil` – Высокоуровневые операции с файлами](https://python-all.ru/3.0/library/shutil.html)792793      - [Пример](https://python-all.ru/3.0/library/shutil.html#example)794    - [`macpath` – Функции для работы с путями Mac OS 9](https://python-all.ru/3.0/library/macpath.html)795  - [Постоянное хранение данных](https://python-all.ru/3.0/library/persistence.html)796797    - [`pickle` – Сериализация объектов Python](https://python-all.ru/3.0/library/pickle.html)798799      - [Связь с другими модулями Python](https://python-all.ru/3.0/library/pickle.html#relationship-to-other-python-modules)800      - [Формат потока данных](https://python-all.ru/3.0/library/pickle.html#data-stream-format)801      - [Интерфейс модуля](https://python-all.ru/3.0/library/pickle.html#module-interface)802      - [Что можно сериализовать и десериализовать?](https://python-all.ru/3.0/library/pickle.html#what-can-be-pickled-and-unpickled)803      - [Сериализация экземпляров классов](https://python-all.ru/3.0/library/pickle.html#pickling-class-instances)804805        - [Сохранение внешних объектов](https://python-all.ru/3.0/library/pickle.html#persistence-of-external-objects)806        - [Обработка объектов с состоянием](https://python-all.ru/3.0/library/pickle.html#handling-stateful-objects)807      - [Ограничение глобальных переменных](https://python-all.ru/3.0/library/pickle.html#restricting-globals)808      - [Пример](https://python-all.ru/3.0/library/pickle.html#example)809    - [`copyreg` – Регистрация функций поддержки `pickle`](https://python-all.ru/3.0/library/copyreg.html)810    - [`shelve` – Персистентность объектов Python](https://python-all.ru/3.0/library/shelve.html)811812      - [Ограничения](https://python-all.ru/3.0/library/shelve.html#restrictions)813      - [Пример](https://python-all.ru/3.0/library/shelve.html#example)814    - [`marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/3.0/library/marshal.html)815    - [`dbm` – Интерфейсы к «базам данных» Unix](https://python-all.ru/3.0/library/dbm.html)816817      - [`dbm.gnu` – Переосмысление dbm от GNU](https://python-all.ru/3.0/library/dbm.html#module-dbm.gnu)818      - [`dbm.ndbm` – Интерфейс на основе ndbm](https://python-all.ru/3.0/library/dbm.html#module-dbm.ndbm)819      - [`dbm.dumb` – Переносимая реализация DBM](https://python-all.ru/3.0/library/dbm.html#module-dbm.dumb)820    - [`sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/3.0/library/sqlite3.html)821822      - [Функции и константы модуля](https://python-all.ru/3.0/library/sqlite3.html#module-functions-and-constants)823      - [Объекты соединений](https://python-all.ru/3.0/library/sqlite3.html#connection-objects)824      - [Объекты Cursor](https://python-all.ru/3.0/library/sqlite3.html#cursor-objects)825      - [Объекты Row](https://python-all.ru/3.0/library/sqlite3.html#row-objects)826      - [Типы SQLite и Python](https://python-all.ru/3.0/library/sqlite3.html#sqlite-and-python-types)827828        - [Введение](https://python-all.ru/3.0/library/sqlite3.html#introduction)829        - [Использование адаптеров для хранения дополнительных типов Python в базах данных SQLite](https://python-all.ru/3.0/library/sqlite3.html#using-adapters-to-store-additional-python-types-in-sqlite-databases)830831          - [Адаптация объекта самостоятельно](https://python-all.ru/3.0/library/sqlite3.html#letting-your-object-adapt-itself)832          - [Регистрация вызываемого адаптера](https://python-all.ru/3.0/library/sqlite3.html#registering-an-adapter-callable)833        - [Преобразование значений SQLite в пользовательские типы Python](https://python-all.ru/3.0/library/sqlite3.html#converting-sqlite-values-to-custom-python-types)834        - [Адаптеры и преобразователи по умолчанию](https://python-all.ru/3.0/library/sqlite3.html#default-adapters-and-converters)835      - [Управление транзакциями](https://python-all.ru/3.0/library/sqlite3.html#controlling-transactions)836      - [Эффективное использование pysqlite](https://python-all.ru/3.0/library/sqlite3.html#using-pysqlite-efficiently)837838        - [Использование сокращённых методов](https://python-all.ru/3.0/library/sqlite3.html#using-shortcut-methods)839        - [Доступ к столбцам по имени, а не по индексу](https://python-all.ru/3.0/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)840        - [Использование соединения в качестве контекстного менеджера](https://python-all.ru/3.0/library/sqlite3.html#using-the-connection-as-a-context-manager)841  - [Сжатие и архивирование данных](https://python-all.ru/3.0/library/archiving.html)842843    - [`zlib` – Сжатие, совместимое с **gzip**](https://python-all.ru/3.0/library/zlib.html)844    - [`gzip` – Поддержка файлов **gzip**](https://python-all.ru/3.0/library/gzip.html)845846      - [Примеры использования](https://python-all.ru/3.0/library/gzip.html#examples-of-usage)847    - [`bz2` – Сжатие, совместимое с **bzip2**](https://python-all.ru/3.0/library/bz2.html)848849      - [Сжатие и распаковка файлов](https://python-all.ru/3.0/library/bz2.html#de-compression-of-files)850      - [Последовательное (де)сжатие](https://python-all.ru/3.0/library/bz2.html#sequential-de-compression)851      - [Однопроходное сжатие/распаковка](https://python-all.ru/3.0/library/bz2.html#one-shot-de-compression)852    - [`zipfile` – Работа с ZIP-архивами](https://python-all.ru/3.0/library/zipfile.html)853854      - [Объекты ZipFile](https://python-all.ru/3.0/library/zipfile.html#id2)855      - [Объекты PyZipFile](https://python-all.ru/3.0/library/zipfile.html#id3)856      - [Объекты ZipInfo](https://python-all.ru/3.0/library/zipfile.html#id4)857    - [`tarfile` – Чтение и запись tar-архивов](https://python-all.ru/3.0/library/tarfile.html)858859      - [Объекты TarFile](https://python-all.ru/3.0/library/tarfile.html#id1)860      - [Объекты TarInfo](https://python-all.ru/3.0/library/tarfile.html#id2)861      - [Примеры](https://python-all.ru/3.0/library/tarfile.html#examples)862      - [Поддерживаемые форматы tar](https://python-all.ru/3.0/library/tarfile.html#supported-tar-formats)863      - [Проблемы с Unicode](https://python-all.ru/3.0/library/tarfile.html#unicode-issues)864  - [Форматы файлов](https://python-all.ru/3.0/library/fileformats.html)865866    - [`csv` – Чтение и запись CSV-файлов](https://python-all.ru/3.0/library/csv.html)867868      - [Содержимое модуля](https://python-all.ru/3.0/library/csv.html#module-contents)869      - [Диалекты и параметры форматирования](https://python-all.ru/3.0/library/csv.html#dialects-and-formatting-parameters)870      - [Объекты чтения](https://python-all.ru/3.0/library/csv.html#reader-objects)871      - [Объекты записи](https://python-all.ru/3.0/library/csv.html#writer-objects)872      - [Примеры](https://python-all.ru/3.0/library/csv.html#examples)873    - [`configparser` – Парсер конфигурационных файлов](https://python-all.ru/3.0/library/configparser.html)874875      - [Объекты RawConfigParser](https://python-all.ru/3.0/library/configparser.html#id1)876      - [Объекты ConfigParser](https://python-all.ru/3.0/library/configparser.html#id2)877      - [Объекты SafeConfigParser](https://python-all.ru/3.0/library/configparser.html#id3)878      - [Примеры](https://python-all.ru/3.0/library/configparser.html#examples)879    - [`netrc` – Обработка файлов netrc](https://python-all.ru/3.0/library/netrc.html)880881      - [Объекты netrc](https://python-all.ru/3.0/library/netrc.html#id1)882    - [`xdrlib` – Кодирование и декодирование данных XDR](https://python-all.ru/3.0/library/xdrlib.html)883884      - [Объекты упаковщика](https://python-all.ru/3.0/library/xdrlib.html#packer-objects)885      - [Объекты распаковщика](https://python-all.ru/3.0/library/xdrlib.html#unpacker-objects)886      - [Исключения](https://python-all.ru/3.0/library/xdrlib.html#exceptions)887    - [`plistlib` – Генерация и разбор файлов Mac OS X `.plist`](https://python-all.ru/3.0/library/plistlib.html)888889      - [Примеры](https://python-all.ru/3.0/library/plistlib.html#examples)890  - [Криптографические службы](https://python-all.ru/3.0/library/crypto.html)891892    - [`hashlib` – Безопасные хеши и дайджесты сообщений](https://python-all.ru/3.0/library/hashlib.html)893    - [`hmac` – Хеширование с ключом для аутентификации сообщений](https://python-all.ru/3.0/library/hmac.html)894  - [Универсальные службы операционной системы](https://python-all.ru/3.0/library/allos.html)895896    - [`os` – Различные интерфейсы операционной системы](https://python-all.ru/3.0/library/os.html)897898      - [Параметры процесса](https://python-all.ru/3.0/library/os.html#process-parameters)899      - [Создание файловых объектов](https://python-all.ru/3.0/library/os.html#file-object-creation)900      - [Операции с файловыми дескрипторами](https://python-all.ru/3.0/library/os.html#file-descriptor-operations)901      - [Файлы и каталоги](https://python-all.ru/3.0/library/os.html#files-and-directories)902      - [Управление процессами](https://python-all.ru/3.0/library/os.html#process-management)903      - [Различная системная информация](https://python-all.ru/3.0/library/os.html#miscellaneous-system-information)904      - [Различные функции](https://python-all.ru/3.0/library/os.html#miscellaneous-functions)905    - [`io` – Основные инструменты для работы с потоками](https://python-all.ru/3.0/library/io.html)906907      - [Интерфейс модуля](https://python-all.ru/3.0/library/io.html#module-interface)908      - [Базовые классы ввода/вывода](https://python-all.ru/3.0/library/io.html#i-o-base-classes)909      - [Необработанный файловый ввод/вывод](https://python-all.ru/3.0/library/io.html#raw-file-i-o)910      - [Буферизированные потоки](https://python-all.ru/3.0/library/io.html#buffered-streams)911      - [Текстовый ввод/вывод](https://python-all.ru/3.0/library/io.html#text-i-o)912    - [`time` – Доступ и преобразования времени](https://python-all.ru/3.0/library/time.html)913    - [`optparse` – Более мощный парсер опций командной строки](https://python-all.ru/3.0/library/optparse.html)914915      - [Фон](https://python-all.ru/3.0/library/optparse.html#background)916917        - [Терминология](https://python-all.ru/3.0/library/optparse.html#terminology)918        - [Для чего нужны опции?](https://python-all.ru/3.0/library/optparse.html#what-are-options-for)919        - [Для чего нужны позиционные аргументы?](https://python-all.ru/3.0/library/optparse.html#what-are-positional-arguments-for)920      - [Учебное пособие](https://python-all.ru/3.0/library/optparse.html#tutorial)921922        - [Понимание действий опций](https://python-all.ru/3.0/library/optparse.html#understanding-option-actions)923        - [Действие store](https://python-all.ru/3.0/library/optparse.html#the-store-action)924        - [Обработка булевых опций (флагов)](https://python-all.ru/3.0/library/optparse.html#handling-boolean-flag-options)925        - [Другие действия](https://python-all.ru/3.0/library/optparse.html#other-actions)926        - [Значения по умолчанию](https://python-all.ru/3.0/library/optparse.html#default-values)927        - [Генерация справки](https://python-all.ru/3.0/library/optparse.html#generating-help)928        - [Вывод строки версии](https://python-all.ru/3.0/library/optparse.html#printing-a-version-string)929        - [Как `optparse` обрабатывает ошибки](https://python-all.ru/3.0/library/optparse.html#how-optparse-handles-errors)930        - [Собираем всё вместе](https://python-all.ru/3.0/library/optparse.html#putting-it-all-together)931      - [Справочное руководство](https://python-all.ru/3.0/library/optparse.html#reference-guide)932933        - [Создание парсера](https://python-all.ru/3.0/library/optparse.html#creating-the-parser)934        - [Наполнение парсера](https://python-all.ru/3.0/library/optparse.html#populating-the-parser)935        - [Определение параметров](https://python-all.ru/3.0/library/optparse.html#defining-options)936        - [Стандартные действия параметров](https://python-all.ru/3.0/library/optparse.html#standard-option-actions)937        - [Атрибуты параметров](https://python-all.ru/3.0/library/optparse.html#option-attributes)938        - [Стандартные типы параметров](https://python-all.ru/3.0/library/optparse.html#standard-option-types)939        - [Разбор аргументов](https://python-all.ru/3.0/library/optparse.html#parsing-arguments)940        - [Запросы и управление парсером параметров](https://python-all.ru/3.0/library/optparse.html#querying-and-manipulating-your-option-parser)941        - [Конфликты между параметрами](https://python-all.ru/3.0/library/optparse.html#conflicts-between-options)942        - [Очистка](https://python-all.ru/3.0/library/optparse.html#cleanup)943        - [Другие методы](https://python-all.ru/3.0/library/optparse.html#other-methods)944      - [Колбэки параметров](https://python-all.ru/3.0/library/optparse.html#option-callbacks)945946        - [Определение параметра с колбэком](https://python-all.ru/3.0/library/optparse.html#defining-a-callback-option)947        - [Как вызываются колбэки](https://python-all.ru/3.0/library/optparse.html#how-callbacks-are-called)948        - [Возбуждение исключений в колбэке](https://python-all.ru/3.0/library/optparse.html#raising-errors-in-a-callback)949        - [Пример колбэка 1: простейший колбэк](https://python-all.ru/3.0/library/optparse.html#callback-example-1-trivial-callback)950        - [Пример колбэка 2: проверка порядка параметров](https://python-all.ru/3.0/library/optparse.html#callback-example-2-check-option-order)951        - [Пример колбэка 3: проверка порядка параметров (обобщённо)](https://python-all.ru/3.0/library/optparse.html#callback-example-3-check-option-order-generalized)952        - [Пример колбэка 4: проверка произвольного условия](https://python-all.ru/3.0/library/optparse.html#callback-example-4-check-arbitrary-condition)953        - [Пример колбэка 5: фиксированные аргументы](https://python-all.ru/3.0/library/optparse.html#callback-example-5-fixed-arguments)954        - [Пример колбэка 6: переменное число аргументов](https://python-all.ru/3.0/library/optparse.html#callback-example-6-variable-arguments)955      - [Расширение `optparse`](https://python-all.ru/3.0/library/optparse.html#extending-optparse)956957        - [Добавление новых типов](https://python-all.ru/3.0/library/optparse.html#adding-new-types)958        - [Добавление новых действий](https://python-all.ru/3.0/library/optparse.html#adding-new-actions)959    - [`getopt` – Парсер опций командной строки](https://python-all.ru/3.0/library/getopt.html)960    - [`logging` – Средство логирования для Python](https://python-all.ru/3.0/library/logging.html)961962      - [Руководство по логированию](https://python-all.ru/3.0/library/logging.html#logging-tutorial)963964        - [Простые примеры](https://python-all.ru/3.0/library/logging.html#simple-examples)965        - [Логгеры](https://python-all.ru/3.0/library/logging.html#loggers)966        - [Обработчики](https://python-all.ru/3.0/library/logging.html#handlers)967        - [Форматировщики](https://python-all.ru/3.0/library/logging.html#formatters)968        - [Настройка логирования](https://python-all.ru/3.0/library/logging.html#configuring-logging)969        - [Настройка логирования для библиотеки](https://python-all.ru/3.0/library/logging.html#configuring-logging-for-a-library)970      - [Уровни журналирования](https://python-all.ru/3.0/library/logging.html#logging-levels)971      - [Полезные обработчики](https://python-all.ru/3.0/library/logging.html#module-logging.handlers)972      - [Функции уровня модуля](https://python-all.ru/3.0/library/logging.html#module-level-functions)973      - [Объекты Logger](https://python-all.ru/3.0/library/logging.html#logger-objects)974      - [Простой пример](https://python-all.ru/3.0/library/logging.html#basic-example)975      - [Логирование в несколько мест назначения](https://python-all.ru/3.0/library/logging.html#logging-to-multiple-destinations)976      - [Добавление контекстной информации в вывод логирования](https://python-all.ru/3.0/library/logging.html#adding-contextual-information-to-your-logging-output)977      - [Отправка и получение событий логирования по сети](https://python-all.ru/3.0/library/logging.html#sending-and-receiving-logging-events-across-a-network)978      - [Объекты-обработчики](https://python-all.ru/3.0/library/logging.html#handler-objects)979980        - [StreamHandler](https://python-all.ru/3.0/library/logging.html#streamhandler)981        - [FileHandler](https://python-all.ru/3.0/library/logging.html#filehandler)982        - [NullHandler](https://python-all.ru/3.0/library/logging.html#nullhandler)983        - [WatchedFileHandler](https://python-all.ru/3.0/library/logging.html#watchedfilehandler)984        - [RotatingFileHandler](https://python-all.ru/3.0/library/logging.html#rotatingfilehandler)985        - [TimedRotatingFileHandler](https://python-all.ru/3.0/library/logging.html#timedrotatingfilehandler)986        - [Обработчик сокетов](https://python-all.ru/3.0/library/logging.html#sockethandler)987        - [Обработчик датаграмм](https://python-all.ru/3.0/library/logging.html#datagramhandler)988        - [Обработчик системного журнала](https://python-all.ru/3.0/library/logging.html#sysloghandler)989        - [Обработчик журнала событий NT](https://python-all.ru/3.0/library/logging.html#nteventloghandler)990        - [SMTP-обработчик](https://python-all.ru/3.0/library/logging.html#smtphandler)991        - [Обработчик памяти](https://python-all.ru/3.0/library/logging.html#memoryhandler)992        - [HTTP-обработчик](https://python-all.ru/3.0/library/logging.html#httphandler)993      - [Объекты-форматировщики](https://python-all.ru/3.0/library/logging.html#id1)994      - [Объекты-фильтры](https://python-all.ru/3.0/library/logging.html#filter-objects)995      - [Объекты LogRecord](https://python-all.ru/3.0/library/logging.html#logrecord-objects)996      - [Объекты LoggerAdapter](https://python-all.ru/3.0/library/logging.html#loggeradapter-objects)997      - [Потокобезопасность](https://python-all.ru/3.0/library/logging.html#thread-safety)998      - [Конфигурация](https://python-all.ru/3.0/library/logging.html#configuration)9991000        - [Функции конфигурации](https://python-all.ru/3.0/library/logging.html#configuration-functions)1001        - [Формат файла конфигурации](https://python-all.ru/3.0/library/logging.html#configuration-file-format)1002        - [Пример сервера конфигурации](https://python-all.ru/3.0/library/logging.html#configuration-server-example)1003      - [Дополнительные примеры](https://python-all.ru/3.0/library/logging.html#more-examples)10041005        - [Несколько обработчиков и форматировщиков](https://python-all.ru/3.0/library/logging.html#multiple-handlers-and-formatters)1006        - [Использование логирования в нескольких модулях](https://python-all.ru/3.0/library/logging.html#using-logging-in-multiple-modules)1007    - [`getpass` – Переносимый ввод пароля](https://python-all.ru/3.0/library/getpass.html)1008    - [`curses` – Управление терминалом для символьных дисплеев](https://python-all.ru/3.0/library/curses.html)10091010      - [Функции](https://python-all.ru/3.0/library/curses.html#functions)1011      - [Объекты окон](https://python-all.ru/3.0/library/curses.html#window-objects)1012      - [Константы](https://python-all.ru/3.0/library/curses.html#constants)1013    - [`curses.textpad` – Виджет ввода текста для программ curses](https://python-all.ru/3.0/library/curses.html#module-curses.textpad)10141015      - [Объекты Textbox](https://python-all.ru/3.0/library/curses.html#textbox-objects)1016    - [`curses.wrapper` – Обработчик терминала для программ curses](https://python-all.ru/3.0/library/curses.html#module-curses.wrapper)1017    - [`curses.ascii` – Утилиты для символов ASCII](https://python-all.ru/3.0/library/curses.ascii.html)1018    - [`curses.panel` – Расширение стека панелей для curses.](https://python-all.ru/3.0/library/curses.panel.html)10191020      - [Функции](https://python-all.ru/3.0/library/curses.panel.html#functions)1021      - [Объекты панелей](https://python-all.ru/3.0/library/curses.panel.html#panel-objects)1022    - [`platform` – Доступ к идентификационным данным базовой платформы.](https://python-all.ru/3.0/library/platform.html)10231024      - [Кроссплатформенные](https://python-all.ru/3.0/library/platform.html#cross-platform)1025      - [Платформа Java](https://python-all.ru/3.0/library/platform.html#java-platform)1026      - [Платформа Windows](https://python-all.ru/3.0/library/platform.html#windows-platform)10271028        - [Специфично для Win95/98](https://python-all.ru/3.0/library/platform.html#win95-98-specific)1029      - [Платформа Mac OS](https://python-all.ru/3.0/library/platform.html#mac-os-platform)1030      - [Платформы Unix](https://python-all.ru/3.0/library/platform.html#unix-platforms)1031    - [`errno` – Стандартные системные символы errno](https://python-all.ru/3.0/library/errno.html)1032    - [`ctypes` – Библиотека внешних функций для Python.](https://python-all.ru/3.0/library/ctypes.html)10331034      - [Руководство по ctypes](https://python-all.ru/3.0/library/ctypes.html#ctypes-tutorial)10351036        - [Загрузка библиотек динамической компоновки](https://python-all.ru/3.0/library/ctypes.html#loading-dynamic-link-libraries)1037        - [Доступ к функциям из загруженных DLL](https://python-all.ru/3.0/library/ctypes.html#accessing-functions-from-loaded-dlls)1038        - [Вызов функций](https://python-all.ru/3.0/library/ctypes.html#calling-functions)1039        - [Базовые типы данных](https://python-all.ru/3.0/library/ctypes.html#fundamental-data-types)1040        - [Вызов функций (продолжение)](https://python-all.ru/3.0/library/ctypes.html#calling-functions-continued)1041        - [Вызов функций с собственными пользовательскими типами данных](https://python-all.ru/3.0/library/ctypes.html#calling-functions-with-your-own-custom-data-types)1042        - [Указание требуемых типов аргументов (прототипы функций)](https://python-all.ru/3.0/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)1043        - [Типы возвращаемых значений](https://python-all.ru/3.0/library/ctypes.html#return-types)1044        - [Передача указателей (или передача параметров по ссылке)](https://python-all.ru/3.0/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)1045        - [Структуры и объединения](https://python-all.ru/3.0/library/ctypes.html#structures-and-unions)1046        - [Выравнивание структур/объединений и порядок байтов](https://python-all.ru/3.0/library/ctypes.html#structure-union-alignment-and-byte-order)1047        - [Битовые поля в структурах и объединениях](https://python-all.ru/3.0/library/ctypes.html#bit-fields-in-structures-and-unions)1048        - [Массивы](https://python-all.ru/3.0/library/ctypes.html#arrays)1049        - [Указатели](https://python-all.ru/3.0/library/ctypes.html#pointers)1050        - [Преобразования типов](https://python-all.ru/3.0/library/ctypes.html#type-conversions)1051        - [Неполные типы](https://python-all.ru/3.0/library/ctypes.html#incomplete-types)1052        - [Функции обратного вызова](https://python-all.ru/3.0/library/ctypes.html#callback-functions)1053        - [Доступ к значениям, экспортируемым из DLL](https://python-all.ru/3.0/library/ctypes.html#accessing-values-exported-from-dlls)1054        - [Неожиданности](https://python-all.ru/3.0/library/ctypes.html#surprises)1055        - [Типы данных переменного размера](https://python-all.ru/3.0/library/ctypes.html#variable-sized-data-types)1056      - [Справочник по ctypes](https://python-all.ru/3.0/library/ctypes.html#ctypes-reference)10571058        - [Поиск общих библиотек](https://python-all.ru/3.0/library/ctypes.html#finding-shared-libraries)1059        - [Загрузка общих библиотек](https://python-all.ru/3.0/library/ctypes.html#loading-shared-libraries)1060        - [Внешние функции](https://python-all.ru/3.0/library/ctypes.html#foreign-functions)1061        - [Прототипы функций](https://python-all.ru/3.0/library/ctypes.html#function-prototypes)1062        - [Вспомогательные функции](https://python-all.ru/3.0/library/ctypes.html#utility-functions)1063        - [Типы данных](https://python-all.ru/3.0/library/ctypes.html#data-types)1064        - [Базовые типы данных](https://python-all.ru/3.0/library/ctypes.html#id1)1065        - [Структурированные типы данных](https://python-all.ru/3.0/library/ctypes.html#structured-data-types)1066        - [Массивы и указатели](https://python-all.ru/3.0/library/ctypes.html#arrays-and-pointers)1067  - [Опциональные службы операционной системы](https://python-all.ru/3.0/library/someos.html)10681069    - [`select` – Ожидание завершения ввода-вывода](https://python-all.ru/3.0/library/select.html)10701071      - [Объекты опроса по фронту и уровню (epoll)](https://python-all.ru/3.0/library/select.html#edge-and-level-trigger-polling-epoll-objects)1072      - [Объекты опроса](https://python-all.ru/3.0/library/select.html#polling-objects)1073      - [Объекты kqueue](https://python-all.ru/3.0/library/select.html#id1)1074      - [Объекты kevent](https://python-all.ru/3.0/library/select.html#id2)1075    - [`threading` – Высокоуровневый интерфейс многопоточности](https://python-all.ru/3.0/library/threading.html)10761077      - [Объекты потоков](https://python-all.ru/3.0/library/threading.html#id1)1078      - [Объекты блокировок](https://python-all.ru/3.0/library/threading.html#id2)1079      - [Объекты RLock](https://python-all.ru/3.0/library/threading.html#id3)1080      - [Объекты условий](https://python-all.ru/3.0/library/threading.html#id4)1081      - [Объекты семафоров](https://python-all.ru/3.0/library/threading.html#id5)10821083        - [`Semaphore` Пример](https://python-all.ru/3.0/library/threading.html#semaphore-example)1084      - [Объекты событий](https://python-all.ru/3.0/library/threading.html#id6)1085      - [Объекты таймеров](https://python-all.ru/3.0/library/threading.html#id7)1086      - [Использование блокировок, условий и семафоров в инструкции `with`](https://python-all.ru/3.0/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)1087      - [Импорт в многопоточном коде](https://python-all.ru/3.0/library/threading.html#importing-in-threaded-code)1088    - [`dummy_threading` – Прямая замена модуля `threading`](https://python-all.ru/3.0/library/dummy_threading.html)1089    - [`_thread` – Низкоуровневый API многопоточности](https://python-all.ru/3.0/library/_thread.html)1090    - [`_dummy_thread` – Прямая замена модуля `_thread`](https://python-all.ru/3.0/library/_dummy_thread.html)1091    - [`multiprocessing` – Основанный на процессах интерфейс «многопоточности»](https://python-all.ru/3.0/library/multiprocessing.html)10921093      - [Введение](https://python-all.ru/3.0/library/multiprocessing.html#introduction)10941095        - [Класс `процесс`](https://python-all.ru/3.0/library/multiprocessing.html#the-process-class)1096        - [Обмен объектами между процессами](https://python-all.ru/3.0/library/multiprocessing.html#exchanging-objects-between-processes)1097        - [Синхронизация между процессами](https://python-all.ru/3.0/library/multiprocessing.html#synchronization-between-processes)1098        - [Совместное использование состояния между процессами](https://python-all.ru/3.0/library/multiprocessing.html#sharing-state-between-processes)1099        - [Использование пула рабочих процессов](https://python-all.ru/3.0/library/multiprocessing.html#using-a-pool-of-workers)1100      - [Справочник](https://python-all.ru/3.0/library/multiprocessing.html#reference)11011102        - [`процесс` и исключения](https://python-all.ru/3.0/library/multiprocessing.html#process-and-exceptions)1103        - [Каналы и очереди](https://python-all.ru/3.0/library/multiprocessing.html#pipes-and-queues)1104        - [Разное](https://python-all.ru/3.0/library/multiprocessing.html#miscellaneous)1105        - [Объекты соединений](https://python-all.ru/3.0/library/multiprocessing.html#connection-objects)1106        - [Примитивы синхронизации](https://python-all.ru/3.0/library/multiprocessing.html#synchronization-primitives)1107        - [Разделяемые объекты `ctypes`](https://python-all.ru/3.0/library/multiprocessing.html#shared-ctypes-objects)11081109          - [Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.0/library/multiprocessing.html#module-multiprocessing.sharedctypes)1110        - [Менеджеры](https://python-all.ru/3.0/library/multiprocessing.html#module-multiprocessing.managers)11111112          - [Объекты Namespace](https://python-all.ru/3.0/library/multiprocessing.html#namespace-objects)1113          - [Настраиваемые менеджеры](https://python-all.ru/3.0/library/multiprocessing.html#customized-managers)1114          - [Использование удалённого менеджера](https://python-all.ru/3.0/library/multiprocessing.html#using-a-remote-manager)1115        - [Объекты-прокси](https://python-all.ru/3.0/library/multiprocessing.html#proxy-objects)11161117          - [Очистка](https://python-all.ru/3.0/library/multiprocessing.html#cleanup)1118        - [Пулы процессов](https://python-all.ru/3.0/library/multiprocessing.html#module-multiprocessing.pool)1119        - [Слушатели и клиенты](https://python-all.ru/3.0/library/multiprocessing.html#module-multiprocessing.connection)11201121          - [Форматы адресов](https://python-all.ru/3.0/library/multiprocessing.html#address-formats)1122        - [Ключи аутентификации](https://python-all.ru/3.0/library/multiprocessing.html#authentication-keys)1123        - [Логирование](https://python-all.ru/3.0/library/multiprocessing.html#logging)1124        - [Модуль `multiprocessing.dummy`](https://python-all.ru/3.0/library/multiprocessing.html#module-multiprocessing.dummy)1125      - [Рекомендации по программированию](https://python-all.ru/3.0/library/multiprocessing.html#programming-guidelines)11261127        - [Все платформы](https://python-all.ru/3.0/library/multiprocessing.html#all-platforms)1128        - [Windows](https://python-all.ru/3.0/library/multiprocessing.html#windows)1129      - [Примеры](https://python-all.ru/3.0/library/multiprocessing.html#examples)1130    - [`mmap` – Поддержка отображаемых в память файлов](https://python-all.ru/3.0/library/mmap.html)1131    - [`readline` – Интерфейс GNU readline](https://python-all.ru/3.0/library/readline.html)11321133      - [Пример](https://python-all.ru/3.0/library/readline.html#example)1134    - [`rlcompleter` – Функция дополнения для GNU readline](https://python-all.ru/3.0/library/rlcompleter.html)11351136      - [Объекты Completer](https://python-all.ru/3.0/library/rlcompleter.html#id1)1137  - [Межпроцессное взаимодействие и сеть](https://python-all.ru/3.0/library/ipc.html)11381139    - [`подпроцесс` – Управление подпроцессами](https://python-all.ru/3.0/library/subprocess.html)11401141      - [Использование модуля подпроцесс](https://python-all.ru/3.0/library/subprocess.html#using-the-subprocess-module)11421143        - [Удобные функции](https://python-all.ru/3.0/library/subprocess.html#convenience-functions)1144        - [Исключения](https://python-all.ru/3.0/library/subprocess.html#exceptions)1145        - [Безопасность](https://python-all.ru/3.0/library/subprocess.html#security)1146      - [Объекты Popen](https://python-all.ru/3.0/library/subprocess.html#popen-objects)1147      - [Замена старых функций модулем подпроцесс](https://python-all.ru/3.0/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)11481149        - [Замена обратных кавычек оболочки /bin/sh](https://python-all.ru/3.0/library/subprocess.html#replacing-bin-sh-shell-backquote)1150        - [Замена конвейера оболочки](https://python-all.ru/3.0/library/subprocess.html#replacing-shell-pipeline)1151        - [Замена os.system()](https://python-all.ru/3.0/library/subprocess.html#replacing-os-system)1152        - [Замена семейства os.spawn](https://python-all.ru/3.0/library/subprocess.html#replacing-the-os-spawn-family)1153        - [Замена os.popen](https://python-all.ru/3.0/library/subprocess.html#replacing-os-popen)1154    - [`socket` – Низкоуровневый сетевой интерфейс](https://python-all.ru/3.0/library/socket.html)11551156      - [Объекты сокетов](https://python-all.ru/3.0/library/socket.html#id1)1157      - [Пример](https://python-all.ru/3.0/library/socket.html#example)1158    - [`ssl` – SSL-обёртка для объектов сокетов](https://python-all.ru/3.0/library/ssl.html)11591160      - [Функции, константы и исключения](https://python-all.ru/3.0/library/ssl.html#functions-constants-and-exceptions)1161      - [Объекты SSLSocket](https://python-all.ru/3.0/library/ssl.html#sslsocket-objects)1162      - [Сертификаты](https://python-all.ru/3.0/library/ssl.html#certificates)1163      - [Примеры](https://python-all.ru/3.0/library/ssl.html#examples)11641165        - [Проверка поддержки SSL](https://python-all.ru/3.0/library/ssl.html#testing-for-ssl-support)1166        - [Работа на стороне клиента](https://python-all.ru/3.0/library/ssl.html#client-side-operation)1167        - [Работа на стороне сервера](https://python-all.ru/3.0/library/ssl.html#server-side-operation)1168    - [`signal` – Установка обработчиков асинхронных событий](https://python-all.ru/3.0/library/signal.html)11691170      - [Пример](https://python-all.ru/3.0/library/signal.html#example)1171    - [`asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/3.0/library/asyncore.html)11721173      - [Пример asyncore: простой HTTP-клиент](https://python-all.ru/3.0/library/asyncore.html#asyncore-example-basic-http-client)1174    - [`asynchat` – Асинхронный обработчик команд/ответов для сокетов](https://python-all.ru/3.0/library/asynchat.html)11751176      - [asynchat – Вспомогательные классы и функции](https://python-all.ru/3.0/library/asynchat.html#asynchat-auxiliary-classes-and-functions)1177      - [Пример asynchat](https://python-all.ru/3.0/library/asynchat.html#id1)1178  - [Обработка интернет-данных](https://python-all.ru/3.0/library/netdata.html)11791180    - [`email` – Пакет для работы с email и MIME](https://python-all.ru/3.0/library/email.html)11811182      - [`email`: Представление email-сообщения](https://python-all.ru/3.0/library/email.message.html)1183      - [`email`: Разбор email-сообщений](https://python-all.ru/3.0/library/email.parser.html)11841185        - [API FeedParser](https://python-all.ru/3.0/library/email.parser.html#feedparser-api)1186        - [API класса Parser](https://python-all.ru/3.0/library/email.parser.html#parser-class-api)1187        - [Дополнительные примечания](https://python-all.ru/3.0/library/email.parser.html#additional-notes)1188      - [`email`: Генерация MIME-документов](https://python-all.ru/3.0/library/email.generator.html)1189      - [`email`: Создание email- и MIME-объектов с нуля](https://python-all.ru/3.0/library/email.mime.html)1190      - [`email`: Интернационализированные заголовки](https://python-all.ru/3.0/library/email.header.html)1191      - [`email`: Представление кодировок](https://python-all.ru/3.0/library/email.charset.html)1192      - [`email`: Кодировщики](https://python-all.ru/3.0/library/email.encoders.html)1193      - [`email`: Классы исключений и дефектов](https://python-all.ru/3.0/library/email.errors.html)1194      - [`email`: Прочие утилиты](https://python-all.ru/3.0/library/email.util.html)1195      - [`email`: Итераторы](https://python-all.ru/3.0/library/email.iterators.html)1196      - [`email`: Примеры](https://python-all.ru/3.0/library/email-examples.html)1197      - [История пакета](https://python-all.ru/3.0/library/email.html#package-history)1198      - [Отличия от `mimelib`](https://python-all.ru/3.0/library/email.html#differences-from-mimelib)1199    - [`json` – кодировщик и декодировщик JSON](https://python-all.ru/3.0/library/json.html)12001201      - [Основное использование](https://python-all.ru/3.0/library/json.html#basic-usage)1202      - [Кодировщики и декодировщики](https://python-all.ru/3.0/library/json.html#encoders-and-decoders)1203    - [`mailcap` – работа с файлами mailcap](https://python-all.ru/3.0/library/mailcap.html)1204    - [`mailbox` – управление почтовыми ящиками в различных форматах](https://python-all.ru/3.0/library/mailbox.html)12051206      - [`Mailbox` объекты](https://python-all.ru/3.0/library/mailbox.html#id1)12071208        - [`Maildir`](https://python-all.ru/3.0/library/mailbox.html#maildir)1209        - [`mbox`](https://python-all.ru/3.0/library/mailbox.html#mbox)1210        - [`MH`](https://python-all.ru/3.0/library/mailbox.html#mh)1211        - [`Babyl`](https://python-all.ru/3.0/library/mailbox.html#babyl)1212        - [`MMDF`](https://python-all.ru/3.0/library/mailbox.html#mmdf)1213      - [`Message` объекты](https://python-all.ru/3.0/library/mailbox.html#message-objects)12141215        - [`MaildirMessage`](https://python-all.ru/3.0/library/mailbox.html#maildirmessage)1216        - [`mboxMessage`](https://python-all.ru/3.0/library/mailbox.html#mboxmessage)1217        - [`MHMessage`](https://python-all.ru/3.0/library/mailbox.html#mhmessage)1218        - [`BabylMessage`](https://python-all.ru/3.0/library/mailbox.html#babylmessage)1219        - [`MMDFMessage`](https://python-all.ru/3.0/library/mailbox.html#mmdfmessage)1220      - [Исключения](https://python-all.ru/3.0/library/mailbox.html#exceptions)1221      - [Примеры](https://python-all.ru/3.0/library/mailbox.html#examples)1222    - [`mimetypes` – сопоставление имён файлов с MIME-типами](https://python-all.ru/3.0/library/mimetypes.html)12231224      - [Объекты MimeTypes](https://python-all.ru/3.0/library/mimetypes.html#id1)1225    - [`base64` – RFC 3548: кодировки Base16, Base32, Base64](https://python-all.ru/3.0/library/base64.html)1226    - [`binhex` – кодирование и декодирование файлов binhex4](https://python-all.ru/3.0/library/binhex.html)12271228      - [Примечания](https://python-all.ru/3.0/library/binhex.html#notes)1229    - [`binascii` – преобразование между двоичным и ASCII](https://python-all.ru/3.0/library/binascii.html)1230    - [`quopri` – кодирование и декодирование данных в формате MIME quoted-printable](https://python-all.ru/3.0/library/quopri.html)1231    - [`uu` – кодирование и декодирование uuencode-файлов](https://python-all.ru/3.0/library/uu.html)1232  - [Инструменты обработки структурированной разметки](https://python-all.ru/3.0/library/markup.html)12331234    - [`html.parser` – простой парсер HTML и XHTML](https://python-all.ru/3.0/library/html.parser.html)12351236      - [Пример приложения парсера HTML](https://python-all.ru/3.0/library/html.parser.html#example-html-parser-application)1237    - [`html.entities` – определения общих HTML-сущностей](https://python-all.ru/3.0/library/html.entities.html)1238    - [`xml.parsers.expat` – быстрый разбор XML с помощью Expat](https://python-all.ru/3.0/library/pyexpat.html)12391240      - [Объекты XMLParser](https://python-all.ru/3.0/library/pyexpat.html#id2)1241      - [Исключения ExpatError](https://python-all.ru/3.0/library/pyexpat.html#expaterror-exceptions)1242      - [Пример](https://python-all.ru/3.0/library/pyexpat.html#example)1243      - [Описания моделей содержимого](https://python-all.ru/3.0/library/pyexpat.html#content-model-descriptions)1244      - [Константы ошибок Expat](https://python-all.ru/3.0/library/pyexpat.html#expat-error-constants)1245    - [`xml.dom` – API объектной модели документа](https://python-all.ru/3.0/library/xml.dom.html)12461247      - [Содержимое модуля](https://python-all.ru/3.0/library/xml.dom.html#module-contents)1248      - [Объекты в DOM](https://python-all.ru/3.0/library/xml.dom.html#objects-in-the-dom)12491250        - [Объекты DOMImplementation](https://python-all.ru/3.0/library/xml.dom.html#domimplementation-objects)1251        - [Объекты Node](https://python-all.ru/3.0/library/xml.dom.html#node-objects)1252        - [Объекты NodeList](https://python-all.ru/3.0/library/xml.dom.html#nodelist-objects)1253        - [Объекты DocumentType](https://python-all.ru/3.0/library/xml.dom.html#documenttype-objects)1254        - [Объекты Document](https://python-all.ru/3.0/library/xml.dom.html#document-objects)1255        - [Объекты Element](https://python-all.ru/3.0/library/xml.dom.html#element-objects)1256        - [Объекты Attr](https://python-all.ru/3.0/library/xml.dom.html#attr-objects)1257        - [Объекты NamedNodeMap](https://python-all.ru/3.0/library/xml.dom.html#namednodemap-objects)1258        - [Объекты Comment](https://python-all.ru/3.0/library/xml.dom.html#comment-objects)1259        - [Объекты Text и CDATASection](https://python-all.ru/3.0/library/xml.dom.html#text-and-cdatasection-objects)1260        - [Объекты ProcessingInstruction](https://python-all.ru/3.0/library/xml.dom.html#processinginstruction-objects)1261        - [Исключения](https://python-all.ru/3.0/library/xml.dom.html#exceptions)1262      - [Соответствие стандарту](https://python-all.ru/3.0/library/xml.dom.html#conformance)12631264        - [Отображение типов](https://python-all.ru/3.0/library/xml.dom.html#type-mapping)1265        - [Методы доступа](https://python-all.ru/3.0/library/xml.dom.html#accessor-methods)1266    - [`xml.dom.minidom` – облегчённая реализация DOM](https://python-all.ru/3.0/library/xml.dom.minidom.html)12671268      - [Объекты DOM](https://python-all.ru/3.0/library/xml.dom.minidom.html#dom-objects)1269      - [Пример DOM](https://python-all.ru/3.0/library/xml.dom.minidom.html#id2)1270      - [minidom и стандарт DOM](https://python-all.ru/3.0/library/xml.dom.minidom.html#minidom-and-the-dom-standard)1271    - [`xml.dom.pulldom` – поддержка построения частичных DOM-деревьев](https://python-all.ru/3.0/library/xml.dom.pulldom.html)12721273      - [Объекты DOMEventStream](https://python-all.ru/3.0/library/xml.dom.pulldom.html#id1)1274    - [`xml.sax` – Поддержка парсеров SAX2](https://python-all.ru/3.0/library/xml.sax.html)12751276      - [Объекты SAXException](https://python-all.ru/3.0/library/xml.sax.html#saxexception-objects)1277    - [`xml.sax.handler` – Базовые классы для обработчиков SAX](https://python-all.ru/3.0/library/xml.sax.handler.html)12781279      - [Объекты ContentHandler](https://python-all.ru/3.0/library/xml.sax.handler.html#contenthandler-objects)1280      - [Объекты DTDHandler](https://python-all.ru/3.0/library/xml.sax.handler.html#dtdhandler-objects)1281      - [Объекты EntityResolver](https://python-all.ru/3.0/library/xml.sax.handler.html#entityresolver-objects)1282      - [Объекты ErrorHandler](https://python-all.ru/3.0/library/xml.sax.handler.html#errorhandler-objects)1283    - [`xml.sax.saxutils` – Утилиты SAX](https://python-all.ru/3.0/library/xml.sax.utils.html)1284    - [`xml.sax.xmlreader` – Интерфейс для парсеров XML](https://python-all.ru/3.0/library/xml.sax.reader.html)12851286      - [Объекты XMLReader](https://python-all.ru/3.0/library/xml.sax.reader.html#id1)1287      - [Объекты IncrementalParser](https://python-all.ru/3.0/library/xml.sax.reader.html#incrementalparser-objects)1288      - [Объекты Locator](https://python-all.ru/3.0/library/xml.sax.reader.html#id2)1289      - [Объекты InputSource](https://python-all.ru/3.0/library/xml.sax.reader.html#inputsource-objects)1290      - [Интерфейс `Attributes`](https://python-all.ru/3.0/library/xml.sax.reader.html#the-attributes-interface)1291      - [Интерфейс `AttributesNS`](https://python-all.ru/3.0/library/xml.sax.reader.html#the-attributesns-interface)1292    - [`xml.etree.ElementTree` – XML API ElementTree](https://python-all.ru/3.0/library/xml.etree.elementtree.html)12931294      - [Функции](https://python-all.ru/3.0/library/xml.etree.elementtree.html#functions)1295      - [Интерфейс Element](https://python-all.ru/3.0/library/xml.etree.elementtree.html#the-element-interface)1296      - [Объекты ElementTree](https://python-all.ru/3.0/library/xml.etree.elementtree.html#elementtree-objects)1297      - [Объекты QName](https://python-all.ru/3.0/library/xml.etree.elementtree.html#qname-objects)1298      - [Объекты TreeBuilder](https://python-all.ru/3.0/library/xml.etree.elementtree.html#treebuilder-objects)1299      - [Объекты XMLTreeBuilder](https://python-all.ru/3.0/library/xml.etree.elementtree.html#xmltreebuilder-objects)1300  - [Интернет-протоколы и поддержка](https://python-all.ru/3.0/library/internet.html)13011302    - [`webbrowser` – Удобный контроллер веб-браузера](https://python-all.ru/3.0/library/webbrowser.html)13031304      - [Объекты управления браузером](https://python-all.ru/3.0/library/webbrowser.html#browser-controller-objects)1305    - [`cgi` – Поддержка Common Gateway Interface.](https://python-all.ru/3.0/library/cgi.html)13061307      - [Введение](https://python-all.ru/3.0/library/cgi.html#introduction)1308      - [Использование модуля cgi](https://python-all.ru/3.0/library/cgi.html#id1)1309      - [Интерфейс высокого уровня](https://python-all.ru/3.0/library/cgi.html#higher-level-interface)1310      - [Функции](https://python-all.ru/3.0/library/cgi.html#functions)1311      - [Вопросы безопасности](https://python-all.ru/3.0/library/cgi.html#caring-about-security)1312      - [Установка CGI-скрипта в системе Unix](https://python-all.ru/3.0/library/cgi.html#installing-your-cgi-script-on-a-unix-system)1313      - [Тестирование CGI-скрипта](https://python-all.ru/3.0/library/cgi.html#testing-your-cgi-script)1314      - [Отладка CGI-скриптов](https://python-all.ru/3.0/library/cgi.html#debugging-cgi-scripts)1315      - [Типичные проблемы и решения](https://python-all.ru/3.0/library/cgi.html#common-problems-and-solutions)1316    - [`cgitb` – Менеджер трассировки для CGI-скриптов](https://python-all.ru/3.0/library/cgitb.html)1317    - [`wsgiref` – Утилиты WSGI и эталонная реализация](https://python-all.ru/3.0/library/wsgiref.html)13181319      - [`wsgiref.util` – Утилиты окружения WSGI](https://python-all.ru/3.0/library/wsgiref.html#module-wsgiref.util)1320      - [`wsgiref.headers` – Инструменты для заголовков ответов WSGI](https://python-all.ru/3.0/library/wsgiref.html#module-wsgiref.headers)1321      - [`wsgiref.simple_server` – Простой WSGI HTTP-сервер](https://python-all.ru/3.0/library/wsgiref.html#module-wsgiref.simple_server)1322      - [`wsgiref.validate` – Проверка соответствия WSGI](https://python-all.ru/3.0/library/wsgiref.html#module-wsgiref.validate)1323      - [`wsgiref.handlers` – Базовые классы сервера/шлюза](https://python-all.ru/3.0/library/wsgiref.html#module-wsgiref.handlers)1324      - [Примеры](https://python-all.ru/3.0/library/wsgiref.html#examples)1325    - [`urllib.request` – Расширяемая библиотека для открытия URL](https://python-all.ru/3.0/library/urllib.request.html)13261327      - [Объекты Request](https://python-all.ru/3.0/library/urllib.request.html#id1)1328      - [Объекты OpenerDirector](https://python-all.ru/3.0/library/urllib.request.html#openerdirector-objects)1329      - [Объекты BaseHandler](https://python-all.ru/3.0/library/urllib.request.html#basehandler-objects)1330      - [Объекты HTTPRedirectHandler](https://python-all.ru/3.0/library/urllib.request.html#httpredirecthandler-objects)1331      - [Объекты HTTPCookieProcessor](https://python-all.ru/3.0/library/urllib.request.html#httpcookieprocessor-objects)1332      - [Объекты ProxyHandler](https://python-all.ru/3.0/library/urllib.request.html#proxyhandler-objects)1333      - [Объекты HTTPPasswordMgr](https://python-all.ru/3.0/library/urllib.request.html#httppasswordmgr-objects)1334      - [Объекты AbstractBasicAuthHandler](https://python-all.ru/3.0/library/urllib.request.html#abstractbasicauthhandler-objects)1335      - [Объекты HTTPBasicAuthHandler](https://python-all.ru/3.0/library/urllib.request.html#httpbasicauthhandler-objects)1336      - [Объекты ProxyBasicAuthHandler](https://python-all.ru/3.0/library/urllib.request.html#proxybasicauthhandler-objects)1337      - [Объекты AbstractDigestAuthHandler](https://python-all.ru/3.0/library/urllib.request.html#abstractdigestauthhandler-objects)1338      - [Объекты HTTPDigestAuthHandler](https://python-all.ru/3.0/library/urllib.request.html#httpdigestauthhandler-objects)1339      - [Объекты ProxyDigestAuthHandler](https://python-all.ru/3.0/library/urllib.request.html#proxydigestauthhandler-objects)1340      - [Объекты HTTPHandler](https://python-all.ru/3.0/library/urllib.request.html#httphandler-objects)1341      - [Объекты HTTPSHandler](https://python-all.ru/3.0/library/urllib.request.html#httpshandler-objects)1342      - [Объекты FileHandler](https://python-all.ru/3.0/library/urllib.request.html#filehandler-objects)1343      - [Объекты FTPHandler](https://python-all.ru/3.0/library/urllib.request.html#ftphandler-objects)1344      - [Объекты CacheFTPHandler](https://python-all.ru/3.0/library/urllib.request.html#cacheftphandler-objects)1345      - [Объекты UnknownHandler](https://python-all.ru/3.0/library/urllib.request.html#unknownhandler-objects)1346      - [Объекты HTTPErrorProcessor](https://python-all.ru/3.0/library/urllib.request.html#httperrorprocessor-objects)1347      - [Примеры](https://python-all.ru/3.0/library/urllib.request.html#examples)1348      - [`urllib.request` Ограничения](https://python-all.ru/3.0/library/urllib.request.html#urllib-request-restrictions)1349    - [`urllib.response` – Классы ответов, используемые urllib.](https://python-all.ru/3.0/library/urllib.request.html#module-urllib.response)1350    - [`urllib.parse` – Разбор URL на составные части](https://python-all.ru/3.0/library/urllib.parse.html)13511352      - [Результаты `urlparse()` и `urlsplit()`](https://python-all.ru/3.0/library/urllib.parse.html#results-of-urlparse-and-urlsplit)1353    - [`urllib.error` – Классы исключений, вызываемые urllib.request](https://python-all.ru/3.0/library/urllib.error.html)1354    - [`urllib.robotparser` – Парсер для robots.txt](https://python-all.ru/3.0/library/urllib.robotparser.html)1355    - [`http.client` – Клиент протокола HTTP](https://python-all.ru/3.0/library/http.client.html)13561357      - [Объекты HTTPConnection](https://python-all.ru/3.0/library/http.client.html#id1)1358      - [Объекты HTTPResponse](https://python-all.ru/3.0/library/http.client.html#id2)1359      - [Примеры](https://python-all.ru/3.0/library/http.client.html#examples)1360    - [`ftplib` – Клиент протокола FTP](https://python-all.ru/3.0/library/ftplib.html)13611362      - [Объекты FTP](https://python-all.ru/3.0/library/ftplib.html#id1)1363    - [`poplib` – Клиент протокола POP3](https://python-all.ru/3.0/library/poplib.html)13641365      - [Объекты POP3](https://python-all.ru/3.0/library/poplib.html#id1)1366      - [Пример POP3](https://python-all.ru/3.0/library/poplib.html#id2)1367    - [`imaplib` – Клиент протокола IMAP4](https://python-all.ru/3.0/library/imaplib.html)13681369      - [Объекты IMAP4](https://python-all.ru/3.0/library/imaplib.html#id1)1370      - [Пример IMAP4](https://python-all.ru/3.0/library/imaplib.html#id2)1371    - [`nntplib` – Клиент протокола NNTP](https://python-all.ru/3.0/library/nntplib.html)13721373      - [Объекты NNTP](https://python-all.ru/3.0/library/nntplib.html#id1)1374    - [`smtplib` – Клиент протокола SMTP](https://python-all.ru/3.0/library/smtplib.html)13751376      - [Объекты SMTP](https://python-all.ru/3.0/library/smtplib.html#id1)1377      - [Пример SMTP](https://python-all.ru/3.0/library/smtplib.html#id2)1378    - [`smtpd` – SMTP-сервер](https://python-all.ru/3.0/library/smtpd.html)13791380      - [Объекты SMTPServer](https://python-all.ru/3.0/library/smtpd.html#smtpserver-objects)1381      - [Объекты DebuggingServer](https://python-all.ru/3.0/library/smtpd.html#debuggingserver-objects)1382      - [Объекты PureProxy](https://python-all.ru/3.0/library/smtpd.html#pureproxy-objects)1383      - [Объекты MailmanProxy](https://python-all.ru/3.0/library/smtpd.html#mailmanproxy-objects)1384    - [`telnetlib` – Telnet-клиент](https://python-all.ru/3.0/library/telnetlib.html)13851386      - [Объекты Telnet](https://python-all.ru/3.0/library/telnetlib.html#id1)1387      - [Пример Telnet](https://python-all.ru/3.0/library/telnetlib.html#id2)1388    - [`uuid` – объекты UUID в соответствии с RFC 4122](https://python-all.ru/3.0/library/uuid.html)13891390      - [Пример](https://python-all.ru/3.0/library/uuid.html#example)1391    - [`socketserver` – фреймворк для сетевых серверов](https://python-all.ru/3.0/library/socketserver.html)13921393      - [Замечания по созданию сервера](https://python-all.ru/3.0/library/socketserver.html#server-creation-notes)1394      - [Объекты сервера](https://python-all.ru/3.0/library/socketserver.html#server-objects)1395      - [Объекты RequestHandler](https://python-all.ru/3.0/library/socketserver.html#requesthandler-objects)1396      - [Примеры](https://python-all.ru/3.0/library/socketserver.html#examples)13971398        - [`socketserver.TCPServer` Пример](https://python-all.ru/3.0/library/socketserver.html#socketserver-tcpserver-example)1399        - [`socketserver.UDPServer` Пример](https://python-all.ru/3.0/library/socketserver.html#socketserver-udpserver-example)1400        - [Асинхронные примеси](https://python-all.ru/3.0/library/socketserver.html#asynchronous-mixins)1401    - [`http.server` – HTTP-серверы](https://python-all.ru/3.0/library/http.server.html)1402    - [`http.cookies` – управление состоянием HTTP](https://python-all.ru/3.0/library/http.cookies.html)14031404      - [Объекты Cookie](https://python-all.ru/3.0/library/http.cookies.html#id1)1405      - [Объекты Morsel](https://python-all.ru/3.0/library/http.cookies.html#id2)1406      - [Пример](https://python-all.ru/3.0/library/http.cookies.html#example)1407    - [`http.cookiejar` – обработка куки для HTTP-клиентов](https://python-all.ru/3.0/library/http.cookiejar.html)14081409      - [Объекты CookieJar и FileCookieJar](https://python-all.ru/3.0/library/http.cookiejar.html#cookiejar-and-filecookiejar-objects)1410      - [Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/3.0/library/http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)1411      - [Объекты CookiePolicy](https://python-all.ru/3.0/library/http.cookiejar.html#cookiepolicy-objects)1412      - [Объекты DefaultCookiePolicy](https://python-all.ru/3.0/library/http.cookiejar.html#defaultcookiepolicy-objects)1413      - [Объекты Cookie](https://python-all.ru/3.0/library/http.cookiejar.html#cookie-objects)1414      - [Примеры](https://python-all.ru/3.0/library/http.cookiejar.html#examples)1415    - [`xmlrpc.client` – доступ к XML-RPC-клиенту](https://python-all.ru/3.0/library/xmlrpc.client.html)14161417      - [Объекты ServerProxy](https://python-all.ru/3.0/library/xmlrpc.client.html#id1)1418      - [Объекты datetime](https://python-all.ru/3.0/library/xmlrpc.client.html#id2)1419      - [Объекты Binary](https://python-all.ru/3.0/library/xmlrpc.client.html#id3)1420      - [Объекты Fault](https://python-all.ru/3.0/library/xmlrpc.client.html#id4)1421      - [Объекты ProtocolError](https://python-all.ru/3.0/library/xmlrpc.client.html#protocolerror-objects)1422      - [Объекты MultiCall](https://python-all.ru/3.0/library/xmlrpc.client.html#multicall-objects)1423      - [Удобные функции](https://python-all.ru/3.0/library/xmlrpc.client.html#convenience-functions)1424      - [Пример использования клиента](https://python-all.ru/3.0/library/xmlrpc.client.html#example-of-client-usage)1425      - [Пример использования клиента и сервера](https://python-all.ru/3.0/library/xmlrpc.client.html#example-of-client-and-server-usage)1426    - [`xmlrpc.server` – базовые XML-RPC-серверы](https://python-all.ru/3.0/library/xmlrpc.server.html)14271428      - [Объекты SimpleXMLRPCServer](https://python-all.ru/3.0/library/xmlrpc.server.html#simplexmlrpcserver-objects)14291430        - [Пример SimpleXMLRPCServer](https://python-all.ru/3.0/library/xmlrpc.server.html#id1)1431      - [CGIXMLRPCRequestHandler](https://python-all.ru/3.0/library/xmlrpc.server.html#cgixmlrpcrequesthandler)1432      - [Документирование сервера XML-RPC](https://python-all.ru/3.0/library/xmlrpc.server.html#documenting-xmlrpc-server)1433      - [Объекты DocXMLRPCServer](https://python-all.ru/3.0/library/xmlrpc.server.html#docxmlrpcserver-objects)1434      - [DocCGIXMLRPCRequestHandler](https://python-all.ru/3.0/library/xmlrpc.server.html#doccgixmlrpcrequesthandler)1435  - [Мультимедийные службы](https://python-all.ru/3.0/library/mm.html)14361437    - [`audioop` – манипулирование сырыми аудиоданными](https://python-all.ru/3.0/library/audioop.html)1438    - [`aifc` – чтение и запись файлов AIFF и AIFC](https://python-all.ru/3.0/library/aifc.html)1439    - [`sunau` – чтение и запись файлов Sun AU](https://python-all.ru/3.0/library/sunau.html)14401441      - [Объекты AU\_read](https://python-all.ru/3.0/library/sunau.html#id1)1442      - [Объекты AU\_write](https://python-all.ru/3.0/library/sunau.html#id2)1443    - [`wave` – чтение и запись WAV-файлов](https://python-all.ru/3.0/library/wave.html)14441445      - [Объекты Wave\_read](https://python-all.ru/3.0/library/wave.html#id1)1446      - [Объекты Wave\_write](https://python-all.ru/3.0/library/wave.html#id2)1447    - [`chunk` – чтение фрагментированных данных IFF](https://python-all.ru/3.0/library/chunk.html)1448    - [`colorsys` – преобразования между цветовыми системами](https://python-all.ru/3.0/library/colorsys.html)1449    - [`imghdr` – определение типа изображения](https://python-all.ru/3.0/library/imghdr.html)1450    - [`sndhdr` – определение типа звукового файла](https://python-all.ru/3.0/library/sndhdr.html)1451    - [`ossaudiodev` – доступ к аудиоустройствам, совместимым с OSS](https://python-all.ru/3.0/library/ossaudiodev.html)14521453      - [Объекты аудиоустройства](https://python-all.ru/3.0/library/ossaudiodev.html#audio-device-objects)1454      - [Объекты микшера](https://python-all.ru/3.0/library/ossaudiodev.html#id1)1455  - [Интернационализация](https://python-all.ru/3.0/library/i18n.html)14561457    - [`gettext` – службы многоязычной интернационализации](https://python-all.ru/3.0/library/gettext.html)14581459      - [API GNU **gettext**](https://python-all.ru/3.0/library/gettext.html#gnu-gettext-api)1460      - [API на основе классов](https://python-all.ru/3.0/library/gettext.html#class-based-api)14611462        - [Класс `NullTranslations`](https://python-all.ru/3.0/library/gettext.html#the-nulltranslations-class)1463        - [Класс `GNUTranslations`](https://python-all.ru/3.0/library/gettext.html#the-gnutranslations-class)1464        - [Поддержка каталогов сообщений Solaris](https://python-all.ru/3.0/library/gettext.html#solaris-message-catalog-support)1465        - [Конструктор Catalog](https://python-all.ru/3.0/library/gettext.html#the-catalog-constructor)1466      - [Интернационализация программ и модулей](https://python-all.ru/3.0/library/gettext.html#internationalizing-your-programs-and-modules)14671468        - [Локализация модуля](https://python-all.ru/3.0/library/gettext.html#localizing-your-module)1469        - [Локализация приложения](https://python-all.ru/3.0/library/gettext.html#localizing-your-application)1470        - [Смена языка на лету](https://python-all.ru/3.0/library/gettext.html#changing-languages-on-the-fly)1471        - [Отложенные переводы](https://python-all.ru/3.0/library/gettext.html#deferred-translations)1472      - [Благодарности](https://python-all.ru/3.0/library/gettext.html#acknowledgements)1473    - [`locale` – службы интернационализации](https://python-all.ru/3.0/library/locale.html)14741475      - [Предыстория, подробности, советы, подсказки и предостережения](https://python-all.ru/3.0/library/locale.html#background-details-hints-tips-and-caveats)1476      - [Для разработчиков расширений и программ, встраивающих Python](https://python-all.ru/3.0/library/locale.html#for-extension-writers-and-programs-that-embed-python)1477      - [Доступ к каталогам сообщений](https://python-all.ru/3.0/library/locale.html#access-to-message-catalogs)1478  - [Программные фреймворки](https://python-all.ru/3.0/library/frameworks.html)14791480    - [`cmd` – поддержка командных интерпретаторов, ориентированных на строки](https://python-all.ru/3.0/library/cmd.html)14811482      - [Объекты Cmd](https://python-all.ru/3.0/library/cmd.html#id1)1483    - [`shlex` – простой лексический анализ](https://python-all.ru/3.0/library/shlex.html)14841485      - [Объекты shlex](https://python-all.ru/3.0/library/shlex.html#id1)1486      - [Правила разбора](https://python-all.ru/3.0/library/shlex.html#parsing-rules)1487  - [Графические пользовательские интерфейсы с Tk](https://python-all.ru/3.0/library/tk.html)14881489    - [`tkinter` – интерфейс Python для Tcl/Tk](https://python-all.ru/3.0/library/tkinter.html)14901491      - [Модули Tkinter](https://python-all.ru/3.0/library/tkinter.html#tkinter-modules)1492      - [Основы Tkinter](https://python-all.ru/3.0/library/tkinter.html#tkinter-life-preserver)14931494        - [Как использовать этот раздел](https://python-all.ru/3.0/library/tkinter.html#how-to-use-this-section)1495        - [Простая программа Hello World](https://python-all.ru/3.0/library/tkinter.html#a-simple-hello-world-program)1496      - [Беглый (очень) взгляд на Tcl/Tk](https://python-all.ru/3.0/library/tkinter.html#a-very-quick-look-at-tcl-tk)1497      - [Сопоставление базовых Tk с Tkinter](https://python-all.ru/3.0/library/tkinter.html#mapping-basic-tk-into-tkinter)1498      - [Как связаны Tk и Tkinter](https://python-all.ru/3.0/library/tkinter.html#how-tk-and-tkinter-are-related)1499      - [Удобный справочник](https://python-all.ru/3.0/library/tkinter.html#handy-reference)15001501        - [Настройка параметров](https://python-all.ru/3.0/library/tkinter.html#setting-options)1502        - [Packer](https://python-all.ru/3.0/library/tkinter.html#the-packer)1503        - [Параметры Packer](https://python-all.ru/3.0/library/tkinter.html#packer-options)1504        - [Связывание переменных виджетов](https://python-all.ru/3.0/library/tkinter.html#coupling-widget-variables)1505        - [Менеджер окон](https://python-all.ru/3.0/library/tkinter.html#the-window-manager)1506        - [Типы данных опций Tk](https://python-all.ru/3.0/library/tkinter.html#tk-option-data-types)1507        - [Привязки и события](https://python-all.ru/3.0/library/tkinter.html#bindings-and-events)1508        - [Параметр index](https://python-all.ru/3.0/library/tkinter.html#the-index-parameter)1509        - [Изображения](https://python-all.ru/3.0/library/tkinter.html#images)1510    - [`tkinter.tix` – расширенные виджеты для Tk](https://python-all.ru/3.0/library/tkinter.tix.html)15111512      - [Использование Tix](https://python-all.ru/3.0/library/tkinter.tix.html#using-tix)1513      - [Виджеты Tix](https://python-all.ru/3.0/library/tkinter.tix.html#tix-widgets)15141515        - [Базовые виджеты](https://python-all.ru/3.0/library/tkinter.tix.html#basic-widgets)1516        - [Выбор файлов](https://python-all.ru/3.0/library/tkinter.tix.html#file-selectors)1517        - [Иерархический ListBox](https://python-all.ru/3.0/library/tkinter.tix.html#hierarchical-listbox)1518        - [Табличный ListBox](https://python-all.ru/3.0/library/tkinter.tix.html#tabular-listbox)1519        - [Менеджеры виджетов](https://python-all.ru/3.0/library/tkinter.tix.html#manager-widgets)1520        - [Типы изображений](https://python-all.ru/3.0/library/tkinter.tix.html#image-types)1521        - [Прочие виджеты](https://python-all.ru/3.0/library/tkinter.tix.html#miscellaneous-widgets)1522        - [Менеджер геометрии Form](https://python-all.ru/3.0/library/tkinter.tix.html#form-geometry-manager)1523      - [Команды Tix](https://python-all.ru/3.0/library/tkinter.tix.html#tix-commands)1524    - [`tkinter.scrolledtext` – виджет текста с прокруткой](https://python-all.ru/3.0/library/tkinter.scrolledtext.html)1525    - [`turtle` – графика Turtle для Tk](https://python-all.ru/3.0/library/turtle.html)15261527      - [Введение](https://python-all.ru/3.0/library/turtle.html#introduction)1528      - [Обзор доступных методов Turtle и Screen](https://python-all.ru/3.0/library/turtle.html#overview-over-available-turtle-and-screen-methods)15291530        - [Методы черепашки](https://python-all.ru/3.0/library/turtle.html#turtle-methods)1531        - [Методы TurtleScreen/Screen](https://python-all.ru/3.0/library/turtle.html#methods-of-turtlescreen-screen)1532      - [Методы RawTurtle/Turtle и соответствующие функции](https://python-all.ru/3.0/library/turtle.html#methods-of-rawturtle-turtle-and-corresponding-functions)15331534        - [Движение черепашки](https://python-all.ru/3.0/library/turtle.html#turtle-motion)1535        - [Состояние черепашки](https://python-all.ru/3.0/library/turtle.html#tell-turtle-s-state)1536        - [Настройки измерений](https://python-all.ru/3.0/library/turtle.html#settings-for-measurement)1537        - [Управление пером](https://python-all.ru/3.0/library/turtle.html#pen-control)15381539          - [Состояние рисования](https://python-all.ru/3.0/library/turtle.html#drawing-state)1540          - [Управление цветом](https://python-all.ru/3.0/library/turtle.html#color-control)1541          - [Заливка](https://python-all.ru/3.0/library/turtle.html#filling)1542          - [Дополнительное управление рисованием](https://python-all.ru/3.0/library/turtle.html#more-drawing-control)1543        - [Состояние черепашки](https://python-all.ru/3.0/library/turtle.html#turtle-state)15441545          - [Видимость](https://python-all.ru/3.0/library/turtle.html#visibility)1546          - [Внешний вид](https://python-all.ru/3.0/library/turtle.html#appearance)1547        - [Использование событий](https://python-all.ru/3.0/library/turtle.html#using-events)1548        - [Специальные методы черепашки](https://python-all.ru/3.0/library/turtle.html#special-turtle-methods)1549        - [Экскурс об использовании составных фигур](https://python-all.ru/3.0/library/turtle.html#excursus-about-the-use-of-compound-shapes)1550      - [Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/3.0/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)15511552        - [Управление окном](https://python-all.ru/3.0/library/turtle.html#window-control)1553        - [Управление анимацией](https://python-all.ru/3.0/library/turtle.html#animation-control)1554        - [Использование событий экрана](https://python-all.ru/3.0/library/turtle.html#using-screen-events)1555        - [Настройки и специальные методы](https://python-all.ru/3.0/library/turtle.html#settings-and-special-methods)1556        - [Методы, специфичные для Screen и не унаследованные от TurtleScreen](https://python-all.ru/3.0/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)1557      - [Публичные классы модуля `turtle`](https://python-all.ru/3.0/library/turtle.html#the-public-classes-of-the-module-turtle)1558      - [Справка и настройка](https://python-all.ru/3.0/library/turtle.html#help-and-configuration)15591560        - [Как пользоваться справкой](https://python-all.ru/3.0/library/turtle.html#how-to-use-help)1561        - [Перевод docstrings на разные языки](https://python-all.ru/3.0/library/turtle.html#translation-of-docstrings-into-different-languages)1562        - [Как настроить Screen и Turtles](https://python-all.ru/3.0/library/turtle.html#how-to-configure-screen-and-turtles)1563      - [Демонстрационные скрипты](https://python-all.ru/3.0/library/turtle.html#demo-scripts)1564      - [Изменения начиная с Python 2.6](https://python-all.ru/3.0/library/turtle.html#changes-since-python-2-6)1565    - [IDLE](https://python-all.ru/3.0/library/idle.html)15661567      - [Меню](https://python-all.ru/3.0/library/idle.html#menus)15681569        - [Меню «Файл»](https://python-all.ru/3.0/library/idle.html#file-menu)1570        - [Меню «Правка»](https://python-all.ru/3.0/library/idle.html#edit-menu)1571        - [Меню «Окно»](https://python-all.ru/3.0/library/idle.html#windows-menu)1572        - [Меню «Отладка» (только в окне Python Shell)](https://python-all.ru/3.0/library/idle.html#debug-menu-in-the-python-shell-window-only)1573      - [Основы редактирования и навигации](https://python-all.ru/3.0/library/idle.html#basic-editing-and-navigation)15741575        - [Автоматические отступы](https://python-all.ru/3.0/library/idle.html#automatic-indentation)1576        - [Окно оболочки Python](https://python-all.ru/3.0/library/idle.html#python-shell-window)1577      - [Цвета синтаксиса](https://python-all.ru/3.0/library/idle.html#syntax-colors)15781579        - [Использование командной строки](https://python-all.ru/3.0/library/idle.html#command-line-usage)1580    - [Другие пакеты графического интерфейса пользователя](https://python-all.ru/3.0/library/othergui.html)1581  - [Инструменты разработки](https://python-all.ru/3.0/library/development.html)15821583    - [`pydoc` – генератор документации и справочная система](https://python-all.ru/3.0/library/pydoc.html)1584    - [`doctest` – тестирование интерактивных примеров Python](https://python-all.ru/3.0/library/doctest.html)15851586      - [Простое использование: проверка примеров в строках документации](https://python-all.ru/3.0/library/doctest.html#simple-usage-checking-examples-in-docstrings)1587      - [Простое использование: проверка примеров в текстовом файле](https://python-all.ru/3.0/library/doctest.html#simple-usage-checking-examples-in-a-text-file)1588      - [Как это работает](https://python-all.ru/3.0/library/doctest.html#how-it-works)15891590        - [Какие строки документации проверяются?](https://python-all.ru/3.0/library/doctest.html#which-docstrings-are-examined)1591        - [Как распознаются примеры в строках документации?](https://python-all.ru/3.0/library/doctest.html#how-are-docstring-examples-recognized)1592        - [Каков контекст выполнения?](https://python-all.ru/3.0/library/doctest.html#what-s-the-execution-context)1593        - [А как насчёт исключений?](https://python-all.ru/3.0/library/doctest.html#what-about-exceptions)1594        - [Флаги и директивы](https://python-all.ru/3.0/library/doctest.html#option-flags-and-directives)1595        - [Предупреждения](https://python-all.ru/3.0/library/doctest.html#warnings)1596      - [Базовый API](https://python-all.ru/3.0/library/doctest.html#basic-api)1597      - [API unittest](https://python-all.ru/3.0/library/doctest.html#unittest-api)1598      - [Расширенный API](https://python-all.ru/3.0/library/doctest.html#advanced-api)15991600        - [Объекты DocTest](https://python-all.ru/3.0/library/doctest.html#doctest-objects)1601        - [Объекты Example](https://python-all.ru/3.0/library/doctest.html#example-objects)1602        - [Объекты DocTestFinder](https://python-all.ru/3.0/library/doctest.html#doctestfinder-objects)1603        - [Объекты DocTestParser](https://python-all.ru/3.0/library/doctest.html#doctestparser-objects)1604        - [Объекты DocTestRunner](https://python-all.ru/3.0/library/doctest.html#doctestrunner-objects)1605        - [Объекты OutputChecker](https://python-all.ru/3.0/library/doctest.html#outputchecker-objects)1606      - [Отладка](https://python-all.ru/3.0/library/doctest.html#debugging)1607      - [Трибуна](https://python-all.ru/3.0/library/doctest.html#soapbox)1608    - [`unittest` – фреймворк для модульного тестирования](https://python-all.ru/3.0/library/unittest.html)16091610      - [Простой пример](https://python-all.ru/3.0/library/unittest.html#basic-example)1611      - [Организация тестового кода](https://python-all.ru/3.0/library/unittest.html#organizing-test-code)1612      - [Повторное использование старого тестового кода](https://python-all.ru/3.0/library/unittest.html#re-using-old-test-code)1613      - [Классы и функции](https://python-all.ru/3.0/library/unittest.html#classes-and-functions)1614      - [Объекты TestCase](https://python-all.ru/3.0/library/unittest.html#id1)1615      - [Объекты TestSuite](https://python-all.ru/3.0/library/unittest.html#id2)1616      - [Объекты TestResult](https://python-all.ru/3.0/library/unittest.html#id3)1617      - [Объекты TestLoader](https://python-all.ru/3.0/library/unittest.html#id4)1618    - [2to3 – автоматический перенос кода с Python 2 на Python 3](https://python-all.ru/3.0/library/2to3.html)16191620      - [Использование 2to3](https://python-all.ru/3.0/library/2to3.html#using-2to3)1621      - [`lib2to3` – библиотека 2to3](https://python-all.ru/3.0/library/2to3.html#module-lib2to3)1622    - [`test` – пакет регрессионных тестов для Python](https://python-all.ru/3.0/library/test.html)16231624      - [Написание модульных тестов для пакета `test`](https://python-all.ru/3.0/library/test.html#writing-unit-tests-for-the-test-package)1625      - [Запуск тестов с помощью `test.regrtest`](https://python-all.ru/3.0/library/test.html#running-tests-using-test-regrtest)1626    - [`test.support` – вспомогательные функции для тестов](https://python-all.ru/3.0/library/test.html#module-test.support)1627  - [Отладка и профилирование](https://python-all.ru/3.0/library/debug.html)16281629    - [`bdb` – каркас отладчика](https://python-all.ru/3.0/library/bdb.html)1630    - [`pdb` – отладчик Python](https://python-all.ru/3.0/library/pdb.html)1631    - [Команды отладчика](https://python-all.ru/3.0/library/pdb.html#id1)1632    - [Профилировщики Python](https://python-all.ru/3.0/library/profile.html)16331634      - [Введение в профилировщики](https://python-all.ru/3.0/library/profile.html#introduction-to-the-profilers)1635      - [Краткое руководство пользователя](https://python-all.ru/3.0/library/profile.html#instant-user-s-manual)1636      - [Что такое детерминированное профилирование?](https://python-all.ru/3.0/library/profile.html#what-is-deterministic-profiling)1637      - [Справочное руководство – `profile` и `cProfile`](https://python-all.ru/3.0/library/profile.html#module-pstats)16381639        - [Класс `Stats`](https://python-all.ru/3.0/library/profile.html#the-stats-class)1640      - [Ограничения](https://python-all.ru/3.0/library/profile.html#limitations)1641      - [Калибровка](https://python-all.ru/3.0/library/profile.html#calibration)1642      - [Расширения – создание более качественных профилировщиков](https://python-all.ru/3.0/library/profile.html#extensions-deriving-better-profilers)1643    - [`timeit` – измерение времени выполнения небольших фрагментов кода](https://python-all.ru/3.0/library/timeit.html)16441645      - [Интерфейс командной строки](https://python-all.ru/3.0/library/timeit.html#command-line-interface)1646      - [Примеры](https://python-all.ru/3.0/library/timeit.html#examples)1647    - [`trace` – трассировка или отслеживание выполнения операторов Python](https://python-all.ru/3.0/library/trace.html)16481649      - [Использование командной строки](https://python-all.ru/3.0/library/trace.html#command-line-usage)1650      - [Программный интерфейс](https://python-all.ru/3.0/library/trace.html#programming-interface)1651  - [Службы выполнения Python](https://python-all.ru/3.0/library/python.html)16521653    - [`sys` – системно-зависимые параметры и функции](https://python-all.ru/3.0/library/sys.html)1654    - [`builtins` – встроенные объекты](https://python-all.ru/3.0/library/builtins.html)1655    - [`__main__` – среда верхнего уровня для скриптов](https://python-all.ru/3.0/library/__main__.html)1656    - [`warnings` – управление предупреждениями](https://python-all.ru/3.0/library/warnings.html)16571658      - [Категории предупреждений](https://python-all.ru/3.0/library/warnings.html#id1)1659      - [Фильтр предупреждений](https://python-all.ru/3.0/library/warnings.html#the-warnings-filter)1660      - [Временное подавление предупреждений](https://python-all.ru/3.0/library/warnings.html#temporarily-suppressing-warnings)1661      - [Тестирование предупреждений](https://python-all.ru/3.0/library/warnings.html#testing-warnings)1662      - [Доступные функции](https://python-all.ru/3.0/library/warnings.html#available-functions)1663      - [Доступные контекстные менеджеры](https://python-all.ru/3.0/library/warnings.html#available-context-managers)1664    - [`contextlib` – утилиты для работы с контекстными менеджерами `with`.](https://python-all.ru/3.0/library/contextlib.html)1665    - [`abc` – абстрактные базовые классы](https://python-all.ru/3.0/library/abc.html)1666    - [`atexit` – обработчики завершения](https://python-all.ru/3.0/library/atexit.html)16671668      - [`atexit` Пример](https://python-all.ru/3.0/library/atexit.html#id1)1669    - [`traceback` – вывод или получение трассировки стека](https://python-all.ru/3.0/library/traceback.html)16701671      - [Примеры Traceback](https://python-all.ru/3.0/library/traceback.html#traceback-examples)1672    - [`__future__` – определения future-инструкций](https://python-all.ru/3.0/library/__future__.html)1673    - [`gc` – интерфейс сборщика мусора](https://python-all.ru/3.0/library/gc.html)1674    - [`inspect` – инспекция активных объектов](https://python-all.ru/3.0/library/inspect.html)16751676      - [Типы и члены](https://python-all.ru/3.0/library/inspect.html#types-and-members)1677      - [Получение исходного кода](https://python-all.ru/3.0/library/inspect.html#retrieving-source-code)1678      - [Классы и функции](https://python-all.ru/3.0/library/inspect.html#classes-and-functions)1679      - [Стек интерпретатора](https://python-all.ru/3.0/library/inspect.html#the-interpreter-stack)1680    - [`site` – хук конфигурации, специфичной для окружения](https://python-all.ru/3.0/library/site.html)1681    - [`fpectl` – управление исключениями с плавающей точкой](https://python-all.ru/3.0/library/fpectl.html)16821683      - [Пример](https://python-all.ru/3.0/library/fpectl.html#example)1684      - [Ограничения и прочие соображения](https://python-all.ru/3.0/library/fpectl.html#limitations-and-other-considerations)1685  - [Пользовательские интерпретаторы Python](https://python-all.ru/3.0/library/custominterp.html)16861687    - [`code` – базовые классы интерпретатора](https://python-all.ru/3.0/library/code.html)16881689      - [Объекты интерактивного интерпретатора](https://python-all.ru/3.0/library/code.html#interactive-interpreter-objects)1690      - [Объекты интерактивной консоли](https://python-all.ru/3.0/library/code.html#interactive-console-objects)1691    - [`codeop` – компиляция кода Python](https://python-all.ru/3.0/library/codeop.html)1692  - [Импорт модулей](https://python-all.ru/3.0/library/modules.html)16931694    - [`imp` – доступ к внутренним механизмам `import`](https://python-all.ru/3.0/library/imp.html)16951696      - [Примеры](https://python-all.ru/3.0/library/imp.html#examples)1697    - [`zipimport` – импорт модулей из Zip-архивов](https://python-all.ru/3.0/library/zipimport.html)16981699      - [Объекты zipimporter](https://python-all.ru/3.0/library/zipimport.html#id1)1700      - [Примеры](https://python-all.ru/3.0/library/zipimport.html#examples)1701    - [`pkgutil` – утилита расширения пакетов](https://python-all.ru/3.0/library/pkgutil.html)1702    - [`modulefinder` – поиск модулей, используемых сценарием](https://python-all.ru/3.0/library/modulefinder.html)17031704      - [Пример использования `ModuleFinder`](https://python-all.ru/3.0/library/modulefinder.html#example-usage-of-modulefinder)1705    - [`runpy` – поиск и выполнение модулей Python](https://python-all.ru/3.0/library/runpy.html)1706  - [Службы языка Python](https://python-all.ru/3.0/library/language.html)17071708    - [`parser` – доступ к деревьям разбора Python](https://python-all.ru/3.0/library/parser.html)17091710      - [Создание ST-объектов](https://python-all.ru/3.0/library/parser.html#creating-st-objects)1711      - [Преобразование ST-объектов](https://python-all.ru/3.0/library/parser.html#converting-st-objects)1712      - [Запросы к ST-объектам](https://python-all.ru/3.0/library/parser.html#queries-on-st-objects)1713      - [Исключения и обработка ошибок](https://python-all.ru/3.0/library/parser.html#exceptions-and-error-handling)1714      - [ST-объекты](https://python-all.ru/3.0/library/parser.html#id1)1715      - [Примеры](https://python-all.ru/3.0/library/parser.html#examples)17161717        - [Эмуляция `compile()`](https://python-all.ru/3.0/library/parser.html#emulation-of-compile)1718        - [Обнаружение информации](https://python-all.ru/3.0/library/parser.html#information-discovery)1719    - [Абстрактные синтаксические деревья](https://python-all.ru/3.0/library/ast.html)17201721      - [Классы узлов](https://python-all.ru/3.0/library/ast.html#node-classes)1722      - [Абстрактная грамматика](https://python-all.ru/3.0/library/ast.html#id1)1723      - [`ast` Вспомогательные функции](https://python-all.ru/3.0/library/ast.html#ast-helpers)1724    - [`symtable` – доступ к таблицам символов компилятора](https://python-all.ru/3.0/library/symtable.html)17251726      - [Генерация таблиц символов](https://python-all.ru/3.0/library/symtable.html#generating-symbol-tables)1727      - [Изучение таблиц символов](https://python-all.ru/3.0/library/symtable.html#examining-symbol-tables)1728    - [`symbol` – константы, используемые с деревьями разбора Python](https://python-all.ru/3.0/library/symbol.html)1729    - [`token` – константы, используемые с деревьями разбора Python](https://python-all.ru/3.0/library/token.html)1730    - [`keyword` – проверка на ключевые слова Python](https://python-all.ru/3.0/library/keyword.html)1731    - [`tokenize` – Токенизатор исходного кода Python](https://python-all.ru/3.0/library/tokenize.html)1732    - [`tabnanny` – Обнаружение неоднозначных отступов](https://python-all.ru/3.0/library/tabnanny.html)1733    - [`pyclbr` – Поддержка браузера классов Python](https://python-all.ru/3.0/library/pyclbr.html)17341735      - [Объекты классов](https://python-all.ru/3.0/library/pyclbr.html#class-objects)1736      - [Объекты функций](https://python-all.ru/3.0/library/pyclbr.html#function-objects)1737    - [`py_compile` – Компиляция исходных файлов Python](https://python-all.ru/3.0/library/py_compile.html)1738    - [`compileall` – Байт-компиляция библиотек Python](https://python-all.ru/3.0/library/compileall.html)1739    - [`dis` – Дизассемблер байт-кода Python](https://python-all.ru/3.0/library/dis.html)17401741      - [Инструкции байт-кода Python](https://python-all.ru/3.0/library/dis.html#python-bytecode-instructions)1742    - [`pickletools` – Инструменты для разработчиков pickle.](https://python-all.ru/3.0/library/pickletools.html)1743    - [`distutils` – Сборка и установка модулей Python](https://python-all.ru/3.0/library/distutils.html)1744  - [Прочие службы](https://python-all.ru/3.0/library/misc.html)17451746    - [`formatter` – Универсальное форматирование вывода](https://python-all.ru/3.0/library/formatter.html)17471748      - [Интерфейс Formatter](https://python-all.ru/3.0/library/formatter.html#the-formatter-interface)1749      - [Реализации Formatter](https://python-all.ru/3.0/library/formatter.html#formatter-implementations)1750      - [Интерфейс Writer](https://python-all.ru/3.0/library/formatter.html#the-writer-interface)1751      - [Реализации Writer](https://python-all.ru/3.0/library/formatter.html#writer-implementations)1752  - [Службы, специфичные для MS Windows](https://python-all.ru/3.0/library/windows.html)17531754    - [`msilib` – Чтение и запись файлов Microsoft Installer](https://python-all.ru/3.0/library/msilib.html)17551756      - [Объекты базы данных](https://python-all.ru/3.0/library/msilib.html#id1)1757      - [Объекты представления](https://python-all.ru/3.0/library/msilib.html#id2)1758      - [Объекты сводной информации](https://python-all.ru/3.0/library/msilib.html#summary-information-objects)1759      - [Объекты записей](https://python-all.ru/3.0/library/msilib.html#id3)1760      - [Ошибки](https://python-all.ru/3.0/library/msilib.html#errors)1761      - [Объекты CAB](https://python-all.ru/3.0/library/msilib.html#cab-objects)1762      - [Объекты каталогов](https://python-all.ru/3.0/library/msilib.html#directory-objects)1763      - [Возможности](https://python-all.ru/3.0/library/msilib.html#id4)1764      - [Классы графического интерфейса](https://python-all.ru/3.0/library/msilib.html#gui-classes)1765      - [Предварительно вычисленные таблицы](https://python-all.ru/3.0/library/msilib.html#precomputed-tables)1766    - [`msvcrt` – Полезные процедуры из MS VC++ runtime](https://python-all.ru/3.0/library/msvcrt.html)17671768      - [Операции с файлами](https://python-all.ru/3.0/library/msvcrt.html#file-operations)1769      - [Консольный ввод/вывод](https://python-all.ru/3.0/library/msvcrt.html#console-i-o)1770      - [Прочие функции](https://python-all.ru/3.0/library/msvcrt.html#other-functions)1771    - [`winreg` – Доступ к реестру Windows](https://python-all.ru/3.0/library/winreg.html)17721773      - [Объекты дескрипторов реестра](https://python-all.ru/3.0/library/winreg.html#registry-handle-objects)1774    - [`winsound` – Интерфейс воспроизведения звука для Windows](https://python-all.ru/3.0/library/winsound.html)1775  - [Специфические для Unix службы](https://python-all.ru/3.0/library/unix.html)17761777    - [`posix` – Самые распространённые системные вызовы POSIX](https://python-all.ru/3.0/library/posix.html)17781779      - [Поддержка больших файлов](https://python-all.ru/3.0/library/posix.html#large-file-support)1780      - [Примечательное содержимое модуля](https://python-all.ru/3.0/library/posix.html#notable-module-contents)1781    - [`pwd` – База данных паролей](https://python-all.ru/3.0/library/pwd.html)1782    - [`spwd` – База данных теневых паролей](https://python-all.ru/3.0/library/spwd.html)1783    - [`grp` – База данных групп](https://python-all.ru/3.0/library/grp.html)1784    - [`crypt` – Функция проверки паролей Unix](https://python-all.ru/3.0/library/crypt.html)1785    - [`termios` – Управление tty в стиле POSIX](https://python-all.ru/3.0/library/termios.html)17861787      - [Пример](https://python-all.ru/3.0/library/termios.html#example)1788    - [`tty` – Функции управления терминалом](https://python-all.ru/3.0/library/tty.html)1789    - [`pty` – Утилиты псевдотерминала](https://python-all.ru/3.0/library/pty.html)1790    - [`fcntl` – Системные вызовы `fcntl()` и `ioctl()`](https://python-all.ru/3.0/library/fcntl.html)1791    - [`pipes` – Интерфейс к конвейерам оболочки](https://python-all.ru/3.0/library/pipes.html)17921793      - [Объекты шаблонов](https://python-all.ru/3.0/library/pipes.html#id1)1794    - [`resource` – Информация об использовании ресурсов](https://python-all.ru/3.0/library/resource.html)17951796      - [Ограничения ресурсов](https://python-all.ru/3.0/library/resource.html#resource-limits)1797      - [Использование ресурсов](https://python-all.ru/3.0/library/resource.html#resource-usage)1798    - [`nis` – Интерфейс к NIS (Yellow Pages) от Sun](https://python-all.ru/3.0/library/nis.html)1799    - [`syslog` – Функции библиотеки syslog Unix](https://python-all.ru/3.0/library/syslog.html)1800  - [Недокументированные модули](https://python-all.ru/3.0/library/undoc.html)18011802    - [Платформозависимые модули](https://python-all.ru/3.0/library/undoc.html#platform-specific-modules)1803- [Расширение и встраивание интерпретатора Python](https://python-all.ru/3.0/extending/index.html)18041805  - [Расширение Python с помощью C или C++](https://python-all.ru/3.0/extending/extending.html)18061807    - [Простой пример](https://python-all.ru/3.0/extending/extending.html#a-simple-example)1808    - [Интермеццо: ошибки и исключения](https://python-all.ru/3.0/extending/extending.html#intermezzo-errors-and-exceptions)1809    - [Возвращение к примеру](https://python-all.ru/3.0/extending/extending.html#back-to-the-example)1810    - [Таблица методов модуля и функция инициализации](https://python-all.ru/3.0/extending/extending.html#the-module-s-method-table-and-initialization-function)1811    - [Компиляция и компоновка](https://python-all.ru/3.0/extending/extending.html#compilation-and-linkage)1812    - [Вызов функций Python из C](https://python-all.ru/3.0/extending/extending.html#calling-python-functions-from-c)1813    - [Извлечение параметров в функциях расширения](https://python-all.ru/3.0/extending/extending.html#extracting-parameters-in-extension-functions)1814    - [Именованные параметры для функций расширения](https://python-all.ru/3.0/extending/extending.html#keyword-parameters-for-extension-functions)1815    - [Построение произвольных значений](https://python-all.ru/3.0/extending/extending.html#building-arbitrary-values)1816    - [Счётчики ссылок](https://python-all.ru/3.0/extending/extending.html#reference-counts)18171818      - [Подсчёт ссылок в Python](https://python-all.ru/3.0/extending/extending.html#reference-counting-in-python)1819      - [Правила владения](https://python-all.ru/3.0/extending/extending.html#ownership-rules)1820      - [Тонкий лёд](https://python-all.ru/3.0/extending/extending.html#thin-ice)1821      - [NULL-указатели](https://python-all.ru/3.0/extending/extending.html#null-pointers)1822    - [Написание расширений на C++](https://python-all.ru/3.0/extending/extending.html#writing-extensions-in-c)1823    - [Предоставление C API для модуля расширения](https://python-all.ru/3.0/extending/extending.html#providing-a-c-api-for-an-extension-module)1824  - [Определение новых типов](https://python-all.ru/3.0/extending/newtypes.html)18251826    - [Основы](https://python-all.ru/3.0/extending/newtypes.html#the-basics)18271828      - [Добавление данных и методов к базовому примеру](https://python-all.ru/3.0/extending/newtypes.html#adding-data-and-methods-to-the-basic-example)1829      - [Предоставление более точного контроля над атрибутами данных](https://python-all.ru/3.0/extending/newtypes.html#providing-finer-control-over-data-attributes)1830      - [Поддержка циклической сборки мусора](https://python-all.ru/3.0/extending/newtypes.html#supporting-cyclic-garbage-collection)1831      - [Наследование от других типов](https://python-all.ru/3.0/extending/newtypes.html#subclassing-other-types)1832    - [Методы типа](https://python-all.ru/3.0/extending/newtypes.html#type-methods)18331834      - [Финализация и освобождение памяти](https://python-all.ru/3.0/extending/newtypes.html#finalization-and-de-allocation)1835      - [Представление объекта](https://python-all.ru/3.0/extending/newtypes.html#object-presentation)1836      - [Управление атрибутами](https://python-all.ru/3.0/extending/newtypes.html#attribute-management)18371838        - [Общее управление атрибутами](https://python-all.ru/3.0/extending/newtypes.html#generic-attribute-management)1839        - [Управление атрибутами для конкретного типа](https://python-all.ru/3.0/extending/newtypes.html#type-specific-attribute-management)1840      - [Поддержка абстрактных протоколов](https://python-all.ru/3.0/extending/newtypes.html#abstract-protocol-support)1841      - [Поддержка слабых ссылок](https://python-all.ru/3.0/extending/newtypes.html#weak-reference-support)1842      - [Дополнительные предложения](https://python-all.ru/3.0/extending/newtypes.html#more-suggestions)1843  - [Сборка расширений на C и C++ с помощью distutils](https://python-all.ru/3.0/extending/building.html)18441845    - [Распространение модулей расширения](https://python-all.ru/3.0/extending/building.html#distributing-your-extension-modules)1846  - [Сборка расширений C и C++ в Windows](https://python-all.ru/3.0/extending/windows.html)18471848    - [Подход Cookbook](https://python-all.ru/3.0/extending/windows.html#a-cookbook-approach)1849    - [Различия между Unix и Windows](https://python-all.ru/3.0/extending/windows.html#differences-between-unix-and-windows)1850    - [Использование DLL на практике](https://python-all.ru/3.0/extending/windows.html#using-dlls-in-practice)1851  - [Встраивание Python в другое приложение](https://python-all.ru/3.0/extending/embedding.html)18521853    - [Встраивание очень высокого уровня](https://python-all.ru/3.0/extending/embedding.html#very-high-level-embedding)1854    - [За пределами встраивания очень высокого уровня: обзор](https://python-all.ru/3.0/extending/embedding.html#beyond-very-high-level-embedding-an-overview)1855    - [Чистое встраивание](https://python-all.ru/3.0/extending/embedding.html#id1)1856    - [Расширение встроенного Python](https://python-all.ru/3.0/extending/embedding.html#extending-embedded-python)1857    - [Встраивание Python в C++](https://python-all.ru/3.0/extending/embedding.html#embedding-python-in-c)1858    - [Требования к компоновке](https://python-all.ru/3.0/extending/embedding.html#linking-requirements)1859- [Справочное руководство по Python/C API](https://python-all.ru/3.0/c-api/index.html)18601861  - [Введение](https://python-all.ru/3.0/c-api/intro.html)18621863    - [Заголовочные файлы](https://python-all.ru/3.0/c-api/intro.html#include-files)1864    - [Объекты, типы и счетчики ссылок](https://python-all.ru/3.0/c-api/intro.html#objects-types-and-reference-counts)18651866      - [Счётчики ссылок](https://python-all.ru/3.0/c-api/intro.html#reference-counts)18671868        - [Подробности подсчёта ссылок](https://python-all.ru/3.0/c-api/intro.html#reference-count-details)1869      - [Типы](https://python-all.ru/3.0/c-api/intro.html#types)1870    - [Исключения](https://python-all.ru/3.0/c-api/intro.html#exceptions)1871    - [Встраивание Python](https://python-all.ru/3.0/c-api/intro.html#embedding-python)1872    - [Отладочные сборки](https://python-all.ru/3.0/c-api/intro.html#debugging-builds)1873  - [Очень высокоуровневый слой](https://python-all.ru/3.0/c-api/veryhigh.html)1874  - [Подсчёт ссылок](https://python-all.ru/3.0/c-api/refcounting.html)1875  - [Обработка исключений](https://python-all.ru/3.0/c-api/exceptions.html)18761877    - [Стандартные исключения](https://python-all.ru/3.0/c-api/exceptions.html#standard-exceptions)1878  - [Утилиты](https://python-all.ru/3.0/c-api/utilities.html)18791880    - [Утилиты операционной системы](https://python-all.ru/3.0/c-api/sys.html)1881    - [Системные функции](https://python-all.ru/3.0/c-api/sys.html#system-functions)1882    - [Управление процессами](https://python-all.ru/3.0/c-api/sys.html#process-control)1883    - [Импорт модулей](https://python-all.ru/3.0/c-api/import.html)1884    - [Поддержка маршалинга данных](https://python-all.ru/3.0/c-api/marshal.html)1885    - [Разбор аргументов и сборка значений](https://python-all.ru/3.0/c-api/arg.html)1886    - [Преобразование и форматирование строк](https://python-all.ru/3.0/c-api/conversion.html)1887    - [Рефлексия](https://python-all.ru/3.0/c-api/reflection.html)1888  - [Слой абстрактных объектов](https://python-all.ru/3.0/c-api/abstract.html)18891890    - [Протокол объекта](https://python-all.ru/3.0/c-api/object.html)1891    - [Протокол чисел](https://python-all.ru/3.0/c-api/number.html)1892    - [Протокол последовательностей](https://python-all.ru/3.0/c-api/sequence.html)1893    - [Протокол отображений](https://python-all.ru/3.0/c-api/mapping.html)1894    - [Протокол итератора](https://python-all.ru/3.0/c-api/iter.html)1895    - [Протокол буфера](https://python-all.ru/3.0/c-api/objbuffer.html)1896  - [Слой конкретных объектов](https://python-all.ru/3.0/c-api/concrete.html)18971898    - [Базовые объекты](https://python-all.ru/3.0/c-api/concrete.html#fundamental-objects)18991900      - [Объекты типов](https://python-all.ru/3.0/c-api/type.html)1901      - [Объект None](https://python-all.ru/3.0/c-api/none.html)1902    - [Числовые объекты](https://python-all.ru/3.0/c-api/concrete.html#numeric-objects)19031904      - [Объекты целых чисел](https://python-all.ru/3.0/c-api/long.html)1905      - [Объекты логических значений](https://python-all.ru/3.0/c-api/bool.html)1906      - [Объекты чисел с плавающей запятой](https://python-all.ru/3.0/c-api/float.html)1907      - [Объекты комплексных чисел](https://python-all.ru/3.0/c-api/complex.html)19081909        - [Комплексные числа как структуры C](https://python-all.ru/3.0/c-api/complex.html#complex-numbers-as-c-structures)1910        - [Комплексные числа как объекты Python](https://python-all.ru/3.0/c-api/complex.html#complex-numbers-as-python-objects)1911    - [Объекты последовательностей](https://python-all.ru/3.0/c-api/concrete.html#sequence-objects)19121913      - [Объекты bytes](https://python-all.ru/3.0/c-api/bytes.html)1914      - [Объекты массива байтов](https://python-all.ru/3.0/c-api/bytearray.html)1915      - [Объекты Unicode и кодеки](https://python-all.ru/3.0/c-api/unicode.html)19161917        - [Объекты Unicode](https://python-all.ru/3.0/c-api/unicode.html#unicode-objects)1918        - [Встроенные кодеки](https://python-all.ru/3.0/c-api/unicode.html#built-in-codecs)1919        - [Методы и слот-функции](https://python-all.ru/3.0/c-api/unicode.html#methods-and-slot-functions)1920      - [Буферные объекты](https://python-all.ru/3.0/c-api/buffer.html)19211922        - [Функции для работы с буферами](https://python-all.ru/3.0/c-api/buffer.html#buffer-related-functions)1923        - [Объекты memoryview](https://python-all.ru/3.0/c-api/buffer.html#memoryview-objects)1924      - [Кортежи](https://python-all.ru/3.0/c-api/tuple.html)1925      - [Списки](https://python-all.ru/3.0/c-api/list.html)1926    - [Объекты-отображения](https://python-all.ru/3.0/c-api/concrete.html#mapping-objects)19271928      - [Объекты словарей](https://python-all.ru/3.0/c-api/dict.html)1929    - [Прочие объекты](https://python-all.ru/3.0/c-api/concrete.html#other-objects)19301931      - [Множества](https://python-all.ru/3.0/c-api/set.html)1932      - [Объекты функций](https://python-all.ru/3.0/c-api/function.html)1933      - [Объекты методов экземпляра](https://python-all.ru/3.0/c-api/method.html)1934      - [Объекты методов](https://python-all.ru/3.0/c-api/method.html#id1)1935      - [Объекты файлов](https://python-all.ru/3.0/c-api/file.html)1936      - [Объекты модулей](https://python-all.ru/3.0/c-api/module.html)1937      - [Объекты итераторов](https://python-all.ru/3.0/c-api/iterator.html)1938      - [Объекты дескрипторов](https://python-all.ru/3.0/c-api/descriptor.html)1939      - [Объекты срезов](https://python-all.ru/3.0/c-api/slice.html)1940      - [Объекты слабых ссылок](https://python-all.ru/3.0/c-api/weakref.html)1941      - [CObjects](https://python-all.ru/3.0/c-api/cobject.html)1942      - [Объекты ячеек](https://python-all.ru/3.0/c-api/cell.html)1943      - [Объекты-генераторы](https://python-all.ru/3.0/c-api/gen.html)1944      - [Объекты datetime](https://python-all.ru/3.0/c-api/datetime.html)1945  - [Инициализация, финализация и потоки](https://python-all.ru/3.0/c-api/init.html)19461947    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/3.0/c-api/init.html#thread-state-and-the-global-interpreter-lock)1948    - [Профилирование и трассировка](https://python-all.ru/3.0/c-api/init.html#profiling-and-tracing)1949    - [Расширенная поддержка отладчика](https://python-all.ru/3.0/c-api/init.html#advanced-debugger-support)1950  - [Управление памятью](https://python-all.ru/3.0/c-api/memory.html)19511952    - [Обзор](https://python-all.ru/3.0/c-api/memory.html#overview)1953    - [Интерфейс памяти](https://python-all.ru/3.0/c-api/memory.html#memory-interface)1954    - [Примеры](https://python-all.ru/3.0/c-api/memory.html#examples)1955  - [Поддержка реализации объектов](https://python-all.ru/3.0/c-api/objimpl.html)19561957    - [Выделение объектов в куче](https://python-all.ru/3.0/c-api/allocation.html)1958    - [Общие структуры объектов](https://python-all.ru/3.0/c-api/structures.html)1959    - [Объекты типов](https://python-all.ru/3.0/c-api/typeobj.html)1960    - [Структуры числовых объектов](https://python-all.ru/3.0/c-api/typeobj.html#number-object-structures)1961    - [Структуры объектов отображений](https://python-all.ru/3.0/c-api/typeobj.html#mapping-object-structures)1962    - [Структуры объектов последовательностей](https://python-all.ru/3.0/c-api/typeobj.html#sequence-object-structures)1963    - [Структуры буферных объектов](https://python-all.ru/3.0/c-api/typeobj.html#buffer-object-structures)1964    - [Поддержка циклической сборки мусора](https://python-all.ru/3.0/c-api/gcsupport.html)1965- [Распространение модулей Python](https://python-all.ru/3.0/distutils/index.html)19661967  - [Введение в Distutils](https://python-all.ru/3.0/distutils/introduction.html)19681969    - [Концепции и терминология](https://python-all.ru/3.0/distutils/introduction.html#concepts-terminology)1970    - [Простой пример](https://python-all.ru/3.0/distutils/introduction.html#a-simple-example)1971    - [Общая терминология Python](https://python-all.ru/3.0/distutils/introduction.html#general-python-terminology)1972    - [Терминология Distutils](https://python-all.ru/3.0/distutils/introduction.html#distutils-specific-terminology)1973  - [Написание сценария установки](https://python-all.ru/3.0/distutils/setupscript.html)19741975    - [Перечисление целых пакетов](https://python-all.ru/3.0/distutils/setupscript.html#listing-whole-packages)1976    - [Перечисление отдельных модулей](https://python-all.ru/3.0/distutils/setupscript.html#listing-individual-modules)1977    - [Описание модулей расширения](https://python-all.ru/3.0/distutils/setupscript.html#describing-extension-modules)19781979      - [Имена расширений и пакеты](https://python-all.ru/3.0/distutils/setupscript.html#extension-names-and-packages)1980      - [Исходные файлы расширений](https://python-all.ru/3.0/distutils/setupscript.html#extension-source-files)1981      - [Параметры препроцессора](https://python-all.ru/3.0/distutils/setupscript.html#preprocessor-options)1982      - [Параметры библиотек](https://python-all.ru/3.0/distutils/setupscript.html#library-options)1983      - [Другие опции](https://python-all.ru/3.0/distutils/setupscript.html#other-options)1984    - [Взаимосвязи между дистрибутивами и пакетами](https://python-all.ru/3.0/distutils/setupscript.html#relationships-between-distributions-and-packages)1985    - [Установка сценариев](https://python-all.ru/3.0/distutils/setupscript.html#installing-scripts)1986    - [Установка данных пакета](https://python-all.ru/3.0/distutils/setupscript.html#installing-package-data)1987    - [Установка дополнительных файлов](https://python-all.ru/3.0/distutils/setupscript.html#installing-additional-files)1988    - [Дополнительные метаданные](https://python-all.ru/3.0/distutils/setupscript.html#additional-meta-data)1989    - [Отладка сценария установки](https://python-all.ru/3.0/distutils/setupscript.html#debugging-the-setup-script)1990  - [Написание конфигурационного файла установки](https://python-all.ru/3.0/distutils/configfile.html)1991  - [Создание дистрибутива исходного кода](https://python-all.ru/3.0/distutils/sourcedist.html)19921993    - [Указание файлов для распространения](https://python-all.ru/3.0/distutils/sourcedist.html#specifying-the-files-to-distribute)1994    - [Параметры манифеста](https://python-all.ru/3.0/distutils/sourcedist.html#manifest-related-options)1995  - [Создание собранных дистрибутивов](https://python-all.ru/3.0/distutils/builtdist.html)19961997    - [Создание простых собранных дистрибутивов](https://python-all.ru/3.0/distutils/builtdist.html#creating-dumb-built-distributions)1998    - [Создание RPM-пакетов](https://python-all.ru/3.0/distutils/builtdist.html#creating-rpm-packages)1999    - [Создание установщиков для Windows](https://python-all.ru/3.0/distutils/builtdist.html#creating-windows-installers)2000    - [Кросс-компиляция в Windows](https://python-all.ru/3.0/distutils/builtdist.html#cross-compiling-on-windows)20012002      - [Сценарий после установки](https://python-all.ru/3.0/distutils/builtdist.html#the-postinstallation-script)2003    - [Контроль учётных записей пользователей Vista (UAC)](https://python-all.ru/3.0/distutils/builtdist.html#vista-user-access-control-uac)2004  - [Регистрация в индексе пакетов](https://python-all.ru/3.0/distutils/packageindex.html)20052006    - [Файл .pypirc](https://python-all.ru/3.0/distutils/packageindex.html#the-pypirc-file)2007  - [Загрузка пакетов в индекс пакетов](https://python-all.ru/3.0/distutils/uploading.html)2008  - [Примеры](https://python-all.ru/3.0/distutils/examples.html)20092010    - [Чистое распространение Python (по модулям)](https://python-all.ru/3.0/distutils/examples.html#pure-python-distribution-by-module)2011    - [Чистое распространение Python (по пакетам)](https://python-all.ru/3.0/distutils/examples.html#pure-python-distribution-by-package)2012    - [Один модуль расширения](https://python-all.ru/3.0/distutils/examples.html#single-extension-module)2013  - [Расширение Distutils](https://python-all.ru/3.0/distutils/extending.html)20142015    - [Интеграция новых команд](https://python-all.ru/3.0/distutils/extending.html#integrating-new-commands)2016    - [Добавление новых типов распространения](https://python-all.ru/3.0/distutils/extending.html#adding-new-distribution-types)2017  - [Справочник команд](https://python-all.ru/3.0/distutils/commandref.html)20182019    - [Установка модулей: семейство команд **install**](https://python-all.ru/3.0/distutils/commandref.html#installing-modules-the-install-command-family)20202021      - [**install\_data**](https://python-all.ru/3.0/distutils/commandref.html#install-data)2022      - [**install\_scripts**](https://python-all.ru/3.0/distutils/commandref.html#install-scripts)2023    - [Создание дистрибутива исходного кода: команда **sdist**](https://python-all.ru/3.0/distutils/commandref.html#creating-a-source-distribution-the-sdist-command)2024  - [Справочник API](https://python-all.ru/3.0/distutils/apiref.html)20252026    - [`distutils.core` – Основная функциональность Distutils](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.core)2027    - [`distutils.ccompiler` – Базовый класс CCompiler](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.ccompiler)2028    - [`distutils.unixccompiler` – Компилятор C для Unix](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.unixccompiler)2029    - [`distutils.msvccompiler` – Компилятор Microsoft](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.msvccompiler)2030    - [`distutils.bcppcompiler` – Компилятор Borland](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.bcppcompiler)2031    - [`distutils.cygwincompiler` – Компилятор Cygwin](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.cygwinccompiler)2032    - [`distutils.emxccompiler` – Компилятор OS/2 EMX](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.emxccompiler)2033    - [`distutils.mwerkscompiler` – Поддержка Metrowerks CodeWarrior](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.mwerkscompiler)2034    - [`distutils.archive_util` – Утилиты архивирования](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.archive_util)2035    - [`distutils.dep_util` – Проверка зависимостей](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.dep_util)2036    - [`distutils.dir_util` – Операции с деревом каталогов](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.dir_util)2037    - [`distutils.file_util` – Операции с отдельными файлами](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.file_util)2038    - [`distutils.util` – Прочие вспомогательные функции](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.util)2039    - [`distutils.dist` – Класс Distribution](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.dist)2040    - [`distutils.extension` – Класс Extension](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.extension)2041    - [`distutils.debug` – Режим отладки Distutils](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.debug)2042    - [`distutils.errors` – Исключения Distutils](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.errors)2043    - [`distutils.fancy_getopt` – Обёртка над стандартным модулем getopt](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.fancy_getopt)2044    - [`distutils.filelist` – Класс FileList](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.filelist)2045    - [`distutils.log` – Простое логирование в стиле PEP 282](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.log)2046    - [`distutils.spawn` – Запуск подпроцесса](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.spawn)2047    - [`distutils.sysconfig` – Информация о системной конфигурации](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.sysconfig)2048    - [`distutils.text_file` – Класс TextFile](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.text_file)2049    - [`distutils.version` – Классы номеров версий](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.version)2050    - [`distutils.cmd` – Абстрактный базовый класс для команд Distutils](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.cmd)2051    - [`distutils.command` – Отдельные команды Distutils](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command)2052    - [`distutils.command.bdist` – Сборка бинарного установщика](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.bdist)2053    - [`distutils.command.bdist_packager` – Абстрактный базовый класс для упаковщиков](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.bdist_packager)2054    - [`distutils.command.bdist_dumb` – Сборка «тупого» установщика](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.bdist_dumb)2055    - [`distutils.command.bdist_msi` – Сборка бинарного пакета Microsoft Installer](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.bdist_msi)2056    - [`distutils.command.bdist_rpm` – Сборка бинарного дистрибутива в виде Redhat RPM и SRPM](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.bdist_rpm)2057    - [`distutils.command.bdist_wininst` – Сборка установщика для Windows](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.bdist_wininst)2058    - [`distutils.command.sdist` – Сборка дистрибутива исходного кода](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.sdist)2059    - [`distutils.command.build` – Сборка всех файлов пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.build)2060    - [`distutils.command.build_clib` – Сборка библиотек C в пакете](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.build_clib)2061    - [`distutils.command.build_ext` – Сборка расширений в пакете](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.build_ext)2062    - [`distutils.command.build_py` – Сборка .py/.pyc файлов пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.build_py)2063    - [`distutils.command.build_scripts` – Сборка скриптов пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.build_scripts)2064    - [`distutils.command.clean` – Очистка области сборки пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.clean)2065    - [`distutils.command.config` – Выполнение конфигурации пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.config)2066    - [`distutils.command.install` – Установка пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.install)2067    - [`distutils.command.install_data` – Установка файлов данных из пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.install_data)2068    - [`distutils.command.install_headers` – Установка заголовочных файлов C/C++ из пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.install_headers)2069    - [`distutils.command.install_lib` – Установка файлов библиотек из пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.install_lib)2070    - [`distutils.command.install_scripts` – Установка файлов скриптов из пакета](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.install_scripts)2071    - [`distutils.command.register` – Регистрация модуля в Python Package Index](https://python-all.ru/3.0/distutils/apiref.html#module-distutils.command.register)2072    - [Создание новой команды Distutils](https://python-all.ru/3.0/distutils/apiref.html#creating-a-new-distutils-command)2073- [Установка модулей Python](https://python-all.ru/3.0/install/index.html)20742075  - [Введение](https://python-all.ru/3.0/install/index.html#introduction)20762077    - [Идеальный случай: простая установка](https://python-all.ru/3.0/install/index.html#best-case-trivial-installation)2078    - [Новый стандарт: Distutils](https://python-all.ru/3.0/install/index.html#the-new-standard-distutils)2079  - [Стандартная сборка и установка](https://python-all.ru/3.0/install/index.html#standard-build-and-install)20802081    - [Различия платформ](https://python-all.ru/3.0/install/index.html#platform-variations)2082    - [Разделение задачи на части](https://python-all.ru/3.0/install/index.html#splitting-the-job-up)2083    - [Как работает сборка](https://python-all.ru/3.0/install/index.html#how-building-works)2084    - [Как работает установка](https://python-all.ru/3.0/install/index.html#how-installation-works)2085  - [Альтернативная установка](https://python-all.ru/3.0/install/index.html#alternate-installation)20862087    - [Альтернативная установка: домашняя схема](https://python-all.ru/3.0/install/index.html#alternate-installation-the-home-scheme)2088    - [Альтернативная установка: Unix (схема префикса)](https://python-all.ru/3.0/install/index.html#alternate-installation-unix-the-prefix-scheme)2089    - [Альтернативная установка: Windows (схема префикса)](https://python-all.ru/3.0/install/index.html#alternate-installation-windows-the-prefix-scheme)2090  - [Пользовательская установка](https://python-all.ru/3.0/install/index.html#custom-installation)20912092    - [Изменение пути поиска Python](https://python-all.ru/3.0/install/index.html#modifying-python-s-search-path)2093  - [Файлы конфигурации Distutils](https://python-all.ru/3.0/install/index.html#distutils-configuration-files)20942095    - [Расположение и имена файлов конфигурации](https://python-all.ru/3.0/install/index.html#location-and-names-of-config-files)2096    - [Синтаксис файлов конфигурации](https://python-all.ru/3.0/install/index.html#syntax-of-config-files)2097  - [Сборка расширений: советы и рекомендации](https://python-all.ru/3.0/install/index.html#building-extensions-tips-and-tricks)20982099    - [Настройка флагов компилятора/компоновщика](https://python-all.ru/3.0/install/index.html#tweaking-compiler-linker-flags)2100    - [Использование компиляторов, отличных от Microsoft, в Windows](https://python-all.ru/3.0/install/index.html#using-non-microsoft-compilers-on-windows)21012102      - [Borland/CodeGear C++](https://python-all.ru/3.0/install/index.html#borland-codegear-c)2103      - [GNU C / Cygwin / MinGW](https://python-all.ru/3.0/install/index.html#gnu-c-cygwin-mingw)2104- [Документирование Python](https://python-all.ru/3.0/documenting/index.html)21052106  - [Введение](https://python-all.ru/3.0/documenting/intro.html)2107  - [Руководство по стилю](https://python-all.ru/3.0/documenting/style.html)2108  - [Введение в reStructuredText](https://python-all.ru/3.0/documenting/rest.html)21092110    - [Абзацы](https://python-all.ru/3.0/documenting/rest.html#paragraphs)2111    - [Встроенная разметка](https://python-all.ru/3.0/documenting/rest.html#inline-markup)2112    - [Списки и цитаты](https://python-all.ru/3.0/documenting/rest.html#lists-and-quotes)2113    - [Исходный код](https://python-all.ru/3.0/documenting/rest.html#source-code)2114    - [Гиперссылки](https://python-all.ru/3.0/documenting/rest.html#hyperlinks)21152116      - [Внешние ссылки](https://python-all.ru/3.0/documenting/rest.html#external-links)2117      - [Внутренние ссылки](https://python-all.ru/3.0/documenting/rest.html#internal-links)2118    - [Разделы](https://python-all.ru/3.0/documenting/rest.html#sections)2119    - [Явная разметка](https://python-all.ru/3.0/documenting/rest.html#explicit-markup)2120    - [Директивы](https://python-all.ru/3.0/documenting/rest.html#directives)2121    - [Сноски](https://python-all.ru/3.0/documenting/rest.html#footnotes)2122    - [Комментарии](https://python-all.ru/3.0/documenting/rest.html#comments)2123    - [Кодировка исходного кода](https://python-all.ru/3.0/documenting/rest.html#source-encoding)2124    - [Подводные камни](https://python-all.ru/3.0/documenting/rest.html#gotchas)2125  - [Дополнительные конструкции разметки](https://python-all.ru/3.0/documenting/markup.html)21262127    - [Разметка метаинформации](https://python-all.ru/3.0/documenting/markup.html#meta-information-markup)2128    - [Разметка для модулей](https://python-all.ru/3.0/documenting/markup.html#module-specific-markup)2129    - [Информационные единицы](https://python-all.ru/3.0/documenting/markup.html#information-units)2130    - [Отображение примеров кода](https://python-all.ru/3.0/documenting/markup.html#showing-code-examples)2131    - [Встроенная разметка](https://python-all.ru/3.0/documenting/markup.html#inline-markup)2132    - [Разметка перекрёстных ссылок](https://python-all.ru/3.0/documenting/markup.html#cross-linking-markup)2133    - [Разметка на уровне абзацев](https://python-all.ru/3.0/documenting/markup.html#paragraph-level-markup)2134    - [Разметка оглавления](https://python-all.ru/3.0/documenting/markup.html#table-of-contents-markup)2135    - [Разметка для создания указателя](https://python-all.ru/3.0/documenting/markup.html#index-generating-markup)2136    - [Отображение грамматических правил](https://python-all.ru/3.0/documenting/markup.html#grammar-production-displays)2137    - [Подстановки](https://python-all.ru/3.0/documenting/markup.html#substitutions)2138  - [Отличия от разметки LaTeX](https://python-all.ru/3.0/documenting/fromlatex.html)21392140    - [Встроенная разметка](https://python-all.ru/3.0/documenting/fromlatex.html#inline-markup)2141    - [Информационные единицы](https://python-all.ru/3.0/documenting/fromlatex.html#information-units)2142    - [Структура](https://python-all.ru/3.0/documenting/fromlatex.html#structure)2143- [Руководства Python HOWTO](https://python-all.ru/3.0/howto/index.html)21442145  - [HOWTO по продвижению Python](https://python-all.ru/3.0/howto/advocacy.html)21462147    - [Причины использовать Python](https://python-all.ru/3.0/howto/advocacy.html#reasons-to-use-python)21482149      - [Программируемость](https://python-all.ru/3.0/howto/advocacy.html#programmability)2150      - [Прототипирование](https://python-all.ru/3.0/howto/advocacy.html#prototyping)2151      - [Простота и лёгкость понимания](https://python-all.ru/3.0/howto/advocacy.html#simplicity-and-ease-of-understanding)2152      - [Интеграция с Java](https://python-all.ru/3.0/howto/advocacy.html#java-integration)2153    - [Аргументы и контраргументы](https://python-all.ru/3.0/howto/advocacy.html#arguments-and-rebuttals)2154    - [Полезные ресурсы](https://python-all.ru/3.0/howto/advocacy.html#useful-resources)2155  - [Перенос модулей расширения на версию 3.0](https://python-all.ru/3.0/howto/cporting.html)21562157    - [Условная компиляция](https://python-all.ru/3.0/howto/cporting.html#conditional-compilation)2158    - [Изменения в объектных API](https://python-all.ru/3.0/howto/cporting.html#changes-to-object-apis)21592160      - [Объединение str/unicode](https://python-all.ru/3.0/howto/cporting.html#str-unicode-unification)2161      - [Объединение long/int](https://python-all.ru/3.0/howto/cporting.html#long-int-unification)2162    - [Инициализация и состояние модулей](https://python-all.ru/3.0/howto/cporting.html#module-initialization-and-state)2163    - [Другие опции](https://python-all.ru/3.0/howto/cporting.html#other-options)2164  - [Программирование с curses на Python](https://python-all.ru/3.0/howto/curses.html)21652166    - [Что такое curses?](https://python-all.ru/3.0/howto/curses.html#what-is-curses)21672168      - [Модуль curses в Python](https://python-all.ru/3.0/howto/curses.html#the-python-curses-module)2169    - [Запуск и завершение приложения curses](https://python-all.ru/3.0/howto/curses.html#starting-and-ending-a-curses-application)2170    - [Окна и пады](https://python-all.ru/3.0/howto/curses.html#windows-and-pads)2171    - [Отображение текста](https://python-all.ru/3.0/howto/curses.html#displaying-text)21722173      - [Атрибуты и цвет](https://python-all.ru/3.0/howto/curses.html#attributes-and-color)2174    - [Ввод пользователя](https://python-all.ru/3.0/howto/curses.html#user-input)2175    - [Для получения дополнительных сведений](https://python-all.ru/3.0/howto/curses.html#for-more-information)2176  - [Идиомы и анти-идиомы в Python](https://python-all.ru/3.0/howto/doanddont.html)21772178    - [Конструкции языка, которые не следует использовать](https://python-all.ru/3.0/howto/doanddont.html#language-constructs-you-should-not-use)21792180      - [from module import \*](https://python-all.ru/3.0/howto/doanddont.html#from-module-import)21812182        - [Внутри определений функций](https://python-all.ru/3.0/howto/doanddont.html#inside-function-definitions)2183        - [На уровне модуля](https://python-all.ru/3.0/howto/doanddont.html#at-module-level)2184        - [Когда это нормально](https://python-all.ru/3.0/howto/doanddont.html#when-it-is-just-fine)2185      - [from module import name1, name2](https://python-all.ru/3.0/howto/doanddont.html#from-module-import-name1-name2)2186      - [except:](https://python-all.ru/3.0/howto/doanddont.html#except)2187    - [Исключения](https://python-all.ru/3.0/howto/doanddont.html#exceptions)2188    - [Использование батареек](https://python-all.ru/3.0/howto/doanddont.html#using-the-batteries)2189    - [Использование обратной косой черты для продолжения инструкций](https://python-all.ru/3.0/howto/doanddont.html#using-backslash-to-continue-statements)2190  - [HOWTO по функциональному программированию](https://python-all.ru/3.0/howto/functional.html)21912192    - [Введение](https://python-all.ru/3.0/howto/functional.html#introduction)21932194      - [Формальная доказуемость](https://python-all.ru/3.0/howto/functional.html#formal-provability)2195      - [Модульность](https://python-all.ru/3.0/howto/functional.html#modularity)2196      - [Простота отладки и тестирования](https://python-all.ru/3.0/howto/functional.html#ease-of-debugging-and-testing)2197      - [Композируемость](https://python-all.ru/3.0/howto/functional.html#composability)2198    - [Итераторы](https://python-all.ru/3.0/howto/functional.html#iterators)21992200      - [Типы данных, поддерживающие итераторы](https://python-all.ru/3.0/howto/functional.html#data-types-that-support-iterators)2201    - [Генераторные выражения и списковые включения](https://python-all.ru/3.0/howto/functional.html#generator-expressions-and-list-comprehensions)2202    - [Генераторы](https://python-all.ru/3.0/howto/functional.html#generators)22032204      - [Передача значений в генератор](https://python-all.ru/3.0/howto/functional.html#passing-values-into-a-generator)2205    - [Встроенные функции](https://python-all.ru/3.0/howto/functional.html#built-in-functions)2206    - [Модуль itertools](https://python-all.ru/3.0/howto/functional.html#the-itertools-module)22072208      - [Создание новых итераторов](https://python-all.ru/3.0/howto/functional.html#creating-new-iterators)2209      - [Вызов функций для элементов](https://python-all.ru/3.0/howto/functional.html#calling-functions-on-elements)2210      - [Выбор элементов](https://python-all.ru/3.0/howto/functional.html#selecting-elements)2211      - [Группировка элементов](https://python-all.ru/3.0/howto/functional.html#grouping-elements)2212    - [Модуль functools](https://python-all.ru/3.0/howto/functional.html#the-functools-module)22132214      - [Модуль operator](https://python-all.ru/3.0/howto/functional.html#the-operator-module)2215      - [Модуль functional](https://python-all.ru/3.0/howto/functional.html#the-functional-module)2216    - [Небольшие функции и лямбда-выражение](https://python-all.ru/3.0/howto/functional.html#small-functions-and-the-lambda-expression)2217    - [История изменений и благодарности](https://python-all.ru/3.0/howto/functional.html#revision-history-and-acknowledgements)2218    - [Ссылки](https://python-all.ru/3.0/howto/functional.html#references)22192220      - [Общие](https://python-all.ru/3.0/howto/functional.html#general)2221      - [Специфичное для Python](https://python-all.ru/3.0/howto/functional.html#python-specific)2222      - [Документация Python](https://python-all.ru/3.0/howto/functional.html#python-documentation)2223  - [HOWTO по регулярным выражениям](https://python-all.ru/3.0/howto/regex.html)22242225    - [Введение](https://python-all.ru/3.0/howto/regex.html#introduction)2226    - [Простые шаблоны](https://python-all.ru/3.0/howto/regex.html#simple-patterns)22272228      - [Сопоставление символов](https://python-all.ru/3.0/howto/regex.html#matching-characters)2229      - [Повторение](https://python-all.ru/3.0/howto/regex.html#repeating-things)2230    - [Использование регулярных выражений](https://python-all.ru/3.0/howto/regex.html#using-regular-expressions)22312232      - [Компиляция регулярных выражений](https://python-all.ru/3.0/howto/regex.html#compiling-regular-expressions)2233      - [Проблема обратной косой черты](https://python-all.ru/3.0/howto/regex.html#the-backslash-plague)2234      - [Выполнение сопоставлений](https://python-all.ru/3.0/howto/regex.html#performing-matches)2235      - [Функции уровня модуля](https://python-all.ru/3.0/howto/regex.html#module-level-functions)2236      - [Флаги компиляции](https://python-all.ru/3.0/howto/regex.html#compilation-flags)2237    - [Дополнительные возможности шаблонов](https://python-all.ru/3.0/howto/regex.html#more-pattern-power)22382239      - [Дополнительные метасимволы](https://python-all.ru/3.0/howto/regex.html#id2)2240      - [Группировка](https://python-all.ru/3.0/howto/regex.html#grouping)2241      - [Незахватывающие и именованные группы](https://python-all.ru/3.0/howto/regex.html#non-capturing-and-named-groups)2242      - [Опережающие проверки](https://python-all.ru/3.0/howto/regex.html#lookahead-assertions)2243    - [Изменение строк](https://python-all.ru/3.0/howto/regex.html#modifying-strings)22442245      - [Разделение строк](https://python-all.ru/3.0/howto/regex.html#splitting-strings)2246      - [Поиск и замена](https://python-all.ru/3.0/howto/regex.html#search-and-replace)2247    - [Распространённые проблемы](https://python-all.ru/3.0/howto/regex.html#common-problems)22482249      - [Использование строковых методов](https://python-all.ru/3.0/howto/regex.html#use-string-methods)2250      - [match() и search()](https://python-all.ru/3.0/howto/regex.html#match-versus-search)2251      - [Жадные и нежадные квантификаторы](https://python-all.ru/3.0/howto/regex.html#greedy-versus-non-greedy)2252      - [Не используя re.VERBOSE](https://python-all.ru/3.0/howto/regex.html#not-using-re-verbose)2253    - [Обратная связь](https://python-all.ru/3.0/howto/regex.html#feedback)2254  - [Руководство по программированию сокетов](https://python-all.ru/3.0/howto/sockets.html)22552256    - [Сокеты](https://python-all.ru/3.0/howto/sockets.html#sockets)22572258      - [История](https://python-all.ru/3.0/howto/sockets.html#history)2259    - [Создание сокета](https://python-all.ru/3.0/howto/sockets.html#creating-a-socket)22602261      - [Межпроцессное взаимодействие](https://python-all.ru/3.0/howto/sockets.html#ipc)2262    - [Использование сокета](https://python-all.ru/3.0/howto/sockets.html#using-a-socket)22632264      - [Двоичные данные](https://python-all.ru/3.0/howto/sockets.html#binary-data)2265    - [Отключение](https://python-all.ru/3.0/howto/sockets.html#disconnecting)22662267      - [Когда сокеты завершают работу](https://python-all.ru/3.0/howto/sockets.html#when-sockets-die)2268    - [Неблокирующие сокеты](https://python-all.ru/3.0/howto/sockets.html#non-blocking-sockets)22692270      - [Производительность](https://python-all.ru/3.0/howto/sockets.html#performance)2271  - [Руководство по Unicode](https://python-all.ru/3.0/howto/unicode.html)22722273    - [Введение в Unicode](https://python-all.ru/3.0/howto/unicode.html#introduction-to-unicode)22742275      - [История кодов символов](https://python-all.ru/3.0/howto/unicode.html#history-of-character-codes)2276      - [Определения](https://python-all.ru/3.0/howto/unicode.html#definitions)2277      - [Кодировки](https://python-all.ru/3.0/howto/unicode.html#encodings)2278      - [Ссылки](https://python-all.ru/3.0/howto/unicode.html#references)2279    - [Поддержка Unicode в Python](https://python-all.ru/3.0/howto/unicode.html#python-s-unicode-support)22802281      - [Тип str](https://python-all.ru/3.0/howto/unicode.html#the-string-type)2282      - [Преобразование в байты](https://python-all.ru/3.0/howto/unicode.html#converting-to-bytes)2283      - [Unicode-литералы в исходном коде Python](https://python-all.ru/3.0/howto/unicode.html#unicode-literals-in-python-source-code)2284      - [Свойства Unicode](https://python-all.ru/3.0/howto/unicode.html#unicode-properties)2285      - [Ссылки](https://python-all.ru/3.0/howto/unicode.html#id2)2286    - [Чтение и запись данных Unicode](https://python-all.ru/3.0/howto/unicode.html#reading-and-writing-unicode-data)22872288      - [Имена файлов в Unicode](https://python-all.ru/3.0/howto/unicode.html#unicode-filenames)2289      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/3.0/howto/unicode.html#tips-for-writing-unicode-aware-programs)2290      - [Ссылки](https://python-all.ru/3.0/howto/unicode.html#id3)2291    - [История изменений и благодарности](https://python-all.ru/3.0/howto/unicode.html#revision-history-and-acknowledgements)2292  - [HOWTO: получение интернет-ресурсов с помощью пакета urllib](https://python-all.ru/3.0/howto/urllib2.html)22932294    - [Введение](https://python-all.ru/3.0/howto/urllib2.html#introduction)2295    - [Получение URL-адресов](https://python-all.ru/3.0/howto/urllib2.html#fetching-urls)22962297      - [Данные](https://python-all.ru/3.0/howto/urllib2.html#data)2298      - [Заголовки](https://python-all.ru/3.0/howto/urllib2.html#headers)2299    - [Обработка исключений](https://python-all.ru/3.0/howto/urllib2.html#handling-exceptions)23002301      - \<[URLError](https://python-all.ru/3.0/howto/urllib2.html#urlerror)\>2302      - [HTTPError](https://python-all.ru/3.0/howto/urllib2.html#httperror)23032304        - [Коды ошибок](https://python-all.ru/3.0/howto/urllib2.html#error-codes)2305      - [Заключение](https://python-all.ru/3.0/howto/urllib2.html#wrapping-it-up)23062307        - [Номер 1](https://python-all.ru/3.0/howto/urllib2.html#number-1)2308        - [Номер 2](https://python-all.ru/3.0/howto/urllib2.html#number-2)2309    - [info и geturl](https://python-all.ru/3.0/howto/urllib2.html#info-and-geturl)2310    - [Открыватели и обработчики](https://python-all.ru/3.0/howto/urllib2.html#openers-and-handlers)2311    - [Базовая аутентификация](https://python-all.ru/3.0/howto/urllib2.html#id6)2312    - [Прокси](https://python-all.ru/3.0/howto/urllib2.html#proxies)2313    - [Сокеты и слои](https://python-all.ru/3.0/howto/urllib2.html#sockets-and-layers)2314    - [Сноски](https://python-all.ru/3.0/howto/urllib2.html#footnotes)2315  - [HOWTO: использование Python в вебе](https://python-all.ru/3.0/howto/webservers.html)23162317    - [Низкоуровневый вид](https://python-all.ru/3.0/howto/webservers.html#the-low-level-view)23182319      - [Общий шлюзовый интерфейс](https://python-all.ru/3.0/howto/webservers.html#common-gateway-interface)23202321        - [Простой скрипт для тестирования CGI](https://python-all.ru/3.0/howto/webservers.html#simple-script-for-testing-cgi)2322        - [Настройка CGI на собственном сервере](https://python-all.ru/3.0/howto/webservers.html#setting-up-cgi-on-your-own-server)2323        - [Типичные проблемы CGI-скриптов](https://python-all.ru/3.0/howto/webservers.html#common-problems-with-cgi-scripts)2324      - [mod\_python](https://python-all.ru/3.0/howto/webservers.html#id1)2325      - [FastCGI и SCGI](https://python-all.ru/3.0/howto/webservers.html#fastcgi-and-scgi)23262327        - [Настройка FastCGI](https://python-all.ru/3.0/howto/webservers.html#setting-up-fastcgi)2328      - [mod\_wsgi](https://python-all.ru/3.0/howto/webservers.html#mod-wsgi)2329    - [Отступление: WSGI](https://python-all.ru/3.0/howto/webservers.html#step-back-wsgi)23302331      - [WSGI-серверы](https://python-all.ru/3.0/howto/webservers.html#wsgi-servers)2332      - [Пример: MoinMoin](https://python-all.ru/3.0/howto/webservers.html#case-study-moinmoin)2333    - [Модель-представление-контроллер](https://python-all.ru/3.0/howto/webservers.html#model-view-controller)2334    - [Ингредиенты для веб-сайтов](https://python-all.ru/3.0/howto/webservers.html#ingredients-for-web-sites)23352336      - [Шаблоны](https://python-all.ru/3.0/howto/webservers.html#templates)2337      - [Постоянное хранение данных](https://python-all.ru/3.0/howto/webservers.html#data-persistence)2338    - [Фреймворки](https://python-all.ru/3.0/howto/webservers.html#frameworks)23392340      - [Некоторые известные фреймворки](https://python-all.ru/3.0/howto/webservers.html#some-notable-frameworks)23412342        - [Django](https://python-all.ru/3.0/howto/webservers.html#django)2343        - [TurboGears](https://python-all.ru/3.0/howto/webservers.html#turbogears)2344        - [Другие известные фреймворки](https://python-all.ru/3.0/howto/webservers.html#other-notable-frameworks)2345- [Глоссарий](https://python-all.ru/3.0/glossary.html)2346- [Об этих документах](https://python-all.ru/3.0/about.html)23472348  - [Участники документации Python](https://python-all.ru/3.0/about.html#contributors-to-the-python-documentation)2349- [Сообщение об ошибках в Python](https://python-all.ru/3.0/bugs.html)2350- [Авторские права](https://python-all.ru/3.0/copyright.html)2351- [История и лицензия](https://python-all.ru/3.0/license.html)23522353  - [История программного обеспечения](https://python-all.ru/3.0/license.html#history-of-the-software)2354  - [Условия доступа и использования Python](https://python-all.ru/3.0/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python)2355  - [Лицензии и благодарности для включённого программного обеспечения](https://python-all.ru/3.0/license.html#licenses-and-acknowledgements-for-incorporated-software)23562357    - [Вихрь Мерсенна](https://python-all.ru/3.0/license.html#mersenne-twister)2358    - [Сокеты](https://python-all.ru/3.0/license.html#sockets)2359    - [Управление исключениями с плавающей точкой](https://python-all.ru/3.0/license.html#floating-point-exception-control)2360    - [Асинхронные службы сокетов](https://python-all.ru/3.0/license.html#asynchronous-socket-services)2361    - [Управление cookie](https://python-all.ru/3.0/license.html#cookie-management)2362    - [Профилирование](https://python-all.ru/3.0/license.html#profiling)2363    - [Трассировка выполнения](https://python-all.ru/3.0/license.html#execution-tracing)2364    - [Функции UUencode и UUdecode](https://python-all.ru/3.0/license.html#uuencode-and-uudecode-functions)2365    - [XML-вызовы удалённых процедур](https://python-all.ru/3.0/license.html#xml-remote-procedure-calls)2366    - [test\_epoll](https://python-all.ru/3.0/license.html#test-epoll)2367    - [Select kqueue](https://python-all.ru/3.0/license.html#select-kqueue)2368