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

contents.md

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

1> **Источник:** https://python-all.ru/3.3/contents.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Содержание документации Python89- [Что нового в Python](https://python-all.ru/3.3/whatsnew/index.html)1011  - [Что нового в Python 3.3](https://python-all.ru/3.3/whatsnew/3.3.html)1213    - [Сводка – основные моменты выпуска](https://python-all.ru/3.3/whatsnew/3.3.html#summary-release-highlights)14    - [PEP 405: Виртуальные окружения](https://python-all.ru/3.3/whatsnew/3.3.html#pep-405-virtual-environments)15    - [PEP 420: Неявные пакеты пространств имён](https://python-all.ru/3.3/whatsnew/3.3.html#pep-420-implicit-namespace-packages)16    - [PEP 3118: Новая реализация memoryview и документация протокола буферов](https://python-all.ru/3.3/whatsnew/3.3.html#pep-3118-new-memoryview-implementation-and-buffer-protocol-documentation)1718      - [Возможности](https://python-all.ru/3.3/whatsnew/3.3.html#features)19      - [Изменения API](https://python-all.ru/3.3/whatsnew/3.3.html#api-changes)20    - [PEP 393: Гибкое представление строк](https://python-all.ru/3.3/whatsnew/3.3.html#pep-393-flexible-string-representation)2122      - [Функциональность](https://python-all.ru/3.3/whatsnew/3.3.html#functionality)23      - [Производительность и потребление ресурсов](https://python-all.ru/3.3/whatsnew/3.3.html#performance-and-resource-usage)24    - [PEP 397: Средство запуска Python для Windows](https://python-all.ru/3.3/whatsnew/3.3.html#pep-397-python-launcher-for-windows)25    - [PEP 3151: Переработка иерархии исключений ОС и ввода-вывода](https://python-all.ru/3.3/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy)26    - [PEP 380: Синтаксис делегирования подгенератору](https://python-all.ru/3.3/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator)27    - [PEP 409: Подавление контекста исключения](https://python-all.ru/3.3/whatsnew/3.3.html#pep-409-suppressing-exception-context)28    - [PEP 414: Явные литералы Unicode](https://python-all.ru/3.3/whatsnew/3.3.html#pep-414-explicit-unicode-literals)29    - [PEP 3155: Квалифицированное имя для классов и функций](https://python-all.ru/3.3/whatsnew/3.3.html#pep-3155-qualified-name-for-classes-and-functions)30    - [PEP 412: Словарь с разделением ключей](https://python-all.ru/3.3/whatsnew/3.3.html#pep-412-key-sharing-dictionary)31    - [PEP 362: Объект сигнатуры функции](https://python-all.ru/3.3/whatsnew/3.3.html#pep-362-function-signature-object)32    - [PEP 421: Добавление sys.implementation](https://python-all.ru/3.3/whatsnew/3.3.html#pep-421-adding-sys-implementation)3334      - [SimpleNamespace](https://python-all.ru/3.3/whatsnew/3.3.html#simplenamespace)35    - [Использование importlib в качестве реализации импорта](https://python-all.ru/3.3/whatsnew/3.3.html#using-importlib-as-the-implementation-of-import)3637      - [Новые API](https://python-all.ru/3.3/whatsnew/3.3.html#new-apis)38      - [Заметные изменения](https://python-all.ru/3.3/whatsnew/3.3.html#visible-changes)39    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/3.3.html#other-language-changes)40    - [Более детальная блокировка импорта](https://python-all.ru/3.3/whatsnew/3.3.html#a-finer-grained-import-lock)41    - [Встроенные функции и типы](https://python-all.ru/3.3/whatsnew/3.3.html#builtin-functions-and-types)42    - [Новые модули](https://python-all.ru/3.3/whatsnew/3.3.html#new-modules)4344      - [faulthandler](https://python-all.ru/3.3/whatsnew/3.3.html#faulthandler)45      - [ipaddress](https://python-all.ru/3.3/whatsnew/3.3.html#ipaddress)46      - [lzma](https://python-all.ru/3.3/whatsnew/3.3.html#lzma)47    - [Улучшенные модули](https://python-all.ru/3.3/whatsnew/3.3.html#improved-modules)4849      - [abc](https://python-all.ru/3.3/whatsnew/3.3.html#abc)50      - [array](https://python-all.ru/3.3/whatsnew/3.3.html#array)51      - [base64](https://python-all.ru/3.3/whatsnew/3.3.html#base64)52      - [binascii](https://python-all.ru/3.3/whatsnew/3.3.html#binascii)53      - [bz2](https://python-all.ru/3.3/whatsnew/3.3.html#bz2)54      - [codecs](https://python-all.ru/3.3/whatsnew/3.3.html#codecs)55      - [collections](https://python-all.ru/3.3/whatsnew/3.3.html#collections)56      - [contextlib](https://python-all.ru/3.3/whatsnew/3.3.html#contextlib)57      - [crypt](https://python-all.ru/3.3/whatsnew/3.3.html#crypt)58      - [curses](https://python-all.ru/3.3/whatsnew/3.3.html#curses)59      - [datetime](https://python-all.ru/3.3/whatsnew/3.3.html#datetime)60      - [decimal](https://python-all.ru/3.3/whatsnew/3.3.html#decimal)6162        - [Возможности](https://python-all.ru/3.3/whatsnew/3.3.html#id1)63        - [Изменения API](https://python-all.ru/3.3/whatsnew/3.3.html#id2)64      - [email](https://python-all.ru/3.3/whatsnew/3.3.html#email)6566        - [Каркас политик](https://python-all.ru/3.3/whatsnew/3.3.html#policy-framework)67        - [Временная политика с новым API заголовков](https://python-all.ru/3.3/whatsnew/3.3.html#provisional-policy-with-new-header-api)68        - [Другие изменения API](https://python-all.ru/3.3/whatsnew/3.3.html#other-api-changes)69      - [ftplib](https://python-all.ru/3.3/whatsnew/3.3.html#ftplib)70      - [functools](https://python-all.ru/3.3/whatsnew/3.3.html#functools)71      - [gc](https://python-all.ru/3.3/whatsnew/3.3.html#gc)72      - [hmac](https://python-all.ru/3.3/whatsnew/3.3.html#hmac)73      - [http](https://python-all.ru/3.3/whatsnew/3.3.html#http)74      - [html](https://python-all.ru/3.3/whatsnew/3.3.html#html)75      - [imaplib](https://python-all.ru/3.3/whatsnew/3.3.html#imaplib)76      - [inspect](https://python-all.ru/3.3/whatsnew/3.3.html#inspect)77      - [io](https://python-all.ru/3.3/whatsnew/3.3.html#io)78      - [itertools](https://python-all.ru/3.3/whatsnew/3.3.html#itertools)79      - [logging](https://python-all.ru/3.3/whatsnew/3.3.html#logging)80      - [math](https://python-all.ru/3.3/whatsnew/3.3.html#math)81      - [mmap](https://python-all.ru/3.3/whatsnew/3.3.html#mmap)82      - [multiprocessing](https://python-all.ru/3.3/whatsnew/3.3.html#multiprocessing)83      - [nntplib](https://python-all.ru/3.3/whatsnew/3.3.html#nntplib)84      - [os](https://python-all.ru/3.3/whatsnew/3.3.html#os)85      - [pdb](https://python-all.ru/3.3/whatsnew/3.3.html#pdb)86      - [pickle](https://python-all.ru/3.3/whatsnew/3.3.html#pickle)87      - [pydoc](https://python-all.ru/3.3/whatsnew/3.3.html#pydoc)88      - [re](https://python-all.ru/3.3/whatsnew/3.3.html#re)89      - [sched](https://python-all.ru/3.3/whatsnew/3.3.html#sched)90      - [select](https://python-all.ru/3.3/whatsnew/3.3.html#select)91      - [shlex](https://python-all.ru/3.3/whatsnew/3.3.html#shlex)92      - [shutil](https://python-all.ru/3.3/whatsnew/3.3.html#shutil)93      - [signal](https://python-all.ru/3.3/whatsnew/3.3.html#signal)94      - [smtpd](https://python-all.ru/3.3/whatsnew/3.3.html#smtpd)95      - [smtplib](https://python-all.ru/3.3/whatsnew/3.3.html#smtplib)96      - [сокет](https://python-all.ru/3.3/whatsnew/3.3.html#socket)97      - [socketserver](https://python-all.ru/3.3/whatsnew/3.3.html#socketserver)98      - [sqlite3](https://python-all.ru/3.3/whatsnew/3.3.html#sqlite3)99      - [ssl](https://python-all.ru/3.3/whatsnew/3.3.html#ssl)100      - [stat](https://python-all.ru/3.3/whatsnew/3.3.html#stat)101      - [struct](https://python-all.ru/3.3/whatsnew/3.3.html#struct)102      - [подпроцесс](https://python-all.ru/3.3/whatsnew/3.3.html#subprocess)103      - [sys](https://python-all.ru/3.3/whatsnew/3.3.html#sys)104      - [tarfile](https://python-all.ru/3.3/whatsnew/3.3.html#tarfile)105      - [tempfile](https://python-all.ru/3.3/whatsnew/3.3.html#tempfile)106      - [textwrap](https://python-all.ru/3.3/whatsnew/3.3.html#textwrap)107      - [threading](https://python-all.ru/3.3/whatsnew/3.3.html#threading)108      - [time](https://python-all.ru/3.3/whatsnew/3.3.html#time)109      - [типы](https://python-all.ru/3.3/whatsnew/3.3.html#types)110      - [unittest](https://python-all.ru/3.3/whatsnew/3.3.html#unittest)111      - [urllib](https://python-all.ru/3.3/whatsnew/3.3.html#urllib)112      - [webbrowser](https://python-all.ru/3.3/whatsnew/3.3.html#webbrowser)113      - [xml.etree.ElementTree](https://python-all.ru/3.3/whatsnew/3.3.html#xml-etree-elementtree)114      - [zlib](https://python-all.ru/3.3/whatsnew/3.3.html#zlib)115    - [Оптимизации](https://python-all.ru/3.3/whatsnew/3.3.html#optimizations)116    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/3.3.html#build-and-c-api-changes)117    - [Устарело](https://python-all.ru/3.3/whatsnew/3.3.html#deprecated)118119      - [Неподдерживаемые операционные системы](https://python-all.ru/3.3/whatsnew/3.3.html#unsupported-operating-systems)120      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.3/whatsnew/3.3.html#deprecated-python-modules-functions-and-methods)121      - [Устаревшие функции и типы C API](https://python-all.ru/3.3/whatsnew/3.3.html#deprecated-functions-and-types-of-the-c-api)122      - [Устаревшие возможности](https://python-all.ru/3.3/whatsnew/3.3.html#deprecated-features)123    - [Портирование на Python 3.3](https://python-all.ru/3.3/whatsnew/3.3.html#porting-to-python-3-3)124125      - [Перенос кода Python](https://python-all.ru/3.3/whatsnew/3.3.html#porting-python-code)126      - [Перенос кода C](https://python-all.ru/3.3/whatsnew/3.3.html#porting-c-code)127      - [Сборка расширений на C](https://python-all.ru/3.3/whatsnew/3.3.html#building-c-extensions)128      - [Изменения параметров командной строки](https://python-all.ru/3.3/whatsnew/3.3.html#command-line-switch-changes)129  - [Что нового в Python 3.2](https://python-all.ru/3.3/whatsnew/3.2.html)130131    - [PEP 384: Определение стабильного ABI](https://python-all.ru/3.3/whatsnew/3.2.html#pep-384-defining-a-stable-abi)132    - [PEP 389: Модуль разбора командной строки argparse](https://python-all.ru/3.3/whatsnew/3.2.html#pep-389-argparse-command-line-parsing-module)133    - [PEP 391: Конфигурация логирования на основе словарей](https://python-all.ru/3.3/whatsnew/3.2.html#pep-391-dictionary-based-configuration-for-logging)134    - [PEP 3148: модуль `concurrent.futures`](https://python-all.ru/3.3/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module)135    - [PEP 3147: Каталоги репозитория PYC](https://python-all.ru/3.3/whatsnew/3.2.html#pep-3147-pyc-repository-directories)136    - [PEP 3149: Файлы .so с тегом версии ABI](https://python-all.ru/3.3/whatsnew/3.2.html#pep-3149-abi-version-tagged-so-files)137    - [PEP 3333: Интерфейс шлюза веб-сервера Python v1.0.1](https://python-all.ru/3.3/whatsnew/3.2.html#pep-3333-python-web-server-gateway-interface-v1-0-1)138    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/3.2.html#other-language-changes)139    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.3/whatsnew/3.2.html#new-improved-and-deprecated-modules)140141      - [email](https://python-all.ru/3.3/whatsnew/3.2.html#email)142      - [elementtree](https://python-all.ru/3.3/whatsnew/3.2.html#elementtree)143      - [functools](https://python-all.ru/3.3/whatsnew/3.2.html#functools)144      - [itertools](https://python-all.ru/3.3/whatsnew/3.2.html#itertools)145      - [collections](https://python-all.ru/3.3/whatsnew/3.2.html#collections)146      - [threading](https://python-all.ru/3.3/whatsnew/3.2.html#threading)147      - [datetime и time](https://python-all.ru/3.3/whatsnew/3.2.html#datetime-and-time)148      - [math](https://python-all.ru/3.3/whatsnew/3.2.html#math)149      - [abc](https://python-all.ru/3.3/whatsnew/3.2.html#abc)150      - [io](https://python-all.ru/3.3/whatsnew/3.2.html#io)151      - [reprlib](https://python-all.ru/3.3/whatsnew/3.2.html#reprlib)152      - [logging](https://python-all.ru/3.3/whatsnew/3.2.html#logging)153      - [csv](https://python-all.ru/3.3/whatsnew/3.2.html#csv)154      - [contextlib](https://python-all.ru/3.3/whatsnew/3.2.html#contextlib)155      - [decimal и fractions](https://python-all.ru/3.3/whatsnew/3.2.html#decimal-and-fractions)156      - [ftp](https://python-all.ru/3.3/whatsnew/3.2.html#ftp)157      - [popen](https://python-all.ru/3.3/whatsnew/3.2.html#popen)158      - [select](https://python-all.ru/3.3/whatsnew/3.2.html#select)159      - [gzip и zipfile](https://python-all.ru/3.3/whatsnew/3.2.html#gzip-and-zipfile)160      - [tarfile](https://python-all.ru/3.3/whatsnew/3.2.html#tarfile)161      - [hashlib](https://python-all.ru/3.3/whatsnew/3.2.html#hashlib)162      - [ast](https://python-all.ru/3.3/whatsnew/3.2.html#ast)163      - [os](https://python-all.ru/3.3/whatsnew/3.2.html#os)164      - [shutil](https://python-all.ru/3.3/whatsnew/3.2.html#shutil)165      - [sqlite3](https://python-all.ru/3.3/whatsnew/3.2.html#sqlite3)166      - [html](https://python-all.ru/3.3/whatsnew/3.2.html#html)167      - [сокет](https://python-all.ru/3.3/whatsnew/3.2.html#socket)168      - [ssl](https://python-all.ru/3.3/whatsnew/3.2.html#ssl)169      - [nntp](https://python-all.ru/3.3/whatsnew/3.2.html#nntp)170      - [сертификаты](https://python-all.ru/3.3/whatsnew/3.2.html#certificates)171      - [imaplib](https://python-all.ru/3.3/whatsnew/3.2.html#imaplib)172      - [http.client](https://python-all.ru/3.3/whatsnew/3.2.html#http-client)173      - [unittest](https://python-all.ru/3.3/whatsnew/3.2.html#unittest)174      - [random](https://python-all.ru/3.3/whatsnew/3.2.html#random)175      - [poplib](https://python-all.ru/3.3/whatsnew/3.2.html#poplib)176      - [asyncore](https://python-all.ru/3.3/whatsnew/3.2.html#asyncore)177      - [tempfile](https://python-all.ru/3.3/whatsnew/3.2.html#tempfile)178      - [inspect](https://python-all.ru/3.3/whatsnew/3.2.html#inspect)179      - [pydoc](https://python-all.ru/3.3/whatsnew/3.2.html#pydoc)180      - [dis](https://python-all.ru/3.3/whatsnew/3.2.html#dis)181      - [dbm](https://python-all.ru/3.3/whatsnew/3.2.html#dbm)182      - [ctypes](https://python-all.ru/3.3/whatsnew/3.2.html#ctypes)183      - [site](https://python-all.ru/3.3/whatsnew/3.2.html#site)184      - [sysconfig](https://python-all.ru/3.3/whatsnew/3.2.html#sysconfig)185      - [pdb](https://python-all.ru/3.3/whatsnew/3.2.html#pdb)186      - [configparser](https://python-all.ru/3.3/whatsnew/3.2.html#configparser)187      - [urllib.parse](https://python-all.ru/3.3/whatsnew/3.2.html#urllib-parse)188      - [mailbox](https://python-all.ru/3.3/whatsnew/3.2.html#mailbox)189      - [turtledemo](https://python-all.ru/3.3/whatsnew/3.2.html#turtledemo)190    - [Многопоточность](https://python-all.ru/3.3/whatsnew/3.2.html#multi-threading)191    - [Оптимизации](https://python-all.ru/3.3/whatsnew/3.2.html#optimizations)192    - [Юникод](https://python-all.ru/3.3/whatsnew/3.2.html#unicode)193    - [Кодеки](https://python-all.ru/3.3/whatsnew/3.2.html#codecs)194    - [Документация](https://python-all.ru/3.3/whatsnew/3.2.html#documentation)195    - [IDLE](https://python-all.ru/3.3/whatsnew/3.2.html#idle)196    - [Репозиторий кода](https://python-all.ru/3.3/whatsnew/3.2.html#code-repository)197    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/3.2.html#build-and-c-api-changes)198    - [Переход на Python 3.2](https://python-all.ru/3.3/whatsnew/3.2.html#porting-to-python-3-2)199  - [Что нового в Python 3.1](https://python-all.ru/3.3/whatsnew/3.1.html)200201    - [PEP 372: Упорядоченные словари](https://python-all.ru/3.3/whatsnew/3.1.html#pep-372-ordered-dictionaries)202    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.3/whatsnew/3.1.html#pep-378-format-specifier-for-thousands-separator)203    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/3.1.html#other-language-changes)204    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.3/whatsnew/3.1.html#new-improved-and-deprecated-modules)205    - [Оптимизации](https://python-all.ru/3.3/whatsnew/3.1.html#optimizations)206    - [IDLE](https://python-all.ru/3.3/whatsnew/3.1.html#idle)207    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/3.1.html#build-and-c-api-changes)208    - [Переход на Python 3.1](https://python-all.ru/3.3/whatsnew/3.1.html#porting-to-python-3-1)209  - [Что нового в Python 3.0](https://python-all.ru/3.3/whatsnew/3.0.html)210211    - [Типичные трудности](https://python-all.ru/3.3/whatsnew/3.0.html#common-stumbling-blocks)212213      - [Print – это функция](https://python-all.ru/3.3/whatsnew/3.0.html#print-is-a-function)214      - [Представления и итераторы вместо списков](https://python-all.ru/3.3/whatsnew/3.0.html#views-and-iterators-instead-of-lists)215      - [Сравнение на упорядочивание](https://python-all.ru/3.3/whatsnew/3.0.html#ordering-comparisons)216      - [Целые числа](https://python-all.ru/3.3/whatsnew/3.0.html#integers)217      - [Текст против данных: вместо Unicode и 8-битных строк](https://python-all.ru/3.3/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit)218    - [Обзор изменений синтаксиса](https://python-all.ru/3.3/whatsnew/3.0.html#overview-of-syntax-changes)219220      - [Новый синтаксис](https://python-all.ru/3.3/whatsnew/3.0.html#new-syntax)221      - [Изменённый синтаксис](https://python-all.ru/3.3/whatsnew/3.0.html#changed-syntax)222      - [Удалённый синтаксис](https://python-all.ru/3.3/whatsnew/3.0.html#removed-syntax)223    - [Изменения, уже присутствовавшие в Python 2.6](https://python-all.ru/3.3/whatsnew/3.0.html#changes-already-present-in-python-2-6)224    - [Изменения в библиотеке](https://python-all.ru/3.3/whatsnew/3.0.html#library-changes)225    - [**PEP 3101**: Новый подход к форматированию строк](https://python-all.ru/3.3/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting)226    - [Изменения в исключениях](https://python-all.ru/3.3/whatsnew/3.0.html#changes-to-exceptions)227    - [Прочие изменения](https://python-all.ru/3.3/whatsnew/3.0.html#miscellaneous-other-changes)228229      - [Операторы и специальные методы](https://python-all.ru/3.3/whatsnew/3.0.html#operators-and-special-methods)230      - [Встроенные функции](https://python-all.ru/3.3/whatsnew/3.0.html#builtins)231    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/3.0.html#build-and-c-api-changes)232    - [Производительность](https://python-all.ru/3.3/whatsnew/3.0.html#performance)233    - [Переход на Python 3.0](https://python-all.ru/3.3/whatsnew/3.0.html#porting-to-python-3-0)234  - [Что нового в Python 2.7](https://python-all.ru/3.3/whatsnew/2.7.html)235236    - [Будущее Python 2.x](https://python-all.ru/3.3/whatsnew/2.7.html#the-future-for-python-2-x)237    - [Возможности Python 3.1](https://python-all.ru/3.3/whatsnew/2.7.html#python-3-1-features)238    - [PEP 372: Добавление упорядоченного словаря в collections](https://python-all.ru/3.3/whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections)239    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.3/whatsnew/2.7.html#pep-378-format-specifier-for-thousands-separator)240    - [PEP 389: Модуль argparse для разбора командной строки](https://python-all.ru/3.3/whatsnew/2.7.html#pep-389-the-argparse-module-for-parsing-command-lines)241    - [PEP 391: Конфигурация логирования на основе словаря](https://python-all.ru/3.3/whatsnew/2.7.html#pep-391-dictionary-based-configuration-for-logging)242    - [PEP 3106: Представления словаря](https://python-all.ru/3.3/whatsnew/2.7.html#pep-3106-dictionary-views)243    - [PEP 3137: Объект memoryview](https://python-all.ru/3.3/whatsnew/2.7.html#pep-3137-the-memoryview-object)244    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/2.7.html#other-language-changes)245246      - [Изменения в интерпретаторе](https://python-all.ru/3.3/whatsnew/2.7.html#interpreter-changes)247      - [Оптимизации](https://python-all.ru/3.3/whatsnew/2.7.html#optimizations)248    - [Новые и улучшенные модули](https://python-all.ru/3.3/whatsnew/2.7.html#new-and-improved-modules)249250      - [Новый модуль: importlib](https://python-all.ru/3.3/whatsnew/2.7.html#new-module-importlib)251      - [Новый модуль: sysconfig](https://python-all.ru/3.3/whatsnew/2.7.html#new-module-sysconfig)252      - [ttk: Тематические виджеты для Tk](https://python-all.ru/3.3/whatsnew/2.7.html#ttk-themed-widgets-for-tk)253      - [Обновлённый модуль: unittest](https://python-all.ru/3.3/whatsnew/2.7.html#updated-module-unittest)254      - [Обновлённый модуль: ElementTree 1.3](https://python-all.ru/3.3/whatsnew/2.7.html#updated-module-elementtree-1-3)255    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/2.7.html#build-and-c-api-changes)256257      - [Капсулы](https://python-all.ru/3.3/whatsnew/2.7.html#capsules)258      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.3/whatsnew/2.7.html#port-specific-changes-windows)259      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.3/whatsnew/2.7.html#port-specific-changes-mac-os-x)260      - [Изменения для конкретной платформы: FreeBSD](https://python-all.ru/3.3/whatsnew/2.7.html#port-specific-changes-freebsd)261    - [Прочие изменения и исправления](https://python-all.ru/3.3/whatsnew/2.7.html#other-changes-and-fixes)262    - [Переход на Python 2.7](https://python-all.ru/3.3/whatsnew/2.7.html#porting-to-python-2-7)263    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.7.html#acknowledgements)264  - [Что нового в Python 2.6](https://python-all.ru/3.3/whatsnew/2.6.html)265266    - [Python 3.0](https://python-all.ru/3.3/whatsnew/2.6.html#python-3-0)267    - [Изменения в процессе разработки](https://python-all.ru/3.3/whatsnew/2.6.html#changes-to-the-development-process)268269      - [Новый трекер ошибок: Roundup](https://python-all.ru/3.3/whatsnew/2.6.html#new-issue-tracker-roundup)270      - [Новый формат документации: reStructuredText с использованием Sphinx](https://python-all.ru/3.3/whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx)271    - [PEP 343: Оператор 'with'](https://python-all.ru/3.3/whatsnew/2.6.html#pep-343-the-with-statement)272273      - [Написание контекстных менеджеров](https://python-all.ru/3.3/whatsnew/2.6.html#writing-context-managers)274      - [Модуль contextlib](https://python-all.ru/3.3/whatsnew/2.6.html#the-contextlib-module)275    - [PEP 366: Явные относительные импорты из главного модуля](https://python-all.ru/3.3/whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module)276    - [PEP 370: Пользовательская `site-packages` директория](https://python-all.ru/3.3/whatsnew/2.6.html#pep-370-per-user-site-packages-directory)277    - [PEP 371: Пакет `multiprocessing`](https://python-all.ru/3.3/whatsnew/2.6.html#pep-371-the-multiprocessing-package)278    - [PEP 3101: Расширенное форматирование строк](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3101-advanced-string-formatting)279    - [PEP 3105: `print` как функция](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3105-print-as-a-function)280    - [PEP 3110: Изменения в обработке исключений](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3110-exception-handling-changes)281    - [PEP 3112: Байтовые литералы](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3112-byte-literals)282    - [PEP 3116: Новая библиотека ввода-вывода](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3116-new-i-o-library)283    - [PEP 3118: Пересмотренный протокол буферов](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3118-revised-buffer-protocol)284    - [PEP 3119: Абстрактные базовые классы](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3119-abstract-base-classes)285    - [PEP 3127: Поддержка и синтаксис целочисленных литералов](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax)286    - [PEP 3129: Декораторы классов](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3129-class-decorators)287    - [PEP 3141: Иерархия типов для чисел](https://python-all.ru/3.3/whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers)288289      - [Модуль `fractions`](https://python-all.ru/3.3/whatsnew/2.6.html#the-fractions-module)290    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/2.6.html#other-language-changes)291292      - [Оптимизации](https://python-all.ru/3.3/whatsnew/2.6.html#optimizations)293      - [Изменения в интерпретаторе](https://python-all.ru/3.3/whatsnew/2.6.html#interpreter-changes)294    - [Новые и улучшенные модули](https://python-all.ru/3.3/whatsnew/2.6.html#new-and-improved-modules)295296      - [Модуль `ast`](https://python-all.ru/3.3/whatsnew/2.6.html#the-ast-module)297      - [Модуль `future_builtins`](https://python-all.ru/3.3/whatsnew/2.6.html#the-future-builtins-module)298      - [Модуль `json`: JavaScript Object Notation](https://python-all.ru/3.3/whatsnew/2.6.html#the-json-module-javascript-object-notation)299      - [Модуль `plistlib`: парсер списков свойств](https://python-all.ru/3.3/whatsnew/2.6.html#the-plistlib-module-a-property-list-parser)300      - [Улучшения ctypes](https://python-all.ru/3.3/whatsnew/2.6.html#ctypes-enhancements)301      - [Улучшенная поддержка SSL](https://python-all.ru/3.3/whatsnew/2.6.html#improved-ssl-support)302    - [Устаревания и удаления](https://python-all.ru/3.3/whatsnew/2.6.html#deprecations-and-removals)303    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/2.6.html#build-and-c-api-changes)304305      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.3/whatsnew/2.6.html#port-specific-changes-windows)306      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.3/whatsnew/2.6.html#port-specific-changes-mac-os-x)307      - [Изменения для конкретных платформ: IRIX](https://python-all.ru/3.3/whatsnew/2.6.html#port-specific-changes-irix)308    - [Переход на Python 2.6](https://python-all.ru/3.3/whatsnew/2.6.html#porting-to-python-2-6)309    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.6.html#acknowledgements)310  - [Что нового в Python 2.5](https://python-all.ru/3.3/whatsnew/2.5.html)311312    - [PEP 308: Условные выражения](https://python-all.ru/3.3/whatsnew/2.5.html#pep-308-conditional-expressions)313    - [PEP 309: Частичное применение функций](https://python-all.ru/3.3/whatsnew/2.5.html#pep-309-partial-function-application)314    - [PEP 314: Метаданные для пакетов Python v1.1](https://python-all.ru/3.3/whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1)315    - [PEP 328: Абсолютные и относительные импорты](https://python-all.ru/3.3/whatsnew/2.5.html#pep-328-absolute-and-relative-imports)316    - [PEP 338: Выполнение модулей как сценариев](https://python-all.ru/3.3/whatsnew/2.5.html#pep-338-executing-modules-as-scripts)317    - [PEP 341: Единый try/except/finally](https://python-all.ru/3.3/whatsnew/2.5.html#pep-341-unified-try-except-finally)318    - [PEP 342: Новые возможности генераторов](https://python-all.ru/3.3/whatsnew/2.5.html#pep-342-new-generator-features)319    - [PEP 343: Оператор 'with'](https://python-all.ru/3.3/whatsnew/2.5.html#pep-343-the-with-statement)320321      - [Написание контекстных менеджеров](https://python-all.ru/3.3/whatsnew/2.5.html#writing-context-managers)322      - [Модуль contextlib](https://python-all.ru/3.3/whatsnew/2.5.html#the-contextlib-module)323    - [PEP 352: Исключения как классы нового стиля](https://python-all.ru/3.3/whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes)324    - [PEP 353: Использование ssize\_t в качестве типа индекса](https://python-all.ru/3.3/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type)325    - [PEP 357: Метод '\_\_index\_\_'](https://python-all.ru/3.3/whatsnew/2.5.html#pep-357-the-index-method)326    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/2.5.html#other-language-changes)327328      - [Изменения в интерактивном интерпретаторе](https://python-all.ru/3.3/whatsnew/2.5.html#interactive-interpreter-changes)329      - [Оптимизации](https://python-all.ru/3.3/whatsnew/2.5.html#optimizations)330    - [Новые, улучшенные и удалённые модули](https://python-all.ru/3.3/whatsnew/2.5.html#new-improved-and-removed-modules)331332      - [Пакет ctypes](https://python-all.ru/3.3/whatsnew/2.5.html#the-ctypes-package)333      - [Пакет ElementTree](https://python-all.ru/3.3/whatsnew/2.5.html#the-elementtree-package)334      - [Пакет hashlib](https://python-all.ru/3.3/whatsnew/2.5.html#the-hashlib-package)335      - [Пакет sqlite3](https://python-all.ru/3.3/whatsnew/2.5.html#the-sqlite3-package)336      - [Пакет wsgiref](https://python-all.ru/3.3/whatsnew/2.5.html#the-wsgiref-package)337    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/2.5.html#build-and-c-api-changes)338339      - [Изменения для конкретных платформ](https://python-all.ru/3.3/whatsnew/2.5.html#port-specific-changes)340    - [Перенос на Python 2.5](https://python-all.ru/3.3/whatsnew/2.5.html#porting-to-python-2-5)341    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.5.html#acknowledgements)342  - [Что нового в Python 2.4](https://python-all.ru/3.3/whatsnew/2.4.html)343344    - [PEP 218: Встроенные объекты множеств](https://python-all.ru/3.3/whatsnew/2.4.html#pep-218-built-in-set-objects)345    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.3/whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers)346    - [PEP 289: Генераторные выражения](https://python-all.ru/3.3/whatsnew/2.4.html#pep-289-generator-expressions)347    - [PEP 292: Упрощённая подстановка строк](https://python-all.ru/3.3/whatsnew/2.4.html#pep-292-simpler-string-substitutions)348    - [PEP 318: Декораторы для функций и методов](https://python-all.ru/3.3/whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods)349    - [PEP 322: Обратная итерация](https://python-all.ru/3.3/whatsnew/2.4.html#pep-322-reverse-iteration)350    - [PEP 324: Новый модуль подпроцесса](https://python-all.ru/3.3/whatsnew/2.4.html#pep-324-new-subprocess-module)351    - [PEP 327: Тип данных Decimal](https://python-all.ru/3.3/whatsnew/2.4.html#pep-327-decimal-data-type)352353      - [Зачем нужен Decimal?](https://python-all.ru/3.3/whatsnew/2.4.html#why-is-decimal-needed)354      - [Тип `Decimal`](https://python-all.ru/3.3/whatsnew/2.4.html#the-decimal-type)355      - [Тип `Context`](https://python-all.ru/3.3/whatsnew/2.4.html#the-context-type)356    - [PEP 328: Многострочные импорты](https://python-all.ru/3.3/whatsnew/2.4.html#pep-328-multi-line-imports)357    - [PEP 331: Независящие от локали преобразования float/строк](https://python-all.ru/3.3/whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions)358    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/2.4.html#other-language-changes)359360      - [Оптимизации](https://python-all.ru/3.3/whatsnew/2.4.html#optimizations)361    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.3/whatsnew/2.4.html#new-improved-and-deprecated-modules)362363      - [cookielib](https://python-all.ru/3.3/whatsnew/2.4.html#cookielib)364      - [doctest](https://python-all.ru/3.3/whatsnew/2.4.html#doctest)365    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/2.4.html#build-and-c-api-changes)366367      - [Изменения для конкретных платформ](https://python-all.ru/3.3/whatsnew/2.4.html#port-specific-changes)368    - [Перенос на Python 2.4](https://python-all.ru/3.3/whatsnew/2.4.html#porting-to-python-2-4)369    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.4.html#acknowledgements)370  - [Что нового в Python 2.3](https://python-all.ru/3.3/whatsnew/2.3.html)371372    - [PEP 218: Стандартный тип set](https://python-all.ru/3.3/whatsnew/2.3.html#pep-218-a-standard-set-datatype)373    - [PEP 255: простые генераторы](https://python-all.ru/3.3/whatsnew/2.3.html#pep-255-simple-generators)374    - [PEP 263: Кодировки исходного кода](https://python-all.ru/3.3/whatsnew/2.3.html#pep-263-source-code-encodings)375    - [PEP 273: Импорт модулей из ZIP-архивов](https://python-all.ru/3.3/whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives)376    - [PEP 277: Поддержка имён файлов в Unicode для Windows NT](https://python-all.ru/3.3/whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt)377    - [PEP 278: Универсальная поддержка символов новой строки](https://python-all.ru/3.3/whatsnew/2.3.html#pep-278-universal-newline-support)378    - [PEP 279: enumerate()](https://python-all.ru/3.3/whatsnew/2.3.html#pep-279-enumerate)379    - [PEP 282: Пакет logging](https://python-all.ru/3.3/whatsnew/2.3.html#pep-282-the-logging-package)380    - [PEP 285: Булев тип](https://python-all.ru/3.3/whatsnew/2.3.html#pep-285-a-boolean-type)381    - [PEP 293: Колбэки обработки ошибок кодеков](https://python-all.ru/3.3/whatsnew/2.3.html#pep-293-codec-error-handling-callbacks)382    - [PEP 301: Индекс пакетов и метаданные для Distutils](https://python-all.ru/3.3/whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils)383    - [PEP 302: Новые хуки импорта](https://python-all.ru/3.3/whatsnew/2.3.html#pep-302-new-import-hooks)384    - [PEP 305: Файлы с разделителями-запятыми](https://python-all.ru/3.3/whatsnew/2.3.html#pep-305-comma-separated-files)385    - [PEP 307: Улучшения pickle](https://python-all.ru/3.3/whatsnew/2.3.html#pep-307-pickle-enhancements)386    - [Расширенные срезы](https://python-all.ru/3.3/whatsnew/2.3.html#extended-slices)387    - [Прочие изменения языка](https://python-all.ru/3.3/whatsnew/2.3.html#other-language-changes)388389      - [Изменения в строках](https://python-all.ru/3.3/whatsnew/2.3.html#string-changes)390      - [Оптимизации](https://python-all.ru/3.3/whatsnew/2.3.html#optimizations)391    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.3/whatsnew/2.3.html#new-improved-and-deprecated-modules)392393      - [Тип даты/времени](https://python-all.ru/3.3/whatsnew/2.3.html#date-time-type)394      - [Модуль optparse](https://python-all.ru/3.3/whatsnew/2.3.html#the-optparse-module)395    - [Pymalloc: Специализированный аллокатор объектов](https://python-all.ru/3.3/whatsnew/2.3.html#pymalloc-a-specialized-object-allocator)396    - [Изменения в сборке и C API](https://python-all.ru/3.3/whatsnew/2.3.html#build-and-c-api-changes)397398      - [Изменения для конкретных платформ](https://python-all.ru/3.3/whatsnew/2.3.html#port-specific-changes)399    - [Прочие изменения и исправления](https://python-all.ru/3.3/whatsnew/2.3.html#other-changes-and-fixes)400    - [Перенос на Python 2.3](https://python-all.ru/3.3/whatsnew/2.3.html#porting-to-python-2-3)401    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.3.html#acknowledgements)402  - [Что нового в Python 2.2](https://python-all.ru/3.3/whatsnew/2.2.html)403404    - [Введение](https://python-all.ru/3.3/whatsnew/2.2.html#introduction)405    - [PEP 252 и 253: изменения типов и классов](https://python-all.ru/3.3/whatsnew/2.2.html#peps-252-and-253-type-and-class-changes)406407      - [Старые и новые классы](https://python-all.ru/3.3/whatsnew/2.2.html#old-and-new-classes)408      - [Дескрипторы](https://python-all.ru/3.3/whatsnew/2.2.html#descriptors)409      - [Множественное наследование: правило ромба](https://python-all.ru/3.3/whatsnew/2.2.html#multiple-inheritance-the-diamond-rule)410      - [Доступ к атрибутам](https://python-all.ru/3.3/whatsnew/2.2.html#attribute-access)411      - [Связанные ссылки](https://python-all.ru/3.3/whatsnew/2.2.html#related-links)412    - [PEP 234: итераторы](https://python-all.ru/3.3/whatsnew/2.2.html#pep-234-iterators)413    - [PEP 255: простые генераторы](https://python-all.ru/3.3/whatsnew/2.2.html#pep-255-simple-generators)414    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.3/whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers)415    - [PEP 238: изменение оператора деления](https://python-all.ru/3.3/whatsnew/2.2.html#pep-238-changing-the-division-operator)416    - [Изменения в Unicode](https://python-all.ru/3.3/whatsnew/2.2.html#unicode-changes)417    - [PEP 227: вложенные области видимости](https://python-all.ru/3.3/whatsnew/2.2.html#pep-227-nested-scopes)418    - [Новые и улучшенные модули](https://python-all.ru/3.3/whatsnew/2.2.html#new-and-improved-modules)419    - [Изменения и исправления интерпретатора](https://python-all.ru/3.3/whatsnew/2.2.html#interpreter-changes-and-fixes)420    - [Прочие изменения и исправления](https://python-all.ru/3.3/whatsnew/2.2.html#other-changes-and-fixes)421    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.2.html#acknowledgements)422  - [Что нового в Python 2.1](https://python-all.ru/3.3/whatsnew/2.1.html)423424    - [Введение](https://python-all.ru/3.3/whatsnew/2.1.html#introduction)425    - [PEP 227: вложенные области видимости](https://python-all.ru/3.3/whatsnew/2.1.html#pep-227-nested-scopes)426    - [PEP 236: директивы \_\_future\_\_](https://python-all.ru/3.3/whatsnew/2.1.html#pep-236-future-directives)427    - [PEP 207: расширенные сравнения](https://python-all.ru/3.3/whatsnew/2.1.html#pep-207-rich-comparisons)428    - [PEP 230: инфраструктура предупреждений](https://python-all.ru/3.3/whatsnew/2.1.html#pep-230-warning-framework)429    - [PEP 229: новая система сборки](https://python-all.ru/3.3/whatsnew/2.1.html#pep-229-new-build-system)430    - [PEP 205: слабые ссылки](https://python-all.ru/3.3/whatsnew/2.1.html#pep-205-weak-references)431    - [PEP 232: атрибуты функций](https://python-all.ru/3.3/whatsnew/2.1.html#pep-232-function-attributes)432    - [PEP 235: импорт модулей на платформах, нечувствительных к регистру](https://python-all.ru/3.3/whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms)433    - [PEP 217: интерактивный перехватчик вывода](https://python-all.ru/3.3/whatsnew/2.1.html#pep-217-interactive-display-hook)434    - [PEP 208: новая модель приведения типов](https://python-all.ru/3.3/whatsnew/2.1.html#pep-208-new-coercion-model)435    - [PEP 241: метаданные в пакетах Python](https://python-all.ru/3.3/whatsnew/2.1.html#pep-241-metadata-in-python-packages)436    - [Новые и улучшенные модули](https://python-all.ru/3.3/whatsnew/2.1.html#new-and-improved-modules)437    - [Прочие изменения и исправления](https://python-all.ru/3.3/whatsnew/2.1.html#other-changes-and-fixes)438    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.1.html#acknowledgements)439  - [Что нового в Python 2.0](https://python-all.ru/3.3/whatsnew/2.0.html)440441    - [Введение](https://python-all.ru/3.3/whatsnew/2.0.html#introduction)442    - [А что насчёт Python 1.6?](https://python-all.ru/3.3/whatsnew/2.0.html#what-about-python-1-6)443    - [Новый процесс разработки](https://python-all.ru/3.3/whatsnew/2.0.html#new-development-process)444    - [Юникод](https://python-all.ru/3.3/whatsnew/2.0.html#unicode)445    - [Списковые включения](https://python-all.ru/3.3/whatsnew/2.0.html#list-comprehensions)446    - [Расширенное присваивание](https://python-all.ru/3.3/whatsnew/2.0.html#augmented-assignment)447    - [Методы строк](https://python-all.ru/3.3/whatsnew/2.0.html#string-methods)448    - [Сборка мусора циклических ссылок](https://python-all.ru/3.3/whatsnew/2.0.html#garbage-collection-of-cycles)449    - [Другие изменения ядра](https://python-all.ru/3.3/whatsnew/2.0.html#other-core-changes)450451      - [Мелкие изменения языка](https://python-all.ru/3.3/whatsnew/2.0.html#minor-language-changes)452      - [Изменения встроенных функций](https://python-all.ru/3.3/whatsnew/2.0.html#changes-to-built-in-functions)453    - [Перенос на 2.0](https://python-all.ru/3.3/whatsnew/2.0.html#porting-to-2-0)454    - [Изменения в расширении/встраивании](https://python-all.ru/3.3/whatsnew/2.0.html#extending-embedding-changes)455    - [Distutils: упрощение установки модулей](https://python-all.ru/3.3/whatsnew/2.0.html#distutils-making-modules-easy-to-install)456    - [Модули XML](https://python-all.ru/3.3/whatsnew/2.0.html#xml-modules)457458      - [Поддержка SAX2](https://python-all.ru/3.3/whatsnew/2.0.html#sax2-support)459      - [Поддержка DOM](https://python-all.ru/3.3/whatsnew/2.0.html#dom-support)460      - [Связь с PyXML](https://python-all.ru/3.3/whatsnew/2.0.html#relationship-to-pyxml)461    - [Изменения модулей](https://python-all.ru/3.3/whatsnew/2.0.html#module-changes)462    - [Новые модули](https://python-all.ru/3.3/whatsnew/2.0.html#new-modules)463    - [Улучшения IDLE](https://python-all.ru/3.3/whatsnew/2.0.html#idle-improvements)464    - [Удалённые и устаревшие модули](https://python-all.ru/3.3/whatsnew/2.0.html#deleted-and-deprecated-modules)465    - [Благодарности](https://python-all.ru/3.3/whatsnew/2.0.html#acknowledgements)466  - [Журнал изменений](https://python-all.ru/3.3/whatsnew/changelog.html)467468    - [Python 3.3.7 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-7-final)469    - [Python 3.3.7 release candidate 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-7-release-candidate-1)470471      - [Безопасность](https://python-all.ru/3.3/whatsnew/changelog.html#security)472      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#core-and-builtins)473      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#library)474      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#tests)475      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#c-api)476    - [Python 3.3.6 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-6-final)477478      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id2)479      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id3)480      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id4)481    - [Python 3.3.5 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-5-final)482    - [Python 3.3.5 release candidate 2](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-5-release-candidate-2)483484      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id5)485      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id6)486      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id7)487      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#tools-demos)488    - [Python 3.3.5 release candidate 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-5-release-candidate-1)489490      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id8)491      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id9)492      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#idle)493      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id10)494      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#documentation)495      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#build)496    - [Python 3.3.4 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-4-final)497498      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id11)499    - [Python 3.3.4 release candidate 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-4-release-candidate-1)500501      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id12)502      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id13)503      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id14)504      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id15)505      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id16)506      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id17)507      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id18)508    - [Python 3.3.3 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-3-final)509    - [Python 3.3.3 release candidate 2](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-3-release-candidate-2)510511      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id19)512      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id20)513      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id21)514    - [Python 3.3.3 release candidate 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-3-release-candidate-1)515516      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id22)517      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id23)518      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id24)519      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id25)520      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id26)521      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id27)522      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id28)523      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id29)524    - [Python 3.3.2 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-2-final)525526      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id30)527      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id31)528      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id32)529      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id33)530      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id34)531      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id35)532    - [Python 3.3.1 final](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-1-final)533534      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id36)535      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id37)536    - [Python 3.3.1 release candidate 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-1-release-candidate-1)537538      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id38)539      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id39)540      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id40)541      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id41)542      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id42)543      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id43)544      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id44)545      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id45)546    - [Python 3.3.0 финальный выпуск](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-final)547548      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id46)549      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id47)550    - [Python 3.3.0 кандидат в релизы 3](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-release-candidate-3)551552      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id48)553      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id49)554    - [Python 3.3.0 кандидат в релизы 2](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-release-candidate-2)555556      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id50)557      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id51)558      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id52)559      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id53)560    - [Python 3.3.0 кандидат в релизы 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-release-candidate-1)561562      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id54)563      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id55)564      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id56)565      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id57)566      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id58)567      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id59)568    - [Python 3.3.0 бета-версия 2](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-beta-2)569570      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id60)571      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id61)572      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id62)573      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id63)574      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id64)575      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id65)576      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id66)577      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id67)578      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id68)579    - [Python 3.3.0 бета-версия 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-beta-1)580581      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id69)582      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id70)583      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id71)584      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id72)585      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id73)586      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id74)587      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id75)588      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id76)589    - [Python 3.3.0 альфа-версия 4](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-alpha-4)590591      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id77)592      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id78)593      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id79)594      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id80)595      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id81)596      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id82)597      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id83)598    - [Python 3.3.0 альфа-версия 3](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-alpha-3)599600      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id84)601      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id85)602      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id86)603      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id87)604      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id88)605      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id89)606      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id90)607    - [Python 3.3.0 альфа-версия 2](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-alpha-2)608609      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id91)610      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id92)611      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id93)612      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id94)613      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id95)614      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id96)615    - [Python 3.3.0 альфа-версия 1](https://python-all.ru/3.3/whatsnew/changelog.html#python-3-3-0-alpha-1)616617      - [Ядро и встроенные модули](https://python-all.ru/3.3/whatsnew/changelog.html#id97)618      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id98)619      - [Сборка](https://python-all.ru/3.3/whatsnew/changelog.html#id99)620      - [IDLE](https://python-all.ru/3.3/whatsnew/changelog.html#id100)621      - [Инструменты/Демонстрации](https://python-all.ru/3.3/whatsnew/changelog.html#id101)622      - [Библиотека](https://python-all.ru/3.3/whatsnew/changelog.html#id102)623      - [Тесты](https://python-all.ru/3.3/whatsnew/changelog.html#id103)624      - [C API](https://python-all.ru/3.3/whatsnew/changelog.html#id104)625      - [Документация](https://python-all.ru/3.3/whatsnew/changelog.html#id105)626- [Учебник Python](https://python-all.ru/3.3/tutorial/index.html)627628  - [1. Введение](https://python-all.ru/3.3/tutorial/appetite.html)629  - [2. Использование интерпретатора Python](https://python-all.ru/3.3/tutorial/interpreter.html)630631    - [2.1. Запуск интерпретатора](https://python-all.ru/3.3/tutorial/interpreter.html#invoking-the-interpreter)632633      - [2.1.1. Передача аргументов](https://python-all.ru/3.3/tutorial/interpreter.html#argument-passing)634      - [2.1.2. Интерактивный режим](https://python-all.ru/3.3/tutorial/interpreter.html#interactive-mode)635    - [2.2. Интерпретатор и его окружение](https://python-all.ru/3.3/tutorial/interpreter.html#the-interpreter-and-its-environment)636637      - [2.2.1. Обработка ошибок](https://python-all.ru/3.3/tutorial/interpreter.html#error-handling)638      - [2.2.2. Исполняемые скрипты Python](https://python-all.ru/3.3/tutorial/interpreter.html#executable-python-scripts)639      - [2.2.3. Кодировка исходного кода](https://python-all.ru/3.3/tutorial/interpreter.html#source-code-encoding)640      - [2.2.4. Интерактивный файл запуска](https://python-all.ru/3.3/tutorial/interpreter.html#the-interactive-startup-file)641      - [2.2.5. Модули настройки](https://python-all.ru/3.3/tutorial/interpreter.html#the-customization-modules)642  - [3. Неформальное введение в Python](https://python-all.ru/3.3/tutorial/introduction.html)643644    - [3.1. Использование Python в качестве калькулятора](https://python-all.ru/3.3/tutorial/introduction.html#using-python-as-a-calculator)645646      - [3.1.1. Числа](https://python-all.ru/3.3/tutorial/introduction.html#numbers)647      - [3.1.2. Строки](https://python-all.ru/3.3/tutorial/introduction.html#strings)648      - [3.1.3. Списки](https://python-all.ru/3.3/tutorial/introduction.html#lists)649    - [3.2. Первые шаги к программированию](https://python-all.ru/3.3/tutorial/introduction.html#first-steps-towards-programming)650  - [4. Дополнительные средства управления потоком](https://python-all.ru/3.3/tutorial/controlflow.html)651652    - [4.1. `if` Инструкции](https://python-all.ru/3.3/tutorial/controlflow.html#if-statements)653    - [4.2. `for` Инструкции](https://python-all.ru/3.3/tutorial/controlflow.html#for-statements)654    - [4.3. Функция `range()`](https://python-all.ru/3.3/tutorial/controlflow.html#the-range-function)655    - [4.4. `break` и `continue` инструкции, а также `else` предложения в циклах](https://python-all.ru/3.3/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)656    - [4.5. `pass` Инструкции](https://python-all.ru/3.3/tutorial/controlflow.html#pass-statements)657    - [4.6. Определение функций](https://python-all.ru/3.3/tutorial/controlflow.html#defining-functions)658    - [4.7. Подробнее об определении функций](https://python-all.ru/3.3/tutorial/controlflow.html#more-on-defining-functions)659660      - [4.7.1. Значения аргументов по умолчанию](https://python-all.ru/3.3/tutorial/controlflow.html#default-argument-values)661      - [4.7.2. Именованные аргументы](https://python-all.ru/3.3/tutorial/controlflow.html#keyword-arguments)662      - [4.7.3. Произвольные списки аргументов](https://python-all.ru/3.3/tutorial/controlflow.html#arbitrary-argument-lists)663      - [4.7.4. Распаковка списков аргументов](https://python-all.ru/3.3/tutorial/controlflow.html#unpacking-argument-lists)664      - [4.7.5. Лямбда-выражения](https://python-all.ru/3.3/tutorial/controlflow.html#lambda-expressions)665      - [4.7.6. Строки документации](https://python-all.ru/3.3/tutorial/controlflow.html#documentation-strings)666      - [4.7.7. Аннотации функций](https://python-all.ru/3.3/tutorial/controlflow.html#function-annotations)667    - [4.8. Интермеццо: стиль кодирования](https://python-all.ru/3.3/tutorial/controlflow.html#intermezzo-coding-style)668  - [5. Структуры данных](https://python-all.ru/3.3/tutorial/datastructures.html)669670    - [5.1. Подробнее о списках](https://python-all.ru/3.3/tutorial/datastructures.html#more-on-lists)671672      - [5.1.1. Использование списков как стеков](https://python-all.ru/3.3/tutorial/datastructures.html#using-lists-as-stacks)673      - [5.1.2. Использование списков как очередей](https://python-all.ru/3.3/tutorial/datastructures.html#using-lists-as-queues)674      - [5.1.3. Списковые включения](https://python-all.ru/3.3/tutorial/datastructures.html#list-comprehensions)675      - [5.1.4. Вложенные списковые включения](https://python-all.ru/3.3/tutorial/datastructures.html#nested-list-comprehensions)676    - [5.2. Инструкция `del`](https://python-all.ru/3.3/tutorial/datastructures.html#the-del-statement)677    - [5.3. Кортежи и последовательности](https://python-all.ru/3.3/tutorial/datastructures.html#tuples-and-sequences)678    - [5.4. Множества](https://python-all.ru/3.3/tutorial/datastructures.html#sets)679    - [5.5. Словари](https://python-all.ru/3.3/tutorial/datastructures.html#dictionaries)680    - [5.6. Приёмы работы с циклами](https://python-all.ru/3.3/tutorial/datastructures.html#looping-techniques)681    - [5.7. Подробнее об условиях](https://python-all.ru/3.3/tutorial/datastructures.html#more-on-conditions)682    - [5.8. Сравнение последовательностей и других типов](https://python-all.ru/3.3/tutorial/datastructures.html#comparing-sequences-and-other-types)683  - [6. Модули](https://python-all.ru/3.3/tutorial/modules.html)684685    - [6.1. Подробнее о модулях](https://python-all.ru/3.3/tutorial/modules.html#more-on-modules)686687      - [6.1.1. Запуск модулей как скриптов](https://python-all.ru/3.3/tutorial/modules.html#executing-modules-as-scripts)688      - [6.1.2. Путь поиска модулей](https://python-all.ru/3.3/tutorial/modules.html#the-module-search-path)689      - [6.1.3. «Скомпилированные» файлы Python](https://python-all.ru/3.3/tutorial/modules.html#compiled-python-files)690    - [6.2. Стандартные модули](https://python-all.ru/3.3/tutorial/modules.html#standard-modules)691    - [6.3. Функция `dir()`](https://python-all.ru/3.3/tutorial/modules.html#the-dir-function)692    - [6.4. Пакеты](https://python-all.ru/3.3/tutorial/modules.html#packages)693694      - [6.4.1. Импорт \* из пакета](https://python-all.ru/3.3/tutorial/modules.html#importing-from-a-package)695      - [6.4.2. Ссылки внутри пакета](https://python-all.ru/3.3/tutorial/modules.html#intra-package-references)696      - [6.4.3. Пакеты в нескольких каталогах](https://python-all.ru/3.3/tutorial/modules.html#packages-in-multiple-directories)697  - [7. Ввод и вывод](https://python-all.ru/3.3/tutorial/inputoutput.html)698699    - [7.1. Более сложное форматирование вывода](https://python-all.ru/3.3/tutorial/inputoutput.html#fancier-output-formatting)700701      - [7.1.1. Старое форматирование строк](https://python-all.ru/3.3/tutorial/inputoutput.html#old-string-formatting)702    - [7.2. Чтение и запись файлов](https://python-all.ru/3.3/tutorial/inputoutput.html#reading-and-writing-files)703704      - [7.2.1. Методы файловых объектов](https://python-all.ru/3.3/tutorial/inputoutput.html#methods-of-file-objects)705      - [7.2.2. Сохранение структурированных данных с помощью `json`](https://python-all.ru/3.3/tutorial/inputoutput.html#saving-structured-data-with-json)706  - [8. Ошибки и исключения](https://python-all.ru/3.3/tutorial/errors.html)707708    - [8.1. Синтаксические ошибки](https://python-all.ru/3.3/tutorial/errors.html#syntax-errors)709    - [8.2. Исключения](https://python-all.ru/3.3/tutorial/errors.html#exceptions)710    - [8.3. Обработка исключений](https://python-all.ru/3.3/tutorial/errors.html#handling-exceptions)711    - [8.4. Возбуждение исключений](https://python-all.ru/3.3/tutorial/errors.html#raising-exceptions)712    - [8.5. Пользовательские исключения](https://python-all.ru/3.3/tutorial/errors.html#user-defined-exceptions)713    - [8.6. Определение действий по очистке](https://python-all.ru/3.3/tutorial/errors.html#defining-clean-up-actions)714    - [8.7. Предопределённые действия по очистке](https://python-all.ru/3.3/tutorial/errors.html#predefined-clean-up-actions)715  - [9. Классы](https://python-all.ru/3.3/tutorial/classes.html)716717    - [9.1. Несколько слов об именах и объектах](https://python-all.ru/3.3/tutorial/classes.html#a-word-about-names-and-objects)718    - [9.2. Области видимости и пространства имён Python](https://python-all.ru/3.3/tutorial/classes.html#python-scopes-and-namespaces)719720      - [9.2.1. Пример областей видимости и пространств имён](https://python-all.ru/3.3/tutorial/classes.html#scopes-and-namespaces-example)721    - [9.3. Первое знакомство с классами](https://python-all.ru/3.3/tutorial/classes.html#a-first-look-at-classes)722723      - [9.3.1. Синтаксис определения класса](https://python-all.ru/3.3/tutorial/classes.html#class-definition-syntax)724      - [9.3.2. Объекты классов](https://python-all.ru/3.3/tutorial/classes.html#class-objects)725      - [9.3.3. Объекты экземпляров](https://python-all.ru/3.3/tutorial/classes.html#instance-objects)726      - [9.3.4. Объекты методов](https://python-all.ru/3.3/tutorial/classes.html#method-objects)727    - [9.4. Разные замечания](https://python-all.ru/3.3/tutorial/classes.html#random-remarks)728    - [9.5. Наследование](https://python-all.ru/3.3/tutorial/classes.html#inheritance)729730      - [9.5.1. Множественное наследование](https://python-all.ru/3.3/tutorial/classes.html#multiple-inheritance)731    - [9.6. Приватные переменные](https://python-all.ru/3.3/tutorial/classes.html#private-variables)732    - [9.7. Разное](https://python-all.ru/3.3/tutorial/classes.html#odds-and-ends)733    - [9.8. Исключения – тоже классы](https://python-all.ru/3.3/tutorial/classes.html#exceptions-are-classes-too)734    - [9.9. Итераторы](https://python-all.ru/3.3/tutorial/classes.html#iterators)735    - [9.10. Генераторы](https://python-all.ru/3.3/tutorial/classes.html#generators)736    - [9.11. Генераторные выражения](https://python-all.ru/3.3/tutorial/classes.html#generator-expressions)737  - [10. Краткий обзор стандартной библиотеки](https://python-all.ru/3.3/tutorial/stdlib.html)738739    - [10.1. Интерфейс операционной системы](https://python-all.ru/3.3/tutorial/stdlib.html#operating-system-interface)740    - [10.2. Файловые шаблоны](https://python-all.ru/3.3/tutorial/stdlib.html#file-wildcards)741    - [10.3. Аргументы командной строки](https://python-all.ru/3.3/tutorial/stdlib.html#command-line-arguments)742    - [10.4. Перенаправление вывода ошибок и завершение программы](https://python-all.ru/3.3/tutorial/stdlib.html#error-output-redirection-and-program-termination)743    - [10.5. Поиск по шаблону в строках](https://python-all.ru/3.3/tutorial/stdlib.html#string-pattern-matching)744    - [10.6. Математика](https://python-all.ru/3.3/tutorial/stdlib.html#mathematics)745    - [10.7. Доступ в Интернет](https://python-all.ru/3.3/tutorial/stdlib.html#internet-access)746    - [10.8. Даты и время](https://python-all.ru/3.3/tutorial/stdlib.html#dates-and-times)747    - [10.9. Сжатие данных](https://python-all.ru/3.3/tutorial/stdlib.html#data-compression)748    - [10.10. Измерение производительности](https://python-all.ru/3.3/tutorial/stdlib.html#performance-measurement)749    - [10.11. Контроль качества](https://python-all.ru/3.3/tutorial/stdlib.html#quality-control)750    - [10.12. Батарейки в комплекте](https://python-all.ru/3.3/tutorial/stdlib.html#batteries-included)751  - [11. Краткий обзор стандартной библиотеки – Часть II](https://python-all.ru/3.3/tutorial/stdlib2.html)752753    - [11.1. Форматирование вывода](https://python-all.ru/3.3/tutorial/stdlib2.html#output-formatting)754    - [11.2. Шаблоны](https://python-all.ru/3.3/tutorial/stdlib2.html#templating)755    - [11.3. Работа с двоичными данными и структурами записей](https://python-all.ru/3.3/tutorial/stdlib2.html#working-with-binary-data-record-layouts)756    - [11.4. Многопоточность](https://python-all.ru/3.3/tutorial/stdlib2.html#multi-threading)757    - [11.5. Логирование](https://python-all.ru/3.3/tutorial/stdlib2.html#logging)758    - [11.6. Слабые ссылки](https://python-all.ru/3.3/tutorial/stdlib2.html#weak-references)759    - [11.7. Инструменты для работы со списками](https://python-all.ru/3.3/tutorial/stdlib2.html#tools-for-working-with-lists)760    - [11.8. Десятичная арифметика с плавающей запятой](https://python-all.ru/3.3/tutorial/stdlib2.html#decimal-floating-point-arithmetic)761  - [12. Что дальше?](https://python-all.ru/3.3/tutorial/whatnow.html)762  - [13. Интерактивное редактирование ввода и подстановка истории](https://python-all.ru/3.3/tutorial/interactive.html)763764    - [13.1. Редактирование строк](https://python-all.ru/3.3/tutorial/interactive.html#line-editing)765    - [13.2. Подстановка истории](https://python-all.ru/3.3/tutorial/interactive.html#history-substitution)766    - [13.3. Привязки клавиш](https://python-all.ru/3.3/tutorial/interactive.html#key-bindings)767    - [13.4. Альтернативы интерактивному интерпретатору](https://python-all.ru/3.3/tutorial/interactive.html#alternatives-to-the-interactive-interpreter)768  - [14. Арифметика с плавающей запятой: проблемы и ограничения](https://python-all.ru/3.3/tutorial/floatingpoint.html)769770    - [14.1. Ошибка представления](https://python-all.ru/3.3/tutorial/floatingpoint.html#representation-error)771- [Настройка и использование Python](https://python-all.ru/3.3/using/index.html)772773  - [1. Командная строка и окружение](https://python-all.ru/3.3/using/cmdline.html)774775    - [1.1. Командная строка](https://python-all.ru/3.3/using/cmdline.html#command-line)776777      - [1.1.1. Параметры интерфейса](https://python-all.ru/3.3/using/cmdline.html#interface-options)778      - [1.1.2. Общие параметры](https://python-all.ru/3.3/using/cmdline.html#generic-options)779      - [1.1.3. Прочие параметры](https://python-all.ru/3.3/using/cmdline.html#miscellaneous-options)780      - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.3/using/cmdline.html#options-you-shouldn-t-use)781    - [1.2. Переменные окружения](https://python-all.ru/3.3/using/cmdline.html#environment-variables)782783      - [1.2.1. Переменные режима отладки](https://python-all.ru/3.3/using/cmdline.html#debug-mode-variables)784  - [2. Использование Python на платформах Unix](https://python-all.ru/3.3/using/unix.html)785786    - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.3/using/unix.html#getting-and-installing-the-latest-version-of-python)787788      - [2.1.1. В Linux](https://python-all.ru/3.3/using/unix.html#on-linux)789      - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.3/using/unix.html#on-freebsd-and-openbsd)790      - [2.1.3. В OpenSolaris](https://python-all.ru/3.3/using/unix.html#on-opensolaris)791    - [2.2. Сборка Python](https://python-all.ru/3.3/using/unix.html#building-python)792    - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.3/using/unix.html#python-related-paths-and-files)793    - [2.4. Прочее](https://python-all.ru/3.3/using/unix.html#miscellaneous)794    - [2.5. Редакторы](https://python-all.ru/3.3/using/unix.html#editors)795  - [3. Использование Python в Windows](https://python-all.ru/3.3/using/windows.html)796797    - [3.1. Установка Python](https://python-all.ru/3.3/using/windows.html#installing-python)798    - [3.2. Альтернативные сборки](https://python-all.ru/3.3/using/windows.html#alternative-bundles)799    - [3.3. Настройка Python](https://python-all.ru/3.3/using/windows.html#configuring-python)800801      - [3.3.1. Экскурс: Установка переменных окружения](https://python-all.ru/3.3/using/windows.html#excursus-setting-environment-variables)802      - [3.3.2. Поиск исполняемого файла Python](https://python-all.ru/3.3/using/windows.html#finding-the-python-executable)803      - [3.3.3. Поиск модулей](https://python-all.ru/3.3/using/windows.html#finding-modules)804      - [3.3.4. Выполнение скриптов](https://python-all.ru/3.3/using/windows.html#executing-scripts)805      - [3.3.5. Выполнение скриптов без лаунчера Python](https://python-all.ru/3.3/using/windows.html#executing-scripts-without-the-python-launcher)806    - [3.4. Запускатор Python для Windows](https://python-all.ru/3.3/using/windows.html#python-launcher-for-windows)807808      - [3.4.1. Начало работы](https://python-all.ru/3.3/using/windows.html#getting-started)809810        - [3.4.1.1. Из командной строки](https://python-all.ru/3.3/using/windows.html#from-the-command-line)811        - [3.4.1.2. Из скрипта](https://python-all.ru/3.3/using/windows.html#from-a-script)812        - [3.4.1.3. Из ассоциаций файлов](https://python-all.ru/3.3/using/windows.html#from-file-associations)813      - [3.4.2. Строки shebang](https://python-all.ru/3.3/using/windows.html#shebang-lines)814      - [3.4.3. Аргументы в shebang-строках](https://python-all.ru/3.3/using/windows.html#arguments-in-shebang-lines)815      - [3.4.4. Настройка](https://python-all.ru/3.3/using/windows.html#customization)816817        - [3.4.4.1. Настройка через INI-файлы](https://python-all.ru/3.3/using/windows.html#customization-via-ini-files)818        - [3.4.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.3/using/windows.html#customizing-default-python-versions)819      - [3.4.5. Диагностика](https://python-all.ru/3.3/using/windows.html#diagnostics)820    - [3.5. Дополнительные модули](https://python-all.ru/3.3/using/windows.html#additional-modules)821822      - [3.5.1. PyWin32](https://python-all.ru/3.3/using/windows.html#pywin32)823      - [3.5.2. cx\_Freeze](https://python-all.ru/3.3/using/windows.html#cx-freeze)824      - [3.5.3. WConio](https://python-all.ru/3.3/using/windows.html#wconio)825    - [3.6. Компиляция Python в Windows](https://python-all.ru/3.3/using/windows.html#compiling-python-on-windows)826    - [3.7. Другие ресурсы](https://python-all.ru/3.3/using/windows.html#other-resources)827  - [4. Использование Python на Macintosh](https://python-all.ru/3.3/using/mac.html)828829    - [4.1. Получение и установка MacPython](https://python-all.ru/3.3/using/mac.html#getting-and-installing-macpython)830831      - [4.1.1. Как запустить скрипт Python](https://python-all.ru/3.3/using/mac.html#how-to-run-a-python-script)832      - [4.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.3/using/mac.html#running-scripts-with-a-gui)833      - [4.1.3. Конфигурация](https://python-all.ru/3.3/using/mac.html#configuration)834    - [4.2. IDE](https://python-all.ru/3.3/using/mac.html#the-ide)835    - [4.3. Установка дополнительных пакетов Python](https://python-all.ru/3.3/using/mac.html#installing-additional-python-packages)836    - [4.4. Программирование графического интерфейса на Mac](https://python-all.ru/3.3/using/mac.html#gui-programming-on-the-mac)837    - [4.5. Распространение приложений Python на Mac](https://python-all.ru/3.3/using/mac.html#distributing-python-applications-on-the-mac)838    - [4.6. Прочие ресурсы](https://python-all.ru/3.3/using/mac.html#other-resources)839  - [5. Дополнительные инструменты и сценарии](https://python-all.ru/3.3/using/scripts.html)840841    - [5.1. pyvenv - Создание виртуальных окружений](https://python-all.ru/3.3/using/scripts.html#pyvenv-creating-virtual-environments)842- [Справочник по языку Python](https://python-all.ru/3.3/reference/index.html)843844  - [1. Введение](https://python-all.ru/3.3/reference/introduction.html)845846    - [1.1. Альтернативные реализации](https://python-all.ru/3.3/reference/introduction.html#alternate-implementations)847    - [1.2. Обозначения](https://python-all.ru/3.3/reference/introduction.html#notation)848  - [2. Лексический анализ](https://python-all.ru/3.3/reference/lexical_analysis.html)849850    - [2.1. Структура строк](https://python-all.ru/3.3/reference/lexical_analysis.html#line-structure)851852      - [2.1.1. Логические строки](https://python-all.ru/3.3/reference/lexical_analysis.html#logical-lines)853      - [2.1.2. Физические строки](https://python-all.ru/3.3/reference/lexical_analysis.html#physical-lines)854      - [2.1.3. Комментарии](https://python-all.ru/3.3/reference/lexical_analysis.html#comments)855      - [2.1.4. Объявление кодировки](https://python-all.ru/3.3/reference/lexical_analysis.html#encoding-declarations)856      - [2.1.5. Явное объединение строк](https://python-all.ru/3.3/reference/lexical_analysis.html#explicit-line-joining)857      - [2.1.6. Неявное объединение строк](https://python-all.ru/3.3/reference/lexical_analysis.html#implicit-line-joining)858      - [2.1.7. Пустые строки](https://python-all.ru/3.3/reference/lexical_analysis.html#blank-lines)859      - [2.1.8. Отступы](https://python-all.ru/3.3/reference/lexical_analysis.html#indentation)860      - [2.1.9. Пробелы между токенами](https://python-all.ru/3.3/reference/lexical_analysis.html#whitespace-between-tokens)861    - [2.2. Другие токены](https://python-all.ru/3.3/reference/lexical_analysis.html#other-tokens)862    - [2.3. Идентификаторы и ключевые слова](https://python-all.ru/3.3/reference/lexical_analysis.html#identifiers)863864      - [2.3.1. Ключевые слова](https://python-all.ru/3.3/reference/lexical_analysis.html#keywords)865      - [2.3.2. Зарезервированные классы идентификаторов](https://python-all.ru/3.3/reference/lexical_analysis.html#reserved-classes-of-identifiers)866    - [2.4. Литералы](https://python-all.ru/3.3/reference/lexical_analysis.html#literals)867868      - [2.4.1. Строковые и байтовые литералы](https://python-all.ru/3.3/reference/lexical_analysis.html#string-and-bytes-literals)869      - [2.4.2. Конкатенация строковых литералов](https://python-all.ru/3.3/reference/lexical_analysis.html#string-literal-concatenation)870      - [2.4.3. Числовые литералы](https://python-all.ru/3.3/reference/lexical_analysis.html#numeric-literals)871      - [2.4.4. Целочисленные литералы](https://python-all.ru/3.3/reference/lexical_analysis.html#integer-literals)872      - [2.4.5. Литералы с плавающей точкой](https://python-all.ru/3.3/reference/lexical_analysis.html#floating-point-literals)873      - [2.4.6. Литералы мнимых чисел](https://python-all.ru/3.3/reference/lexical_analysis.html#imaginary-literals)874    - [2.5. Операторы](https://python-all.ru/3.3/reference/lexical_analysis.html#operators)875    - [2.6. Разделители](https://python-all.ru/3.3/reference/lexical_analysis.html#delimiters)876  - [3. Модель данных](https://python-all.ru/3.3/reference/datamodel.html)877878    - [3.1. Объекты, значения и типы](https://python-all.ru/3.3/reference/datamodel.html#objects-values-and-types)879    - [3.2. Стандартная иерархия типов](https://python-all.ru/3.3/reference/datamodel.html#the-standard-type-hierarchy)880    - [3.3. Имена специальных методов](https://python-all.ru/3.3/reference/datamodel.html#special-method-names)881882      - [3.3.1. Базовая настройка](https://python-all.ru/3.3/reference/datamodel.html#basic-customization)883      - [3.3.2. Настройка доступа к атрибутам](https://python-all.ru/3.3/reference/datamodel.html#customizing-attribute-access)884885        - [3.3.2.1. Реализация дескрипторов](https://python-all.ru/3.3/reference/datamodel.html#implementing-descriptors)886        - [3.3.2.2. Вызов дескрипторов](https://python-all.ru/3.3/reference/datamodel.html#invoking-descriptors)887        - [3.3.2.3. \_\_slots\_\_](https://python-all.ru/3.3/reference/datamodel.html#slots)888889          - [3.3.2.3.1. Примечания по использованию *\_\_slots\_\_*](https://python-all.ru/3.3/reference/datamodel.html#notes-on-using-slots)890      - [3.3.3. Настройка создания классов](https://python-all.ru/3.3/reference/datamodel.html#customizing-class-creation)891892        - [3.3.3.1. Определение подходящего метакласса](https://python-all.ru/3.3/reference/datamodel.html#determining-the-appropriate-metaclass)893        - [3.3.3.2. Подготовка пространства имён класса](https://python-all.ru/3.3/reference/datamodel.html#preparing-the-class-namespace)894        - [3.3.3.3. Выполнение тела класса](https://python-all.ru/3.3/reference/datamodel.html#executing-the-class-body)895        - [3.3.3.4. Создание объекта класса](https://python-all.ru/3.3/reference/datamodel.html#creating-the-class-object)896        - [3.3.3.5. Пример метакласса](https://python-all.ru/3.3/reference/datamodel.html#metaclass-example)897      - [3.3.4. Настройка проверок принадлежности экземплярам и подклассам](https://python-all.ru/3.3/reference/datamodel.html#customizing-instance-and-subclass-checks)898      - [3.3.5. Эмуляция вызываемых объектов](https://python-all.ru/3.3/reference/datamodel.html#emulating-callable-objects)899      - [3.3.6. Эмуляция контейнерных типов](https://python-all.ru/3.3/reference/datamodel.html#emulating-container-types)900      - [3.3.7. Эмуляция числовых типов](https://python-all.ru/3.3/reference/datamodel.html#emulating-numeric-types)901      - [3.3.8. Контекстные менеджеры with](https://python-all.ru/3.3/reference/datamodel.html#with-statement-context-managers)902      - [3.3.9. Поиск специальных методов](https://python-all.ru/3.3/reference/datamodel.html#special-method-lookup)903  - [4. Модель выполнения](https://python-all.ru/3.3/reference/executionmodel.html)904905    - [4.1. Именование и связывание](https://python-all.ru/3.3/reference/executionmodel.html#naming-and-binding)906907      - [4.1.1. Взаимодействие с динамическими возможностями](https://python-all.ru/3.3/reference/executionmodel.html#interaction-with-dynamic-features)908    - [4.2. Исключения](https://python-all.ru/3.3/reference/executionmodel.html#exceptions)909  - [5. Система импорта](https://python-all.ru/3.3/reference/import.html)910911    - [5.1. `importlib`](https://python-all.ru/3.3/reference/import.html#importlib)912    - [5.2. Пакеты](https://python-all.ru/3.3/reference/import.html#packages)913914      - [5.2.1. Обычные пакеты](https://python-all.ru/3.3/reference/import.html#regular-packages)915      - [5.2.2. Пакеты пространства имён](https://python-all.ru/3.3/reference/import.html#namespace-packages)916    - [5.3. Поиск](https://python-all.ru/3.3/reference/import.html#searching)917918      - [5.3.1. Кеш модулей](https://python-all.ru/3.3/reference/import.html#the-module-cache)919      - [5.3.2. Искатели и загрузчики](https://python-all.ru/3.3/reference/import.html#finders-and-loaders)920      - [5.3.3. Хуки импорта](https://python-all.ru/3.3/reference/import.html#import-hooks)921      - [5.3.4. Метапуть](https://python-all.ru/3.3/reference/import.html#the-meta-path)922    - [5.4. Загрузчики](https://python-all.ru/3.3/reference/import.html#loaders)923924      - [5.4.1. Представления модулей](https://python-all.ru/3.3/reference/import.html#module-reprs)925      - [5.4.2. module.\_\_path\_\_](https://python-all.ru/3.3/reference/import.html#module-path)926    - [5.5. Искатель на основе путей](https://python-all.ru/3.3/reference/import.html#the-path-based-finder)927928      - [5.5.1. Искатели записей путей](https://python-all.ru/3.3/reference/import.html#path-entry-finders)929      - [5.5.2. Протокол искателя записей путей](https://python-all.ru/3.3/reference/import.html#path-entry-finder-protocol)930    - [5.6. Замена стандартной системы импорта](https://python-all.ru/3.3/reference/import.html#replacing-the-standard-import-system)931    - [5.7. Открытые вопросы](https://python-all.ru/3.3/reference/import.html#open-issues)932    - [5.8. Ссылки](https://python-all.ru/3.3/reference/import.html#references)933  - [6. Выражения](https://python-all.ru/3.3/reference/expressions.html)934935    - [6.1. Арифметические преобразования](https://python-all.ru/3.3/reference/expressions.html#arithmetic-conversions)936    - [6.2. Атомы](https://python-all.ru/3.3/reference/expressions.html#atoms)937938      - [6.2.1. Идентификаторы (имена)](https://python-all.ru/3.3/reference/expressions.html#atom-identifiers)939      - [6.2.2. Литералы](https://python-all.ru/3.3/reference/expressions.html#literals)940      - [6.2.3. Выражения в скобках](https://python-all.ru/3.3/reference/expressions.html#parenthesized-forms)941      - [6.2.4. Отображения для списков, множеств и словарей](https://python-all.ru/3.3/reference/expressions.html#displays-for-lists-sets-and-dictionaries)942      - [6.2.5. Отображения списков](https://python-all.ru/3.3/reference/expressions.html#list-displays)943      - [6.2.6. Отображения множеств](https://python-all.ru/3.3/reference/expressions.html#set-displays)944      - [6.2.7. Отображения словарей](https://python-all.ru/3.3/reference/expressions.html#dictionary-displays)945      - [6.2.8. Генераторные выражения](https://python-all.ru/3.3/reference/expressions.html#generator-expressions)946      - [6.2.9. Выражения yield](https://python-all.ru/3.3/reference/expressions.html#yield-expressions)947948        - [6.2.9.1. Методы генератор-итератора](https://python-all.ru/3.3/reference/expressions.html#generator-iterator-methods)949        - [6.2.9.2. Примеры](https://python-all.ru/3.3/reference/expressions.html#examples)950    - [6.3. Первичные выражения](https://python-all.ru/3.3/reference/expressions.html#primaries)951952      - [6.3.1. Ссылки на атрибуты](https://python-all.ru/3.3/reference/expressions.html#attribute-references)953      - [6.3.2. Подписки](https://python-all.ru/3.3/reference/expressions.html#subscriptions)954      - [6.3.3. Срезы](https://python-all.ru/3.3/reference/expressions.html#slicings)955      - [6.3.4. Вызовы](https://python-all.ru/3.3/reference/expressions.html#calls)956    - [6.4. Оператор возведения в степень](https://python-all.ru/3.3/reference/expressions.html#the-power-operator)957    - [6.5. Унарные арифметические и побитовые операции](https://python-all.ru/3.3/reference/expressions.html#unary-arithmetic-and-bitwise-operations)958    - [6.6. Бинарные арифметические операции](https://python-all.ru/3.3/reference/expressions.html#binary-arithmetic-operations)959    - [6.7. Операции сдвига](https://python-all.ru/3.3/reference/expressions.html#shifting-operations)960    - [6.8. Бинарные побитовые операции](https://python-all.ru/3.3/reference/expressions.html#binary-bitwise-operations)961    - [6.9. Сравнения](https://python-all.ru/3.3/reference/expressions.html#not-in)962    - [6.10. Булевы операции](https://python-all.ru/3.3/reference/expressions.html#boolean-operations)963    - [6.11. Условные выражения](https://python-all.ru/3.3/reference/expressions.html#conditional-expressions)964    - [6.12. Лямбда-выражения](https://python-all.ru/3.3/reference/expressions.html#lambda)965    - [6.13. Списки выражений](https://python-all.ru/3.3/reference/expressions.html#expression-lists)966    - [6.14. Порядок вычисления](https://python-all.ru/3.3/reference/expressions.html#evaluation-order)967    - [6.15. Приоритет операторов](https://python-all.ru/3.3/reference/expressions.html#operator-precedence)968  - [7. Простые инструкции](https://python-all.ru/3.3/reference/simple_stmts.html)969970    - [7.1. Инструкции-выражения](https://python-all.ru/3.3/reference/simple_stmts.html#expression-statements)971    - [7.2. Инструкции присваивания](https://python-all.ru/3.3/reference/simple_stmts.html#assignment-statements)972973      - [7.2.1. Совмещённые инструкции присваивания](https://python-all.ru/3.3/reference/simple_stmts.html#augmented-assignment-statements)974    - [7.3. Инструкция `assert`](https://python-all.ru/3.3/reference/simple_stmts.html#the-assert-statement)975    - [7.4. Инструкция `pass`](https://python-all.ru/3.3/reference/simple_stmts.html#the-pass-statement)976    - [7.5. Инструкция `del`](https://python-all.ru/3.3/reference/simple_stmts.html#the-del-statement)977    - [7.6. Инструкция `return`](https://python-all.ru/3.3/reference/simple_stmts.html#the-return-statement)978    - [7.7. Инструкция `yield`](https://python-all.ru/3.3/reference/simple_stmts.html#the-yield-statement)979    - [7.8. Инструкция `raise`](https://python-all.ru/3.3/reference/simple_stmts.html#the-raise-statement)980    - [7.9. Инструкция `break`](https://python-all.ru/3.3/reference/simple_stmts.html#the-break-statement)981    - [7.10. Инструкция `continue`](https://python-all.ru/3.3/reference/simple_stmts.html#the-continue-statement)982    - [7.11. Инструкция `import`](https://python-all.ru/3.3/reference/simple_stmts.html#the-import-statement)983984      - [7.11.1. Инструкции future](https://python-all.ru/3.3/reference/simple_stmts.html#future-statements)985    - [7.12. Инструкция `global`](https://python-all.ru/3.3/reference/simple_stmts.html#the-global-statement)986    - [7.13. Инструкция `nonlocal`](https://python-all.ru/3.3/reference/simple_stmts.html#the-nonlocal-statement)987  - [8. Составные инструкции](https://python-all.ru/3.3/reference/compound_stmts.html)988989    - [8.1. Инструкция `if`](https://python-all.ru/3.3/reference/compound_stmts.html#the-if-statement)990    - [8.2. Инструкция `while`](https://python-all.ru/3.3/reference/compound_stmts.html#the-while-statement)991    - [8.3. Инструкция `for`](https://python-all.ru/3.3/reference/compound_stmts.html#the-for-statement)992    - [8.4. Инструкция `try`](https://python-all.ru/3.3/reference/compound_stmts.html#the-try-statement)993    - [8.5. Инструкция `with`](https://python-all.ru/3.3/reference/compound_stmts.html#the-with-statement)994    - [8.6. Определения функций](https://python-all.ru/3.3/reference/compound_stmts.html#function-definitions)995    - [8.7. Определения классов](https://python-all.ru/3.3/reference/compound_stmts.html#class-definitions)996  - [9. Компоненты верхнего уровня](https://python-all.ru/3.3/reference/toplevel_components.html)997998    - [9.1. Полные программы на Python](https://python-all.ru/3.3/reference/toplevel_components.html#complete-python-programs)999    - [9.2. Ввод из файла](https://python-all.ru/3.3/reference/toplevel_components.html#file-input)1000    - [9.3. Интерактивный ввод](https://python-all.ru/3.3/reference/toplevel_components.html#interactive-input)1001    - [9.4. Ввод выражений](https://python-all.ru/3.3/reference/toplevel_components.html#expression-input)1002  - [10. Полная спецификация грамматики](https://python-all.ru/3.3/reference/grammar.html)1003- [Стандартная библиотека Python](https://python-all.ru/3.3/library/index.html)10041005  - [1. Введение](https://python-all.ru/3.3/library/intro.html)1006  - [2. Встроенные функции](https://python-all.ru/3.3/library/functions.html)1007  - [3. Встроенные константы](https://python-all.ru/3.3/library/constants.html)10081009    - [3.1. Константы, добавленные модулем `site`](https://python-all.ru/3.3/library/constants.html#constants-added-by-the-site-module)1010  - [4. Встроенные типы](https://python-all.ru/3.3/library/stdtypes.html)10111012    - [4.1. Проверка истинности](https://python-all.ru/3.3/library/stdtypes.html#truth-value-testing)1013    - [4.2. Логические операции – `and`, `or`, `not`](https://python-all.ru/3.3/library/stdtypes.html#boolean-operations-and-or-not)1014    - [4.3. Сравнения](https://python-all.ru/3.3/library/stdtypes.html#comparisons)1015    - [4.4. Числовые типы – `int`, `float`, `complex`](https://python-all.ru/3.3/library/stdtypes.html#numeric-types-int-float-complex)10161017      - [4.4.1. Побитовые операции над целыми типами](https://python-all.ru/3.3/library/stdtypes.html#bitwise-operations-on-integer-types)1018      - [4.4.2. Дополнительные методы целых типов](https://python-all.ru/3.3/library/stdtypes.html#additional-methods-on-integer-types)1019      - [4.4.3. Дополнительные методы Float](https://python-all.ru/3.3/library/stdtypes.html#additional-methods-on-float)1020      - [4.4.4. Хеширование числовых типов](https://python-all.ru/3.3/library/stdtypes.html#hashing-of-numeric-types)1021    - [4.5. Типы итераторов](https://python-all.ru/3.3/library/stdtypes.html#iterator-types)10221023      - [4.5.1. Типы генераторов](https://python-all.ru/3.3/library/stdtypes.html#generator-types)1024    - [4.6. Типы последовательностей – `list`, `tuple`, `range`](https://python-all.ru/3.3/library/stdtypes.html#sequence-types-list-tuple-range)10251026      - [4.6.1. Общие операции с последовательностями](https://python-all.ru/3.3/library/stdtypes.html#common-sequence-operations)1027      - [4.6.2. Неизменяемые типы последовательностей](https://python-all.ru/3.3/library/stdtypes.html#immutable-sequence-types)1028      - [4.6.3. Изменяемые типы последовательностей](https://python-all.ru/3.3/library/stdtypes.html#mutable-sequence-types)1029      - [4.6.4. Списки](https://python-all.ru/3.3/library/stdtypes.html#lists)1030      - [4.6.5. Кортежи](https://python-all.ru/3.3/library/stdtypes.html#tuples)1031      - [4.6.6. Диапазоны](https://python-all.ru/3.3/library/stdtypes.html#ranges)1032    - [4.7. Тип текстовой последовательности – `str`](https://python-all.ru/3.3/library/stdtypes.html#text-sequence-type-str)10331034      - [4.7.1. Методы строк](https://python-all.ru/3.3/library/stdtypes.html#string-methods)1035      - [4.7.2. Форматирование строк в стиле `printf`](https://python-all.ru/3.3/library/stdtypes.html#printf-style-string-formatting)1036    - [4.8. Типы двоичных последовательностей – `bytes`, `bytearray`, `memoryview`](https://python-all.ru/3.3/library/stdtypes.html#binary-sequence-types-bytes-bytearray-memoryview)10371038      - [4.8.1. Байты](https://python-all.ru/3.3/library/stdtypes.html#bytes)1039      - [4.8.2. Объекты bytearray](https://python-all.ru/3.3/library/stdtypes.html#bytearray-objects)1040      - [4.8.3. Операции с bytes и bytearray](https://python-all.ru/3.3/library/stdtypes.html#bytes-and-bytearray-operations)1041      - [4.8.4. Представления памяти](https://python-all.ru/3.3/library/stdtypes.html#memory-views)1042    - [4.9. Типы множеств – `set`, `frozenset`](https://python-all.ru/3.3/library/stdtypes.html#set-types-set-frozenset)1043    - [4.10. Типы отображений – `dict`](https://python-all.ru/3.3/library/stdtypes.html#mapping-types-dict)10441045      - [4.10.1. Объекты-представления словаря](https://python-all.ru/3.3/library/stdtypes.html#dictionary-view-objects)1046    - [4.11. Типы менеджеров контекста](https://python-all.ru/3.3/library/stdtypes.html#context-manager-types)1047    - [4.12. Прочие встроенные типы](https://python-all.ru/3.3/library/stdtypes.html#other-built-in-types)10481049      - [4.12.1. Модули](https://python-all.ru/3.3/library/stdtypes.html#modules)1050      - [4.12.2. Классы и экземпляры классов](https://python-all.ru/3.3/library/stdtypes.html#classes-and-class-instances)1051      - [4.12.3. Функции](https://python-all.ru/3.3/library/stdtypes.html#functions)1052      - [4.12.4. Методы](https://python-all.ru/3.3/library/stdtypes.html#methods)1053      - [4.12.5. Объекты кода](https://python-all.ru/3.3/library/stdtypes.html#code-objects)1054      - [4.12.6. Объекты типов](https://python-all.ru/3.3/library/stdtypes.html#type-objects)1055      - [4.12.7. Объект None](https://python-all.ru/3.3/library/stdtypes.html#the-null-object)1056      - [4.12.8. Объект Ellipsis](https://python-all.ru/3.3/library/stdtypes.html#the-ellipsis-object)1057      - [4.12.9. Объект NotImplemented](https://python-all.ru/3.3/library/stdtypes.html#the-notimplemented-object)1058      - [4.12.10. Логические значения](https://python-all.ru/3.3/library/stdtypes.html#boolean-values)1059      - [4.12.11. Внутренние объекты](https://python-all.ru/3.3/library/stdtypes.html#internal-objects)1060    - [4.13. Специальные атрибуты](https://python-all.ru/3.3/library/stdtypes.html#special-attributes)1061  - [5. Встроенные исключения](https://python-all.ru/3.3/library/exceptions.html)10621063    - [5.1. Базовые классы](https://python-all.ru/3.3/library/exceptions.html#base-classes)1064    - [5.2. Конкретные исключения](https://python-all.ru/3.3/library/exceptions.html#concrete-exceptions)10651066      - [5.2.1. Исключения ОС](https://python-all.ru/3.3/library/exceptions.html#os-exceptions)1067    - [5.3. Предупреждения](https://python-all.ru/3.3/library/exceptions.html#warnings)1068    - [5.4. Иерархия исключений](https://python-all.ru/3.3/library/exceptions.html#exception-hierarchy)1069  - [6. Службы обработки текста](https://python-all.ru/3.3/library/text.html)10701071    - [6.1. `string` – Распространённые операции со строками](https://python-all.ru/3.3/library/string.html)10721073      - [6.1.1. Константы строк](https://python-all.ru/3.3/library/string.html#string-constants)1074      - [6.1.2. Форматирование строк](https://python-all.ru/3.3/library/string.html#string-formatting)1075      - [6.1.3. Синтаксис форматной строки](https://python-all.ru/3.3/library/string.html#format-string-syntax)10761077        - [6.1.3.1. Мини-язык спецификаций формата](https://python-all.ru/3.3/library/string.html#format-specification-mini-language)1078        - [6.1.3.2. Примеры форматирования](https://python-all.ru/3.3/library/string.html#format-examples)1079      - [6.1.4. Шаблонные строки](https://python-all.ru/3.3/library/string.html#template-strings)1080      - [6.1.5. Вспомогательные функции](https://python-all.ru/3.3/library/string.html#helper-functions)1081    - [6.2. `re` – Операции с регулярными выражениями](https://python-all.ru/3.3/library/re.html)10821083      - [6.2.1. Синтаксис регулярных выражений](https://python-all.ru/3.3/library/re.html#regular-expression-syntax)1084      - [6.2.2. Содержимое модуля](https://python-all.ru/3.3/library/re.html#module-contents)1085      - [6.2.3. Объекты регулярных выражений](https://python-all.ru/3.3/library/re.html#regular-expression-objects)1086      - [6.2.4. Объекты сопоставления](https://python-all.ru/3.3/library/re.html#match-objects)1087      - [6.2.5. Примеры регулярных выражений](https://python-all.ru/3.3/library/re.html#regular-expression-examples)10881089        - [6.2.5.1. Проверка на пару](https://python-all.ru/3.3/library/re.html#checking-for-a-pair)1090        - [6.2.5.2. Имитация scanf()](https://python-all.ru/3.3/library/re.html#simulating-scanf)1091        - [6.2.5.3. search() против match()](https://python-all.ru/3.3/library/re.html#search-vs-match)1092        - [6.2.5.4. Создание телефонной книги](https://python-all.ru/3.3/library/re.html#making-a-phonebook)1093        - [6.2.5.5. Обработка текста](https://python-all.ru/3.3/library/re.html#text-munging)1094        - [6.2.5.6. Поиск всех наречий](https://python-all.ru/3.3/library/re.html#finding-all-adverbs)1095        - [6.2.5.7. Поиск всех наречий и их позиций](https://python-all.ru/3.3/library/re.html#finding-all-adverbs-and-their-positions)1096        - [6.2.5.8. Сырые строки](https://python-all.ru/3.3/library/re.html#raw-string-notation)1097        - [6.2.5.9. Написание токенизатора](https://python-all.ru/3.3/library/re.html#writing-a-tokenizer)1098    - [6.3. `difflib` – Вспомогательные средства для вычисления различий](https://python-all.ru/3.3/library/difflib.html)10991100      - [6.3.1. Объекты SequenceMatcher](https://python-all.ru/3.3/library/difflib.html#sequencematcher-objects)1101      - [6.3.2. Примеры SequenceMatcher](https://python-all.ru/3.3/library/difflib.html#sequencematcher-examples)1102      - [6.3.3. Объекты Differ](https://python-all.ru/3.3/library/difflib.html#differ-objects)1103      - [6.3.4. Пример Differ](https://python-all.ru/3.3/library/difflib.html#differ-example)1104      - [6.3.5. Интерфейс командной строки для difflib](https://python-all.ru/3.3/library/difflib.html#a-command-line-interface-to-difflib)1105    - [6.4. `textwrap` – Перенос и заполнение текста](https://python-all.ru/3.3/library/textwrap.html)1106    - [6.5. `unicodedata` – База данных Unicode](https://python-all.ru/3.3/library/unicodedata.html)1107    - [6.6. `stringprep` – Подготовка интернет-строк](https://python-all.ru/3.3/library/stringprep.html)1108    - [6.7. `readline` – Интерфейс GNU readline](https://python-all.ru/3.3/library/readline.html)11091110      - [6.7.1. Пример](https://python-all.ru/3.3/library/readline.html#example)1111    - [6.8. `rlcompleter` – Функция дополнения для GNU readline](https://python-all.ru/3.3/library/rlcompleter.html)11121113      - [6.8.1. Объекты Completer](https://python-all.ru/3.3/library/rlcompleter.html#completer-objects)1114  - [7. Службы двоичных данных](https://python-all.ru/3.3/library/binary.html)11151116    - [7.1. `struct` – Интерпретация байтов как упакованных двоичных данных](https://python-all.ru/3.3/library/struct.html)11171118      - [7.1.1. Функции и исключения](https://python-all.ru/3.3/library/struct.html#functions-and-exceptions)1119      - [7.1.2. Строки формата](https://python-all.ru/3.3/library/struct.html#format-strings)11201121        - [7.1.2.1. Порядок байтов, размер и выравнивание](https://python-all.ru/3.3/library/struct.html#byte-order-size-and-alignment)1122        - [7.1.2.2. Символы формата](https://python-all.ru/3.3/library/struct.html#format-characters)1123        - [7.1.2.3. Примеры](https://python-all.ru/3.3/library/struct.html#examples)1124      - [7.1.3. Классы](https://python-all.ru/3.3/library/struct.html#classes)1125    - [7.2. `codecs` – Реестр кодеков и базовые классы](https://python-all.ru/3.3/library/codecs.html)11261127      - [7.2.1. Базовые классы кодеков](https://python-all.ru/3.3/library/codecs.html#codec-base-classes)11281129        - [7.2.1.1. Объекты кодеков](https://python-all.ru/3.3/library/codecs.html#codec-objects)1130        - [7.2.1.2. Объекты IncrementalEncoder](https://python-all.ru/3.3/library/codecs.html#incrementalencoder-objects)1131        - [7.2.1.3. Объекты IncrementalDecoder](https://python-all.ru/3.3/library/codecs.html#incrementaldecoder-objects)1132        - [7.2.1.4. Объекты StreamWriter](https://python-all.ru/3.3/library/codecs.html#streamwriter-objects)1133        - [7.2.1.5. Объекты StreamReader](https://python-all.ru/3.3/library/codecs.html#streamreader-objects)1134        - [7.2.1.6. Объекты StreamReaderWriter](https://python-all.ru/3.3/library/codecs.html#streamreaderwriter-objects)1135        - [7.2.1.7. Объекты StreamRecoder](https://python-all.ru/3.3/library/codecs.html#streamrecoder-objects)1136      - [7.2.2. Кодировки и Юникод](https://python-all.ru/3.3/library/codecs.html#encodings-and-unicode)1137      - [7.2.3. Стандартные кодировки](https://python-all.ru/3.3/library/codecs.html#standard-encodings)1138      - [7.2.4. Кодировки, специфичные для Python](https://python-all.ru/3.3/library/codecs.html#python-specific-encodings)1139      - [7.2.5. `encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/3.3/library/codecs.html#module-encodings.idna)1140      - [7.2.6. `encodings.mbcs` – Кодовая страница Windows ANSI](https://python-all.ru/3.3/library/codecs.html#module-encodings.mbcs)1141      - [7.2.7. `encodings.utf_8_sig` – Кодек UTF-8 с сигнатурой BOM](https://python-all.ru/3.3/library/codecs.html#module-encodings.utf_8_sig)1142  - [8. Типы данных](https://python-all.ru/3.3/library/datatypes.html)11431144    - [8.1. `datetime` – Базовые типы даты и времени](https://python-all.ru/3.3/library/datetime.html)11451146      - [8.1.1. Доступные типы](https://python-all.ru/3.3/library/datetime.html#available-types)1147      - [8.1.2. `timedelta` Объекты](https://python-all.ru/3.3/library/datetime.html#timedelta-objects)1148      - [8.1.3. `date` Объекты](https://python-all.ru/3.3/library/datetime.html#date-objects)1149      - [8.1.4. `datetime` Объекты](https://python-all.ru/3.3/library/datetime.html#datetime-objects)1150      - [8.1.5. `time` Объекты](https://python-all.ru/3.3/library/datetime.html#time-objects)1151      - [8.1.6. `tzinfo` Объекты](https://python-all.ru/3.3/library/datetime.html#tzinfo-objects)1152      - [8.1.7. `timezone` Объекты](https://python-all.ru/3.3/library/datetime.html#timezone-objects)1153      - [8.1.8. `strftime()` и `strptime()` Поведение](https://python-all.ru/3.3/library/datetime.html#strftime-and-strptime-behavior)1154    - [8.2. `calendar` – Общие функции, связанные с календарём](https://python-all.ru/3.3/library/calendar.html)1155    - [8.3. `collections` – Типы данных-контейнеры](https://python-all.ru/3.3/library/collections.html)11561157      - [8.3.1. `ChainMap` объекты](https://python-all.ru/3.3/library/collections.html#chainmap-objects)11581159        - [8.3.1.1. `ChainMap` Примеры и рецепты](https://python-all.ru/3.3/library/collections.html#chainmap-examples-and-recipes)1160      - [8.3.2. `Counter` объекты](https://python-all.ru/3.3/library/collections.html#counter-objects)1161      - [8.3.3. `deque` объекты](https://python-all.ru/3.3/library/collections.html#deque-objects)11621163        - [8.3.3.1. `deque` Рецепты](https://python-all.ru/3.3/library/collections.html#deque-recipes)1164      - [8.3.4. `defaultdict` объекты](https://python-all.ru/3.3/library/collections.html#defaultdict-objects)11651166        - [8.3.4.1. `defaultdict` Примеры](https://python-all.ru/3.3/library/collections.html#defaultdict-examples)1167      - [8.3.5. `namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/3.3/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)1168      - [8.3.6. `OrderedDict` объекты](https://python-all.ru/3.3/library/collections.html#ordereddict-objects)11691170        - [8.3.6.1. `OrderedDict` Примеры и рецепты](https://python-all.ru/3.3/library/collections.html#ordereddict-examples-and-recipes)1171      - [8.3.7. `UserDict` объекты](https://python-all.ru/3.3/library/collections.html#userdict-objects)1172      - [8.3.8. `UserList` объекты](https://python-all.ru/3.3/library/collections.html#userlist-objects)1173      - [8.3.9. `UserString` объекты](https://python-all.ru/3.3/library/collections.html#userstring-objects)1174    - [8.4. `collections.abc` – Абстрактные базовые классы для контейнеров](https://python-all.ru/3.3/library/collections.abc.html)11751176      - [8.4.1. Абстрактные базовые классы коллекций](https://python-all.ru/3.3/library/collections.abc.html#collections-abstract-base-classes)1177    - [8.5. `heapq` – Алгоритм пирамидальной очереди](https://python-all.ru/3.3/library/heapq.html)11781179      - [8.5.1. Простые примеры](https://python-all.ru/3.3/library/heapq.html#basic-examples)1180      - [8.5.2. Примечания по реализации очереди с приоритетом](https://python-all.ru/3.3/library/heapq.html#priority-queue-implementation-notes)1181      - [8.5.3. Теория](https://python-all.ru/3.3/library/heapq.html#theory)1182    - [8.6. `bisect` – Алгоритм бинарного поиска](https://python-all.ru/3.3/library/bisect.html)11831184      - [8.6.1. Поиск в отсортированных списках](https://python-all.ru/3.3/library/bisect.html#searching-sorted-lists)1185      - [8.6.2. Другие примеры](https://python-all.ru/3.3/library/bisect.html#other-examples)1186    - [8.7. `array` – Эффективные массивы числовых значений](https://python-all.ru/3.3/library/array.html)1187    - [8.8. `weakref` – Слабые ссылки](https://python-all.ru/3.3/library/weakref.html)11881189      - [8.8.1. Объекты слабых ссылок](https://python-all.ru/3.3/library/weakref.html#weak-reference-objects)1190      - [8.8.2. Пример](https://python-all.ru/3.3/library/weakref.html#example)1191    - [8.9. `types` – Создание динамических типов и имена для встроенных типов](https://python-all.ru/3.3/library/types.html)11921193      - [8.9.1. Динамическое создание типов](https://python-all.ru/3.3/library/types.html#dynamic-type-creation)1194      - [8.9.2. Стандартные типы интерпретатора](https://python-all.ru/3.3/library/types.html#standard-interpreter-types)1195    - [8.10. `copy` – Операции поверхностного и глубокого копирования](https://python-all.ru/3.3/library/copy.html)1196    - [8.11. `pprint` – Форматированный вывод данных](https://python-all.ru/3.3/library/pprint.html)11971198      - [8.11.1. Объекты PrettyPrinter](https://python-all.ru/3.3/library/pprint.html#prettyprinter-objects)1199      - [8.11.2. Пример](https://python-all.ru/3.3/library/pprint.html#example)1200    - [8.12. `reprlib` – Альтернативная реализация `repr()`](https://python-all.ru/3.3/library/reprlib.html)12011202      - [8.12.1. Объекты Repr](https://python-all.ru/3.3/library/reprlib.html#repr-objects)1203      - [8.12.2. Создание подклассов объектов Repr](https://python-all.ru/3.3/library/reprlib.html#subclassing-repr-objects)1204  - [9. Модули числовых и математических функций](https://python-all.ru/3.3/library/numeric.html)12051206    - [9.1. `numbers` – Числовые абстрактные базовые классы](https://python-all.ru/3.3/library/numbers.html)12071208      - [9.1.1. Числовая иерархия](https://python-all.ru/3.3/library/numbers.html#the-numeric-tower)1209      - [9.1.2. Замечания для разработчиков типов](https://python-all.ru/3.3/library/numbers.html#notes-for-type-implementors)12101211        - [9.1.2.1. Добавление других числовых ABC](https://python-all.ru/3.3/library/numbers.html#adding-more-numeric-abcs)1212        - [9.1.2.2. Реализация арифметических операций](https://python-all.ru/3.3/library/numbers.html#implementing-the-arithmetic-operations)1213    - [9.2. `math` – Математические функции](https://python-all.ru/3.3/library/math.html)12141215      - [9.2.1. Теоретико-числовые функции и функции представления](https://python-all.ru/3.3/library/math.html#number-theoretic-and-representation-functions)1216      - [9.2.2. Степенные и логарифмические функции](https://python-all.ru/3.3/library/math.html#power-and-logarithmic-functions)1217      - [9.2.3. Тригонометрические функции](https://python-all.ru/3.3/library/math.html#trigonometric-functions)1218      - [9.2.4. Преобразование углов](https://python-all.ru/3.3/library/math.html#angular-conversion)1219      - [9.2.5. Гиперболические функции](https://python-all.ru/3.3/library/math.html#hyperbolic-functions)1220      - [9.2.6. Специальные функции](https://python-all.ru/3.3/library/math.html#special-functions)1221      - [9.2.7. Константы](https://python-all.ru/3.3/library/math.html#constants)1222    - [9.3. `cmath` – Математические функции для комплексных чисел](https://python-all.ru/3.3/library/cmath.html)12231224      - [9.3.1. Преобразование в полярные координаты и обратно](https://python-all.ru/3.3/library/cmath.html#conversions-to-and-from-polar-coordinates)1225      - [9.3.2. Степенные и логарифмические функции](https://python-all.ru/3.3/library/cmath.html#power-and-logarithmic-functions)1226      - [9.3.3. Тригонометрические функции](https://python-all.ru/3.3/library/cmath.html#trigonometric-functions)1227      - [9.3.4. Гиперболические функции](https://python-all.ru/3.3/library/cmath.html#hyperbolic-functions)1228      - [9.3.5. Функции классификации](https://python-all.ru/3.3/library/cmath.html#classification-functions)1229      - [9.3.6. Константы](https://python-all.ru/3.3/library/cmath.html#constants)1230    - [9.4. `decimal` – Десятичная арифметика с фиксированной и плавающей точкой](https://python-all.ru/3.3/library/decimal.html)12311232      - [9.4.1. Краткое руководство](https://python-all.ru/3.3/library/decimal.html#quick-start-tutorial)1233      - [9.4.2. Объекты Decimal](https://python-all.ru/3.3/library/decimal.html#decimal-objects)12341235        - [9.4.2.1. Логические операнды](https://python-all.ru/3.3/library/decimal.html#logical-operands)1236      - [9.4.3. Объекты контекста](https://python-all.ru/3.3/library/decimal.html#context-objects)1237      - [9.4.4. Константы](https://python-all.ru/3.3/library/decimal.html#constants)1238      - [9.4.5. Режимы округления](https://python-all.ru/3.3/library/decimal.html#rounding-modes)1239      - [9.4.6. Сигналы](https://python-all.ru/3.3/library/decimal.html#signals)1240      - [9.4.7. Замечания о числах с плавающей точкой](https://python-all.ru/3.3/library/decimal.html#floating-point-notes)12411242        - [9.4.7.1. Уменьшение ошибки округления за счёт повышенной точности](https://python-all.ru/3.3/library/decimal.html#mitigating-round-off-error-with-increased-precision)1243        - [9.4.7.2. Специальные значения](https://python-all.ru/3.3/library/decimal.html#special-values)1244      - [9.4.8. Работа с потоками](https://python-all.ru/3.3/library/decimal.html#working-with-threads)1245      - [9.4.9. Рецепты](https://python-all.ru/3.3/library/decimal.html#recipes)1246      - [9.4.10. Часто задаваемые вопросы о Decimal](https://python-all.ru/3.3/library/decimal.html#decimal-faq)1247    - [9.5. `fractions` – Рациональные числа](https://python-all.ru/3.3/library/fractions.html)1248    - [9.6. `random` – Генерация псевдослучайных чисел](https://python-all.ru/3.3/library/random.html)12491250      - [9.6.1. Замечания о воспроизводимости](https://python-all.ru/3.3/library/random.html#notes-on-reproducibility)1251      - [9.6.2. Примеры и рецепты](https://python-all.ru/3.3/library/random.html#examples-and-recipes)1252  - [10. Модули функционального программирования](https://python-all.ru/3.3/library/functional.html)12531254    - [10.1. `itertools` – Функции, создающие итераторы для эффективного цикла](https://python-all.ru/3.3/library/itertools.html)12551256      - [10.1.1. Функции модуля itertools](https://python-all.ru/3.3/library/itertools.html#itertool-functions)1257      - [10.1.2. Рецепты itertools](https://python-all.ru/3.3/library/itertools.html#itertools-recipes)1258    - [10.2. `functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/3.3/library/functools.html)12591260      - [10.2.1. `partial` объекты](https://python-all.ru/3.3/library/functools.html#partial-objects)1261    - [10.3. `operator` – Стандартные операторы в виде функций](https://python-all.ru/3.3/library/operator.html)12621263      - [10.3.1. Отображение операторов на функции](https://python-all.ru/3.3/library/operator.html#mapping-operators-to-functions)1264      - [10.3.2. Операторы на месте](https://python-all.ru/3.3/library/operator.html#inplace-operators)1265  - [11. Доступ к файлам и каталогам](https://python-all.ru/3.3/library/filesys.html)12661267    - [11.1. `os.path` – Обычные операции с путями](https://python-all.ru/3.3/library/os.path.html)1268    - [11.2. `fileinput` – Итерация по строкам из нескольких входных потоков](https://python-all.ru/3.3/library/fileinput.html)1269    - [11.3. `stat` – Интерпретация результатов `stat()`](https://python-all.ru/3.3/library/stat.html)1270    - [11.4. `filecmp` – Сравнение файлов и каталогов](https://python-all.ru/3.3/library/filecmp.html)12711272      - [11.4.1. Класс `dircmp`](https://python-all.ru/3.3/library/filecmp.html#the-dircmp-class)1273    - [11.5. `tempfile` – Генерация временных файлов и каталогов](https://python-all.ru/3.3/library/tempfile.html)12741275      - [11.5.1. Примеры](https://python-all.ru/3.3/library/tempfile.html#examples)1276    - [11.6. `glob` – Расширение шаблонов путевых имён в стиле Unix](https://python-all.ru/3.3/library/glob.html)1277    - [11.7. `fnmatch` – Сопоставление имён файлов с шаблоном в стиле Unix](https://python-all.ru/3.3/library/fnmatch.html)1278    - [11.8. `linecache` – Произвольный доступ к строкам текста](https://python-all.ru/3.3/library/linecache.html)1279    - [11.9. `shutil` – Высокоуровневые файловые операции](https://python-all.ru/3.3/library/shutil.html)12801281      - [11.9.1. Операции с каталогами и файлами](https://python-all.ru/3.3/library/shutil.html#directory-and-files-operations)12821283        - [11.9.1.1. Пример copytree](https://python-all.ru/3.3/library/shutil.html#copytree-example)1284      - [11.9.2. Операции архивирования](https://python-all.ru/3.3/library/shutil.html#archiving-operations)12851286        - [11.9.2.1. Пример архивирования](https://python-all.ru/3.3/library/shutil.html#archiving-example)1287      - [11.9.3. Определение размера выходного терминала](https://python-all.ru/3.3/library/shutil.html#querying-the-size-of-the-output-terminal)1288    - [11.10. `macpath` – Функции манипуляции путями Mac OS 9](https://python-all.ru/3.3/library/macpath.html)1289  - [12. Сохранение данных](https://python-all.ru/3.3/library/persistence.html)12901291    - [12.1. `pickle` – Сериализация объектов Python](https://python-all.ru/3.3/library/pickle.html)12921293      - [12.1.1. Взаимосвязь с другими модулями Python](https://python-all.ru/3.3/library/pickle.html#relationship-to-other-python-modules)12941295        - [12.1.1.1. Сравнение с `marshal`](https://python-all.ru/3.3/library/pickle.html#comparison-with-marshal)1296        - [12.1.1.2. Сравнение с `json`](https://python-all.ru/3.3/library/pickle.html#comparison-with-json)1297      - [12.1.2. Формат потока данных](https://python-all.ru/3.3/library/pickle.html#data-stream-format)1298      - [12.1.3. Интерфейс модуля](https://python-all.ru/3.3/library/pickle.html#module-interface)1299      - [12.1.4. Что можно сериализовать и десериализовать?](https://python-all.ru/3.3/library/pickle.html#what-can-be-pickled-and-unpickled)1300      - [12.1.5. Сериализация экземпляров классов](https://python-all.ru/3.3/library/pickle.html#pickling-class-instances)13011302        - [12.1.5.1. Сохранение внешних объектов](https://python-all.ru/3.3/library/pickle.html#persistence-of-external-objects)1303        - [12.1.5.2. Диспетчерские таблицы](https://python-all.ru/3.3/library/pickle.html#dispatch-tables)1304        - [12.1.5.3. Работа с объектами с состоянием](https://python-all.ru/3.3/library/pickle.html#handling-stateful-objects)1305      - [12.1.6. Ограничение глобальных объектов](https://python-all.ru/3.3/library/pickle.html#restricting-globals)1306      - [12.1.7. Производительность](https://python-all.ru/3.3/library/pickle.html#performance)1307      - [12.1.8. Примеры](https://python-all.ru/3.3/library/pickle.html#examples)1308    - [12.2. `copyreg` – Регистрация вспомогательных функций `pickle`](https://python-all.ru/3.3/library/copyreg.html)13091310      - [12.2.1. Пример](https://python-all.ru/3.3/library/copyreg.html#example)1311    - [12.3. `shelve` – Персистентность объектов Python](https://python-all.ru/3.3/library/shelve.html)13121313      - [12.3.1. Ограничения](https://python-all.ru/3.3/library/shelve.html#restrictions)1314      - [12.3.2. Пример](https://python-all.ru/3.3/library/shelve.html#example)1315    - [12.4. `marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/3.3/library/marshal.html)1316    - [12.5. `dbm` – Интерфейсы к «базам данных» Unix](https://python-all.ru/3.3/library/dbm.html)13171318      - [12.5.1. `dbm.gnu` – Переосмысление dbm от GNU](https://python-all.ru/3.3/library/dbm.html#module-dbm.gnu)1319      - [12.5.2. `dbm.ndbm` – Интерфейс на основе ndbm](https://python-all.ru/3.3/library/dbm.html#module-dbm.ndbm)1320      - [12.5.3. `dbm.dumb` – Переносимая реализация DBM](https://python-all.ru/3.3/library/dbm.html#module-dbm.dumb)1321    - [12.6. `sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/3.3/library/sqlite3.html)13221323      - [12.6.1. Функции и константы модуля](https://python-all.ru/3.3/library/sqlite3.html#module-functions-and-constants)1324      - [12.6.2. Объекты соединения](https://python-all.ru/3.3/library/sqlite3.html#connection-objects)1325      - [12.6.3. Объекты курсора](https://python-all.ru/3.3/library/sqlite3.html#cursor-objects)1326      - [12.6.4. Объекты строки](https://python-all.ru/3.3/library/sqlite3.html#row-objects)1327      - [12.6.5. SQLite и типы Python](https://python-all.ru/3.3/library/sqlite3.html#sqlite-and-python-types)13281329        - [12.6.5.1. Введение](https://python-all.ru/3.3/library/sqlite3.html#introduction)1330        - [12.6.5.2. Использование адаптеров для хранения дополнительных типов Python в базах данных SQLite](https://python-all.ru/3.3/library/sqlite3.html#using-adapters-to-store-additional-python-types-in-sqlite-databases)13311332          - [12.6.5.2.1. Самоадаптация объекта](https://python-all.ru/3.3/library/sqlite3.html#letting-your-object-adapt-itself)1333          - [12.6.5.2.2. Регистрация вызываемого адаптера](https://python-all.ru/3.3/library/sqlite3.html#registering-an-adapter-callable)1334        - [12.6.5.3. Преобразование значений SQLite в пользовательские типы Python](https://python-all.ru/3.3/library/sqlite3.html#converting-sqlite-values-to-custom-python-types)1335        - [12.6.5.4. Адаптеры и преобразователи по умолчанию](https://python-all.ru/3.3/library/sqlite3.html#default-adapters-and-converters)1336      - [12.6.6. Управление транзакциями](https://python-all.ru/3.3/library/sqlite3.html#controlling-transactions)1337      - [12.6.7. Эффективное использование `sqlite3`](https://python-all.ru/3.3/library/sqlite3.html#using-sqlite3-efficiently)13381339        - [12.6.7.1. Использование сокращённых методов](https://python-all.ru/3.3/library/sqlite3.html#using-shortcut-methods)1340        - [12.6.7.2. Доступ к столбцам по имени вместо индекса](https://python-all.ru/3.3/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)1341        - [12.6.7.3. Использование соединения как менеджера контекста](https://python-all.ru/3.3/library/sqlite3.html#using-the-connection-as-a-context-manager)1342      - [12.6.8. Типичные проблемы](https://python-all.ru/3.3/library/sqlite3.html#common-issues)13431344        - [12.6.8.1. Многопоточность](https://python-all.ru/3.3/library/sqlite3.html#multithreading)1345  - [13. Сжатие данных и архивирование](https://python-all.ru/3.3/library/archiving.html)13461347    - [13.1. `zlib` – Сжатие, совместимое с **gzip**](https://python-all.ru/3.3/library/zlib.html)1348    - [13.2. `gzip` – Поддержка файлов **gzip**](https://python-all.ru/3.3/library/gzip.html)13491350      - [13.2.1. Примеры использования](https://python-all.ru/3.3/library/gzip.html#examples-of-usage)1351    - [13.3. `bz2` – Поддержка сжатия **bzip2**](https://python-all.ru/3.3/library/bz2.html)13521353      - [13.3.1. (Де)сжатие файлов](https://python-all.ru/3.3/library/bz2.html#de-compression-of-files)1354      - [13.3.2. Инкрементальное (де)сжатие](https://python-all.ru/3.3/library/bz2.html#incremental-de-compression)1355      - [13.3.3. Одноэтапное (де)сжатие](https://python-all.ru/3.3/library/bz2.html#one-shot-de-compression)1356    - [13.4. `lzma` – Сжатие с использованием алгоритма LZMA](https://python-all.ru/3.3/library/lzma.html)13571358      - [13.4.1. Чтение и запись сжатых файлов](https://python-all.ru/3.3/library/lzma.html#reading-and-writing-compressed-files)1359      - [13.4.2. Сжатие и разжатие данных в памяти](https://python-all.ru/3.3/library/lzma.html#compressing-and-decompressing-data-in-memory)1360      - [13.4.3. Разное](https://python-all.ru/3.3/library/lzma.html#miscellaneous)1361      - [13.4.4. Задание пользовательских цепочек фильтров](https://python-all.ru/3.3/library/lzma.html#specifying-custom-filter-chains)1362      - [13.4.5. Примеры](https://python-all.ru/3.3/library/lzma.html#examples)1363    - [13.5. `zipfile` – Работа с ZIP-архивами](https://python-all.ru/3.3/library/zipfile.html)13641365      - [13.5.1. Объекты ZipFile](https://python-all.ru/3.3/library/zipfile.html#zipfile-objects)1366      - [13.5.2. Объекты PyZipFile](https://python-all.ru/3.3/library/zipfile.html#pyzipfile-objects)1367      - [13.5.3. Объекты ZipInfo](https://python-all.ru/3.3/library/zipfile.html#zipinfo-objects)1368    - [13.6. `tarfile` – Чтение и запись tar-архивов](https://python-all.ru/3.3/library/tarfile.html)13691370      - [13.6.1. Объекты TarFile](https://python-all.ru/3.3/library/tarfile.html#tarfile-objects)1371      - [13.6.2. Объекты TarInfo](https://python-all.ru/3.3/library/tarfile.html#tarinfo-objects)1372      - [13.6.3. Примеры](https://python-all.ru/3.3/library/tarfile.html#examples)1373      - [13.6.4. Поддерживаемые форматы tar](https://python-all.ru/3.3/library/tarfile.html#supported-tar-formats)1374      - [13.6.5. Вопросы Unicode](https://python-all.ru/3.3/library/tarfile.html#unicode-issues)1375  - [14. Форматы файлов](https://python-all.ru/3.3/library/fileformats.html)13761377    - [14.1. `csv` – Чтение и запись CSV-файлов](https://python-all.ru/3.3/library/csv.html)13781379      - [14.1.1. Содержимое модуля](https://python-all.ru/3.3/library/csv.html#module-contents)1380      - [14.1.2. Диалекты и параметры форматирования](https://python-all.ru/3.3/library/csv.html#dialects-and-formatting-parameters)1381      - [14.1.3. Объекты Reader](https://python-all.ru/3.3/library/csv.html#reader-objects)1382      - [14.1.4. Объекты Writer](https://python-all.ru/3.3/library/csv.html#writer-objects)1383      - [14.1.5. Примеры](https://python-all.ru/3.3/library/csv.html#examples)1384    - [14.2. `configparser` – Парсер конфигурационных файлов](https://python-all.ru/3.3/library/configparser.html)13851386      - [14.2.1. Быстрый старт](https://python-all.ru/3.3/library/configparser.html#quick-start)1387      - [14.2.2. Поддерживаемые типы данных](https://python-all.ru/3.3/library/configparser.html#supported-datatypes)1388      - [14.2.3. Резервные значения](https://python-all.ru/3.3/library/configparser.html#fallback-values)1389      - [14.2.4. Поддерживаемая структура INI-файла](https://python-all.ru/3.3/library/configparser.html#supported-ini-file-structure)1390      - [14.2.5. Интерполяция значений](https://python-all.ru/3.3/library/configparser.html#interpolation-of-values)1391      - [14.2.6. Доступ через протокол отображения](https://python-all.ru/3.3/library/configparser.html#mapping-protocol-access)1392      - [14.2.7. Настройка поведения парсера](https://python-all.ru/3.3/library/configparser.html#customizing-parser-behaviour)1393      - [14.2.8. Примеры устаревшего API](https://python-all.ru/3.3/library/configparser.html#legacy-api-examples)1394      - [14.2.9. Объекты ConfigParser](https://python-all.ru/3.3/library/configparser.html#configparser-objects)1395      - [14.2.10. Объекты RawConfigParser](https://python-all.ru/3.3/library/configparser.html#rawconfigparser-objects)1396      - [14.2.11. Исключения](https://python-all.ru/3.3/library/configparser.html#exceptions)1397    - [14.3. `netrc` – Обработка netrc-файлов](https://python-all.ru/3.3/library/netrc.html)13981399      - [14.3.1. Объекты netrc](https://python-all.ru/3.3/library/netrc.html#netrc-objects)1400    - [14.4. `xdrlib` – Кодирование и декодирование данных XDR](https://python-all.ru/3.3/library/xdrlib.html)14011402      - [14.4.1. Объекты Packer](https://python-all.ru/3.3/library/xdrlib.html#packer-objects)1403      - [14.4.2. Объекты Unpacker](https://python-all.ru/3.3/library/xdrlib.html#unpacker-objects)1404      - [14.4.3. Исключения](https://python-all.ru/3.3/library/xdrlib.html#exceptions)1405    - [14.5. `plistlib` – Генерация и разбор файлов Mac OS X `.plist`](https://python-all.ru/3.3/library/plistlib.html)14061407      - [14.5.1. Примеры](https://python-all.ru/3.3/library/plistlib.html#examples)1408  - [15. Криптографические службы](https://python-all.ru/3.3/library/crypto.html)14091410    - [15.1. `hashlib` – Безопасные хеши и дайджесты сообщений](https://python-all.ru/3.3/library/hashlib.html)1411    - [15.2. `hmac` – Ключевое хеширование для аутентификации сообщений](https://python-all.ru/3.3/library/hmac.html)1412  - [16. Общие службы операционной системы](https://python-all.ru/3.3/library/allos.html)14131414    - [16.1. `os` – Различные интерфейсы операционной системы](https://python-all.ru/3.3/library/os.html)14151416      - [16.1.1. Имена файлов, аргументы командной строки и переменные окружения](https://python-all.ru/3.3/library/os.html#file-names-command-line-arguments-and-environment-variables)1417      - [16.1.2. Параметры процесса](https://python-all.ru/3.3/library/os.html#process-parameters)1418      - [16.1.3. Создание файловых объектов](https://python-all.ru/3.3/library/os.html#file-object-creation)1419      - [16.1.4. Операции с файловыми дескрипторами](https://python-all.ru/3.3/library/os.html#file-descriptor-operations)14201421        - [16.1.4.1. Константы флагов `open()`](https://python-all.ru/3.3/library/os.html#open-flag-constants)1422        - [16.1.4.2. Определение размера терминала](https://python-all.ru/3.3/library/os.html#querying-the-size-of-a-terminal)1423      - [16.1.5. Файлы и каталоги](https://python-all.ru/3.3/library/os.html#files-and-directories)14241425        - [16.1.5.1. Расширенные атрибуты Linux](https://python-all.ru/3.3/library/os.html#linux-extended-attributes)1426      - [16.1.6. Управление процессами](https://python-all.ru/3.3/library/os.html#process-management)1427      - [16.1.7. Интерфейс к планировщику](https://python-all.ru/3.3/library/os.html#interface-to-the-scheduler)1428      - [16.1.8. Разная системная информация](https://python-all.ru/3.3/library/os.html#miscellaneous-system-information)1429      - [16.1.9. Прочие функции](https://python-all.ru/3.3/library/os.html#miscellaneous-functions)1430    - [16.2. `io` – Основные инструменты для работы с потоками данных](https://python-all.ru/3.3/library/io.html)14311432      - [16.2.1. Обзор](https://python-all.ru/3.3/library/io.html#overview)14331434        - [16.2.1.1. Текстовый ввод-вывод](https://python-all.ru/3.3/library/io.html#text-i-o)1435        - [16.2.1.2. Двоичный ввод-вывод](https://python-all.ru/3.3/library/io.html#binary-i-o)1436        - [16.2.1.3. Необработанный ввод-вывод](https://python-all.ru/3.3/library/io.html#raw-i-o)1437      - [16.2.2. Интерфейс модуля высокого уровня](https://python-all.ru/3.3/library/io.html#high-level-module-interface)14381439        - [16.2.2.1. Потоки в памяти](https://python-all.ru/3.3/library/io.html#in-memory-streams)1440      - [16.2.3. Иерархия классов](https://python-all.ru/3.3/library/io.html#class-hierarchy)14411442        - [16.2.3.1. Базовые классы ввода-вывода](https://python-all.ru/3.3/library/io.html#i-o-base-classes)1443        - [16.2.3.2. Сырой файловый ввод-вывод](https://python-all.ru/3.3/library/io.html#raw-file-i-o)1444        - [16.2.3.3. Буферизированные потоки данных](https://python-all.ru/3.3/library/io.html#buffered-streams)1445        - [16.2.3.4. Текстовый ввод-вывод](https://python-all.ru/3.3/library/io.html#id1)1446      - [16.2.4. Производительность](https://python-all.ru/3.3/library/io.html#performance)14471448        - [16.2.4.1. Двоичный ввод-вывод](https://python-all.ru/3.3/library/io.html#id2)1449        - [16.2.4.2. Текстовый ввод-вывод](https://python-all.ru/3.3/library/io.html#id3)1450        - [16.2.4.3. Многопоточность](https://python-all.ru/3.3/library/io.html#multi-threading)1451        - [16.2.4.4. Реентерабельность](https://python-all.ru/3.3/library/io.html#reentrancy)1452    - [16.3. `time` – Доступ ко времени и преобразования](https://python-all.ru/3.3/library/time.html)1453    - [16.4. `argparse` – Парсер параметров командной строки, аргументов и подкоманд](https://python-all.ru/3.3/library/argparse.html)14541455      - [16.4.1. Пример](https://python-all.ru/3.3/library/argparse.html#example)14561457        - [16.4.1.1. Создание парсера](https://python-all.ru/3.3/library/argparse.html#creating-a-parser)1458        - [16.4.1.2. Добавление аргументов](https://python-all.ru/3.3/library/argparse.html#adding-arguments)1459        - [16.4.1.3. Разбор аргументов](https://python-all.ru/3.3/library/argparse.html#parsing-arguments)1460      - [16.4.2. Объекты ArgumentParser](https://python-all.ru/3.3/library/argparse.html#argumentparser-objects)14611462        - [16.4.2.1. prog](https://python-all.ru/3.3/library/argparse.html#prog)1463        - [16.4.2.2. usage](https://python-all.ru/3.3/library/argparse.html#usage)1464        - [16.4.2.3. description](https://python-all.ru/3.3/library/argparse.html#description)1465        - [16.4.2.4. epilog](https://python-all.ru/3.3/library/argparse.html#epilog)1466        - [16.4.2.5. parents](https://python-all.ru/3.3/library/argparse.html#parents)1467        - [16.4.2.6. formatter\_class](https://python-all.ru/3.3/library/argparse.html#formatter-class)1468        - [16.4.2.7. prefix\_chars](https://python-all.ru/3.3/library/argparse.html#prefix-chars)1469        - [16.4.2.8. fromfile\_prefix\_chars](https://python-all.ru/3.3/library/argparse.html#fromfile-prefix-chars)1470        - [16.4.2.9. argument\_default](https://python-all.ru/3.3/library/argparse.html#argument-default)1471        - [16.4.2.10. conflict\_handler](https://python-all.ru/3.3/library/argparse.html#conflict-handler)1472        - [16.4.2.11. add\_help](https://python-all.ru/3.3/library/argparse.html#add-help)1473      - [16.4.3. Метод add\_argument()](https://python-all.ru/3.3/library/argparse.html#the-add-argument-method)14741475        - [16.4.3.1. Имя или флаги](https://python-all.ru/3.3/library/argparse.html#name-or-flags)1476        - [16.4.3.2. действие](https://python-all.ru/3.3/library/argparse.html#action)1477        - [16.4.3.3. nargs](https://python-all.ru/3.3/library/argparse.html#nargs)1478        - [16.4.3.4. const](https://python-all.ru/3.3/library/argparse.html#const)1479        - [16.4.3.5. default](https://python-all.ru/3.3/library/argparse.html#default)1480        - [16.4.3.6. type](https://python-all.ru/3.3/library/argparse.html#type)1481        - [16.4.3.7. варианты выбора](https://python-all.ru/3.3/library/argparse.html#choices)1482        - [16.4.3.8. обязательный](https://python-all.ru/3.3/library/argparse.html#required)1483        - [16.4.3.9. справка](https://python-all.ru/3.3/library/argparse.html#help)1484        - [16.4.3.10. metavar](https://python-all.ru/3.3/library/argparse.html#metavar)1485        - [16.4.3.11. dest](https://python-all.ru/3.3/library/argparse.html#dest)1486        - [16.4.3.12. Классы Action](https://python-all.ru/3.3/library/argparse.html#action-classes)1487      - [16.4.4. Метод parse\_args()](https://python-all.ru/3.3/library/argparse.html#the-parse-args-method)14881489        - [16.4.4.1. Синтаксис значений параметров](https://python-all.ru/3.3/library/argparse.html#option-value-syntax)1490        - [16.4.4.2. Недопустимые аргументы](https://python-all.ru/3.3/library/argparse.html#invalid-arguments)1491        - [16.4.4.3. Аргументы, содержащие `-`](https://python-all.ru/3.3/library/argparse.html#arguments-containing)1492        - [16.4.4.4. Сокращения аргументов (сопоставление по префиксу)](https://python-all.ru/3.3/library/argparse.html#argument-abbreviations-prefix-matching)1493        - [16.4.4.5. За пределами `sys.argv`](https://python-all.ru/3.3/library/argparse.html#beyond-sys-argv)1494        - [16.4.4.6. Объект Namespace](https://python-all.ru/3.3/library/argparse.html#the-namespace-object)1495      - [16.4.5. Другие утилиты](https://python-all.ru/3.3/library/argparse.html#other-utilities)14961497        - [16.4.5.1. Подкоманды](https://python-all.ru/3.3/library/argparse.html#sub-commands)1498        - [16.4.5.2. Объекты FileType](https://python-all.ru/3.3/library/argparse.html#filetype-objects)1499        - [16.4.5.3. Группы аргументов](https://python-all.ru/3.3/library/argparse.html#argument-groups)1500        - [16.4.5.4. Взаимное исключение](https://python-all.ru/3.3/library/argparse.html#mutual-exclusion)1501        - [16.4.5.5. Значения парсера по умолчанию](https://python-all.ru/3.3/library/argparse.html#parser-defaults)1502        - [16.4.5.6. Вывод справки](https://python-all.ru/3.3/library/argparse.html#printing-help)1503        - [16.4.5.7. Частичный разбор](https://python-all.ru/3.3/library/argparse.html#partial-parsing)1504        - [16.4.5.8. Настройка разбора файлов](https://python-all.ru/3.3/library/argparse.html#customizing-file-parsing)1505        - [16.4.5.9. Методы выхода](https://python-all.ru/3.3/library/argparse.html#exiting-methods)1506      - [16.4.6. Обновление кода optparse](https://python-all.ru/3.3/library/argparse.html#upgrading-optparse-code)1507    - [16.5. `optparse` – Парсер параметров командной строки](https://python-all.ru/3.3/library/optparse.html)15081509      - [16.5.1. Предыстория](https://python-all.ru/3.3/library/optparse.html#background)15101511        - [16.5.1.1. Терминология](https://python-all.ru/3.3/library/optparse.html#terminology)1512        - [16.5.1.2. Для чего нужны опции?](https://python-all.ru/3.3/library/optparse.html#what-are-options-for)1513        - [16.5.1.3. Для чего нужны позиционные аргументы?](https://python-all.ru/3.3/library/optparse.html#what-are-positional-arguments-for)1514      - [16.5.2. Учебное пособие](https://python-all.ru/3.3/library/optparse.html#tutorial)15151516        - [16.5.2.1. Понимание действий опций](https://python-all.ru/3.3/library/optparse.html#understanding-option-actions)1517        - [16.5.2.2. Действие store](https://python-all.ru/3.3/library/optparse.html#the-store-action)1518        - [16.5.2.3. Обработка булевых опций (флагов)](https://python-all.ru/3.3/library/optparse.html#handling-boolean-flag-options)1519        - [16.5.2.4. Другие действия](https://python-all.ru/3.3/library/optparse.html#other-actions)1520        - [16.5.2.5. Значения по умолчанию](https://python-all.ru/3.3/library/optparse.html#default-values)1521        - [16.5.2.6. Формирование справки](https://python-all.ru/3.3/library/optparse.html#generating-help)15221523          - [16.5.2.6.1. Группировка опций](https://python-all.ru/3.3/library/optparse.html#grouping-options)1524        - [16.5.2.7. Вывод строки версии](https://python-all.ru/3.3/library/optparse.html#printing-a-version-string)1525        - [16.5.2.8. Как `optparse` обрабатывает ошибки](https://python-all.ru/3.3/library/optparse.html#how-optparse-handles-errors)1526        - [16.5.2.9. Собираем всё вместе](https://python-all.ru/3.3/library/optparse.html#putting-it-all-together)1527      - [16.5.3. Справочное руководство](https://python-all.ru/3.3/library/optparse.html#reference-guide)15281529        - [16.5.3.1. Создание парсера](https://python-all.ru/3.3/library/optparse.html#creating-the-parser)1530        - [16.5.3.2. Наполнение парсера](https://python-all.ru/3.3/library/optparse.html#populating-the-parser)1531        - [16.5.3.3. Определение опций](https://python-all.ru/3.3/library/optparse.html#defining-options)1532        - [16.5.3.4. Атрибуты опций](https://python-all.ru/3.3/library/optparse.html#option-attributes)1533        - [16.5.3.5. Стандартные действия опций](https://python-all.ru/3.3/library/optparse.html#standard-option-actions)1534        - [16.5.3.6. Стандартные типы опций](https://python-all.ru/3.3/library/optparse.html#standard-option-types)1535        - [16.5.3.7. Разбор аргументов](https://python-all.ru/3.3/library/optparse.html#parsing-arguments)1536        - [16.5.3.8. Запросы к парсеру опций и управление им](https://python-all.ru/3.3/library/optparse.html#querying-and-manipulating-your-option-parser)1537        - [16.5.3.9. Конфликты между опциями](https://python-all.ru/3.3/library/optparse.html#conflicts-between-options)1538        - [16.5.3.10. Очистка](https://python-all.ru/3.3/library/optparse.html#cleanup)1539        - [16.5.3.11. Прочие методы](https://python-all.ru/3.3/library/optparse.html#other-methods)1540      - [16.5.4. Колбэки параметров](https://python-all.ru/3.3/library/optparse.html#option-callbacks)15411542        - [16.5.4.1. Определение параметра-колбэка](https://python-all.ru/3.3/library/optparse.html#defining-a-callback-option)1543        - [16.5.4.2. Как вызываются колбэки](https://python-all.ru/3.3/library/optparse.html#how-callbacks-are-called)1544        - [16.5.4.3. Возникновение ошибок в колбэке](https://python-all.ru/3.3/library/optparse.html#raising-errors-in-a-callback)1545        - [16.5.4.4. Пример колбэка 1: простейший колбэк](https://python-all.ru/3.3/library/optparse.html#callback-example-1-trivial-callback)1546        - [16.5.4.5. Пример колбэка 2: проверка порядка параметров](https://python-all.ru/3.3/library/optparse.html#callback-example-2-check-option-order)1547        - [16.5.4.6. Пример колбэка 3: проверка порядка параметров (обобщённый)](https://python-all.ru/3.3/library/optparse.html#callback-example-3-check-option-order-generalized)1548        - [16.5.4.7. Пример колбэка 4: проверка произвольного условия](https://python-all.ru/3.3/library/optparse.html#callback-example-4-check-arbitrary-condition)1549        - [16.5.4.8. Пример колбэка 5: фиксированные аргументы](https://python-all.ru/3.3/library/optparse.html#callback-example-5-fixed-arguments)1550        - [16.5.4.9. Пример колбэка 6: переменные аргументы](https://python-all.ru/3.3/library/optparse.html#callback-example-6-variable-arguments)1551      - [16.5.5. Расширение `optparse`](https://python-all.ru/3.3/library/optparse.html#extending-optparse)15521553        - [16.5.5.1. Добавление новых типов](https://python-all.ru/3.3/library/optparse.html#adding-new-types)1554        - [16.5.5.2. Добавление новых действий](https://python-all.ru/3.3/library/optparse.html#adding-new-actions)1555    - [16.6. `getopt` – C-стиль парсинга параметров командной строки](https://python-all.ru/3.3/library/getopt.html)1556    - [16.7. `logging` – Средство журналирования для Python](https://python-all.ru/3.3/library/logging.html)15571558      - [16.7.1. Объекты регистратора](https://python-all.ru/3.3/library/logging.html#logger-objects)1559      - [16.7.2. Уровни журналирования](https://python-all.ru/3.3/library/logging.html#logging-levels)1560      - [16.7.3. Объекты обработчика](https://python-all.ru/3.3/library/logging.html#handler-objects)1561      - [16.7.4. Объекты форматировщика](https://python-all.ru/3.3/library/logging.html#formatter-objects)1562      - [16.7.5. Объекты фильтра](https://python-all.ru/3.3/library/logging.html#filter-objects)1563      - [16.7.6. Объекты записи журнала (LogRecord)](https://python-all.ru/3.3/library/logging.html#logrecord-objects)1564      - [16.7.7. Атрибуты записи журнала](https://python-all.ru/3.3/library/logging.html#logrecord-attributes)1565      - [16.7.8. Объекты LoggerAdapter](https://python-all.ru/3.3/library/logging.html#loggeradapter-objects)1566      - [16.7.9. Потокобезопасность](https://python-all.ru/3.3/library/logging.html#thread-safety)1567      - [16.7.10. Функции уровня модуля](https://python-all.ru/3.3/library/logging.html#module-level-functions)1568      - [16.7.11. Атрибуты уровня модуля](https://python-all.ru/3.3/library/logging.html#module-level-attributes)1569      - [16.7.12. Интеграция с модулем warnings](https://python-all.ru/3.3/library/logging.html#integration-with-the-warnings-module)1570    - [16.8. `logging.config` – Конфигурация журналирования](https://python-all.ru/3.3/library/logging.config.html)15711572      - [16.8.1. Функции конфигурации](https://python-all.ru/3.3/library/logging.config.html#configuration-functions)1573      - [16.8.2. Схема конфигурационного словаря](https://python-all.ru/3.3/library/logging.config.html#configuration-dictionary-schema)15741575        - [16.8.2.1. Подробная схема словаря](https://python-all.ru/3.3/library/logging.config.html#dictionary-schema-details)1576        - [16.8.2.2. Инкрементальная настройка](https://python-all.ru/3.3/library/logging.config.html#incremental-configuration)1577        - [16.8.2.3. Соединения объектов](https://python-all.ru/3.3/library/logging.config.html#object-connections)1578        - [16.8.2.4. Пользовательские объекты](https://python-all.ru/3.3/library/logging.config.html#user-defined-objects)1579        - [16.8.2.5. Доступ к внешним объектам](https://python-all.ru/3.3/library/logging.config.html#access-to-external-objects)1580        - [16.8.2.6. Доступ к внутренним объектам](https://python-all.ru/3.3/library/logging.config.html#access-to-internal-objects)1581        - [16.8.2.7. Разрешение импорта и пользовательские импортёры](https://python-all.ru/3.3/library/logging.config.html#import-resolution-and-custom-importers)1582      - [16.8.3. Формат файла конфигурации](https://python-all.ru/3.3/library/logging.config.html#configuration-file-format)1583    - [16.9. `logging.handlers` – Обработчики логирования](https://python-all.ru/3.3/library/logging.handlers.html)15841585      - [16.9.1. StreamHandler](https://python-all.ru/3.3/library/logging.handlers.html#streamhandler)1586      - [16.9.2. FileHandler](https://python-all.ru/3.3/library/logging.handlers.html#filehandler)1587      - [16.9.3. NullHandler](https://python-all.ru/3.3/library/logging.handlers.html#nullhandler)1588      - [16.9.4. WatchedFileHandler](https://python-all.ru/3.3/library/logging.handlers.html#watchedfilehandler)1589      - [16.9.5. BaseRotatingHandler](https://python-all.ru/3.3/library/logging.handlers.html#baserotatinghandler)1590      - [16.9.6. RotatingFileHandler](https://python-all.ru/3.3/library/logging.handlers.html#rotatingfilehandler)1591      - [16.9.7. TimedRotatingFileHandler](https://python-all.ru/3.3/library/logging.handlers.html#timedrotatingfilehandler)1592      - [16.9.8. SocketHandler](https://python-all.ru/3.3/library/logging.handlers.html#sockethandler)1593      - [16.9.9. DatagramHandler](https://python-all.ru/3.3/library/logging.handlers.html#datagramhandler)1594      - [16.9.10. SysLogHandler](https://python-all.ru/3.3/library/logging.handlers.html#sysloghandler)1595      - [16.9.11. NTEventLogHandler](https://python-all.ru/3.3/library/logging.handlers.html#nteventloghandler)1596      - [16.9.12. SMTPHandler](https://python-all.ru/3.3/library/logging.handlers.html#smtphandler)1597      - [16.9.13. MemoryHandler](https://python-all.ru/3.3/library/logging.handlers.html#memoryhandler)1598      - [16.9.14. HTTPHandler](https://python-all.ru/3.3/library/logging.handlers.html#httphandler)1599      - [16.9.15. QueueHandler](https://python-all.ru/3.3/library/logging.handlers.html#queuehandler)1600      - [16.9.16. QueueListener](https://python-all.ru/3.3/library/logging.handlers.html#queuelistener)1601    - [16.10. `getpass` – Переносимый ввод пароля](https://python-all.ru/3.3/library/getpass.html)1602    - [16.11. `curses` – Управление терминалом для символьных дисплеев](https://python-all.ru/3.3/library/curses.html)16031604      - [16.11.1. Функции](https://python-all.ru/3.3/library/curses.html#functions)1605      - [16.11.2. Объекты окон](https://python-all.ru/3.3/library/curses.html#window-objects)1606      - [16.11.3. Константы](https://python-all.ru/3.3/library/curses.html#constants)1607    - [16.12. `curses.textpad` – Виджет ввода текста для программ curses](https://python-all.ru/3.3/library/curses.html#module-curses.textpad)16081609      - [16.12.1. Объекты Textbox](https://python-all.ru/3.3/library/curses.html#textbox-objects)1610    - [16.13. `curses.ascii` – Утилиты для работы с ASCII-символами](https://python-all.ru/3.3/library/curses.ascii.html)1611    - [16.14. `curses.panel` – расширение стека панелей для curses](https://python-all.ru/3.3/library/curses.panel.html)16121613      - [16.14.1. Функции](https://python-all.ru/3.3/library/curses.panel.html#functions)1614      - [16.14.2. Объекты панелей](https://python-all.ru/3.3/library/curses.panel.html#panel-objects)1615    - [16.15. `platform` – доступ к идентификационным данным нижележащей платформы](https://python-all.ru/3.3/library/platform.html)16161617      - [16.15.1. Кросс-платформенные](https://python-all.ru/3.3/library/platform.html#cross-platform)1618      - [16.15.2. Платформа Java](https://python-all.ru/3.3/library/platform.html#java-platform)1619      - [16.15.3. Платформа Windows](https://python-all.ru/3.3/library/platform.html#windows-platform)16201621        - [16.15.3.1. Специфичные для Win95/98](https://python-all.ru/3.3/library/platform.html#win95-98-specific)1622      - [16.15.4. Платформа Mac OS](https://python-all.ru/3.3/library/platform.html#mac-os-platform)1623      - [16.15.5. Платформы Unix](https://python-all.ru/3.3/library/platform.html#unix-platforms)1624    - [16.16. `errno` – стандартные системные символы errno](https://python-all.ru/3.3/library/errno.html)1625    - [16.17. `ctypes` – библиотека внешних функций для Python](https://python-all.ru/3.3/library/ctypes.html)16261627      - [16.17.1. Учебное пособие по ctypes](https://python-all.ru/3.3/library/ctypes.html#ctypes-tutorial)16281629        - [16.17.1.1. Загрузка библиотек динамической компоновки](https://python-all.ru/3.3/library/ctypes.html#loading-dynamic-link-libraries)1630        - [16.17.1.2. Доступ к функциям загруженных DLL](https://python-all.ru/3.3/library/ctypes.html#accessing-functions-from-loaded-dlls)1631        - [16.17.1.3. Вызов функций](https://python-all.ru/3.3/library/ctypes.html#calling-functions)1632        - [16.17.1.4. Основные типы данных](https://python-all.ru/3.3/library/ctypes.html#fundamental-data-types)1633        - [16.17.1.5. Вызов функций, продолжение](https://python-all.ru/3.3/library/ctypes.html#calling-functions-continued)1634        - [16.17.1.6. Вызов функций с собственными типами данных](https://python-all.ru/3.3/library/ctypes.html#calling-functions-with-your-own-custom-data-types)1635        - [16.17.1.7. Задание требуемых типов аргументов (прототипы функций)](https://python-all.ru/3.3/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)1636        - [16.17.1.8. Типы возвращаемых значений](https://python-all.ru/3.3/library/ctypes.html#return-types)1637        - [16.17.1.9. Передача указателей (или: передача параметров по ссылке)](https://python-all.ru/3.3/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)1638        - [16.17.1.10. Структуры и объединения](https://python-all.ru/3.3/library/ctypes.html#structures-and-unions)1639        - [16.17.1.11. Выравнивание структур/объединений и порядок байтов](https://python-all.ru/3.3/library/ctypes.html#structure-union-alignment-and-byte-order)1640        - [16.17.1.12. Битовые поля в структурах и объединениях](https://python-all.ru/3.3/library/ctypes.html#bit-fields-in-structures-and-unions)1641        - [16.17.1.13. Массивы](https://python-all.ru/3.3/library/ctypes.html#arrays)1642        - [16.17.1.14. Указатели](https://python-all.ru/3.3/library/ctypes.html#pointers)1643        - [16.17.1.15. Преобразования типов](https://python-all.ru/3.3/library/ctypes.html#type-conversions)1644        - [16.17.1.16. Неполные типы](https://python-all.ru/3.3/library/ctypes.html#incomplete-types)1645        - [16.17.1.17. Функции обратного вызова](https://python-all.ru/3.3/library/ctypes.html#callback-functions)1646        - [16.17.1.18. Доступ к значениям, экспортируемым из DLL](https://python-all.ru/3.3/library/ctypes.html#accessing-values-exported-from-dlls)1647        - [16.17.1.19. Неожиданности](https://python-all.ru/3.3/library/ctypes.html#surprises)1648        - [16.17.1.20. Типы данных переменного размера](https://python-all.ru/3.3/library/ctypes.html#variable-sized-data-types)1649      - [16.17.2. Справочник по ctypes](https://python-all.ru/3.3/library/ctypes.html#ctypes-reference)16501651        - [16.17.2.1. Поиск разделяемых библиотек](https://python-all.ru/3.3/library/ctypes.html#finding-shared-libraries)1652        - [16.17.2.2. Загрузка разделяемых библиотек](https://python-all.ru/3.3/library/ctypes.html#loading-shared-libraries)1653        - [16.17.2.3. Внешние функции](https://python-all.ru/3.3/library/ctypes.html#foreign-functions)1654        - [16.17.2.4. Прототипы функций](https://python-all.ru/3.3/library/ctypes.html#function-prototypes)1655        - [16.17.2.5. Вспомогательные функции](https://python-all.ru/3.3/library/ctypes.html#utility-functions)1656        - [16.17.2.6. Типы данных](https://python-all.ru/3.3/library/ctypes.html#data-types)1657        - [16.17.2.7. Фундаментальные типы данных](https://python-all.ru/3.3/library/ctypes.html#ctypes-fundamental-data-types-2)1658        - [16.17.2.8. Структурированные типы данных](https://python-all.ru/3.3/library/ctypes.html#structured-data-types)1659        - [16.17.2.9. Массивы и указатели](https://python-all.ru/3.3/library/ctypes.html#arrays-and-pointers)1660  - [17. Параллельное выполнение](https://python-all.ru/3.3/library/concurrency.html)16611662    - [17.1. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.3/library/threading.html)16631664      - [17.1.1. Потоково-локальные данные](https://python-all.ru/3.3/library/threading.html#thread-local-data)1665      - [17.1.2. Объекты потоков](https://python-all.ru/3.3/library/threading.html#thread-objects)1666      - [17.1.3. Объекты блокировок](https://python-all.ru/3.3/library/threading.html#lock-objects)1667      - [17.1.4. Объекты RLock](https://python-all.ru/3.3/library/threading.html#rlock-objects)1668      - [17.1.5. Объекты Condition](https://python-all.ru/3.3/library/threading.html#condition-objects)1669      - [17.1.6. Объекты Semaphore](https://python-all.ru/3.3/library/threading.html#semaphore-objects)16701671        - [17.1.6.1. `Semaphore` – Пример](https://python-all.ru/3.3/library/threading.html#semaphore-example)1672      - [17.1.7. Объекты Event](https://python-all.ru/3.3/library/threading.html#event-objects)1673      - [17.1.8. Объекты Timer](https://python-all.ru/3.3/library/threading.html#timer-objects)1674      - [17.1.9. Объекты Barrier](https://python-all.ru/3.3/library/threading.html#barrier-objects)1675      - [17.1.10. Использование блокировок, условий и семафоров в операторе `with`](https://python-all.ru/3.3/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)1676    - [17.2. `multiprocessing` – Параллелизм на основе процессов](https://python-all.ru/3.3/library/multiprocessing.html)16771678      - [17.2.1. Введение](https://python-all.ru/3.3/library/multiprocessing.html#introduction)16791680        - [17.2.1.1. Класс `Process`](https://python-all.ru/3.3/library/multiprocessing.html#the-process-class)1681        - [17.2.1.2. Обмен объектами между процессами](https://python-all.ru/3.3/library/multiprocessing.html#exchanging-objects-between-processes)1682        - [17.2.1.3. Синхронизация между процессами](https://python-all.ru/3.3/library/multiprocessing.html#synchronization-between-processes)1683        - [17.2.1.4. Разделение состояния между процессами](https://python-all.ru/3.3/library/multiprocessing.html#sharing-state-between-processes)1684        - [17.2.1.5. Использование пула рабочих процессов](https://python-all.ru/3.3/library/multiprocessing.html#using-a-pool-of-workers)1685      - [17.2.2. Справочная информация](https://python-all.ru/3.3/library/multiprocessing.html#reference)16861687        - [17.2.2.1. `Process` и исключения](https://python-all.ru/3.3/library/multiprocessing.html#process-and-exceptions)1688        - [17.2.2.2. Каналы и очереди](https://python-all.ru/3.3/library/multiprocessing.html#pipes-and-queues)1689        - [17.2.2.3. Разное](https://python-all.ru/3.3/library/multiprocessing.html#miscellaneous)1690        - [17.2.2.4. Объекты Connection](https://python-all.ru/3.3/library/multiprocessing.html#connection-objects)1691        - [17.2.2.5. Примитивы синхронизации](https://python-all.ru/3.3/library/multiprocessing.html#synchronization-primitives)1692        - [17.2.2.6. Общие объекты `ctypes`](https://python-all.ru/3.3/library/multiprocessing.html#shared-ctypes-objects)16931694          - [17.2.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.3/library/multiprocessing.html#module-multiprocessing.sharedctypes)1695        - [17.2.2.7. Менеджеры](https://python-all.ru/3.3/library/multiprocessing.html#managers)16961697          - [17.2.2.7.1. Объекты пространства имён](https://python-all.ru/3.3/library/multiprocessing.html#namespace-objects)1698          - [17.2.2.7.2. Настраиваемые менеджеры](https://python-all.ru/3.3/library/multiprocessing.html#customized-managers)1699          - [17.2.2.7.3. Использование удалённого менеджера](https://python-all.ru/3.3/library/multiprocessing.html#using-a-remote-manager)1700        - [17.2.2.8. Объекты-прокси](https://python-all.ru/3.3/library/multiprocessing.html#proxy-objects)17011702          - [17.2.2.8.1. Очистка](https://python-all.ru/3.3/library/multiprocessing.html#cleanup)1703        - [17.2.2.9. Пулы процессов](https://python-all.ru/3.3/library/multiprocessing.html#module-multiprocessing.pool)1704        - [17.2.2.10. Слушатели и клиенты](https://python-all.ru/3.3/library/multiprocessing.html#module-multiprocessing.connection)17051706          - [17.2.2.10.1. Форматы адресов](https://python-all.ru/3.3/library/multiprocessing.html#address-formats)1707        - [17.2.2.11. Ключи аутентификации](https://python-all.ru/3.3/library/multiprocessing.html#authentication-keys)1708        - [17.2.2.12. Логирование](https://python-all.ru/3.3/library/multiprocessing.html#logging)1709        - [17.2.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.3/library/multiprocessing.html#module-multiprocessing.dummy)1710      - [17.2.3. Рекомендации по программированию](https://python-all.ru/3.3/library/multiprocessing.html#programming-guidelines)17111712        - [17.2.3.1. Все платформы](https://python-all.ru/3.3/library/multiprocessing.html#all-platforms)1713        - [17.2.3.2. Windows](https://python-all.ru/3.3/library/multiprocessing.html#windows)1714      - [17.2.4. Примеры](https://python-all.ru/3.3/library/multiprocessing.html#examples)1715    - [17.3. Пакет `concurrent`](https://python-all.ru/3.3/library/concurrent.html)1716    - [17.4. `concurrent.futures` – Запуск параллельных задач](https://python-all.ru/3.3/library/concurrent.futures.html)17171718      - [17.4.1. Объекты-исполнители](https://python-all.ru/3.3/library/concurrent.futures.html#executor-objects)1719      - [17.4.2. ThreadPoolExecutor](https://python-all.ru/3.3/library/concurrent.futures.html#threadpoolexecutor)17201721        - [17.4.2.1. Пример ThreadPoolExecutor](https://python-all.ru/3.3/library/concurrent.futures.html#threadpoolexecutor-example)1722      - [17.4.3. ProcessPoolExecutor](https://python-all.ru/3.3/library/concurrent.futures.html#processpoolexecutor)17231724        - [17.4.3.1. Пример ProcessPoolExecutor](https://python-all.ru/3.3/library/concurrent.futures.html#processpoolexecutor-example)1725      - [17.4.4. Объекты Future](https://python-all.ru/3.3/library/concurrent.futures.html#future-objects)1726      - [17.4.5. Функции модуля](https://python-all.ru/3.3/library/concurrent.futures.html#module-functions)1727      - [17.4.6. Классы исключений](https://python-all.ru/3.3/library/concurrent.futures.html#exception-classes)1728    - [17.5. `subprocess` – Управление подпроцессами](https://python-all.ru/3.3/library/subprocess.html)17291730      - [17.5.1. Использование модуля `subprocess`](https://python-all.ru/3.3/library/subprocess.html#using-the-subprocess-module)17311732        - [17.5.1.1. Часто используемые аргументы](https://python-all.ru/3.3/library/subprocess.html#frequently-used-arguments)1733        - [17.5.1.2. Конструктор Popen](https://python-all.ru/3.3/library/subprocess.html#popen-constructor)1734        - [17.5.1.3. Исключения](https://python-all.ru/3.3/library/subprocess.html#exceptions)1735        - [17.5.1.4. Безопасность](https://python-all.ru/3.3/library/subprocess.html#security)1736      - [17.5.2. Объекты Popen](https://python-all.ru/3.3/library/subprocess.html#popen-objects)1737      - [17.5.3. Вспомогательные классы Popen для Windows](https://python-all.ru/3.3/library/subprocess.html#windows-popen-helpers)17381739        - [17.5.3.1. Константы](https://python-all.ru/3.3/library/subprocess.html#constants)1740      - [17.5.4. Замена старых функций модулем `подпроцесс`](https://python-all.ru/3.3/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)17411742        - [17.5.4.1. Замена обратных кавычек оболочки /bin/sh](https://python-all.ru/3.3/library/subprocess.html#replacing-bin-sh-shell-backquote)1743        - [17.5.4.2. Замена конвейера оболочки](https://python-all.ru/3.3/library/subprocess.html#replacing-shell-pipeline)1744        - [17.5.4.3. Замена `os.system()`](https://python-all.ru/3.3/library/subprocess.html#replacing-os-system)1745        - [17.5.4.4. Замена семейства `os.spawn`](https://python-all.ru/3.3/library/subprocess.html#replacing-the-os-spawn-family)1746        - [17.5.4.5. Замена `os.popen()`, `os.popen2()`, `os.popen3()`](https://python-all.ru/3.3/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3)1747        - [17.5.4.6. Замена функций из модуля `popen2`](https://python-all.ru/3.3/library/subprocess.html#replacing-functions-from-the-popen2-module)1748      - [17.5.5. Устаревшие функции вызова оболочки](https://python-all.ru/3.3/library/subprocess.html#legacy-shell-invocation-functions)1749      - [17.5.6. Примечания](https://python-all.ru/3.3/library/subprocess.html#notes)17501751        - [17.5.6.1. Преобразование последовательности аргументов в строку в Windows](https://python-all.ru/3.3/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows)1752    - [17.6. `sched` – Планировщик событий](https://python-all.ru/3.3/library/sched.html)17531754      - [17.6.1. Объекты планировщика](https://python-all.ru/3.3/library/sched.html#scheduler-objects)1755    - [17.7. `queue` – Синхронизированная очередь](https://python-all.ru/3.3/library/queue.html)17561757      - [17.7.1. Объекты очереди](https://python-all.ru/3.3/library/queue.html#queue-objects)1758    - [17.8. `select` – Ожидание завершения операций ввода-вывода](https://python-all.ru/3.3/library/select.html)17591760      - [17.8.1. `/dev/poll` Объекты опроса (poll)](https://python-all.ru/3.3/library/select.html#dev-poll-polling-objects)1761      - [17.8.2. Объекты опроса по переднему и уровневому фронтам (epoll)](https://python-all.ru/3.3/library/select.html#edge-and-level-trigger-polling-epoll-objects)1762      - [17.8.3. Объекты опроса](https://python-all.ru/3.3/library/select.html#polling-objects)1763      - [17.8.4. Объекты kqueue](https://python-all.ru/3.3/library/select.html#kqueue-objects)1764      - [17.8.5. Объекты kevent](https://python-all.ru/3.3/library/select.html#kevent-objects)1765    - [17.9. `dummy_threading` – Замена модуля `threading` без изменений](https://python-all.ru/3.3/library/dummy_threading.html)1766    - [17.10. `_thread` – Низкоуровневый API для работы с потоками](https://python-all.ru/3.3/library/_thread.html)1767    - [17.11. `_dummy_thread` – Замена модуля `_thread` без изменений](https://python-all.ru/3.3/library/_dummy_thread.html)1768  - [18. Межпроцессное взаимодействие и сеть](https://python-all.ru/3.3/library/ipc.html)17691770    - [18.1. `socket` – низкоуровневый сетевой интерфейс](https://python-all.ru/3.3/library/socket.html)17711772      - [18.1.1. Семейства сокетов](https://python-all.ru/3.3/library/socket.html#socket-families)1773      - [18.1.2. Содержимое модуля](https://python-all.ru/3.3/library/socket.html#module-contents)17741775        - [18.1.2.1. Исключения](https://python-all.ru/3.3/library/socket.html#exceptions)1776        - [18.1.2.2. Константы](https://python-all.ru/3.3/library/socket.html#constants)1777        - [18.1.2.3. Функции](https://python-all.ru/3.3/library/socket.html#functions)17781779          - [18.1.2.3.1. Создание сокетов](https://python-all.ru/3.3/library/socket.html#creating-sockets)1780          - [18.1.2.3.2. Прочие функции](https://python-all.ru/3.3/library/socket.html#other-functions)1781      - [18.1.3. Объекты сокетов](https://python-all.ru/3.3/library/socket.html#socket-objects)1782      - [18.1.4. Примечания о тайм-аутах сокетов](https://python-all.ru/3.3/library/socket.html#notes-on-socket-timeouts)17831784        - [18.1.4.1. Тайм-ауты и метод `connect`](https://python-all.ru/3.3/library/socket.html#timeouts-and-the-connect-method)1785        - [18.1.4.2. Тайм-ауты и метод `accept`](https://python-all.ru/3.3/library/socket.html#timeouts-and-the-accept-method)1786      - [18.1.5. Пример](https://python-all.ru/3.3/library/socket.html#example)1787    - [18.2. `ssl` – обёртка TLS/SSL для объектов сокетов](https://python-all.ru/3.3/library/ssl.html)17881789      - [18.2.1. Функции, константы и исключения](https://python-all.ru/3.3/library/ssl.html#functions-constants-and-exceptions)17901791        - [18.2.1.1. Создание сокетов](https://python-all.ru/3.3/library/ssl.html#socket-creation)1792        - [18.2.1.2. Генерация случайных значений](https://python-all.ru/3.3/library/ssl.html#random-generation)1793        - [18.2.1.3. Обработка сертификатов](https://python-all.ru/3.3/library/ssl.html#certificate-handling)1794        - [18.2.1.4. Константы](https://python-all.ru/3.3/library/ssl.html#constants)1795      - [18.2.2. SSL-сокеты](https://python-all.ru/3.3/library/ssl.html#ssl-sockets)1796      - [18.2.3. SSL-контексты](https://python-all.ru/3.3/library/ssl.html#ssl-contexts)1797      - [18.2.4. Сертификаты](https://python-all.ru/3.3/library/ssl.html#certificates)17981799        - [18.2.4.1. Цепочки сертификатов](https://python-all.ru/3.3/library/ssl.html#certificate-chains)1800        - [18.2.4.2. Сертификаты удостоверяющих центров](https://python-all.ru/3.3/library/ssl.html#ca-certificates)1801        - [18.2.4.3. Совмещённый ключ и сертификат](https://python-all.ru/3.3/library/ssl.html#combined-key-and-certificate)1802        - [18.2.4.4. Самоподписанные сертификаты](https://python-all.ru/3.3/library/ssl.html#self-signed-certificates)1803      - [18.2.5. Примеры](https://python-all.ru/3.3/library/ssl.html#examples)18041805        - [18.2.5.1. Проверка поддержки SSL](https://python-all.ru/3.3/library/ssl.html#testing-for-ssl-support)1806        - [18.2.5.2. Работа на стороне клиента](https://python-all.ru/3.3/library/ssl.html#client-side-operation)1807        - [18.2.5.3. Работа на стороне сервера](https://python-all.ru/3.3/library/ssl.html#server-side-operation)1808      - [18.2.6. Замечания о неблокирующих сокетах](https://python-all.ru/3.3/library/ssl.html#notes-on-non-blocking-sockets)1809      - [18.2.7. Вопросы безопасности](https://python-all.ru/3.3/library/ssl.html#security-considerations)18101811        - [18.2.7.1. Проверка сертификатов](https://python-all.ru/3.3/library/ssl.html#verifying-certificates)1812        - [18.2.7.2. Версии протоколов](https://python-all.ru/3.3/library/ssl.html#protocol-versions)1813        - [18.2.7.3. Выбор шифров](https://python-all.ru/3.3/library/ssl.html#cipher-selection)1814        - [18.2.7.4. Многопроцессная обработка](https://python-all.ru/3.3/library/ssl.html#multi-processing)1815    - [18.3. `asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/3.3/library/asyncore.html)18161817      - [18.3.1. Пример asyncore: базовый HTTP-клиент](https://python-all.ru/3.3/library/asyncore.html#asyncore-example-basic-http-client)1818      - [18.3.2. Пример asyncore: базовый эхо-сервер](https://python-all.ru/3.3/library/asyncore.html#asyncore-example-basic-echo-server)1819    - [18.4. `asynchat` – Асинхронный обработчик команд/ответов сокетов](https://python-all.ru/3.3/library/asynchat.html)18201821      - [18.4.1. asynchat – Вспомогательные классы](https://python-all.ru/3.3/library/asynchat.html#asynchat-auxiliary-classes)1822      - [18.4.2. Пример использования asynchat](https://python-all.ru/3.3/library/asynchat.html#asynchat-example)1823    - [18.5. `signal` – Установка обработчиков для асинхронных событий](https://python-all.ru/3.3/library/signal.html)18241825      - [18.5.1. Общие правила](https://python-all.ru/3.3/library/signal.html#general-rules)18261827        - [18.5.1.1. Выполнение обработчиков сигналов Python](https://python-all.ru/3.3/library/signal.html#execution-of-python-signal-handlers)1828        - [18.5.1.2. Сигналы и потоки](https://python-all.ru/3.3/library/signal.html#signals-and-threads)1829      - [18.5.2. Содержимое модуля](https://python-all.ru/3.3/library/signal.html#module-contents)1830      - [18.5.3. Пример](https://python-all.ru/3.3/library/signal.html#example)1831    - [18.6. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/3.3/library/mmap.html)1832  - [19. Обработка интернет-данных](https://python-all.ru/3.3/library/netdata.html)18331834    - [19.1. `email` – Пакет для работы с электронной почтой и MIME](https://python-all.ru/3.3/library/email.html)18351836      - [19.1.1. `email.message`: Представление сообщения электронной почты](https://python-all.ru/3.3/library/email.message.html)1837      - [19.1.2. `email.parser`: Разбор сообщений электронной почты](https://python-all.ru/3.3/library/email.parser.html)18381839        - [19.1.2.1. API FeedParser](https://python-all.ru/3.3/library/email.parser.html#feedparser-api)1840        - [19.1.2.2. API класса Parser](https://python-all.ru/3.3/library/email.parser.html#parser-class-api)1841        - [19.1.2.3. Дополнительные примечания](https://python-all.ru/3.3/library/email.parser.html#additional-notes)1842      - [19.1.3. `email.generator`: Генерация MIME-документов](https://python-all.ru/3.3/library/email.generator.html)1843      - [19.1.4. `email.policy`: Объекты политики](https://python-all.ru/3.3/library/email.policy.html)1844      - [19.1.5. `email.headerregistry`: Пользовательские объекты заголовков](https://python-all.ru/3.3/library/email.headerregistry.html)1845      - [19.1.6. `email.mime`: Создание объектов email и MIME с нуля](https://python-all.ru/3.3/library/email.mime.html)1846      - [19.1.7. `email.header`: Интернационализированные заголовки](https://python-all.ru/3.3/library/email.header.html)1847      - [19.1.8. `email.charset`: Представление наборов символов](https://python-all.ru/3.3/library/email.charset.html)1848      - [19.1.9. `email.encoders`: Кодировщики](https://python-all.ru/3.3/library/email.encoders.html)1849      - [19.1.10. `email.errors`: Классы исключений и дефектов](https://python-all.ru/3.3/library/email.errors.html)1850      - [19.1.11. `email.utils`: Разные утилиты](https://python-all.ru/3.3/library/email.util.html)1851      - [19.1.12. `email.iterators`: Итераторы](https://python-all.ru/3.3/library/email.iterators.html)1852      - [19.1.13. `email`: Примеры](https://python-all.ru/3.3/library/email-examples.html)1853      - [19.1.14. История пакета](https://python-all.ru/3.3/library/email.html#package-history)1854      - [19.1.15. Отличия от `mimelib`](https://python-all.ru/3.3/library/email.html#differences-from-mimelib)1855    - [19.2. `json` – Кодировщик и декодировщик JSON](https://python-all.ru/3.3/library/json.html)18561857      - [19.2.1. Базовое использование](https://python-all.ru/3.3/library/json.html#basic-usage)1858      - [19.2.2. Кодировщики и декодировщики](https://python-all.ru/3.3/library/json.html#encoders-and-decoders)1859      - [19.2.3. Соответствие стандарту](https://python-all.ru/3.3/library/json.html#standard-compliance)18601861        - [19.2.3.1. Кодировки символов](https://python-all.ru/3.3/library/json.html#character-encodings)1862        - [19.2.3.2. Значения верхнего уровня, не являющиеся объектами или массивами](https://python-all.ru/3.3/library/json.html#top-level-non-object-non-array-values)1863        - [19.2.3.3. Бесконечные значения и NaN](https://python-all.ru/3.3/library/json.html#infinite-and-nan-number-values)1864        - [19.2.3.4. Повторяющиеся имена в объекте](https://python-all.ru/3.3/library/json.html#repeated-names-within-an-object)1865    - [19.3. `mailcap` – Обработка файлов mailcap](https://python-all.ru/3.3/library/mailcap.html)1866    - [19.4. `mailbox` – Работа с почтовыми ящиками в различных форматах](https://python-all.ru/3.3/library/mailbox.html)18671868      - [19.4.1. `Mailbox` Объекты](https://python-all.ru/3.3/library/mailbox.html#mailbox-objects)18691870        - [19.4.1.1. `Maildir`](https://python-all.ru/3.3/library/mailbox.html#maildir)1871        - [19.4.1.2. `mbox`](https://python-all.ru/3.3/library/mailbox.html#mbox)1872        - [19.4.1.3. `MH`](https://python-all.ru/3.3/library/mailbox.html#mh)1873        - [19.4.1.4. `Babyl`](https://python-all.ru/3.3/library/mailbox.html#babyl)1874        - [19.4.1.5. `MMDF`](https://python-all.ru/3.3/library/mailbox.html#mmdf)1875      - [19.4.2. `Message` объекты](https://python-all.ru/3.3/library/mailbox.html#message-objects)18761877        - [19.4.2.1. `MaildirMessage`](https://python-all.ru/3.3/library/mailbox.html#maildirmessage)1878        - [19.4.2.2. `mboxMessage`](https://python-all.ru/3.3/library/mailbox.html#mboxmessage)1879        - [19.4.2.3. `MHMessage`](https://python-all.ru/3.3/library/mailbox.html#mhmessage)1880        - [19.4.2.4. `BabylMessage`](https://python-all.ru/3.3/library/mailbox.html#babylmessage)1881        - [19.4.2.5. `MMDFMessage`](https://python-all.ru/3.3/library/mailbox.html#mmdfmessage)1882      - [19.4.3. Исключения](https://python-all.ru/3.3/library/mailbox.html#exceptions)1883      - [19.4.4. Примеры](https://python-all.ru/3.3/library/mailbox.html#examples)1884    - [19.5. `mimetypes` – Сопоставляет имена файлов с MIME-типами](https://python-all.ru/3.3/library/mimetypes.html)18851886      - [19.5.1. Объекты MimeTypes](https://python-all.ru/3.3/library/mimetypes.html#mimetypes-objects)1887    - [19.6. `base64` – RFC 3548: кодирование данных Base16, Base32, Base64](https://python-all.ru/3.3/library/base64.html)1888    - [19.7. `binhex` – Кодирование и декодирование файлов binhex4](https://python-all.ru/3.3/library/binhex.html)18891890      - [19.7.1. Примечания](https://python-all.ru/3.3/library/binhex.html#notes)1891    - [19.8. `binascii` – Преобразование между двоичным кодом и ASCII](https://python-all.ru/3.3/library/binascii.html)1892    - [19.9. `quopri` – Кодирование и декодирование данных MIME в формате quoted-printable](https://python-all.ru/3.3/library/quopri.html)1893    - [19.10. `uu` – Кодирование и декодирование файлов uuencode](https://python-all.ru/3.3/library/uu.html)1894  - [20. Инструменты обработки структурированной разметки](https://python-all.ru/3.3/library/markup.html)18951896    - [20.1. `html` – Поддержка языка гипертекстовой разметки (HTML)](https://python-all.ru/3.3/library/html.html)1897    - [20.2. `html.parser` – Простой парсер HTML и XHTML](https://python-all.ru/3.3/library/html.parser.html)18981899      - [20.2.1. Пример приложения парсера HTML](https://python-all.ru/3.3/library/html.parser.html#example-html-parser-application)1900      - [20.2.2. `HTMLParser` Методы](https://python-all.ru/3.3/library/html.parser.html#htmlparser-methods)1901      - [20.2.3. Примеры](https://python-all.ru/3.3/library/html.parser.html#examples)1902    - [20.3. `html.entities` – Определения общих сущностей HTML](https://python-all.ru/3.3/library/html.entities.html)1903    - [20.4. Модули обработки XML](https://python-all.ru/3.3/library/xml.html)19041905      - [20.4.1. Уязвимости XML](https://python-all.ru/3.3/library/xml.html#xml-vulnerabilities)1906      - [20.4.2. Пакеты `defusedxml` и `defusedexpat`](https://python-all.ru/3.3/library/xml.html#the-defusedxml-and-defusedexpat-packages)1907    - [20.5. `xml.etree.ElementTree` – API ElementTree для XML](https://python-all.ru/3.3/library/xml.etree.elementtree.html)19081909      - [20.5.1. Учебник](https://python-all.ru/3.3/library/xml.etree.elementtree.html#tutorial)19101911        - [20.5.1.1. XML-дерево и элементы](https://python-all.ru/3.3/library/xml.etree.elementtree.html#xml-tree-and-elements)1912        - [20.5.1.2. Разбор XML](https://python-all.ru/3.3/library/xml.etree.elementtree.html#parsing-xml)1913        - [20.5.1.3. Поиск интересующих элементов](https://python-all.ru/3.3/library/xml.etree.elementtree.html#finding-interesting-elements)1914        - [20.5.1.4. Изменение XML-файла](https://python-all.ru/3.3/library/xml.etree.elementtree.html#modifying-an-xml-file)1915        - [20.5.1.5. Создание XML-документов](https://python-all.ru/3.3/library/xml.etree.elementtree.html#building-xml-documents)1916        - [20.5.1.6. Дополнительные ресурсы](https://python-all.ru/3.3/library/xml.etree.elementtree.html#additional-resources)1917      - [20.5.2. Поддержка XPath](https://python-all.ru/3.3/library/xml.etree.elementtree.html#xpath-support)19181919        - [20.5.2.1. Пример](https://python-all.ru/3.3/library/xml.etree.elementtree.html#example)1920        - [20.5.2.2. Поддерживаемый синтаксис XPath](https://python-all.ru/3.3/library/xml.etree.elementtree.html#supported-xpath-syntax)1921      - [20.5.3. Справочник](https://python-all.ru/3.3/library/xml.etree.elementtree.html#reference)19221923        - [20.5.3.1. Функции](https://python-all.ru/3.3/library/xml.etree.elementtree.html#functions)1924        - [20.5.3.2. Объекты Element](https://python-all.ru/3.3/library/xml.etree.elementtree.html#element-objects)1925        - [20.5.3.3. Объекты ElementTree](https://python-all.ru/3.3/library/xml.etree.elementtree.html#elementtree-objects)1926        - [20.5.3.4. Объекты QName](https://python-all.ru/3.3/library/xml.etree.elementtree.html#qname-objects)1927        - [20.5.3.5. Объекты TreeBuilder](https://python-all.ru/3.3/library/xml.etree.elementtree.html#treebuilder-objects)1928        - [20.5.3.6. Объекты XMLParser](https://python-all.ru/3.3/library/xml.etree.elementtree.html#xmlparser-objects)1929        - [20.5.3.7. Исключения](https://python-all.ru/3.3/library/xml.etree.elementtree.html#exceptions)1930    - [20.6. `xml.dom` – API объектной модели документа (DOM)](https://python-all.ru/3.3/library/xml.dom.html)19311932      - [20.6.1. Содержимое модуля](https://python-all.ru/3.3/library/xml.dom.html#module-contents)1933      - [20.6.2. Объекты в DOM](https://python-all.ru/3.3/library/xml.dom.html#objects-in-the-dom)19341935        - [20.6.2.1. Объекты DOMImplementation](https://python-all.ru/3.3/library/xml.dom.html#domimplementation-objects)1936        - [20.6.2.2. Объекты Node](https://python-all.ru/3.3/library/xml.dom.html#node-objects)1937        - [20.6.2.3. Объекты NodeList](https://python-all.ru/3.3/library/xml.dom.html#nodelist-objects)1938        - [20.6.2.4. Объекты DocumentType](https://python-all.ru/3.3/library/xml.dom.html#documenttype-objects)1939        - [20.6.2.5. Объекты Document](https://python-all.ru/3.3/library/xml.dom.html#document-objects)1940        - [20.6.2.6. Объекты Element](https://python-all.ru/3.3/library/xml.dom.html#element-objects)1941        - [20.6.2.7. Объекты Attr](https://python-all.ru/3.3/library/xml.dom.html#attr-objects)1942        - [20.6.2.8. Объекты NamedNodeMap](https://python-all.ru/3.3/library/xml.dom.html#namednodemap-objects)1943        - [20.6.2.9. Объекты Comment](https://python-all.ru/3.3/library/xml.dom.html#comment-objects)1944        - [20.6.2.10. Объекты Text и CDATASection](https://python-all.ru/3.3/library/xml.dom.html#text-and-cdatasection-objects)1945        - [20.6.2.11. Объекты ProcessingInstruction](https://python-all.ru/3.3/library/xml.dom.html#processinginstruction-objects)1946        - [20.6.2.12. Исключения](https://python-all.ru/3.3/library/xml.dom.html#exceptions)1947      - [20.6.3. Соответствие](https://python-all.ru/3.3/library/xml.dom.html#conformance)19481949        - [20.6.3.1. Сопоставление типов](https://python-all.ru/3.3/library/xml.dom.html#type-mapping)1950        - [20.6.3.2. Методы доступа](https://python-all.ru/3.3/library/xml.dom.html#accessor-methods)1951    - [20.7. `xml.dom.minidom` – Минимальная реализация DOM](https://python-all.ru/3.3/library/xml.dom.minidom.html)19521953      - [20.7.1. Объекты DOM](https://python-all.ru/3.3/library/xml.dom.minidom.html#dom-objects)1954      - [20.7.2. Пример DOM](https://python-all.ru/3.3/library/xml.dom.minidom.html#dom-example)1955      - [20.7.3. minidom и стандарт DOM](https://python-all.ru/3.3/library/xml.dom.minidom.html#minidom-and-the-dom-standard)1956    - [20.8. `xml.dom.pulldom` – Поддержка построения частичных деревьев DOM](https://python-all.ru/3.3/library/xml.dom.pulldom.html)19571958      - [20.8.1. Объекты DOMEventStream](https://python-all.ru/3.3/library/xml.dom.pulldom.html#domeventstream-objects)1959    - [20.9. `xml.sax` – Поддержка парсеров SAX2](https://python-all.ru/3.3/library/xml.sax.html)19601961      - [20.9.1. Объекты SAXException](https://python-all.ru/3.3/library/xml.sax.html#saxexception-objects)1962    - [20.10. `xml.sax.handler` – Базовые классы для обработчиков SAX](https://python-all.ru/3.3/library/xml.sax.handler.html)19631964      - [20.10.1. Объекты ContentHandler](https://python-all.ru/3.3/library/xml.sax.handler.html#contenthandler-objects)1965      - [20.10.2. Объекты DTDHandler](https://python-all.ru/3.3/library/xml.sax.handler.html#dtdhandler-objects)1966      - [20.10.3. Объекты EntityResolver](https://python-all.ru/3.3/library/xml.sax.handler.html#entityresolver-objects)1967      - [20.10.4. Объекты ErrorHandler](https://python-all.ru/3.3/library/xml.sax.handler.html#errorhandler-objects)1968    - [20.11. `xml.sax.saxutils` – Утилиты SAX](https://python-all.ru/3.3/library/xml.sax.utils.html)1969    - [20.12. `xml.sax.xmlreader` – Интерфейс для парсеров XML](https://python-all.ru/3.3/library/xml.sax.reader.html)19701971      - [20.12.1. Объекты XMLReader](https://python-all.ru/3.3/library/xml.sax.reader.html#xmlreader-objects)1972      - [20.12.2. Объекты IncrementalParser](https://python-all.ru/3.3/library/xml.sax.reader.html#incrementalparser-objects)1973      - [20.12.3. Объекты Locator](https://python-all.ru/3.3/library/xml.sax.reader.html#locator-objects)1974      - [20.12.4. Объекты InputSource](https://python-all.ru/3.3/library/xml.sax.reader.html#inputsource-objects)1975      - [20.12.5. Интерфейс `Attributes`](https://python-all.ru/3.3/library/xml.sax.reader.html#the-attributes-interface)1976      - [20.12.6. Интерфейс `AttributesNS`](https://python-all.ru/3.3/library/xml.sax.reader.html#the-attributesns-interface)1977    - [20.13. `xml.parsers.expat` – Быстрый разбор XML с помощью Expat](https://python-all.ru/3.3/library/pyexpat.html)19781979      - [20.13.1. Объекты XMLParser](https://python-all.ru/3.3/library/pyexpat.html#xmlparser-objects)1980      - [20.13.2. Исключения ExpatError](https://python-all.ru/3.3/library/pyexpat.html#expaterror-exceptions)1981      - [20.13.3. Пример](https://python-all.ru/3.3/library/pyexpat.html#example)1982      - [20.13.4. Описания моделей содержимого](https://python-all.ru/3.3/library/pyexpat.html#module-xml.parsers.expat.model)1983      - [20.13.5. Константы ошибок Expat](https://python-all.ru/3.3/library/pyexpat.html#module-xml.parsers.expat.errors)1984  - [21. Интернет-протоколы и поддержка](https://python-all.ru/3.3/library/internet.html)19851986    - [21.1. `webbrowser` – Удобный контроллер веб-браузера](https://python-all.ru/3.3/library/webbrowser.html)19871988      - [21.1.1. Объекты контроллера браузера](https://python-all.ru/3.3/library/webbrowser.html#browser-controller-objects)1989    - [21.2. `cgi` – Поддержка общего шлюзового интерфейса (CGI)](https://python-all.ru/3.3/library/cgi.html)19901991      - [21.2.1. Введение](https://python-all.ru/3.3/library/cgi.html#introduction)1992      - [21.2.2. Использование модуля cgi](https://python-all.ru/3.3/library/cgi.html#using-the-cgi-module)1993      - [21.2.3. Интерфейс более высокого уровня](https://python-all.ru/3.3/library/cgi.html#higher-level-interface)1994      - [21.2.4. Функции](https://python-all.ru/3.3/library/cgi.html#functions)1995      - [21.2.5. Вопросы безопасности](https://python-all.ru/3.3/library/cgi.html#caring-about-security)1996      - [21.2.6. Установка CGI-сценария в системе Unix](https://python-all.ru/3.3/library/cgi.html#installing-your-cgi-script-on-a-unix-system)1997      - [21.2.7. Тестирование CGI-сценария](https://python-all.ru/3.3/library/cgi.html#testing-your-cgi-script)1998      - [21.2.8. Отладка CGI-сценариев](https://python-all.ru/3.3/library/cgi.html#debugging-cgi-scripts)1999      - [21.2.9. Типичные проблемы и их решения](https://python-all.ru/3.3/library/cgi.html#common-problems-and-solutions)2000    - [21.3. `cgitb` – Менеджер трассировки для CGI-скриптов](https://python-all.ru/3.3/library/cgitb.html)2001    - [21.4. `wsgiref` – Утилиты и эталонная реализация WSGI](https://python-all.ru/3.3/library/wsgiref.html)20022003      - [21.4.1. `wsgiref.util` – Утилиты окружения WSGI](https://python-all.ru/3.3/library/wsgiref.html#module-wsgiref.util)2004      - [21.4.2. `wsgiref.headers` – Инструменты для заголовков ответов WSGI](https://python-all.ru/3.3/library/wsgiref.html#module-wsgiref.headers)2005      - [21.4.3. `wsgiref.simple_server` – Простой HTTP-сервер WSGI](https://python-all.ru/3.3/library/wsgiref.html#module-wsgiref.simple_server)2006      - [21.4.4. `wsgiref.validate` – Проверка соответствия WSGI](https://python-all.ru/3.3/library/wsgiref.html#module-wsgiref.validate)2007      - [21.4.5. `wsgiref.handlers` – Базовые классы сервера и шлюза](https://python-all.ru/3.3/library/wsgiref.html#module-wsgiref.handlers)2008      - [21.4.6. Примеры](https://python-all.ru/3.3/library/wsgiref.html#examples)2009    - [21.5. `urllib` – Модули для работы с URL](https://python-all.ru/3.3/library/urllib.html)2010    - [21.6. `urllib.request` – Расширяемая библиотека для открытия URL](https://python-all.ru/3.3/library/urllib.request.html)20112012      - [21.6.1. Объекты Request](https://python-all.ru/3.3/library/urllib.request.html#request-objects)2013      - [21.6.2. Объекты OpenerDirector](https://python-all.ru/3.3/library/urllib.request.html#openerdirector-objects)2014      - [21.6.3. Объекты BaseHandler](https://python-all.ru/3.3/library/urllib.request.html#basehandler-objects)2015      - [21.6.4. Объекты HTTPRedirectHandler](https://python-all.ru/3.3/library/urllib.request.html#httpredirecthandler-objects)2016      - [21.6.5. Объекты HTTPCookieProcessor](https://python-all.ru/3.3/library/urllib.request.html#httpcookieprocessor-objects)2017      - [21.6.6. Объекты ProxyHandler](https://python-all.ru/3.3/library/urllib.request.html#proxyhandler-objects)2018      - [21.6.7. Объекты HTTPPasswordMgr](https://python-all.ru/3.3/library/urllib.request.html#httppasswordmgr-objects)2019      - [21.6.8. Объекты AbstractBasicAuthHandler](https://python-all.ru/3.3/library/urllib.request.html#abstractbasicauthhandler-objects)2020      - [21.6.9. Объекты HTTPBasicAuthHandler](https://python-all.ru/3.3/library/urllib.request.html#httpbasicauthhandler-objects)2021      - [21.6.10. Объекты ProxyBasicAuthHandler](https://python-all.ru/3.3/library/urllib.request.html#proxybasicauthhandler-objects)2022      - [21.6.11. Объекты AbstractDigestAuthHandler](https://python-all.ru/3.3/library/urllib.request.html#abstractdigestauthhandler-objects)2023      - [21.6.12. Объекты HTTPDigestAuthHandler](https://python-all.ru/3.3/library/urllib.request.html#httpdigestauthhandler-objects)2024      - [21.6.13. Объекты ProxyDigestAuthHandler](https://python-all.ru/3.3/library/urllib.request.html#proxydigestauthhandler-objects)2025      - [21.6.14. Объекты HTTPHandler](https://python-all.ru/3.3/library/urllib.request.html#httphandler-objects)2026      - [21.6.15. Объекты HTTPSHandler](https://python-all.ru/3.3/library/urllib.request.html#httpshandler-objects)2027      - [21.6.16. Объекты FileHandler](https://python-all.ru/3.3/library/urllib.request.html#filehandler-objects)2028      - [21.6.17. Объекты FTPHandler](https://python-all.ru/3.3/library/urllib.request.html#ftphandler-objects)2029      - [21.6.18. Объекты CacheFTPHandler](https://python-all.ru/3.3/library/urllib.request.html#cacheftphandler-objects)2030      - [21.6.19. Объекты UnknownHandler](https://python-all.ru/3.3/library/urllib.request.html#unknownhandler-objects)2031      - [21.6.20. Объекты HTTPErrorProcessor](https://python-all.ru/3.3/library/urllib.request.html#httperrorprocessor-objects)2032      - [21.6.21. Примеры](https://python-all.ru/3.3/library/urllib.request.html#examples)2033      - [21.6.22. Устаревший интерфейс](https://python-all.ru/3.3/library/urllib.request.html#legacy-interface)2034      - [21.6.23. `urllib.request` Ограничения](https://python-all.ru/3.3/library/urllib.request.html#urllib-request-restrictions)2035    - [21.7. `urllib.response` – Классы ответов, используемые urllib](https://python-all.ru/3.3/library/urllib.request.html#module-urllib.response)2036    - [21.8. `urllib.parse` – Разбор URL на составные части](https://python-all.ru/3.3/library/urllib.parse.html)20372038      - [21.8.1. Разбор URL](https://python-all.ru/3.3/library/urllib.parse.html#url-parsing)2039      - [21.8.2. Разбор ASCII-кодированных байт](https://python-all.ru/3.3/library/urllib.parse.html#parsing-ascii-encoded-bytes)2040      - [21.8.3. Структурированные результаты разбора](https://python-all.ru/3.3/library/urllib.parse.html#structured-parse-results)2041      - [21.8.4. Квотирование URL](https://python-all.ru/3.3/library/urllib.parse.html#url-quoting)2042    - [21.9. `urllib.error` – Классы исключений, вызываемые urllib.request](https://python-all.ru/3.3/library/urllib.error.html)2043    - [21.10. `urllib.robotparser` – Парсер robots.txt](https://python-all.ru/3.3/library/urllib.robotparser.html)2044    - [21.11. `http` – Модули HTTP](https://python-all.ru/3.3/library/http.html)2045    - [21.12. `http.client` – Клиент протокола HTTP](https://python-all.ru/3.3/library/http.client.html)20462047      - [21.12.1. Объекты HTTPConnection](https://python-all.ru/3.3/library/http.client.html#httpconnection-objects)2048      - [21.12.2. Объекты HTTPResponse](https://python-all.ru/3.3/library/http.client.html#httpresponse-objects)2049      - [21.12.3. Примеры](https://python-all.ru/3.3/library/http.client.html#examples)2050      - [21.12.4. Объекты HTTPMessage](https://python-all.ru/3.3/library/http.client.html#httpmessage-objects)2051    - [21.13. `ftplib` – клиент протокола FTP](https://python-all.ru/3.3/library/ftplib.html)20522053      - [21.13.1. Объекты FTP](https://python-all.ru/3.3/library/ftplib.html#ftp-objects)2054      - [21.13.2. Объекты FTP\_TLS](https://python-all.ru/3.3/library/ftplib.html#ftp-tls-objects)2055    - [21.14. `poplib` – клиент протокола POP3](https://python-all.ru/3.3/library/poplib.html)20562057      - [21.14.1. Объекты POP3](https://python-all.ru/3.3/library/poplib.html#pop3-objects)2058      - [21.14.2. Пример POP3](https://python-all.ru/3.3/library/poplib.html#pop3-example)2059    - [21.15. `imaplib` – клиент протокола IMAP4](https://python-all.ru/3.3/library/imaplib.html)20602061      - [21.15.1. Объекты IMAP4](https://python-all.ru/3.3/library/imaplib.html#imap4-objects)2062      - [21.15.2. Пример IMAP4](https://python-all.ru/3.3/library/imaplib.html#imap4-example)2063    - [21.16. `nntplib` – клиент протокола NNTP](https://python-all.ru/3.3/library/nntplib.html)20642065      - [21.16.1. Объекты NNTP](https://python-all.ru/3.3/library/nntplib.html#nntp-objects)20662067        - [21.16.1.1. Атрибуты](https://python-all.ru/3.3/library/nntplib.html#attributes)2068        - [21.16.1.2. Методы](https://python-all.ru/3.3/library/nntplib.html#methods)2069      - [21.16.2. Вспомогательные функции](https://python-all.ru/3.3/library/nntplib.html#utility-functions)2070    - [21.17. `smtplib` – клиент протокола SMTP](https://python-all.ru/3.3/library/smtplib.html)20712072      - [21.17.1. Объекты SMTP](https://python-all.ru/3.3/library/smtplib.html#smtp-objects)2073      - [21.17.2. Пример SMTP](https://python-all.ru/3.3/library/smtplib.html#smtp-example)2074    - [21.18. `smtpd` – SMTP-сервер](https://python-all.ru/3.3/library/smtpd.html)20752076      - [21.18.1. Объекты SMTPServer](https://python-all.ru/3.3/library/smtpd.html#smtpserver-objects)2077      - [21.18.2. Объекты DebuggingServer](https://python-all.ru/3.3/library/smtpd.html#debuggingserver-objects)2078      - [21.18.3. Объекты PureProxy](https://python-all.ru/3.3/library/smtpd.html#pureproxy-objects)2079      - [21.18.4. Объекты MailmanProxy](https://python-all.ru/3.3/library/smtpd.html#mailmanproxy-objects)2080      - [21.18.5. Объекты SMTPChannel](https://python-all.ru/3.3/library/smtpd.html#smtpchannel-objects)2081    - [21.19. `telnetlib` – Telnet-клиент](https://python-all.ru/3.3/library/telnetlib.html)20822083      - [21.19.1. Объекты Telnet](https://python-all.ru/3.3/library/telnetlib.html#telnet-objects)2084      - [21.19.2. Пример Telnet](https://python-all.ru/3.3/library/telnetlib.html#telnet-example)2085    - [21.20. `uuid` – объекты UUID в соответствии с RFC 4122](https://python-all.ru/3.3/library/uuid.html)20862087      - [21.20.1. Пример](https://python-all.ru/3.3/library/uuid.html#example)2088    - [21.21. `socketserver` – фреймворк для сетевых серверов](https://python-all.ru/3.3/library/socketserver.html)20892090      - [21.21.1. Примечания по созданию сервера](https://python-all.ru/3.3/library/socketserver.html#server-creation-notes)2091      - [21.21.2. Объекты сервера](https://python-all.ru/3.3/library/socketserver.html#server-objects)2092      - [21.21.3. Объекты RequestHandler](https://python-all.ru/3.3/library/socketserver.html#requesthandler-objects)2093      - [21.21.4. Примеры](https://python-all.ru/3.3/library/socketserver.html#examples)20942095        - [21.21.4.1. Пример `socketserver.TCPServer`](https://python-all.ru/3.3/library/socketserver.html#socketserver-tcpserver-example)2096        - [21.21.4.2. Пример `socketserver.UDPServer`](https://python-all.ru/3.3/library/socketserver.html#socketserver-udpserver-example)2097        - [21.21.4.3. Асинхронные миксины](https://python-all.ru/3.3/library/socketserver.html#asynchronous-mixins)2098    - [21.22. `http.server` – HTTP-серверы](https://python-all.ru/3.3/library/http.server.html)2099    - [21.23. `http.cookies` – управление состоянием HTTP](https://python-all.ru/3.3/library/http.cookies.html)21002101      - [21.23.1. Объекты Cookie](https://python-all.ru/3.3/library/http.cookies.html#cookie-objects)2102      - [21.23.2. Объекты Morsel](https://python-all.ru/3.3/library/http.cookies.html#morsel-objects)2103      - [21.23.3. Пример](https://python-all.ru/3.3/library/http.cookies.html#example)2104    - [21.24. `http.cookiejar` – обработка cookie для HTTP-клиентов](https://python-all.ru/3.3/library/http.cookiejar.html)21052106      - [21.24.1. Объекты CookieJar и FileCookieJar](https://python-all.ru/3.3/library/http.cookiejar.html#cookiejar-and-filecookiejar-objects)2107      - [21.24.2. Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/3.3/library/http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)2108      - [21.24.3. Объекты CookiePolicy](https://python-all.ru/3.3/library/http.cookiejar.html#cookiepolicy-objects)2109      - [21.24.4. Объекты DefaultCookiePolicy](https://python-all.ru/3.3/library/http.cookiejar.html#defaultcookiepolicy-objects)2110      - [21.24.5. Объекты Cookie](https://python-all.ru/3.3/library/http.cookiejar.html#cookie-objects)2111      - [21.24.6. Примеры](https://python-all.ru/3.3/library/http.cookiejar.html#examples)2112    - [21.25. `xmlrpc` – модули сервера и клиента XML-RPC](https://python-all.ru/3.3/library/xmlrpc.html)2113    - [21.26. `xmlrpc.client` – клиентский доступ к XML-RPC](https://python-all.ru/3.3/library/xmlrpc.client.html)21142115      - [21.26.1. Объекты ServerProxy](https://python-all.ru/3.3/library/xmlrpc.client.html#serverproxy-objects)2116      - [21.26.2. Объекты DateTime](https://python-all.ru/3.3/library/xmlrpc.client.html#datetime-objects)2117      - [21.26.3. Объекты Binary](https://python-all.ru/3.3/library/xmlrpc.client.html#binary-objects)2118      - [21.26.4. Объекты Fault](https://python-all.ru/3.3/library/xmlrpc.client.html#fault-objects)2119      - [21.26.5. Объекты ProtocolError](https://python-all.ru/3.3/library/xmlrpc.client.html#protocolerror-objects)2120      - [21.26.6. Объекты MultiCall](https://python-all.ru/3.3/library/xmlrpc.client.html#multicall-objects)2121      - [21.26.7. Вспомогательные функции](https://python-all.ru/3.3/library/xmlrpc.client.html#convenience-functions)2122      - [21.26.8. Пример использования клиента](https://python-all.ru/3.3/library/xmlrpc.client.html#example-of-client-usage)2123      - [21.26.9. Пример использования клиента и сервера](https://python-all.ru/3.3/library/xmlrpc.client.html#example-of-client-and-server-usage)2124    - [21.27. `xmlrpc.server` – базовые XML-RPC серверы](https://python-all.ru/3.3/library/xmlrpc.server.html)21252126      - [21.27.1. Объекты SimpleXMLRPCServer](https://python-all.ru/3.3/library/xmlrpc.server.html#simplexmlrpcserver-objects)21272128        - [21.27.1.1. Пример SimpleXMLRPCServer](https://python-all.ru/3.3/library/xmlrpc.server.html#simplexmlrpcserver-example)2129      - [21.27.2. CGIXMLRPCRequestHandler](https://python-all.ru/3.3/library/xmlrpc.server.html#cgixmlrpcrequesthandler)2130      - [21.27.3. Документирование сервера XMLRPC](https://python-all.ru/3.3/library/xmlrpc.server.html#documenting-xmlrpc-server)2131      - [21.27.4. Объекты DocXMLRPCServer](https://python-all.ru/3.3/library/xmlrpc.server.html#docxmlrpcserver-objects)2132      - [21.27.5. DocCGIXMLRPCRequestHandler](https://python-all.ru/3.3/library/xmlrpc.server.html#doccgixmlrpcrequesthandler)2133    - [21.28. `ipaddress` – библиотека для работы с IPv4/IPv6](https://python-all.ru/3.3/library/ipaddress.html)21342135      - [21.28.1. Вспомогательные фабричные функции](https://python-all.ru/3.3/library/ipaddress.html#convenience-factory-functions)2136      - [21.28.2. IP-адреса](https://python-all.ru/3.3/library/ipaddress.html#ip-addresses)21372138        - [21.28.2.1. Объекты адресов](https://python-all.ru/3.3/library/ipaddress.html#address-objects)2139        - [21.28.2.2. Преобразование в строки и целые числа](https://python-all.ru/3.3/library/ipaddress.html#conversion-to-strings-and-integers)2140        - [21.28.2.3. Операторы](https://python-all.ru/3.3/library/ipaddress.html#operators)21412142          - [21.28.2.3.1. Операторы сравнения](https://python-all.ru/3.3/library/ipaddress.html#comparison-operators)2143          - [21.28.2.3.2. Арифметические операторы](https://python-all.ru/3.3/library/ipaddress.html#arithmetic-operators)2144      - [21.28.3. Определения IP-сети](https://python-all.ru/3.3/library/ipaddress.html#ip-network-definitions)21452146        - [21.28.3.1. Префикс, маска сети и маска узла](https://python-all.ru/3.3/library/ipaddress.html#prefix-net-mask-and-host-mask)2147        - [21.28.3.2. Сетевые объекты](https://python-all.ru/3.3/library/ipaddress.html#network-objects)2148        - [21.28.3.3. Операторы](https://python-all.ru/3.3/library/ipaddress.html#id1)21492150          - [21.28.3.3.1. Логические операторы](https://python-all.ru/3.3/library/ipaddress.html#logical-operators)2151          - [21.28.3.3.2. Итерация](https://python-all.ru/3.3/library/ipaddress.html#iteration)2152          - [21.28.3.3.3. Сети как контейнеры адресов](https://python-all.ru/3.3/library/ipaddress.html#networks-as-containers-of-addresses)2153      - [21.28.4. Объекты интерфейса](https://python-all.ru/3.3/library/ipaddress.html#interface-objects)2154      - [21.28.5. Прочие функции уровня модуля](https://python-all.ru/3.3/library/ipaddress.html#other-module-level-functions)2155      - [21.28.6. Пользовательские исключения](https://python-all.ru/3.3/library/ipaddress.html#custom-exceptions)2156  - [22. Мультимедийные службы](https://python-all.ru/3.3/library/mm.html)21572158    - [22.1. `audioop` – работа с необработанными аудиоданными](https://python-all.ru/3.3/library/audioop.html)2159    - [22.2. `aifc` – чтение и запись файлов AIFF и AIFC](https://python-all.ru/3.3/library/aifc.html)2160    - [22.3. `sunau` – чтение и запись файлов Sun AU](https://python-all.ru/3.3/library/sunau.html)21612162      - [22.3.1. AU\_read Objects](https://python-all.ru/3.3/library/sunau.html#au-read-objects)2163      - [22.3.2. AU\_write Objects](https://python-all.ru/3.3/library/sunau.html#au-write-objects)2164    - [22.4. `wave` – чтение и запись WAV-файлов](https://python-all.ru/3.3/library/wave.html)21652166      - [22.4.1. Wave\_read Objects](https://python-all.ru/3.3/library/wave.html#wave-read-objects)2167      - [22.4.2. Wave\_write Objects](https://python-all.ru/3.3/library/wave.html#wave-write-objects)2168    - [22.5. `chunk` – чтение IFF-данных, разбитых на чанки](https://python-all.ru/3.3/library/chunk.html)2169    - [22.6. `colorsys` – преобразования между цветовыми системами](https://python-all.ru/3.3/library/colorsys.html)2170    - [22.7. `imghdr` – определение типа изображения](https://python-all.ru/3.3/library/imghdr.html)2171    - [22.8. `sndhdr` – определение типа звукового файла](https://python-all.ru/3.3/library/sndhdr.html)2172    - [22.9. `ossaudiodev` – доступ к OSS-совместимым аудиоустройствам](https://python-all.ru/3.3/library/ossaudiodev.html)21732174      - [22.9.1. Объекты аудиоустройств](https://python-all.ru/3.3/library/ossaudiodev.html#audio-device-objects)2175      - [22.9.2. Объекты микшера](https://python-all.ru/3.3/library/ossaudiodev.html#mixer-device-objects)2176  - [23. Интернационализация](https://python-all.ru/3.3/library/i18n.html)21772178    - [23.1. `gettext` – многоязычные службы интернационализации](https://python-all.ru/3.3/library/gettext.html)21792180      - [23.1.1. API GNU **gettext**](https://python-all.ru/3.3/library/gettext.html#gnu-gettext-api)2181      - [23.1.2. API на основе классов](https://python-all.ru/3.3/library/gettext.html#class-based-api)21822183        - [23.1.2.1. Класс `NullTranslations`](https://python-all.ru/3.3/library/gettext.html#the-nulltranslations-class)2184        - [23.1.2.2. Класс `GNUTranslations`](https://python-all.ru/3.3/library/gettext.html#the-gnutranslations-class)2185        - [23.1.2.3. Поддержка каталогов сообщений Solaris](https://python-all.ru/3.3/library/gettext.html#solaris-message-catalog-support)2186        - [23.1.2.4. Конструктор Catalog](https://python-all.ru/3.3/library/gettext.html#the-catalog-constructor)2187      - [23.1.3. Интернационализация программ и модулей](https://python-all.ru/3.3/library/gettext.html#internationalizing-your-programs-and-modules)21882189        - [23.1.3.1. Локализация модуля](https://python-all.ru/3.3/library/gettext.html#localizing-your-module)2190        - [23.1.3.2. Локализация приложения](https://python-all.ru/3.3/library/gettext.html#localizing-your-application)2191        - [23.1.3.3. Смена языка на лету](https://python-all.ru/3.3/library/gettext.html#changing-languages-on-the-fly)2192        - [23.1.3.4. Отложенные переводы](https://python-all.ru/3.3/library/gettext.html#deferred-translations)2193      - [23.1.4. Благодарности](https://python-all.ru/3.3/library/gettext.html#acknowledgements)2194    - [23.2. `locale` – Службы интернационализации](https://python-all.ru/3.3/library/locale.html)21952196      - [23.2.1. Предыстория, детали, подсказки, советы и предостережения](https://python-all.ru/3.3/library/locale.html#background-details-hints-tips-and-caveats)2197      - [23.2.2. Для разработчиков расширений и программ, встраивающих Python](https://python-all.ru/3.3/library/locale.html#for-extension-writers-and-programs-that-embed-python)2198      - [23.2.3. Доступ к каталогам сообщений](https://python-all.ru/3.3/library/locale.html#access-to-message-catalogs)2199  - [24. Программные каркасы](https://python-all.ru/3.3/library/frameworks.html)22002201    - [24.1. `turtle` – Черепашья графика](https://python-all.ru/3.3/library/turtle.html)22022203      - [24.1.1. Введение](https://python-all.ru/3.3/library/turtle.html#introduction)2204      - [24.1.2. Обзор доступных методов Turtle и Screen](https://python-all.ru/3.3/library/turtle.html#overview-of-available-turtle-and-screen-methods)22052206        - [24.1.2.1. Методы Turtle](https://python-all.ru/3.3/library/turtle.html#turtle-methods)2207        - [24.1.2.2. Методы TurtleScreen/Screen](https://python-all.ru/3.3/library/turtle.html#methods-of-turtlescreen-screen)2208      - [24.1.3. Методы RawTurtle/Turtle и соответствующие функции](https://python-all.ru/3.3/library/turtle.html#methods-of-rawturtle-turtle-and-corresponding-functions)22092210        - [24.1.3.1. Движение черепахи](https://python-all.ru/3.3/library/turtle.html#turtle-motion)2211        - [24.1.3.2. Состояние черепахи](https://python-all.ru/3.3/library/turtle.html#tell-turtle-s-state)2212        - [24.1.3.3. Настройки измерения](https://python-all.ru/3.3/library/turtle.html#settings-for-measurement)2213        - [24.1.3.4. Управление пером](https://python-all.ru/3.3/library/turtle.html#pen-control)22142215          - [24.1.3.4.1. Состояние рисования](https://python-all.ru/3.3/library/turtle.html#drawing-state)2216          - [24.1.3.4.2. Управление цветом](https://python-all.ru/3.3/library/turtle.html#color-control)2217          - [24.1.3.4.3. Заливка](https://python-all.ru/3.3/library/turtle.html#filling)2218          - [24.1.3.4.4. Дополнительное управление рисованием](https://python-all.ru/3.3/library/turtle.html#more-drawing-control)2219        - [24.1.3.5. Состояние черепахи](https://python-all.ru/3.3/library/turtle.html#turtle-state)22202221          - [24.1.3.5.1. Видимость](https://python-all.ru/3.3/library/turtle.html#visibility)2222          - [24.1.3.5.2. Внешний вид](https://python-all.ru/3.3/library/turtle.html#appearance)2223        - [24.1.3.6. Использование событий](https://python-all.ru/3.3/library/turtle.html#using-events)2224        - [24.1.3.7. Специальные методы Turtle](https://python-all.ru/3.3/library/turtle.html#special-turtle-methods)2225        - [24.1.3.8. Составные фигуры](https://python-all.ru/3.3/library/turtle.html#compound-shapes)2226      - [24.1.4. Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/3.3/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)22272228        - [24.1.4.1. Управление окном](https://python-all.ru/3.3/library/turtle.html#window-control)2229        - [24.1.4.2. Управление анимацией](https://python-all.ru/3.3/library/turtle.html#animation-control)2230        - [24.1.4.3. Использование событий экрана](https://python-all.ru/3.3/library/turtle.html#using-screen-events)2231        - [24.1.4.4. Методы ввода](https://python-all.ru/3.3/library/turtle.html#input-methods)2232        - [24.1.4.5. Настройки и специальные методы](https://python-all.ru/3.3/library/turtle.html#settings-and-special-methods)2233        - [24.1.4.6. Методы, специфичные для Screen, не унаследованные от TurtleScreen](https://python-all.ru/3.3/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)2234      - [24.1.5. Общедоступные классы](https://python-all.ru/3.3/library/turtle.html#public-classes)2235      - [24.1.6. Справка и настройка](https://python-all.ru/3.3/library/turtle.html#help-and-configuration)22362237        - [24.1.6.1. Как пользоваться справкой](https://python-all.ru/3.3/library/turtle.html#how-to-use-help)2238        - [24.1.6.2. Перевод строк документации на разные языки](https://python-all.ru/3.3/library/turtle.html#translation-of-docstrings-into-different-languages)2239        - [24.1.6.3. Как настроить Screen и Turtles](https://python-all.ru/3.3/library/turtle.html#how-to-configure-screen-and-turtles)2240      - [24.1.7. Демонстрационные скрипты](https://python-all.ru/3.3/library/turtle.html#demo-scripts)2241      - [24.1.8. Изменения начиная с Python 2.6](https://python-all.ru/3.3/library/turtle.html#changes-since-python-2-6)2242      - [24.1.9. Изменения начиная с Python 3.0](https://python-all.ru/3.3/library/turtle.html#changes-since-python-3-0)2243    - [24.2. `cmd` – Поддержка построчных командных интерпретаторов](https://python-all.ru/3.3/library/cmd.html)22442245      - [24.2.1. Объекты Cmd](https://python-all.ru/3.3/library/cmd.html#cmd-objects)2246      - [24.2.2. Пример Cmd](https://python-all.ru/3.3/library/cmd.html#cmd-example)2247    - [24.3. `shlex` – Простой лексический анализ](https://python-all.ru/3.3/library/shlex.html)22482249      - [24.3.1. Объекты shlex](https://python-all.ru/3.3/library/shlex.html#shlex-objects)2250      - [24.3.2. Правила синтаксического анализа](https://python-all.ru/3.3/library/shlex.html#parsing-rules)2251  - [25. Графические интерфейсы пользователя с Tk](https://python-all.ru/3.3/library/tk.html)22522253    - [25.1. `tkinter` – Интерфейс Python для Tcl/Tk](https://python-all.ru/3.3/library/tkinter.html)22542255      - [25.1.1. Модули Tkinter](https://python-all.ru/3.3/library/tkinter.html#tkinter-modules)2256      - [25.1.2. Tkinter: спасательный круг](https://python-all.ru/3.3/library/tkinter.html#tkinter-life-preserver)22572258        - [25.1.2.1. Как использовать этот раздел](https://python-all.ru/3.3/library/tkinter.html#how-to-use-this-section)2259        - [25.1.2.2. Простой пример программы «Hello World»](https://python-all.ru/3.3/library/tkinter.html#a-simple-hello-world-program)2260      - [25.1.3. Краткий обзор Tcl/Tk](https://python-all.ru/3.3/library/tkinter.html#a-very-quick-look-at-tcl-tk)2261      - [25.1.4. Отображение базового Tk в Tkinter](https://python-all.ru/3.3/library/tkinter.html#mapping-basic-tk-into-tkinter)2262      - [25.1.5. Как связаны Tk и Tkinter](https://python-all.ru/3.3/library/tkinter.html#how-tk-and-tkinter-are-related)2263      - [25.1.6. Удобный справочник](https://python-all.ru/3.3/library/tkinter.html#handy-reference)22642265        - [25.1.6.1. Настройка параметров](https://python-all.ru/3.3/library/tkinter.html#setting-options)2266        - [25.1.6.2. Упаковщик](https://python-all.ru/3.3/library/tkinter.html#the-packer)2267        - [25.1.6.3. Параметры упаковщика](https://python-all.ru/3.3/library/tkinter.html#packer-options)2268        - [25.1.6.4. Привязка переменных виджетов](https://python-all.ru/3.3/library/tkinter.html#coupling-widget-variables)2269        - [25.1.6.5. Менеджер окон](https://python-all.ru/3.3/library/tkinter.html#the-window-manager)2270        - [25.1.6.6. Типы данных параметров Tk](https://python-all.ru/3.3/library/tkinter.html#tk-option-data-types)2271        - [25.1.6.7. Привязки и события](https://python-all.ru/3.3/library/tkinter.html#bindings-and-events)2272        - [25.1.6.8. Параметр index](https://python-all.ru/3.3/library/tkinter.html#the-index-parameter)2273        - [25.1.6.9. Изображения](https://python-all.ru/3.3/library/tkinter.html#images)2274    - [25.2. `tkinter.ttk` – Тематические виджеты Tk](https://python-all.ru/3.3/library/tkinter.ttk.html)22752276      - [25.2.1. Использование Ttk](https://python-all.ru/3.3/library/tkinter.ttk.html#using-ttk)2277      - [25.2.2. Виджеты Ttk](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-widgets)2278      - [25.2.3. Виджет](https://python-all.ru/3.3/library/tkinter.ttk.html#widget)22792280        - [25.2.3.1. Стандартные параметры](https://python-all.ru/3.3/library/tkinter.ttk.html#standard-options)2281        - [25.2.3.2. Параметры прокручиваемого виджета](https://python-all.ru/3.3/library/tkinter.ttk.html#scrollable-widget-options)2282        - [25.2.3.3. Параметры метки](https://python-all.ru/3.3/library/tkinter.ttk.html#label-options)2283        - [25.2.3.4. Параметры совместимости](https://python-all.ru/3.3/library/tkinter.ttk.html#compatibility-options)2284        - [25.2.3.5. Состояния виджета](https://python-all.ru/3.3/library/tkinter.ttk.html#widget-states)2285        - [25.2.3.6. ttk.Widget](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-widget)2286      - [25.2.4. Combobox](https://python-all.ru/3.3/library/tkinter.ttk.html#combobox)22872288        - [25.2.4.1. Параметры](https://python-all.ru/3.3/library/tkinter.ttk.html#options)2289        - [25.2.4.2. Виртуальные события](https://python-all.ru/3.3/library/tkinter.ttk.html#virtual-events)2290        - [25.2.4.3. ttk.Combobox](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-combobox)2291      - [25.2.5. Notebook](https://python-all.ru/3.3/library/tkinter.ttk.html#notebook)22922293        - [25.2.5.1. Параметры](https://python-all.ru/3.3/library/tkinter.ttk.html#id1)2294        - [25.2.5.2. Параметры вкладок](https://python-all.ru/3.3/library/tkinter.ttk.html#tab-options)2295        - [25.2.5.3. Идентификаторы вкладок](https://python-all.ru/3.3/library/tkinter.ttk.html#tab-identifiers)2296        - [25.2.5.4. Виртуальные события](https://python-all.ru/3.3/library/tkinter.ttk.html#id2)2297        - [25.2.5.5. ttk.Notebook](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-notebook)2298      - [25.2.6. Progressbar](https://python-all.ru/3.3/library/tkinter.ttk.html#progressbar)22992300        - [25.2.6.1. Опции](https://python-all.ru/3.3/library/tkinter.ttk.html#id3)2301        - [25.2.6.2. ttk.Progressbar](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-progressbar)2302      - [25.2.7. Separator](https://python-all.ru/3.3/library/tkinter.ttk.html#separator)23032304        - [25.2.7.1. Опции](https://python-all.ru/3.3/library/tkinter.ttk.html#id4)2305      - [25.2.8. Sizegrip](https://python-all.ru/3.3/library/tkinter.ttk.html#sizegrip)23062307        - [25.2.8.1. Замечания по платформам](https://python-all.ru/3.3/library/tkinter.ttk.html#platform-specific-notes)2308        - [25.2.8.2. Ошибки](https://python-all.ru/3.3/library/tkinter.ttk.html#bugs)2309      - [25.2.9. Treeview](https://python-all.ru/3.3/library/tkinter.ttk.html#treeview)23102311        - [25.2.9.1. Опции](https://python-all.ru/3.3/library/tkinter.ttk.html#id5)2312        - [25.2.9.2. Опции элементов](https://python-all.ru/3.3/library/tkinter.ttk.html#item-options)2313        - [25.2.9.3. Опции тегов](https://python-all.ru/3.3/library/tkinter.ttk.html#tag-options)2314        - [25.2.9.4. Идентификаторы столбцов](https://python-all.ru/3.3/library/tkinter.ttk.html#column-identifiers)2315        - [25.2.9.5. Виртуальные события](https://python-all.ru/3.3/library/tkinter.ttk.html#id6)2316        - [25.2.9.6. ttk.Treeview](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-treeview)2317      - [25.2.10. Стилизация ttk](https://python-all.ru/3.3/library/tkinter.ttk.html#ttk-styling)23182319        - [25.2.10.1. Макеты](https://python-all.ru/3.3/library/tkinter.ttk.html#layouts)2320    - [25.3. `tkinter.tix` – Расширенные виджеты для Tk](https://python-all.ru/3.3/library/tkinter.tix.html)23212322      - [25.3.1. Использование Tix](https://python-all.ru/3.3/library/tkinter.tix.html#using-tix)2323      - [25.3.2. Виджеты Tix](https://python-all.ru/3.3/library/tkinter.tix.html#tix-widgets)23242325        - [25.3.2.1. Базовые виджеты](https://python-all.ru/3.3/library/tkinter.tix.html#basic-widgets)2326        - [25.3.2.2. Выбор файлов](https://python-all.ru/3.3/library/tkinter.tix.html#file-selectors)2327        - [25.3.2.3. Иерархический список](https://python-all.ru/3.3/library/tkinter.tix.html#hierarchical-listbox)2328        - [25.3.2.4. Табличный список](https://python-all.ru/3.3/library/tkinter.tix.html#tabular-listbox)2329        - [25.3.2.5. Виджеты-менеджеры](https://python-all.ru/3.3/library/tkinter.tix.html#manager-widgets)2330        - [25.3.2.6. Типы изображений](https://python-all.ru/3.3/library/tkinter.tix.html#image-types)2331        - [25.3.2.7. Прочие виджеты](https://python-all.ru/3.3/library/tkinter.tix.html#miscellaneous-widgets)2332        - [25.3.2.8. Менеджер геометрии Form](https://python-all.ru/3.3/library/tkinter.tix.html#form-geometry-manager)2333      - [25.3.3. Команды Tix](https://python-all.ru/3.3/library/tkinter.tix.html#tix-commands)2334    - [25.4. `tkinter.scrolledtext` – Виджет прокручиваемого текста](https://python-all.ru/3.3/library/tkinter.scrolledtext.html)2335    - [25.5. IDLE](https://python-all.ru/3.3/library/idle.html)23362337      - [25.5.1. Меню](https://python-all.ru/3.3/library/idle.html#menus)23382339        - [25.5.1.1. Меню File](https://python-all.ru/3.3/library/idle.html#file-menu)2340        - [25.5.1.2. Меню Edit](https://python-all.ru/3.3/library/idle.html#edit-menu)2341        - [25.5.1.3. Меню Windows](https://python-all.ru/3.3/library/idle.html#windows-menu)2342        - [25.5.1.4. Меню Debug](https://python-all.ru/3.3/library/idle.html#debug-menu)2343        - [25.5.1.5. Контекстное меню редактора](https://python-all.ru/3.3/library/idle.html#edit-context-menu)2344        - [25.5.1.6. Контекстное меню оболочки](https://python-all.ru/3.3/library/idle.html#shell-context-menu)2345      - [25.5.2. Основы редактирования и навигации](https://python-all.ru/3.3/library/idle.html#basic-editing-and-navigation)23462347        - [25.5.2.1. Автоматический отступ](https://python-all.ru/3.3/library/idle.html#automatic-indentation)2348        - [25.5.2.2. Окно оболочки Python](https://python-all.ru/3.3/library/idle.html#python-shell-window)2349      - [25.5.3. Цвета синтаксиса](https://python-all.ru/3.3/library/idle.html#syntax-colors)2350      - [25.5.4. Запуск](https://python-all.ru/3.3/library/idle.html#startup)23512352        - [25.5.4.1. Использование командной строки](https://python-all.ru/3.3/library/idle.html#command-line-usage)2353    - [25.6. Другие пакеты графического интерфейса пользователя](https://python-all.ru/3.3/library/othergui.html)2354  - [26. Инструменты разработки](https://python-all.ru/3.3/library/development.html)23552356    - [26.1. `pydoc` – Генератор документации и встроенная справочная система](https://python-all.ru/3.3/library/pydoc.html)2357    - [26.2. `doctest` – Тестирование интерактивных примеров Python](https://python-all.ru/3.3/library/doctest.html)23582359      - [26.2.1. Простое использование: проверка примеров в строках документации](https://python-all.ru/3.3/library/doctest.html#simple-usage-checking-examples-in-docstrings)2360      - [26.2.2. Простое использование: проверка примеров в текстовом файле](https://python-all.ru/3.3/library/doctest.html#simple-usage-checking-examples-in-a-text-file)2361      - [26.2.3. Как это работает](https://python-all.ru/3.3/library/doctest.html#how-it-works)23622363        - [26.2.3.1. Какие строки документации проверяются?](https://python-all.ru/3.3/library/doctest.html#which-docstrings-are-examined)2364        - [26.2.3.2. Как распознаются примеры в docstring?](https://python-all.ru/3.3/library/doctest.html#how-are-docstring-examples-recognized)2365        - [26.2.3.3. Каков контекст выполнения?](https://python-all.ru/3.3/library/doctest.html#what-s-the-execution-context)2366        - [26.2.3.4. Что насчёт исключений?](https://python-all.ru/3.3/library/doctest.html#what-about-exceptions)2367        - [26.2.3.5. Флаги опций](https://python-all.ru/3.3/library/doctest.html#option-flags)2368        - [26.2.3.6. Директивы](https://python-all.ru/3.3/library/doctest.html#directives)2369        - [26.2.3.7. Предупреждения](https://python-all.ru/3.3/library/doctest.html#warnings)2370      - [26.2.4. Базовый API](https://python-all.ru/3.3/library/doctest.html#basic-api)2371      - [26.2.5. API модуля unittest](https://python-all.ru/3.3/library/doctest.html#unittest-api)2372      - [26.2.6. Расширенный API](https://python-all.ru/3.3/library/doctest.html#advanced-api)23732374        - [26.2.6.1. Объекты DocTest](https://python-all.ru/3.3/library/doctest.html#doctest-objects)2375        - [26.2.6.2. Объекты Example](https://python-all.ru/3.3/library/doctest.html#example-objects)2376        - [26.2.6.3. Объекты DocTestFinder](https://python-all.ru/3.3/library/doctest.html#doctestfinder-objects)2377        - [26.2.6.4. Объекты DocTestParser](https://python-all.ru/3.3/library/doctest.html#doctestparser-objects)2378        - [26.2.6.5. Объекты DocTestRunner](https://python-all.ru/3.3/library/doctest.html#doctestrunner-objects)2379        - [26.2.6.6. Объекты OutputChecker](https://python-all.ru/3.3/library/doctest.html#outputchecker-objects)2380      - [26.2.7. Отладка](https://python-all.ru/3.3/library/doctest.html#debugging)2381      - [26.2.8. Трибуна](https://python-all.ru/3.3/library/doctest.html#soapbox)2382    - [26.3. `unittest` – Фреймворк для модульного тестирования](https://python-all.ru/3.3/library/unittest.html)23832384      - [26.3.1. Базовый пример](https://python-all.ru/3.3/library/unittest.html#basic-example)2385      - [26.3.2. Интерфейс командной строки](https://python-all.ru/3.3/library/unittest.html#command-line-interface)23862387        - [26.3.2.1. Параметры командной строки](https://python-all.ru/3.3/library/unittest.html#command-line-options)2388      - [26.3.3. Обнаружение тестов](https://python-all.ru/3.3/library/unittest.html#test-discovery)2389      - [26.3.4. Организация тестового кода](https://python-all.ru/3.3/library/unittest.html#organizing-test-code)2390      - [26.3.5. Повторное использование старого тестового кода](https://python-all.ru/3.3/library/unittest.html#re-using-old-test-code)2391      - [26.3.6. Пропуск тестов и ожидаемые сбои](https://python-all.ru/3.3/library/unittest.html#skipping-tests-and-expected-failures)2392      - [26.3.7. Классы и функции](https://python-all.ru/3.3/library/unittest.html#classes-and-functions)23932394        - [26.3.7.1. Тестовые случаи](https://python-all.ru/3.3/library/unittest.html#test-cases)23952396          - [26.3.7.1.1. Устаревшие псевдонимы](https://python-all.ru/3.3/library/unittest.html#deprecated-aliases)2397        - [26.3.7.2. Группировка тестов](https://python-all.ru/3.3/library/unittest.html#grouping-tests)2398        - [26.3.7.3. Загрузка и выполнение тестов](https://python-all.ru/3.3/library/unittest.html#loading-and-running-tests)23992400          - [26.3.7.3.1. Протокол load\_tests](https://python-all.ru/3.3/library/unittest.html#load-tests-protocol)2401      - [26.3.8. Фикстуры классов и модулей](https://python-all.ru/3.3/library/unittest.html#class-and-module-fixtures)24022403        - [26.3.8.1. setUpClass и tearDownClass](https://python-all.ru/3.3/library/unittest.html#setupclass-and-teardownclass)2404        - [26.3.8.2. setUpModule и tearDownModule](https://python-all.ru/3.3/library/unittest.html#setupmodule-and-teardownmodule)2405      - [26.3.9. Обработка сигналов](https://python-all.ru/3.3/library/unittest.html#signal-handling)2406    - [26.4. `unittest.mock` – библиотека mock-объектов](https://python-all.ru/3.3/library/unittest.mock.html)24072408      - [26.4.1. Краткое руководство](https://python-all.ru/3.3/library/unittest.mock.html#quick-guide)2409      - [26.4.2. Класс Mock](https://python-all.ru/3.3/library/unittest.mock.html#the-mock-class)24102411        - [26.4.2.1. Вызов](https://python-all.ru/3.3/library/unittest.mock.html#calling)2412        - [26.4.2.2. Удаление атрибутов](https://python-all.ru/3.3/library/unittest.mock.html#deleting-attributes)2413        - [26.4.2.3. Имена mock и атрибут name](https://python-all.ru/3.3/library/unittest.mock.html#mock-names-and-the-name-attribute)2414        - [26.4.2.4. Прикрепление имитирующих объектов как атрибутов](https://python-all.ru/3.3/library/unittest.mock.html#attaching-mocks-as-attributes)2415      - [26.4.3. Патчеры](https://python-all.ru/3.3/library/unittest.mock.html#the-patchers)24162417        - [26.4.3.1. patch](https://python-all.ru/3.3/library/unittest.mock.html#patch)2418        - [26.4.3.2. patch.object](https://python-all.ru/3.3/library/unittest.mock.html#patch-object)2419        - [26.4.3.3. patch.dict](https://python-all.ru/3.3/library/unittest.mock.html#patch-dict)2420        - [26.4.3.4. patch.multiple](https://python-all.ru/3.3/library/unittest.mock.html#patch-multiple)2421        - [26.4.3.5. Методы patch: start и stop](https://python-all.ru/3.3/library/unittest.mock.html#patch-methods-start-and-stop)2422        - [26.4.3.6. TEST\_PREFIX](https://python-all.ru/3.3/library/unittest.mock.html#test-prefix)2423        - [26.4.3.7. Вложение декораторов patch](https://python-all.ru/3.3/library/unittest.mock.html#nesting-patch-decorators)2424        - [26.4.3.8. Где выполнять patch](https://python-all.ru/3.3/library/unittest.mock.html#where-to-patch)2425        - [26.4.3.9. Патчинг дескрипторов и прокси-объектов](https://python-all.ru/3.3/library/unittest.mock.html#patching-descriptors-and-proxy-objects)2426      - [26.4.4. MagicMock и поддержка магических методов](https://python-all.ru/3.3/library/unittest.mock.html#magicmock-and-magic-method-support)24272428        - [26.4.4.1. Имитация магических методов](https://python-all.ru/3.3/library/unittest.mock.html#mocking-magic-methods)2429        - [26.4.4.2. Magic Mock](https://python-all.ru/3.3/library/unittest.mock.html#magic-mock)2430      - [26.4.5. Вспомогательные объекты](https://python-all.ru/3.3/library/unittest.mock.html#helpers)24312432        - [26.4.5.1. sentinel](https://python-all.ru/3.3/library/unittest.mock.html#sentinel)2433        - [26.4.5.2. DEFAULT](https://python-all.ru/3.3/library/unittest.mock.html#default)2434        - [26.4.5.3. call](https://python-all.ru/3.3/library/unittest.mock.html#call)2435        - [26.4.5.4. create\_autospec](https://python-all.ru/3.3/library/unittest.mock.html#create-autospec)2436        - [26.4.5.5. ANY](https://python-all.ru/3.3/library/unittest.mock.html#any)2437        - [26.4.5.6. FILTER\_DIR](https://python-all.ru/3.3/library/unittest.mock.html#filter-dir)2438        - [26.4.5.7. mock\_open](https://python-all.ru/3.3/library/unittest.mock.html#mock-open)2439        - [26.4.5.8. Автоспецификация](https://python-all.ru/3.3/library/unittest.mock.html#autospeccing)2440    - [26.5. `unittest.mock` – начало работы](https://python-all.ru/3.3/library/unittest.mock-examples.html)24412442      - [26.5.1. Использование Mock](https://python-all.ru/3.3/library/unittest.mock-examples.html#using-mock)24432444        - [26.5.1.1. Подмена методов с помощью Mock](https://python-all.ru/3.3/library/unittest.mock-examples.html#mock-patching-methods)2445        - [26.5.1.2. Mock для вызовов методов объекта](https://python-all.ru/3.3/library/unittest.mock-examples.html#mock-for-method-calls-on-an-object)2446        - [26.5.1.3. Подмена классов](https://python-all.ru/3.3/library/unittest.mock-examples.html#mocking-classes)2447        - [26.5.1.4. Именование имитирующих объектов](https://python-all.ru/3.3/library/unittest.mock-examples.html#naming-your-mocks)2448        - [26.5.1.5. Отслеживание всех вызовов](https://python-all.ru/3.3/library/unittest.mock-examples.html#tracking-all-calls)2449        - [26.5.1.6. Установка возвращаемых значений и атрибутов](https://python-all.ru/3.3/library/unittest.mock-examples.html#setting-return-values-and-attributes)2450        - [26.5.1.7. Генерация исключений с помощью имитирующих объектов](https://python-all.ru/3.3/library/unittest.mock-examples.html#raising-exceptions-with-mocks)2451        - [26.5.1.8. Функции и итерируемые объекты для побочных эффектов](https://python-all.ru/3.3/library/unittest.mock-examples.html#side-effect-functions-and-iterables)2452        - [26.5.1.9. Создание Mock из существующего объекта](https://python-all.ru/3.3/library/unittest.mock-examples.html#creating-a-mock-from-an-existing-object)2453      - [26.5.2. Декораторы подмены](https://python-all.ru/3.3/library/unittest.mock-examples.html#patch-decorators)2454      - [26.5.3. Дополнительные примеры](https://python-all.ru/3.3/library/unittest.mock-examples.html#further-examples)24552456        - [26.5.3.1. Подмена цепочечных вызовов](https://python-all.ru/3.3/library/unittest.mock-examples.html#mocking-chained-calls)2457        - [26.5.3.2. Частичная подмена](https://python-all.ru/3.3/library/unittest.mock-examples.html#partial-mocking)2458        - [26.5.3.3. Подмена метода-генератора](https://python-all.ru/3.3/library/unittest.mock-examples.html#mocking-a-generator-method)2459        - [26.5.3.4. Применение одной и той же подмены к каждому тестовому методу](https://python-all.ru/3.3/library/unittest.mock-examples.html#applying-the-same-patch-to-every-test-method)2460        - [26.5.3.5. Подмена несвязанных методов](https://python-all.ru/3.3/library/unittest.mock-examples.html#mocking-unbound-methods)2461        - [26.5.3.6. Проверка нескольких вызовов с помощью mock](https://python-all.ru/3.3/library/unittest.mock-examples.html#checking-multiple-calls-with-mock)2462        - [26.5.3.7. Работа с изменяемыми аргументами](https://python-all.ru/3.3/library/unittest.mock-examples.html#coping-with-mutable-arguments)2463        - [26.5.3.8. Вложение подмен](https://python-all.ru/3.3/library/unittest.mock-examples.html#nesting-patches)2464        - [26.5.3.9. Подмена словаря с помощью MagicMock](https://python-all.ru/3.3/library/unittest.mock-examples.html#mocking-a-dictionary-with-magicmock)2465        - [26.5.3.10. Подклассы Mock и их атрибуты](https://python-all.ru/3.3/library/unittest.mock-examples.html#mock-subclasses-and-their-attributes)2466        - [26.5.3.11. Подмена импортов с помощью patch.dict](https://python-all.ru/3.3/library/unittest.mock-examples.html#mocking-imports-with-patch-dict)2467        - [26.5.3.12. Отслеживание порядка вызовов и компактные проверки вызовов](https://python-all.ru/3.3/library/unittest.mock-examples.html#tracking-order-of-calls-and-less-verbose-call-assertions)2468        - [26.5.3.13. Более сложное сопоставление аргументов](https://python-all.ru/3.3/library/unittest.mock-examples.html#more-complex-argument-matching)2469    - [26.6. 2to3 – автоматическое преобразование кода Python 2 в 3](https://python-all.ru/3.3/library/2to3.html)24702471      - [26.6.1. Использование 2to3](https://python-all.ru/3.3/library/2to3.html#using-2to3)2472      - [26.6.2. Фиксаторы](https://python-all.ru/3.3/library/2to3.html#fixers)2473      - [26.6.3. `lib2to3` - библиотека 2to3](https://python-all.ru/3.3/library/2to3.html#module-lib2to3)2474    - [26.7. `test` – пакет регрессионного тестирования для Python](https://python-all.ru/3.3/library/test.html)24752476      - [26.7.1. Написание модульных тестов для пакета `test`](https://python-all.ru/3.3/library/test.html#writing-unit-tests-for-the-test-package)2477      - [26.7.2. Запуск тестов через интерфейс командной строки](https://python-all.ru/3.3/library/test.html#running-tests-using-the-command-line-interface)2478    - [26.8. `test.support` – утилиты для набора тестов Python](https://python-all.ru/3.3/library/test.html#module-test.support)2479    - [26.9. `venv` – Создание виртуальных окружений](https://python-all.ru/3.3/library/venv.html)24802481      - [26.9.1. Создание виртуальных окружений](https://python-all.ru/3.3/library/venv.html#creating-virtual-environments)2482      - [26.9.2. API](https://python-all.ru/3.3/library/venv.html#api)2483      - [26.9.3. Пример расширения `EnvBuilder`](https://python-all.ru/3.3/library/venv.html#an-example-of-extending-envbuilder)2484  - [27. Отладка и профилирование](https://python-all.ru/3.3/library/debug.html)24852486    - [27.1. `bdb` – Фреймворк отладчика](https://python-all.ru/3.3/library/bdb.html)2487    - [27.2. `faulthandler` – Дамп трассировки Python](https://python-all.ru/3.3/library/faulthandler.html)24882489      - [27.2.1. Дамп трассировки](https://python-all.ru/3.3/library/faulthandler.html#dump-the-traceback)2490      - [27.2.2. Состояние обработчика сбоев](https://python-all.ru/3.3/library/faulthandler.html#fault-handler-state)2491      - [27.2.3. Дамп трассировки после тайм-аута](https://python-all.ru/3.3/library/faulthandler.html#dump-the-tracebacks-after-a-timeout)2492      - [27.2.4. Дамп трассировки по сигналу пользователя](https://python-all.ru/3.3/library/faulthandler.html#dump-the-traceback-on-a-user-signal)2493      - [27.2.5. Проблема файлового дескриптора](https://python-all.ru/3.3/library/faulthandler.html#file-descriptor-issue)2494      - [27.2.6. Пример](https://python-all.ru/3.3/library/faulthandler.html#example)2495    - [27.3. `pdb` – Отладчик Python](https://python-all.ru/3.3/library/pdb.html)24962497      - [27.3.1. Команды отладчика](https://python-all.ru/3.3/library/pdb.html#debugger-commands)2498    - [27.4. Профилировщики Python](https://python-all.ru/3.3/library/profile.html)24992500      - [27.4.1. Введение в профилировщики](https://python-all.ru/3.3/library/profile.html#introduction-to-the-profilers)2501      - [27.4.2. Краткое руководство пользователя](https://python-all.ru/3.3/library/profile.html#instant-user-s-manual)2502      - [27.4.3. `profile` и `cProfile` Справочник модулей](https://python-all.ru/3.3/library/profile.html#module-cProfile)2503      - [27.4.4. Класс `Stats`](https://python-all.ru/3.3/library/profile.html#the-stats-class)2504      - [27.4.5. Что такое детерминированное профилирование?](https://python-all.ru/3.3/library/profile.html#what-is-deterministic-profiling)2505      - [27.4.6. Ограничения](https://python-all.ru/3.3/library/profile.html#limitations)2506      - [27.4.7. Калибровка](https://python-all.ru/3.3/library/profile.html#calibration)2507      - [27.4.8. Использование пользовательского таймера](https://python-all.ru/3.3/library/profile.html#using-a-custom-timer)2508    - [27.5. `timeit` – Измерение времени выполнения небольших фрагментов кода](https://python-all.ru/3.3/library/timeit.html)25092510      - [27.5.1. Основные примеры](https://python-all.ru/3.3/library/timeit.html#basic-examples)2511      - [27.5.2. Интерфейс Python](https://python-all.ru/3.3/library/timeit.html#python-interface)2512      - [27.5.3. Интерфейс командной строки](https://python-all.ru/3.3/library/timeit.html#command-line-interface)2513      - [27.5.4. Примеры](https://python-all.ru/3.3/library/timeit.html#examples)2514    - [27.6. `trace` – Трассировка или отслеживание выполнения инструкций Python](https://python-all.ru/3.3/library/trace.html)25152516      - [27.6.1. Использование командной строки](https://python-all.ru/3.3/library/trace.html#command-line-usage)25172518        - [27.6.1.1. Основные параметры](https://python-all.ru/3.3/library/trace.html#main-options)2519        - [27.6.1.2. Модификаторы](https://python-all.ru/3.3/library/trace.html#modifiers)2520        - [27.6.1.3. Фильтры](https://python-all.ru/3.3/library/trace.html#filters)2521      - [27.6.2. Программный интерфейс](https://python-all.ru/3.3/library/trace.html#programmatic-interface)2522  - [28. Службы среды выполнения Python](https://python-all.ru/3.3/library/python.html)25232524    - [28.1. `sys` – Системно-зависимые параметры и функции](https://python-all.ru/3.3/library/sys.html)2525    - [28.2. `sysconfig` – Предоставляет доступ к информации о конфигурации Python](https://python-all.ru/3.3/library/sysconfig.html)25262527      - [28.2.1. Переменные конфигурации](https://python-all.ru/3.3/library/sysconfig.html#configuration-variables)2528      - [28.2.2. Пути установки](https://python-all.ru/3.3/library/sysconfig.html#installation-paths)2529      - [28.2.3. Другие функции](https://python-all.ru/3.3/library/sysconfig.html#other-functions)2530      - [28.2.4. Использование `sysconfig` в качестве скрипта](https://python-all.ru/3.3/library/sysconfig.html#using-sysconfig-as-a-script)2531    - [28.3. `builtins` – Встроенные объекты](https://python-all.ru/3.3/library/builtins.html)2532    - [28.4. `__main__` – Среда скрипта верхнего уровня](https://python-all.ru/3.3/library/__main__.html)2533    - [28.5. `warnings` – Управление предупреждениями](https://python-all.ru/3.3/library/warnings.html)25342535      - [28.5.1. Категории предупреждений](https://python-all.ru/3.3/library/warnings.html#warning-categories)2536      - [28.5.2. Фильтр предупреждений](https://python-all.ru/3.3/library/warnings.html#the-warnings-filter)25372538        - [28.5.2.1. Фильтры предупреждений по умолчанию](https://python-all.ru/3.3/library/warnings.html#default-warning-filters)2539      - [28.5.3. Временное подавление предупреждений](https://python-all.ru/3.3/library/warnings.html#temporarily-suppressing-warnings)2540      - [28.5.4. Тестирование предупреждений](https://python-all.ru/3.3/library/warnings.html#testing-warnings)2541      - [28.5.5. Обновление кода для новых версий Python](https://python-all.ru/3.3/library/warnings.html#updating-code-for-new-versions-of-python)2542      - [28.5.6. Доступные функции](https://python-all.ru/3.3/library/warnings.html#available-functions)2543      - [28.5.7. Доступные менеджеры контекста](https://python-all.ru/3.3/library/warnings.html#available-context-managers)2544    - [28.6. `contextlib` – Утилиты для контекстов оператора `with`](https://python-all.ru/3.3/library/contextlib.html)25452546      - [28.6.1. Утилиты](https://python-all.ru/3.3/library/contextlib.html#utilities)2547      - [28.6.2. Примеры и рецепты](https://python-all.ru/3.3/library/contextlib.html#examples-and-recipes)25482549        - [28.6.2.1. Поддержка переменного числа менеджеров контекста](https://python-all.ru/3.3/library/contextlib.html#supporting-a-variable-number-of-context-managers)2550        - [28.6.2.2. Упрощение поддержки одного опционального менеджера контекста](https://python-all.ru/3.3/library/contextlib.html#simplifying-support-for-single-optional-context-managers)2551        - [28.6.2.3. Перехват исключений из методов `__enter__`](https://python-all.ru/3.3/library/contextlib.html#catching-exceptions-from-enter-methods)2552        - [28.6.2.4. Очистка в реализации `__enter__`](https://python-all.ru/3.3/library/contextlib.html#cleaning-up-in-an-enter-implementation)2553        - [28.6.2.5. Замена любого использования `try-finally` и флаговых переменных](https://python-all.ru/3.3/library/contextlib.html#replacing-any-use-of-try-finally-and-flag-variables)2554        - [28.6.2.6. Использование менеджера контекста в качестве декоратора функции](https://python-all.ru/3.3/library/contextlib.html#using-a-context-manager-as-a-function-decorator)2555    - [28.7. `abc` – Абстрактные базовые классы](https://python-all.ru/3.3/library/abc.html)2556    - [28.8. `atexit` – Обработчики завершения](https://python-all.ru/3.3/library/atexit.html)25572558      - [28.8.1. Пример `atexit`](https://python-all.ru/3.3/library/atexit.html#atexit-example)2559    - [28.9. `traceback` – Вывод или получение трассировки стека](https://python-all.ru/3.3/library/traceback.html)25602561      - [28.9.1. Примеры трассировки](https://python-all.ru/3.3/library/traceback.html#traceback-examples)2562    - [28.10. `__future__` – Определения операторов future](https://python-all.ru/3.3/library/__future__.html)2563    - [28.11. `gc` – Интерфейс сборщика мусора](https://python-all.ru/3.3/library/gc.html)2564    - [28.12. `inspect` – Инспекция активных объектов](https://python-all.ru/3.3/library/inspect.html)25652566      - [28.12.1. Типы и члены](https://python-all.ru/3.3/library/inspect.html#types-and-members)2567      - [28.12.2. Получение исходного кода](https://python-all.ru/3.3/library/inspect.html#retrieving-source-code)2568      - [28.12.3. Интроспекция вызываемых объектов с помощью объекта Signature](https://python-all.ru/3.3/library/inspect.html#introspecting-callables-with-the-signature-object)2569      - [28.12.4. Классы и функции](https://python-all.ru/3.3/library/inspect.html#classes-and-functions)2570      - [28.12.5. Стек интерпретатора](https://python-all.ru/3.3/library/inspect.html#the-interpreter-stack)2571      - [28.12.6. Статическое получение атрибутов](https://python-all.ru/3.3/library/inspect.html#fetching-attributes-statically)2572      - [28.12.7. Текущее состояние генератора](https://python-all.ru/3.3/library/inspect.html#current-state-of-a-generator)2573    - [28.13. `site` – Привязка конфигурации к конкретному сайту](https://python-all.ru/3.3/library/site.html)2574    - [28.14. `fpectl` – Управление исключениями с плавающей запятой](https://python-all.ru/3.3/library/fpectl.html)25752576      - [28.14.1. Пример](https://python-all.ru/3.3/library/fpectl.html#example)2577      - [28.14.2. Ограничения и прочие замечания](https://python-all.ru/3.3/library/fpectl.html#limitations-and-other-considerations)2578    - [28.15. `distutils` – Сборка и установка модулей Python](https://python-all.ru/3.3/library/distutils.html)2579  - [29. Пользовательские интерпретаторы Python](https://python-all.ru/3.3/library/custominterp.html)25802581    - [29.1. `code` – Базовые классы интерпретатора](https://python-all.ru/3.3/library/code.html)25822583      - [29.1.1. Объекты интерактивного интерпретатора](https://python-all.ru/3.3/library/code.html#interactive-interpreter-objects)2584      - [29.1.2. Объекты интерактивной консоли](https://python-all.ru/3.3/library/code.html#interactive-console-objects)2585    - [29.2. `codeop` – Компиляция кода Python](https://python-all.ru/3.3/library/codeop.html)2586  - [30. Импорт модулей](https://python-all.ru/3.3/library/modules.html)25872588    - [30.1. `imp` – Доступ к внутреннему устройству `import`](https://python-all.ru/3.3/library/imp.html)25892590      - [30.1.1. Примеры](https://python-all.ru/3.3/library/imp.html#examples)2591    - [30.2. `zipimport` – Импорт модулей из Zip-архивов](https://python-all.ru/3.3/library/zipimport.html)25922593      - [30.2.1. Объекты zipimporter](https://python-all.ru/3.3/library/zipimport.html#zipimporter-objects)2594      - [30.2.2. Примеры](https://python-all.ru/3.3/library/zipimport.html#examples)2595    - [30.3. `pkgutil` – Утилита расширения пакетов](https://python-all.ru/3.3/library/pkgutil.html)2596    - [30.4. `modulefinder` – Поиск модулей, используемых скриптом](https://python-all.ru/3.3/library/modulefinder.html)25972598      - [30.4.1. Пример использования `ModuleFinder`](https://python-all.ru/3.3/library/modulefinder.html#example-usage-of-modulefinder)2599    - [30.5. `runpy` – Поиск и выполнение модулей Python](https://python-all.ru/3.3/library/runpy.html)2600    - [30.6. `importlib` – Реализация `import`](https://python-all.ru/3.3/library/importlib.html)26012602      - [30.6.1. Введение](https://python-all.ru/3.3/library/importlib.html#introduction)2603      - [30.6.2. Функции](https://python-all.ru/3.3/library/importlib.html#functions)2604      - [30.6.3. `importlib.abc` – Абстрактные базовые классы, связанные с импортом](https://python-all.ru/3.3/library/importlib.html#module-importlib.abc)2605      - [30.6.4. `importlib.machinery` – Импортёры и хуки путей](https://python-all.ru/3.3/library/importlib.html#module-importlib.machinery)2606      - [30.6.5. `importlib.util` – Вспомогательный код для импортёров](https://python-all.ru/3.3/library/importlib.html#module-importlib.util)2607  - [31. Языковые средства Python](https://python-all.ru/3.3/library/language.html)26082609    - [31.1. `parser` – Доступ к деревьям разбора Python](https://python-all.ru/3.3/library/parser.html)26102611      - [31.1.1. Создание объектов ST](https://python-all.ru/3.3/library/parser.html#creating-st-objects)2612      - [31.1.2. Преобразование объектов ST](https://python-all.ru/3.3/library/parser.html#converting-st-objects)2613      - [31.1.3. Запросы к объектам ST](https://python-all.ru/3.3/library/parser.html#queries-on-st-objects)2614      - [31.1.4. Исключения и обработка ошибок](https://python-all.ru/3.3/library/parser.html#exceptions-and-error-handling)2615      - [31.1.5. Объекты ST](https://python-all.ru/3.3/library/parser.html#st-objects)2616      - [31.1.6. Пример: эмуляция `compile()`](https://python-all.ru/3.3/library/parser.html#example-emulation-of-compile)2617    - [31.2. `ast` – Абстрактные синтаксические деревья](https://python-all.ru/3.3/library/ast.html)26182619      - [31.2.1. Классы узлов](https://python-all.ru/3.3/library/ast.html#node-classes)2620      - [31.2.2. Абстрактная грамматика](https://python-all.ru/3.3/library/ast.html#abstract-grammar)2621      - [31.2.3. `ast` Вспомогательные функции](https://python-all.ru/3.3/library/ast.html#ast-helpers)2622    - [31.3. `symtable` – Доступ к таблицам символов компилятора](https://python-all.ru/3.3/library/symtable.html)26232624      - [31.3.1. Генерация таблиц символов](https://python-all.ru/3.3/library/symtable.html#generating-symbol-tables)2625      - [31.3.2. Изучение таблиц символов](https://python-all.ru/3.3/library/symtable.html#examining-symbol-tables)2626    - [31.4. `symbol` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.3/library/symbol.html)2627    - [31.5. `token` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.3/library/token.html)2628    - [31.6. `keyword` – Проверка ключевых слов Python](https://python-all.ru/3.3/library/keyword.html)2629    - [31.7. `tokenize` – Токенизатор исходного кода Python](https://python-all.ru/3.3/library/tokenize.html)26302631      - [31.7.1. Токенизация входных данных](https://python-all.ru/3.3/library/tokenize.html#tokenizing-input)2632      - [31.7.2. Использование из командной строки](https://python-all.ru/3.3/library/tokenize.html#command-line-usage)2633      - [31.7.3. Примеры](https://python-all.ru/3.3/library/tokenize.html#examples)2634    - [31.8. `tabnanny` – Обнаружение неоднозначных отступов](https://python-all.ru/3.3/library/tabnanny.html)2635    - [31.9. `pyclbr` – Поддержка просмотра классов Python](https://python-all.ru/3.3/library/pyclbr.html)26362637      - [31.9.1. Объекты классов](https://python-all.ru/3.3/library/pyclbr.html#class-objects)2638      - [31.9.2. Объекты функций](https://python-all.ru/3.3/library/pyclbr.html#function-objects)2639    - [31.10. `py_compile` – Компиляция исходных файлов Python](https://python-all.ru/3.3/library/py_compile.html)2640    - [31.11. `compileall` – Байт-компиляция библиотек Python](https://python-all.ru/3.3/library/compileall.html)26412642      - [31.11.1. Использование из командной строки](https://python-all.ru/3.3/library/compileall.html#command-line-use)2643      - [31.11.2. Публичные функции](https://python-all.ru/3.3/library/compileall.html#public-functions)2644    - [31.12. `dis` – Дизассемблер для байт-кода Python](https://python-all.ru/3.3/library/dis.html)26452646      - [31.12.1. Инструкции байт-кода Python](https://python-all.ru/3.3/library/dis.html#python-bytecode-instructions)2647    - [31.13. `pickletools` – Инструменты для разработчиков pickle](https://python-all.ru/3.3/library/pickletools.html)26482649      - [31.13.1. Использование командной строки](https://python-all.ru/3.3/library/pickletools.html#command-line-usage)26502651        - [31.13.1.1. Параметры командной строки](https://python-all.ru/3.3/library/pickletools.html#command-line-options)2652      - [31.13.2. Программный интерфейс](https://python-all.ru/3.3/library/pickletools.html#programmatic-interface)2653  - [32. Разные службы](https://python-all.ru/3.3/library/misc.html)26542655    - [32.1. `formatter` – Универсальное форматирование вывода](https://python-all.ru/3.3/library/formatter.html)26562657      - [32.1.1. Интерфейс Formatter](https://python-all.ru/3.3/library/formatter.html#the-formatter-interface)2658      - [32.1.2. Реализации Formatter](https://python-all.ru/3.3/library/formatter.html#formatter-implementations)2659      - [32.1.3. Интерфейс Writer](https://python-all.ru/3.3/library/formatter.html#the-writer-interface)2660      - [32.1.4. Реализации Writer](https://python-all.ru/3.3/library/formatter.html#writer-implementations)2661  - [33. Службы для MS Windows](https://python-all.ru/3.3/library/windows.html)26622663    - [33.1. `msilib` – Чтение и запись файлов Microsoft Installer](https://python-all.ru/3.3/library/msilib.html)26642665      - [33.1.1. Объекты базы данных](https://python-all.ru/3.3/library/msilib.html#database-objects)2666      - [33.1.2. Объекты представлений](https://python-all.ru/3.3/library/msilib.html#view-objects)2667      - [33.1.3. Объекты сводной информации](https://python-all.ru/3.3/library/msilib.html#summary-information-objects)2668      - [33.1.4. Объекты записей](https://python-all.ru/3.3/library/msilib.html#record-objects)2669      - [33.1.5. Ошибки](https://python-all.ru/3.3/library/msilib.html#errors)2670      - [33.1.6. Объекты CAB](https://python-all.ru/3.3/library/msilib.html#cab-objects)2671      - [33.1.7. Объекты каталогов](https://python-all.ru/3.3/library/msilib.html#directory-objects)2672      - [33.1.8. Компоненты](https://python-all.ru/3.3/library/msilib.html#features)2673      - [33.1.9. Классы графического интерфейса](https://python-all.ru/3.3/library/msilib.html#gui-classes)2674      - [33.1.10. Предвычисленные таблицы](https://python-all.ru/3.3/library/msilib.html#precomputed-tables)2675    - [33.2. `msvcrt` – Полезные процедуры из среды выполнения MS VC++](https://python-all.ru/3.3/library/msvcrt.html)26762677      - [33.2.1. Операции с файлами](https://python-all.ru/3.3/library/msvcrt.html#file-operations)2678      - [33.2.2. Ввод-вывод консоли](https://python-all.ru/3.3/library/msvcrt.html#console-i-o)2679      - [33.2.3. Прочие функции](https://python-all.ru/3.3/library/msvcrt.html#other-functions)2680    - [33.3. `winreg` – Доступ к реестру Windows](https://python-all.ru/3.3/library/winreg.html)26812682      - [33.3.1. Функции](https://python-all.ru/3.3/library/winreg.html#functions)2683      - [33.3.2. Константы](https://python-all.ru/3.3/library/winreg.html#constants)26842685        - [33.3.2.1. Константы HKEY\_\*](https://python-all.ru/3.3/library/winreg.html#hkey-constants)2686        - [33.3.2.2. Права доступа](https://python-all.ru/3.3/library/winreg.html#access-rights)26872688          - [33.3.2.2.1. Специфичное для 64-разрядных систем](https://python-all.ru/3.3/library/winreg.html#bit-specific)2689        - [33.3.2.3. Типы значений](https://python-all.ru/3.3/library/winreg.html#value-types)2690      - [33.3.3. Объекты дескрипторов реестра](https://python-all.ru/3.3/library/winreg.html#registry-handle-objects)2691    - [33.4. `winsound` – Интерфейс воспроизведения звука для Windows](https://python-all.ru/3.3/library/winsound.html)2692  - [34. Специфические для Unix службы](https://python-all.ru/3.3/library/unix.html)26932694    - [34.1. `posix` – Самые распространённые системные вызовы POSIX](https://python-all.ru/3.3/library/posix.html)26952696      - [34.1.1. Поддержка больших файлов](https://python-all.ru/3.3/library/posix.html#large-file-support)2697      - [34.1.2. Примечательное содержимое модуля](https://python-all.ru/3.3/library/posix.html#notable-module-contents)2698    - [34.2. `pwd` – База данных паролей](https://python-all.ru/3.3/library/pwd.html)2699    - [34.3. `spwd` – База данных теневых паролей](https://python-all.ru/3.3/library/spwd.html)2700    - [34.4. `grp` – База данных групп](https://python-all.ru/3.3/library/grp.html)2701    - [34.5. `crypt` – Функция проверки паролей Unix](https://python-all.ru/3.3/library/crypt.html)27022703      - [34.5.1. Методы хеширования](https://python-all.ru/3.3/library/crypt.html#hashing-methods)2704      - [34.5.2. Атрибуты модуля](https://python-all.ru/3.3/library/crypt.html#module-attributes)2705      - [34.5.3. Функции модуля](https://python-all.ru/3.3/library/crypt.html#module-functions)2706      - [34.5.4. Примеры](https://python-all.ru/3.3/library/crypt.html#examples)2707    - [34.6. `termios` – Управление tty в стиле POSIX](https://python-all.ru/3.3/library/termios.html)27082709      - [34.6.1. Пример](https://python-all.ru/3.3/library/termios.html#example)2710    - [34.7. `tty` – Функции управления терминалом](https://python-all.ru/3.3/library/tty.html)2711    - [34.8. `pty` – Утилиты псевдотерминалов](https://python-all.ru/3.3/library/pty.html)27122713      - [34.8.1. Пример](https://python-all.ru/3.3/library/pty.html#example)2714    - [34.9. `fcntl` – Системные вызовы `fcntl` и `ioctl`](https://python-all.ru/3.3/library/fcntl.html)2715    - [34.10. `pipes` – Интерфейс к конвейерам командной оболочки](https://python-all.ru/3.3/library/pipes.html)27162717      - [34.10.1. Объекты шаблонов](https://python-all.ru/3.3/library/pipes.html#template-objects)2718    - [34.11. `resource` – Информация об использовании ресурсов](https://python-all.ru/3.3/library/resource.html)27192720      - [34.11.1. Ограничения ресурсов](https://python-all.ru/3.3/library/resource.html#resource-limits)2721      - [34.11.2. Использование ресурсов](https://python-all.ru/3.3/library/resource.html#resource-usage)2722    - [34.12. `nis` – Интерфейс к NIS (Yellow Pages) от Sun](https://python-all.ru/3.3/library/nis.html)2723    - [34.13. `syslog` – Библиотечные процедуры syslog Unix](https://python-all.ru/3.3/library/syslog.html)27242725      - [34.13.1. Примеры](https://python-all.ru/3.3/library/syslog.html#examples)27262727        - [34.13.1.1. Простой пример](https://python-all.ru/3.3/library/syslog.html#simple-example)2728  - [35. Не документированные модули](https://python-all.ru/3.3/library/undoc.html)27292730    - [35.1. Платформозависимые модули](https://python-all.ru/3.3/library/undoc.html#platform-specific-modules)2731- [Расширение и встраивание интерпретатора Python](https://python-all.ru/3.3/extending/index.html)27322733  - [1. Расширение Python с помощью C или C++](https://python-all.ru/3.3/extending/extending.html)27342735    - [1.1. Простой пример](https://python-all.ru/3.3/extending/extending.html#a-simple-example)2736    - [1.2. Интермеццо: ошибки и исключения](https://python-all.ru/3.3/extending/extending.html#intermezzo-errors-and-exceptions)2737    - [1.3. Возвращение к примеру](https://python-all.ru/3.3/extending/extending.html#back-to-the-example)2738    - [1.4. Таблица методов модуля и функция инициализации](https://python-all.ru/3.3/extending/extending.html#the-module-s-method-table-and-initialization-function)2739    - [1.5. Компиляция и компоновка](https://python-all.ru/3.3/extending/extending.html#compilation-and-linkage)2740    - [1.6. Вызов функций Python из C](https://python-all.ru/3.3/extending/extending.html#calling-python-functions-from-c)2741    - [1.7. Извлечение параметров в функциях расширения](https://python-all.ru/3.3/extending/extending.html#extracting-parameters-in-extension-functions)2742    - [1.8. Именованные параметры для функций расширения](https://python-all.ru/3.3/extending/extending.html#keyword-parameters-for-extension-functions)2743    - [1.9. Построение произвольных значений](https://python-all.ru/3.3/extending/extending.html#building-arbitrary-values)2744    - [1.10. Счетчики ссылок](https://python-all.ru/3.3/extending/extending.html#reference-counts)27452746      - [1.10.1. Подсчёт ссылок в Python](https://python-all.ru/3.3/extending/extending.html#reference-counting-in-python)2747      - [1.10.2. Правила владения](https://python-all.ru/3.3/extending/extending.html#ownership-rules)2748      - [1.10.3. Тонкий лёд](https://python-all.ru/3.3/extending/extending.html#thin-ice)2749      - [1.10.4. Указатели NULL](https://python-all.ru/3.3/extending/extending.html#null-pointers)2750    - [1.11. Написание расширений на C++](https://python-all.ru/3.3/extending/extending.html#writing-extensions-in-c)2751    - [1.12. Предоставление C API для модуля расширения](https://python-all.ru/3.3/extending/extending.html#providing-a-c-api-for-an-extension-module)2752  - [2. Определение новых типов](https://python-all.ru/3.3/extending/newtypes.html)27532754    - [2.1. Основы](https://python-all.ru/3.3/extending/newtypes.html#the-basics)27552756      - [2.1.1. Добавление данных и методов в базовый пример](https://python-all.ru/3.3/extending/newtypes.html#adding-data-and-methods-to-the-basic-example)2757      - [2.1.2. Обеспечение более тонкого контроля над атрибутами данных](https://python-all.ru/3.3/extending/newtypes.html#providing-finer-control-over-data-attributes)2758      - [2.1.3. Поддержка циклической сборки мусора](https://python-all.ru/3.3/extending/newtypes.html#supporting-cyclic-garbage-collection)2759      - [2.1.4. Наследование от других типов](https://python-all.ru/3.3/extending/newtypes.html#subclassing-other-types)2760    - [2.2. Методы типов](https://python-all.ru/3.3/extending/newtypes.html#type-methods)27612762      - [2.2.1. Финализация и освобождение памяти](https://python-all.ru/3.3/extending/newtypes.html#finalization-and-de-allocation)2763      - [2.2.2. Представление объекта](https://python-all.ru/3.3/extending/newtypes.html#object-presentation)2764      - [2.2.3. Управление атрибутами](https://python-all.ru/3.3/extending/newtypes.html#attribute-management)27652766        - [2.2.3.1. Общее управление атрибутами](https://python-all.ru/3.3/extending/newtypes.html#generic-attribute-management)2767        - [2.2.3.2. Управление атрибутами, специфичными для типа](https://python-all.ru/3.3/extending/newtypes.html#type-specific-attribute-management)2768      - [2.2.4. Сравнение объектов](https://python-all.ru/3.3/extending/newtypes.html#object-comparison)2769      - [2.2.5. Поддержка абстрактных протоколов](https://python-all.ru/3.3/extending/newtypes.html#abstract-protocol-support)2770      - [2.2.6. Поддержка слабых ссылок](https://python-all.ru/3.3/extending/newtypes.html#weak-reference-support)2771      - [2.2.7. Дополнительные рекомендации](https://python-all.ru/3.3/extending/newtypes.html#more-suggestions)2772  - [3. Сборка расширений на C и C++ с помощью distutils](https://python-all.ru/3.3/extending/building.html)27732774    - [3.1. Распространение модулей расширения](https://python-all.ru/3.3/extending/building.html#distributing-your-extension-modules)2775  - [4. Сборка расширений C и C++ в Windows](https://python-all.ru/3.3/extending/windows.html)27762777    - [4.1. Подход «Кулинарная книга»](https://python-all.ru/3.3/extending/windows.html#a-cookbook-approach)2778    - [4.2. Различия между Unix и Windows](https://python-all.ru/3.3/extending/windows.html#differences-between-unix-and-windows)2779    - [4.3. Использование DLL на практике](https://python-all.ru/3.3/extending/windows.html#using-dlls-in-practice)2780  - [5. Встраивание Python в другое приложение](https://python-all.ru/3.3/extending/embedding.html)27812782    - [5.1. Встраивание очень высокого уровня](https://python-all.ru/3.3/extending/embedding.html#very-high-level-embedding)2783    - [5.2. За пределами встраивания очень высокого уровня: обзор](https://python-all.ru/3.3/extending/embedding.html#beyond-very-high-level-embedding-an-overview)2784    - [5.3. Чистое встраивание](https://python-all.ru/3.3/extending/embedding.html#pure-embedding)2785    - [5.4. Расширение встроенного Python](https://python-all.ru/3.3/extending/embedding.html#extending-embedded-python)2786    - [5.5. Встраивание Python в C++](https://python-all.ru/3.3/extending/embedding.html#embedding-python-in-c)2787    - [5.6. Компиляция и компоновка в Unix-подобных системах](https://python-all.ru/3.3/extending/embedding.html#compiling-and-linking-under-unix-like-systems)2788- [Справочное руководство по Python/C API](https://python-all.ru/3.3/c-api/index.html)27892790  - [Введение](https://python-all.ru/3.3/c-api/intro.html)27912792    - [Заголовочные файлы](https://python-all.ru/3.3/c-api/intro.html#include-files)2793    - [Объекты, типы и счетчики ссылок](https://python-all.ru/3.3/c-api/intro.html#objects-types-and-reference-counts)27942795      - [Счётчики ссылок](https://python-all.ru/3.3/c-api/intro.html#reference-counts)27962797        - [Подробности подсчёта ссылок](https://python-all.ru/3.3/c-api/intro.html#reference-count-details)2798      - [Типы](https://python-all.ru/3.3/c-api/intro.html#types)2799    - [Исключения](https://python-all.ru/3.3/c-api/intro.html#exceptions)2800    - [Встраивание Python](https://python-all.ru/3.3/c-api/intro.html#embedding-python)2801    - [Отладочные сборки](https://python-all.ru/3.3/c-api/intro.html#debugging-builds)2802  - [Стабильный ABI](https://python-all.ru/3.3/c-api/stable.html)2803  - [Очень высокоуровневый слой](https://python-all.ru/3.3/c-api/veryhigh.html)2804  - [Подсчёт ссылок](https://python-all.ru/3.3/c-api/refcounting.html)2805  - [Обработка исключений](https://python-all.ru/3.3/c-api/exceptions.html)28062807    - [Объекты исключений](https://python-all.ru/3.3/c-api/exceptions.html#exception-objects)2808    - [Объекты исключений Unicode](https://python-all.ru/3.3/c-api/exceptions.html#unicode-exception-objects)2809    - [Управление рекурсией](https://python-all.ru/3.3/c-api/exceptions.html#recursion-control)2810    - [Стандартные исключения](https://python-all.ru/3.3/c-api/exceptions.html#standard-exceptions)2811  - [Утилиты](https://python-all.ru/3.3/c-api/utilities.html)28122813    - [Утилиты операционной системы](https://python-all.ru/3.3/c-api/sys.html)2814    - [Системные функции](https://python-all.ru/3.3/c-api/sys.html#system-functions)2815    - [Управление процессами](https://python-all.ru/3.3/c-api/sys.html#process-control)2816    - [Импорт модулей](https://python-all.ru/3.3/c-api/import.html)2817    - [Поддержка маршалинга данных](https://python-all.ru/3.3/c-api/marshal.html)2818    - [Разбор аргументов и сборка значений](https://python-all.ru/3.3/c-api/arg.html)28192820      - [Разбор аргументов](https://python-all.ru/3.3/c-api/arg.html#parsing-arguments)28212822        - [Строки и буферы](https://python-all.ru/3.3/c-api/arg.html#strings-and-buffers)2823        - [Числа](https://python-all.ru/3.3/c-api/arg.html#numbers)2824        - [Другие объекты](https://python-all.ru/3.3/c-api/arg.html#other-objects)2825        - [Функции API](https://python-all.ru/3.3/c-api/arg.html#api-functions)2826      - [Сборка значений](https://python-all.ru/3.3/c-api/arg.html#building-values)2827    - [Преобразование и форматирование строк](https://python-all.ru/3.3/c-api/conversion.html)2828    - [Рефлексия](https://python-all.ru/3.3/c-api/reflection.html)2829    - [Реестр кодировок и вспомогательные функции](https://python-all.ru/3.3/c-api/codec.html)28302831      - [API поиска кодировок](https://python-all.ru/3.3/c-api/codec.html#codec-lookup-api)2832      - [API реестра обработчиков ошибок кодирования Unicode](https://python-all.ru/3.3/c-api/codec.html#registry-api-for-unicode-encoding-error-handlers)2833  - [Слой абстрактных объектов](https://python-all.ru/3.3/c-api/abstract.html)28342835    - [Протокол объекта](https://python-all.ru/3.3/c-api/object.html)2836    - [Протокол чисел](https://python-all.ru/3.3/c-api/number.html)2837    - [Протокол последовательностей](https://python-all.ru/3.3/c-api/sequence.html)2838    - [Протокол отображений](https://python-all.ru/3.3/c-api/mapping.html)2839    - [Протокол итератора](https://python-all.ru/3.3/c-api/iter.html)2840    - [Протокол буфера](https://python-all.ru/3.3/c-api/buffer.html)28412842      - [Структура буфера](https://python-all.ru/3.3/c-api/buffer.html#buffer-structure)2843      - [Типы запросов буфера](https://python-all.ru/3.3/c-api/buffer.html#buffer-request-types)28442845        - [поля, не зависящие от запроса](https://python-all.ru/3.3/c-api/buffer.html#request-independent-fields)2846        - [только для чтения, формат](https://python-all.ru/3.3/c-api/buffer.html#readonly-format)2847        - [форма, шаги, подсмещения](https://python-all.ru/3.3/c-api/buffer.html#shape-strides-suboffsets)2848        - [запросы непрерывности](https://python-all.ru/3.3/c-api/buffer.html#contiguity-requests)2849        - [составные запросы](https://python-all.ru/3.3/c-api/buffer.html#compound-requests)2850      - [Комплексные массивы](https://python-all.ru/3.3/c-api/buffer.html#complex-arrays)28512852        - [В стиле NumPy: форма и шаги](https://python-all.ru/3.3/c-api/buffer.html#numpy-style-shape-and-strides)2853        - [В стиле PIL: форма, шаги и под-смещения](https://python-all.ru/3.3/c-api/buffer.html#pil-style-shape-strides-and-suboffsets)2854      - [Функции, связанные с буферами](https://python-all.ru/3.3/c-api/buffer.html#buffer-related-functions)2855    - [Старый буферный протокол](https://python-all.ru/3.3/c-api/objbuffer.html)2856  - [Слой конкретных объектов](https://python-all.ru/3.3/c-api/concrete.html)28572858    - [Базовые объекты](https://python-all.ru/3.3/c-api/concrete.html#fundamental-objects)28592860      - [Объекты типов](https://python-all.ru/3.3/c-api/type.html)2861      - [Объект None](https://python-all.ru/3.3/c-api/none.html)2862    - [Числовые объекты](https://python-all.ru/3.3/c-api/concrete.html#numeric-objects)28632864      - [Объекты целых чисел](https://python-all.ru/3.3/c-api/long.html)2865      - [Объекты логических значений](https://python-all.ru/3.3/c-api/bool.html)2866      - [Объекты чисел с плавающей запятой](https://python-all.ru/3.3/c-api/float.html)2867      - [Объекты комплексных чисел](https://python-all.ru/3.3/c-api/complex.html)28682869        - [Комплексные числа как структуры C](https://python-all.ru/3.3/c-api/complex.html#complex-numbers-as-c-structures)2870        - [Комплексные числа как объекты Python](https://python-all.ru/3.3/c-api/complex.html#complex-numbers-as-python-objects)2871    - [Объекты последовательностей](https://python-all.ru/3.3/c-api/concrete.html#sequence-objects)28722873      - [Объекты bytes](https://python-all.ru/3.3/c-api/bytes.html)2874      - [Объекты массива байтов](https://python-all.ru/3.3/c-api/bytearray.html)28752876        - [Макросы проверки типа](https://python-all.ru/3.3/c-api/bytearray.html#type-check-macros)2877        - [Функции прямого API](https://python-all.ru/3.3/c-api/bytearray.html#direct-api-functions)2878        - [Макросы](https://python-all.ru/3.3/c-api/bytearray.html#macros)2879      - [Объекты Unicode и кодеки](https://python-all.ru/3.3/c-api/unicode.html)28802881        - [Объекты Unicode](https://python-all.ru/3.3/c-api/unicode.html#unicode-objects)28822883          - [Тип Юникода](https://python-all.ru/3.3/c-api/unicode.html#unicode-type)2884          - [Свойства символов Юникода](https://python-all.ru/3.3/c-api/unicode.html#unicode-character-properties)2885          - [Создание и доступ к строкам Юникода](https://python-all.ru/3.3/c-api/unicode.html#creating-and-accessing-unicode-strings)2886          - [Устаревшие API Py\_UNICODE](https://python-all.ru/3.3/c-api/unicode.html#deprecated-py-unicode-apis)2887          - [Локальная кодировка](https://python-all.ru/3.3/c-api/unicode.html#locale-encoding)2888          - [Кодировка файловой системы](https://python-all.ru/3.3/c-api/unicode.html#file-system-encoding)2889          - [Поддержка wchar\_t](https://python-all.ru/3.3/c-api/unicode.html#wchar-t-support)2890          - [Поддержка UCS4](https://python-all.ru/3.3/c-api/unicode.html#ucs4-support)2891        - [Встроенные кодеки](https://python-all.ru/3.3/c-api/unicode.html#built-in-codecs)28922893          - [Общие кодеки](https://python-all.ru/3.3/c-api/unicode.html#generic-codecs)2894          - [Кодеки UTF-8](https://python-all.ru/3.3/c-api/unicode.html#utf-8-codecs)2895          - [Кодеки UTF-32](https://python-all.ru/3.3/c-api/unicode.html#utf-32-codecs)2896          - [Кодеки UTF-16](https://python-all.ru/3.3/c-api/unicode.html#utf-16-codecs)2897          - [Кодеки UTF-7](https://python-all.ru/3.3/c-api/unicode.html#utf-7-codecs)2898          - [Кодеки Unicode-Escape](https://python-all.ru/3.3/c-api/unicode.html#unicode-escape-codecs)2899          - [Кодеки Raw-Unicode-Escape](https://python-all.ru/3.3/c-api/unicode.html#raw-unicode-escape-codecs)2900          - [Кодеки Latin-1](https://python-all.ru/3.3/c-api/unicode.html#latin-1-codecs)2901          - [Кодеки ASCII](https://python-all.ru/3.3/c-api/unicode.html#ascii-codecs)2902          - [Кодеки символьной карты](https://python-all.ru/3.3/c-api/unicode.html#character-map-codecs)2903          - [Кодеки MBCS для Windows](https://python-all.ru/3.3/c-api/unicode.html#mbcs-codecs-for-windows)2904          - [Методы и слоты](https://python-all.ru/3.3/c-api/unicode.html#methods-slots)2905        - [Методы и слот-функции](https://python-all.ru/3.3/c-api/unicode.html#methods-and-slot-functions)2906      - [Кортежи](https://python-all.ru/3.3/c-api/tuple.html)2907      - [Объекты структурных последовательностей](https://python-all.ru/3.3/c-api/tuple.html#struct-sequence-objects)2908      - [Списки](https://python-all.ru/3.3/c-api/list.html)2909    - [Объекты-отображения](https://python-all.ru/3.3/c-api/concrete.html#mapping-objects)29102911      - [Объекты словарей](https://python-all.ru/3.3/c-api/dict.html)2912    - [Прочие объекты](https://python-all.ru/3.3/c-api/concrete.html#other-objects)29132914      - [Множества](https://python-all.ru/3.3/c-api/set.html)2915      - [Объекты функций](https://python-all.ru/3.3/c-api/function.html)2916      - [Объекты методов экземпляра](https://python-all.ru/3.3/c-api/method.html)2917      - [Объекты методов](https://python-all.ru/3.3/c-api/method.html#method-objects)2918      - [Объекты файлов](https://python-all.ru/3.3/c-api/file.html)2919      - [Объекты модулей](https://python-all.ru/3.3/c-api/module.html)29202921        - [Инициализация C-модулей](https://python-all.ru/3.3/c-api/module.html#initializing-c-modules)2922      - [Объекты итераторов](https://python-all.ru/3.3/c-api/iterator.html)2923      - [Объекты дескрипторов](https://python-all.ru/3.3/c-api/descriptor.html)2924      - [Объекты срезов](https://python-all.ru/3.3/c-api/slice.html)2925      - [Объекты memoryview](https://python-all.ru/3.3/c-api/memoryview.html)2926      - [Объекты слабых ссылок](https://python-all.ru/3.3/c-api/weakref.html)2927      - [Капсулы](https://python-all.ru/3.3/c-api/capsule.html)2928      - [Объекты ячеек](https://python-all.ru/3.3/c-api/cell.html)2929      - [Объекты-генераторы](https://python-all.ru/3.3/c-api/gen.html)2930      - [Объекты datetime](https://python-all.ru/3.3/c-api/datetime.html)2931      - [Объекты кода](https://python-all.ru/3.3/c-api/code.html)2932  - [Инициализация, финализация и потоки](https://python-all.ru/3.3/c-api/init.html)29332934    - [Инициализация и финализация интерпретатора](https://python-all.ru/3.3/c-api/init.html#initializing-and-finalizing-the-interpreter)2935    - [Параметры уровня процесса](https://python-all.ru/3.3/c-api/init.html#process-wide-parameters)2936    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/3.3/c-api/init.html#thread-state-and-the-global-interpreter-lock)29372938      - [Освобождение GIL из кода расширения](https://python-all.ru/3.3/c-api/init.html#releasing-the-gil-from-extension-code)2939      - [Потоки, созданные не в Python](https://python-all.ru/3.3/c-api/init.html#non-python-created-threads)2940      - [Высокоуровневый API](https://python-all.ru/3.3/c-api/init.html#high-level-api)2941      - [Низкоуровневый API](https://python-all.ru/3.3/c-api/init.html#low-level-api)2942    - [Поддержка под-интерпретаторов](https://python-all.ru/3.3/c-api/init.html#sub-interpreter-support)29432944      - [Ошибки и предостережения](https://python-all.ru/3.3/c-api/init.html#bugs-and-caveats)2945    - [Асинхронные уведомления](https://python-all.ru/3.3/c-api/init.html#asynchronous-notifications)2946    - [Профилирование и трассировка](https://python-all.ru/3.3/c-api/init.html#profiling-and-tracing)2947    - [Расширенная поддержка отладчика](https://python-all.ru/3.3/c-api/init.html#advanced-debugger-support)2948  - [Управление памятью](https://python-all.ru/3.3/c-api/memory.html)29492950    - [Обзор](https://python-all.ru/3.3/c-api/memory.html#overview)2951    - [Интерфейс памяти](https://python-all.ru/3.3/c-api/memory.html#memory-interface)2952    - [Примеры](https://python-all.ru/3.3/c-api/memory.html#examples)2953  - [Поддержка реализации объектов](https://python-all.ru/3.3/c-api/objimpl.html)29542955    - [Выделение объектов в куче](https://python-all.ru/3.3/c-api/allocation.html)2956    - [Общие структуры объектов](https://python-all.ru/3.3/c-api/structures.html)2957    - [Объекты типов](https://python-all.ru/3.3/c-api/typeobj.html)2958    - [Структуры числовых объектов](https://python-all.ru/3.3/c-api/typeobj.html#number-object-structures)2959    - [Структуры объектов отображений](https://python-all.ru/3.3/c-api/typeobj.html#mapping-object-structures)2960    - [Структуры объектов последовательностей](https://python-all.ru/3.3/c-api/typeobj.html#sequence-object-structures)2961    - [Структуры буферных объектов](https://python-all.ru/3.3/c-api/typeobj.html#buffer-object-structures)2962    - [Поддержка циклической сборки мусора](https://python-all.ru/3.3/c-api/gcsupport.html)2963  - [Версионирование API и ABI](https://python-all.ru/3.3/c-api/apiabiversion.html)2964- [Распространение модулей Python](https://python-all.ru/3.3/distutils/index.html)29652966  - [1. Введение в Distutils](https://python-all.ru/3.3/distutils/introduction.html)29672968    - [1.1. Понятия и терминология](https://python-all.ru/3.3/distutils/introduction.html#concepts-terminology)2969    - [1.2. Простой пример](https://python-all.ru/3.3/distutils/introduction.html#a-simple-example)2970    - [1.3. Общая терминология Python](https://python-all.ru/3.3/distutils/introduction.html#general-python-terminology)2971    - [1.4. Терминология Distutils](https://python-all.ru/3.3/distutils/introduction.html#distutils-specific-terminology)2972  - [2. Написание скрипта установки](https://python-all.ru/3.3/distutils/setupscript.html)29732974    - [2.1. Перечисление целых пакетов](https://python-all.ru/3.3/distutils/setupscript.html#listing-whole-packages)2975    - [2.2. Перечисление отдельных модулей](https://python-all.ru/3.3/distutils/setupscript.html#listing-individual-modules)2976    - [2.3. Описание модулей расширения](https://python-all.ru/3.3/distutils/setupscript.html#describing-extension-modules)29772978      - [2.3.1. Имена расширений и пакеты](https://python-all.ru/3.3/distutils/setupscript.html#extension-names-and-packages)2979      - [2.3.2. Исходные файлы расширений](https://python-all.ru/3.3/distutils/setupscript.html#extension-source-files)2980      - [2.3.3. Опции препроцессора](https://python-all.ru/3.3/distutils/setupscript.html#preprocessor-options)2981      - [2.3.4. Опции библиотек](https://python-all.ru/3.3/distutils/setupscript.html#library-options)2982      - [2.3.5. Другие опции](https://python-all.ru/3.3/distutils/setupscript.html#other-options)2983    - [2.4. Связи между дистрибутивами и пакетами](https://python-all.ru/3.3/distutils/setupscript.html#relationships-between-distributions-and-packages)2984    - [2.5. Установка скриптов](https://python-all.ru/3.3/distutils/setupscript.html#installing-scripts)2985    - [2.6. Установка данных пакета](https://python-all.ru/3.3/distutils/setupscript.html#installing-package-data)2986    - [2.7. Установка дополнительных файлов](https://python-all.ru/3.3/distutils/setupscript.html#installing-additional-files)2987    - [2.8. Дополнительные метаданные](https://python-all.ru/3.3/distutils/setupscript.html#additional-meta-data)2988    - [2.9. Отладка скрипта установки](https://python-all.ru/3.3/distutils/setupscript.html#debugging-the-setup-script)2989  - [3. Написание файла конфигурации установки](https://python-all.ru/3.3/distutils/configfile.html)2990  - [4. Создание исходного дистрибутива](https://python-all.ru/3.3/distutils/sourcedist.html)29912992    - [4.1. Указание файлов для распространения](https://python-all.ru/3.3/distutils/sourcedist.html#specifying-the-files-to-distribute)2993    - [4.2. Опции, связанные с манифестом](https://python-all.ru/3.3/distutils/sourcedist.html#manifest-related-options)2994  - [5. Создание готовых дистрибутивов](https://python-all.ru/3.3/distutils/builtdist.html)29952996    - [5.1. Создание RPM-пакетов](https://python-all.ru/3.3/distutils/builtdist.html#creating-rpm-packages)2997    - [5.2. Создание установщиков для Windows](https://python-all.ru/3.3/distutils/builtdist.html#creating-windows-installers)2998    - [5.3. Кросс-компиляция на Windows](https://python-all.ru/3.3/distutils/builtdist.html#cross-compiling-on-windows)29993000      - [5.3.1. Постустановочный скрипт](https://python-all.ru/3.3/distutils/builtdist.html#the-postinstallation-script)3001    - [5.4. Контроль учётных записей (UAC) в Vista](https://python-all.ru/3.3/distutils/builtdist.html#vista-user-access-control-uac)3002  - [6. Индекс пакетов Python (PyPI)](https://python-all.ru/3.3/distutils/packageindex.html)30033004    - [6.1. Регистрация пакетов](https://python-all.ru/3.3/distutils/packageindex.html#registering-packages)3005    - [6.2. Загрузка пакетов](https://python-all.ru/3.3/distutils/packageindex.html#uploading-packages)3006    - [6.3. Файл .pypirc](https://python-all.ru/3.3/distutils/packageindex.html#the-pypirc-file)3007    - [6.4. Отображение пакета PyPI](https://python-all.ru/3.3/distutils/packageindex.html#pypi-package-display)3008  - [7. Примеры](https://python-all.ru/3.3/distutils/examples.html)30093010    - [7.1. Дистрибутив на чистом Python (по модулям)](https://python-all.ru/3.3/distutils/examples.html#pure-python-distribution-by-module)3011    - [7.2. Дистрибутив на чистом Python (по пакетам)](https://python-all.ru/3.3/distutils/examples.html#pure-python-distribution-by-package)3012    - [7.3. Один модуль расширения](https://python-all.ru/3.3/distutils/examples.html#single-extension-module)3013    - [7.4. Проверка пакета](https://python-all.ru/3.3/distutils/examples.html#checking-a-package)3014    - [7.5. Чтение метаданных](https://python-all.ru/3.3/distutils/examples.html#reading-the-metadata)3015  - [8. Расширение Distutils](https://python-all.ru/3.3/distutils/extending.html)30163017    - [8.1. Интеграция новых команд](https://python-all.ru/3.3/distutils/extending.html#integrating-new-commands)3018    - [8.2. Добавление новых типов дистрибутивов](https://python-all.ru/3.3/distutils/extending.html#adding-new-distribution-types)3019  - [9. Справочник команд](https://python-all.ru/3.3/distutils/commandref.html)30203021    - [9.1. Установка модулей: семейство команд **install**](https://python-all.ru/3.3/distutils/commandref.html#installing-modules-the-install-command-family)30223023      - [9.1.1. **install\_data**](https://python-all.ru/3.3/distutils/commandref.html#install-data)3024      - [9.1.2. **install\_scripts**](https://python-all.ru/3.3/distutils/commandref.html#install-scripts)3025    - [9.2. Создание дистрибутива исходного кода: команда **sdist**](https://python-all.ru/3.3/distutils/commandref.html#creating-a-source-distribution-the-sdist-command)3026  - [10. Справочник API](https://python-all.ru/3.3/distutils/apiref.html)30273028    - [10.1. `distutils.core` – Основные функции Distutils](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.core)3029    - [10.2. `distutils.ccompiler` – Базовый класс CCompiler](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.ccompiler)3030    - [10.3. `distutils.unixccompiler` – Компилятор C для Unix](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.unixccompiler)3031    - [10.4. `distutils.msvccompiler` – Компилятор Microsoft](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.msvccompiler)3032    - [10.5. `distutils.bcppcompiler` – Компилятор Borland](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.bcppcompiler)3033    - [10.6. `distutils.cygwincompiler` – Компилятор Cygwin](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.cygwinccompiler)3034    - [10.7. `distutils.emxccompiler` – компилятор OS/2 EMX](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.emxccompiler)3035    - [10.8. `distutils.archive_util` – утилиты архивирования](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.archive_util)3036    - [10.9. `distutils.dep_util` – проверка зависимостей](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.dep_util)3037    - [10.10. `distutils.dir_util` – операции с деревом каталогов](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.dir_util)3038    - [10.11. `distutils.file_util` – операции с отдельными файлами](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.file_util)3039    - [10.12. `distutils.util` – прочие служебные функции](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.util)3040    - [10.13. `distutils.dist` – класс Distribution](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.dist)3041    - [10.14. `distutils.extension` – класс Extension](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.extension)3042    - [10.15. `distutils.debug` – режим отладки Distutils](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.debug)3043    - [10.16. `distutils.errors` – исключения Distutils](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.errors)3044    - [10.17. `distutils.fancy_getopt` – обёртка над стандартным модулем getopt](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.fancy_getopt)3045    - [10.18. `distutils.filelist` – класс FileList](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.filelist)3046    - [10.19. `distutils.log` – простое логирование в стиле PEP 282](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.log)3047    - [10.20. `distutils.spawn` – запуск подпроцесса](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.spawn)3048    - [10.21. `distutils.sysconfig` – информация о системной конфигурации](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.sysconfig)3049    - [10.22. `distutils.text_file` – класс TextFile](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.text_file)3050    - [10.23. `distutils.version` – классы для номеров версий](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.version)3051    - [10.24. `distutils.cmd` – абстрактный базовый класс для команд Distutils](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.cmd)3052    - [10.25. Создание новой команды Distutils](https://python-all.ru/3.3/distutils/apiref.html#creating-a-new-distutils-command)3053    - [10.26. `distutils.command` – отдельные команды Distutils](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command)3054    - [10.27. `distutils.command.bdist` – Сборка бинарного установщика](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.bdist)3055    - [10.28. `distutils.command.bdist_packager` – Абстрактный базовый класс для сборщиков пакетов](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.bdist_packager)3056    - [10.29. `distutils.command.bdist_dumb` – Сборка «глупого» установщика](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.bdist_dumb)3057    - [10.30. `distutils.command.bdist_msi` – Сборка бинарного пакета Microsoft Installer](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.bdist_msi)3058    - [10.31. `distutils.command.bdist_rpm` – Сборка бинарного дистрибутива в форматах Redhat RPM и SRPM](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.bdist_rpm)3059    - [10.32. `distutils.command.bdist_wininst` – Сборка установщика для Windows](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.bdist_wininst)3060    - [10.33. `distutils.command.sdist` – Сборка дистрибутива исходного кода](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.sdist)3061    - [10.34. `distutils.command.build` – Сборка всех файлов пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.build)3062    - [10.35. `distutils.command.build_clib` – Сборка C-библиотек в пакете](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.build_clib)3063    - [10.36. `distutils.command.build_ext` – Сборка расширений в пакете](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.build_ext)3064    - [10.37. `distutils.command.build_py` – Сборка .py/.pyc-файлов пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.build_py)3065    - [10.38. `distutils.command.build_scripts` – Сборка скриптов пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.build_scripts)3066    - [10.39. `distutils.command.clean` – Очистка области сборки пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.clean)3067    - [10.40. `distutils.command.config` – Выполнение конфигурации пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.config)3068    - [10.41. `distutils.command.install` – Установка пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.install)3069    - [10.42. `distutils.command.install_data` – Установка файлов данных из пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.install_data)3070    - [10.43. `distutils.command.install_headers` – Установка заголовочных файлов C/C++ из пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.install_headers)3071    - [10.44. `distutils.command.install_lib` – Установка библиотечных файлов из пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.install_lib)3072    - [10.45. `distutils.command.install_scripts` – Установка файлов скриптов из пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.install_scripts)3073    - [10.46. `distutils.command.register` – Регистрация модуля в индексе пакетов Python](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.register)3074    - [10.47. `distutils.command.check` – Проверка метаданных пакета](https://python-all.ru/3.3/distutils/apiref.html#module-distutils.command.check)3075- [Установка модулей Python](https://python-all.ru/3.3/install/index.html)30763077  - [Введение](https://python-all.ru/3.3/install/index.html#introduction)30783079    - [Идеальный случай: простая установка](https://python-all.ru/3.3/install/index.html#best-case-trivial-installation)3080    - [Новый стандарт: Distutils](https://python-all.ru/3.3/install/index.html#the-new-standard-distutils)3081  - [Стандартная сборка и установка](https://python-all.ru/3.3/install/index.html#standard-build-and-install)30823083    - [Различия платформ](https://python-all.ru/3.3/install/index.html#platform-variations)3084    - [Разделение задачи на части](https://python-all.ru/3.3/install/index.html#splitting-the-job-up)3085    - [Как работает сборка](https://python-all.ru/3.3/install/index.html#how-building-works)3086    - [Как работает установка](https://python-all.ru/3.3/install/index.html#how-installation-works)3087  - [Альтернативная установка](https://python-all.ru/3.3/install/index.html#alternate-installation)30883089    - [Альтернативная установка: схема пользователя](https://python-all.ru/3.3/install/index.html#alternate-installation-the-user-scheme)3090    - [Альтернативная установка: домашняя схема](https://python-all.ru/3.3/install/index.html#alternate-installation-the-home-scheme)3091    - [Альтернативная установка: Unix (схема префикса)](https://python-all.ru/3.3/install/index.html#alternate-installation-unix-the-prefix-scheme)3092    - [Альтернативная установка: Windows (схема префикса)](https://python-all.ru/3.3/install/index.html#alternate-installation-windows-the-prefix-scheme)3093  - [Пользовательская установка](https://python-all.ru/3.3/install/index.html#custom-installation)30943095    - [Изменение пути поиска Python](https://python-all.ru/3.3/install/index.html#modifying-python-s-search-path)3096  - [Файлы конфигурации Distutils](https://python-all.ru/3.3/install/index.html#distutils-configuration-files)30973098    - [Расположение и имена файлов конфигурации](https://python-all.ru/3.3/install/index.html#location-and-names-of-config-files)3099    - [Синтаксис файлов конфигурации](https://python-all.ru/3.3/install/index.html#syntax-of-config-files)3100  - [Сборка расширений: советы и рекомендации](https://python-all.ru/3.3/install/index.html#building-extensions-tips-and-tricks)31013102    - [Настройка флагов компилятора/компоновщика](https://python-all.ru/3.3/install/index.html#tweaking-compiler-linker-flags)3103    - [Использование компиляторов, отличных от Microsoft, в Windows](https://python-all.ru/3.3/install/index.html#using-non-microsoft-compilers-on-windows)31043105      - [Borland/CodeGear C++](https://python-all.ru/3.3/install/index.html#borland-codegear-c)3106      - [GNU C / Cygwin / MinGW](https://python-all.ru/3.3/install/index.html#gnu-c-cygwin-mingw)31073108        - [Старые версии Python и MinGW](https://python-all.ru/3.3/install/index.html#older-versions-of-python-and-mingw)3109- [Руководства Python HOWTO](https://python-all.ru/3.3/howto/index.html)31103111  - [Перенос кода с Python 2 на Python 3](https://python-all.ru/3.3/howto/pyporting.html)31123113    - [Краткая версия](https://python-all.ru/3.3/howto/pyporting.html#the-short-version)3114    - [Прежде чем начать](https://python-all.ru/3.3/howto/pyporting.html#before-you-begin)3115    - [Написание кода, совместимого с Python 2 и 3](https://python-all.ru/3.3/howto/pyporting.html#writing-source-compatible-python-2-3-code)31163117      - [Проекты для рассмотрения](https://python-all.ru/3.3/howto/pyporting.html#projects-to-consider)3118      - [Советы и хитрости](https://python-all.ru/3.3/howto/pyporting.html#tips-tricks)31193120        - [Поддержка Python 2.7](https://python-all.ru/3.3/howto/pyporting.html#support-python-2-7)3121        - [Попробуйте поддерживать только Python 2.6 и новее](https://python-all.ru/3.3/howto/pyporting.html#try-to-support-python-2-6-and-newer-only)31223123          - [`from __future__ import print_function`](https://python-all.ru/3.3/howto/pyporting.html#from-future-import-print-function)3124          - [`from __future__ import unicode_literals`](https://python-all.ru/3.3/howto/pyporting.html#from-future-import-unicode-literals)3125          - [Байтовые/строковые литералы](https://python-all.ru/3.3/howto/pyporting.html#bytes-string-literals)3126          - [`from __future__ import absolute_import`](https://python-all.ru/3.3/howto/pyporting.html#from-future-import-absolute-import)3127        - [Поддержка только Python 2.5 и новее](https://python-all.ru/3.3/howto/pyporting.html#supporting-python-2-5-and-newer-only)31283129          - [`from __future__ import absolute_import`](https://python-all.ru/3.3/howto/pyporting.html#id1)3130          - [Пометить все строки Unicode префиксом `u`](https://python-all.ru/3.3/howto/pyporting.html#mark-all-unicode-strings-with-a-u-prefix)3131          - [Захват текущего поднятого исключения](https://python-all.ru/3.3/howto/pyporting.html#capturing-the-currently-raised-exception)3132        - [Обработка распространённых «подводных камней»](https://python-all.ru/3.3/howto/pyporting.html#handle-common-gotchas)31333134          - [`from __future__ import division`](https://python-all.ru/3.3/howto/pyporting.html#from-future-import-division)3135          - [Указывать при открытии файла как двоичный](https://python-all.ru/3.3/howto/pyporting.html#specify-when-opening-a-file-as-binary)3136          - [Текстовые файлы](https://python-all.ru/3.3/howto/pyporting.html#text-files)3137          - [Наследовать от `object`](https://python-all.ru/3.3/howto/pyporting.html#subclass-object)3138          - [Работа с дихотомией байты/строки](https://python-all.ru/3.3/howto/pyporting.html#deal-with-the-bytes-string-dichotomy)31393140            - [Размечать строковые литералы Python 2](https://python-all.ru/3.3/howto/pyporting.html#mark-up-python-2-string-literals)3141            - [Решить, что будут принимать API](https://python-all.ru/3.3/howto/pyporting.html#decide-what-apis-will-accept)3142            - [Сравнение байтов и Unicode](https://python-all.ru/3.3/howto/pyporting.html#bytes-unicode-comparison)3143          - [Индексация объектов bytes](https://python-all.ru/3.3/howto/pyporting.html#indexing-bytes-objects)3144          - [`__str__()`/`__unicode__()`](https://python-all.ru/3.3/howto/pyporting.html#str-unicode)3145          - [Не индексировать по исключениям](https://python-all.ru/3.3/howto/pyporting.html#don-t-index-on-exceptions)3146          - [Не используйте `__getslice__` и его аналоги](https://python-all.ru/3.3/howto/pyporting.html#don-t-use-getslice-friends)3147          - [Обновление доктестов](https://python-all.ru/3.3/howto/pyporting.html#updating-doctests)3148          - [Обновить `map` для несбалансированных входных последовательностей](https://python-all.ru/3.3/howto/pyporting.html#update-map-for-imbalanced-input-sequences)3149      - [Устранить предупреждения `-3`](https://python-all.ru/3.3/howto/pyporting.html#eliminate-3-warnings)3150    - [Альтернативные подходы](https://python-all.ru/3.3/howto/pyporting.html#alternative-approaches)31513152      - [Поддержка только Python 3 при переходе от Python 2](https://python-all.ru/3.3/howto/pyporting.html#supporting-only-python-3-going-forward-from-python-2-code)3153      - [Перенос кода Python 3 на Python 2](https://python-all.ru/3.3/howto/pyporting.html#backporting-python-3-code-to-python-2)3154    - [Другие ресурсы](https://python-all.ru/3.3/howto/pyporting.html#other-resources)3155  - [Перенос модулей расширения на Python 3](https://python-all.ru/3.3/howto/cporting.html)31563157    - [Условная компиляция](https://python-all.ru/3.3/howto/cporting.html#conditional-compilation)3158    - [Изменения в объектных API](https://python-all.ru/3.3/howto/cporting.html#changes-to-object-apis)31593160      - [Объединение str/unicode](https://python-all.ru/3.3/howto/cporting.html#str-unicode-unification)3161      - [Объединение long/int](https://python-all.ru/3.3/howto/cporting.html#long-int-unification)3162    - [Инициализация и состояние модулей](https://python-all.ru/3.3/howto/cporting.html#module-initialization-and-state)3163    - [CObject заменён на Capsule](https://python-all.ru/3.3/howto/cporting.html#cobject-replaced-with-capsule)3164    - [Другие опции](https://python-all.ru/3.3/howto/cporting.html#other-options)3165  - [Программирование с curses на Python](https://python-all.ru/3.3/howto/curses.html)31663167    - [Что такое curses?](https://python-all.ru/3.3/howto/curses.html#what-is-curses)31683169      - [Модуль curses в Python](https://python-all.ru/3.3/howto/curses.html#the-python-curses-module)3170    - [Запуск и завершение приложения curses](https://python-all.ru/3.3/howto/curses.html#starting-and-ending-a-curses-application)3171    - [Окна и пады](https://python-all.ru/3.3/howto/curses.html#windows-and-pads)3172    - [Отображение текста](https://python-all.ru/3.3/howto/curses.html#displaying-text)31733174      - [Атрибуты и цвет](https://python-all.ru/3.3/howto/curses.html#attributes-and-color)3175    - [Ввод пользователя](https://python-all.ru/3.3/howto/curses.html#user-input)3176    - [Для получения дополнительных сведений](https://python-all.ru/3.3/howto/curses.html#for-more-information)3177  - [Руководство по дескрипторам](https://python-all.ru/3.3/howto/descriptor.html)31783179    - [Аннотация](https://python-all.ru/3.3/howto/descriptor.html#abstract)3180    - [Определение и введение](https://python-all.ru/3.3/howto/descriptor.html#definition-and-introduction)3181    - [Протокол дескрипторов](https://python-all.ru/3.3/howto/descriptor.html#descriptor-protocol)3182    - [Вызов дескрипторов](https://python-all.ru/3.3/howto/descriptor.html#invoking-descriptors)3183    - [Пример дескриптора](https://python-all.ru/3.3/howto/descriptor.html#descriptor-example)3184    - [Свойства](https://python-all.ru/3.3/howto/descriptor.html#properties)3185    - [Функции и методы](https://python-all.ru/3.3/howto/descriptor.html#functions-and-methods)3186    - [Статические методы и методы класса](https://python-all.ru/3.3/howto/descriptor.html#static-methods-and-class-methods)3187  - [HOWTO по функциональному программированию](https://python-all.ru/3.3/howto/functional.html)31883189    - [Введение](https://python-all.ru/3.3/howto/functional.html#introduction)31903191      - [Формальная доказуемость](https://python-all.ru/3.3/howto/functional.html#formal-provability)3192      - [Модульность](https://python-all.ru/3.3/howto/functional.html#modularity)3193      - [Простота отладки и тестирования](https://python-all.ru/3.3/howto/functional.html#ease-of-debugging-and-testing)3194      - [Композируемость](https://python-all.ru/3.3/howto/functional.html#composability)3195    - [Итераторы](https://python-all.ru/3.3/howto/functional.html#iterators)31963197      - [Типы данных, поддерживающие итераторы](https://python-all.ru/3.3/howto/functional.html#data-types-that-support-iterators)3198    - [Генераторные выражения и списковые включения](https://python-all.ru/3.3/howto/functional.html#generator-expressions-and-list-comprehensions)3199    - [Генераторы](https://python-all.ru/3.3/howto/functional.html#generators)32003201      - [Передача значений в генератор](https://python-all.ru/3.3/howto/functional.html#passing-values-into-a-generator)3202    - [Встроенные функции](https://python-all.ru/3.3/howto/functional.html#built-in-functions)3203    - [Модуль itertools](https://python-all.ru/3.3/howto/functional.html#the-itertools-module)32043205      - [Создание новых итераторов](https://python-all.ru/3.3/howto/functional.html#creating-new-iterators)3206      - [Вызов функций для элементов](https://python-all.ru/3.3/howto/functional.html#calling-functions-on-elements)3207      - [Выбор элементов](https://python-all.ru/3.3/howto/functional.html#selecting-elements)3208      - [Группировка элементов](https://python-all.ru/3.3/howto/functional.html#grouping-elements)3209    - [Модуль functools](https://python-all.ru/3.3/howto/functional.html#the-functools-module)32103211      - [Модуль operator](https://python-all.ru/3.3/howto/functional.html#the-operator-module)3212    - [Небольшие функции и лямбда-выражение](https://python-all.ru/3.3/howto/functional.html#small-functions-and-the-lambda-expression)3213    - [История изменений и благодарности](https://python-all.ru/3.3/howto/functional.html#revision-history-and-acknowledgements)3214    - [Ссылки](https://python-all.ru/3.3/howto/functional.html#references)32153216      - [Общие](https://python-all.ru/3.3/howto/functional.html#general)3217      - [Специфичное для Python](https://python-all.ru/3.3/howto/functional.html#python-specific)3218      - [Документация Python](https://python-all.ru/3.3/howto/functional.html#python-documentation)3219  - [Руководство по логированию](https://python-all.ru/3.3/howto/logging.html)32203221    - [Базовое руководство по логированию](https://python-all.ru/3.3/howto/logging.html#basic-logging-tutorial)32223223      - [Когда использовать логирование](https://python-all.ru/3.3/howto/logging.html#when-to-use-logging)3224      - [Простой пример](https://python-all.ru/3.3/howto/logging.html#a-simple-example)3225      - [Логирование в файл](https://python-all.ru/3.3/howto/logging.html#logging-to-a-file)3226      - [Логирование из нескольких модулей](https://python-all.ru/3.3/howto/logging.html#logging-from-multiple-modules)3227      - [Логирование переменных данных](https://python-all.ru/3.3/howto/logging.html#logging-variable-data)3228      - [Изменение формата отображаемых сообщений](https://python-all.ru/3.3/howto/logging.html#changing-the-format-of-displayed-messages)3229      - [Отображение даты/времени в сообщениях](https://python-all.ru/3.3/howto/logging.html#displaying-the-date-time-in-messages)3230      - [Дальнейшие шаги](https://python-all.ru/3.3/howto/logging.html#next-steps)3231    - [Расширенное руководство по логированию](https://python-all.ru/3.3/howto/logging.html#advanced-logging-tutorial)32323233      - [Поток логирования](https://python-all.ru/3.3/howto/logging.html#logging-flow)3234      - [Логгеры](https://python-all.ru/3.3/howto/logging.html#loggers)3235      - [Обработчики](https://python-all.ru/3.3/howto/logging.html#handlers)3236      - [Форматировщики](https://python-all.ru/3.3/howto/logging.html#formatters)3237      - [Настройка логирования](https://python-all.ru/3.3/howto/logging.html#configuring-logging)3238      - [Что происходит, если конфигурация не предоставлена](https://python-all.ru/3.3/howto/logging.html#what-happens-if-no-configuration-is-provided)3239      - [Настройка логирования для библиотеки](https://python-all.ru/3.3/howto/logging.html#configuring-logging-for-a-library)3240    - [Уровни журналирования](https://python-all.ru/3.3/howto/logging.html#logging-levels)32413242      - [Пользовательские уровни](https://python-all.ru/3.3/howto/logging.html#custom-levels)3243    - [Полезные обработчики](https://python-all.ru/3.3/howto/logging.html#useful-handlers)3244    - [Исключения, возникающие при логировании](https://python-all.ru/3.3/howto/logging.html#exceptions-raised-during-logging)3245    - [Использование произвольных объектов в качестве сообщений](https://python-all.ru/3.3/howto/logging.html#using-arbitrary-objects-as-messages)3246    - [Оптимизация](https://python-all.ru/3.3/howto/logging.html#optimization)3247  - [Рецепты по логированию](https://python-all.ru/3.3/howto/logging-cookbook.html)32483249    - [Использование логирования в нескольких модулях](https://python-all.ru/3.3/howto/logging-cookbook.html#using-logging-in-multiple-modules)3250    - [Несколько обработчиков и форматировщиков](https://python-all.ru/3.3/howto/logging-cookbook.html#multiple-handlers-and-formatters)3251    - [Логирование в несколько мест назначения](https://python-all.ru/3.3/howto/logging-cookbook.html#logging-to-multiple-destinations)3252    - [Пример сервера конфигурации](https://python-all.ru/3.3/howto/logging-cookbook.html#configuration-server-example)3253    - [Работа с блокирующими обработчиками](https://python-all.ru/3.3/howto/logging-cookbook.html#dealing-with-handlers-that-block)3254    - [Отправка и получение событий логирования по сети](https://python-all.ru/3.3/howto/logging-cookbook.html#sending-and-receiving-logging-events-across-a-network)3255    - [Добавление контекстной информации в вывод логирования](https://python-all.ru/3.3/howto/logging-cookbook.html#adding-contextual-information-to-your-logging-output)32563257      - [Использование LoggerAdapters для передачи контекстной информации](https://python-all.ru/3.3/howto/logging-cookbook.html#using-loggeradapters-to-impart-contextual-information)32583259        - [Использование объектов, отличных от словаря, для передачи контекстной информации](https://python-all.ru/3.3/howto/logging-cookbook.html#using-objects-other-than-dicts-to-pass-contextual-information)3260      - [Использование фильтров для передачи контекстной информации](https://python-all.ru/3.3/howto/logging-cookbook.html#using-filters-to-impart-contextual-information)3261    - [Логирование в один файл из нескольких процессов](https://python-all.ru/3.3/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes)3262    - [Использование ротации файлов](https://python-all.ru/3.3/howto/logging-cookbook.html#using-file-rotation)3263    - [Использование альтернативных стилей форматирования](https://python-all.ru/3.3/howto/logging-cookbook.html#use-of-alternative-formatting-styles)3264    - [Настройка `LogRecord`](https://python-all.ru/3.3/howto/logging-cookbook.html#customizing-logrecord)3265    - [Наследование от QueueHandler – пример с ZeroMQ](https://python-all.ru/3.3/howto/logging-cookbook.html#subclassing-queuehandler-a-zeromq-example)3266    - [Наследование от QueueListener – пример с ZeroMQ](https://python-all.ru/3.3/howto/logging-cookbook.html#subclassing-queuelistener-a-zeromq-example)3267    - [Пример конфигурации на основе словаря](https://python-all.ru/3.3/howto/logging-cookbook.html#an-example-dictionary-based-configuration)3268    - [Использование rotator и namer для настройки обработки ротации логов](https://python-all.ru/3.3/howto/logging-cookbook.html#using-a-rotator-and-namer-to-customize-log-rotation-processing)3269    - [Более сложный пример многопроцессорной обработки](https://python-all.ru/3.3/howto/logging-cookbook.html#a-more-elaborate-multiprocessing-example)3270    - [Вставка BOM в сообщения, отправляемые в SysLogHandler](https://python-all.ru/3.3/howto/logging-cookbook.html#inserting-a-bom-into-messages-sent-to-a-sysloghandler)3271    - [Реализация структурированного логирования](https://python-all.ru/3.3/howto/logging-cookbook.html#implementing-structured-logging)3272    - [Настройка обработчиков с помощью `dictConfig()`](https://python-all.ru/3.3/howto/logging-cookbook.html#customizing-handlers-with-dictconfig)3273    - [Использование определённых стилей форматирования во всём приложении](https://python-all.ru/3.3/howto/logging-cookbook.html#using-particular-formatting-styles-throughout-your-application)32743275      - [Использование фабрик LogRecord](https://python-all.ru/3.3/howto/logging-cookbook.html#using-logrecord-factories)3276      - [Использование пользовательских объектов сообщений](https://python-all.ru/3.3/howto/logging-cookbook.html#using-custom-message-objects)3277    - [Настройка фильтров с помощью `dictConfig()`](https://python-all.ru/3.3/howto/logging-cookbook.html#configuring-filters-with-dictconfig)3278  - [HOWTO по регулярным выражениям](https://python-all.ru/3.3/howto/regex.html)32793280    - [Введение](https://python-all.ru/3.3/howto/regex.html#introduction)3281    - [Простые шаблоны](https://python-all.ru/3.3/howto/regex.html#simple-patterns)32823283      - [Сопоставление символов](https://python-all.ru/3.3/howto/regex.html#matching-characters)3284      - [Повторение](https://python-all.ru/3.3/howto/regex.html#repeating-things)3285    - [Использование регулярных выражений](https://python-all.ru/3.3/howto/regex.html#using-regular-expressions)32863287      - [Компиляция регулярных выражений](https://python-all.ru/3.3/howto/regex.html#compiling-regular-expressions)3288      - [Проблема обратной косой черты](https://python-all.ru/3.3/howto/regex.html#the-backslash-plague)3289      - [Выполнение сопоставлений](https://python-all.ru/3.3/howto/regex.html#performing-matches)3290      - [Функции уровня модуля](https://python-all.ru/3.3/howto/regex.html#module-level-functions)3291      - [Флаги компиляции](https://python-all.ru/3.3/howto/regex.html#compilation-flags)3292    - [Дополнительные возможности шаблонов](https://python-all.ru/3.3/howto/regex.html#more-pattern-power)32933294      - [Дополнительные метасимволы](https://python-all.ru/3.3/howto/regex.html#more-metacharacters)3295      - [Группировка](https://python-all.ru/3.3/howto/regex.html#grouping)3296      - [Незахватывающие и именованные группы](https://python-all.ru/3.3/howto/regex.html#non-capturing-and-named-groups)3297      - [Опережающие проверки](https://python-all.ru/3.3/howto/regex.html#lookahead-assertions)3298    - [Изменение строк](https://python-all.ru/3.3/howto/regex.html#modifying-strings)32993300      - [Разделение строк](https://python-all.ru/3.3/howto/regex.html#splitting-strings)3301      - [Поиск и замена](https://python-all.ru/3.3/howto/regex.html#search-and-replace)3302    - [Распространённые проблемы](https://python-all.ru/3.3/howto/regex.html#common-problems)33033304      - [Использование строковых методов](https://python-all.ru/3.3/howto/regex.html#use-string-methods)3305      - [match() и search()](https://python-all.ru/3.3/howto/regex.html#match-versus-search)3306      - [Жадные и нежадные квантификаторы](https://python-all.ru/3.3/howto/regex.html#greedy-versus-non-greedy)3307      - [Использование re.VERBOSE](https://python-all.ru/3.3/howto/regex.html#using-re-verbose)3308    - [Обратная связь](https://python-all.ru/3.3/howto/regex.html#feedback)3309  - [Руководство по программированию сокетов](https://python-all.ru/3.3/howto/sockets.html)33103311    - [Сокеты](https://python-all.ru/3.3/howto/sockets.html#sockets)33123313      - [История](https://python-all.ru/3.3/howto/sockets.html#history)3314    - [Создание сокета](https://python-all.ru/3.3/howto/sockets.html#creating-a-socket)33153316      - [Межпроцессное взаимодействие](https://python-all.ru/3.3/howto/sockets.html#ipc)3317    - [Использование сокета](https://python-all.ru/3.3/howto/sockets.html#using-a-socket)33183319      - [Двоичные данные](https://python-all.ru/3.3/howto/sockets.html#binary-data)3320    - [Отключение](https://python-all.ru/3.3/howto/sockets.html#disconnecting)33213322      - [Когда сокеты завершают работу](https://python-all.ru/3.3/howto/sockets.html#when-sockets-die)3323    - [Неблокирующие сокеты](https://python-all.ru/3.3/howto/sockets.html#non-blocking-sockets)3324  - [Руководство по сортировке](https://python-all.ru/3.3/howto/sorting.html)33253326    - [Основы сортировки](https://python-all.ru/3.3/howto/sorting.html#sorting-basics)3327    - [Ключевые функции](https://python-all.ru/3.3/howto/sorting.html#key-functions)3328    - [Функции модуля operator](https://python-all.ru/3.3/howto/sorting.html#operator-module-functions)3329    - [По возрастанию и по убыванию](https://python-all.ru/3.3/howto/sorting.html#ascending-and-descending)3330    - [Стабильность сортировки и сложные сортировки](https://python-all.ru/3.3/howto/sorting.html#sort-stability-and-complex-sorts)3331    - [Старый способ: Decorate-Sort-Undecorate](https://python-all.ru/3.3/howto/sorting.html#the-old-way-using-decorate-sort-undecorate)3332    - [Старый способ: использование параметра *cmp*](https://python-all.ru/3.3/howto/sorting.html#the-old-way-using-the-cmp-parameter)3333    - [Разное](https://python-all.ru/3.3/howto/sorting.html#odd-and-ends)3334  - [Руководство по Unicode](https://python-all.ru/3.3/howto/unicode.html)33353336    - [Введение в Unicode](https://python-all.ru/3.3/howto/unicode.html#introduction-to-unicode)33373338      - [История кодов символов](https://python-all.ru/3.3/howto/unicode.html#history-of-character-codes)3339      - [Определения](https://python-all.ru/3.3/howto/unicode.html#definitions)3340      - [Кодировки](https://python-all.ru/3.3/howto/unicode.html#encodings)3341      - [Ссылки](https://python-all.ru/3.3/howto/unicode.html#references)3342    - [Поддержка Unicode в Python](https://python-all.ru/3.3/howto/unicode.html#python-s-unicode-support)33433344      - [Тип str](https://python-all.ru/3.3/howto/unicode.html#the-string-type)3345      - [Преобразование в байты](https://python-all.ru/3.3/howto/unicode.html#converting-to-bytes)3346      - [Unicode-литералы в исходном коде Python](https://python-all.ru/3.3/howto/unicode.html#unicode-literals-in-python-source-code)3347      - [Свойства Unicode](https://python-all.ru/3.3/howto/unicode.html#unicode-properties)3348      - [Регулярные выражения и Unicode](https://python-all.ru/3.3/howto/unicode.html#unicode-regular-expressions)3349      - [Ссылки](https://python-all.ru/3.3/howto/unicode.html#id2)3350    - [Чтение и запись данных Unicode](https://python-all.ru/3.3/howto/unicode.html#reading-and-writing-unicode-data)33513352      - [Имена файлов в Unicode](https://python-all.ru/3.3/howto/unicode.html#unicode-filenames)3353      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/3.3/howto/unicode.html#tips-for-writing-unicode-aware-programs)33543355        - [Преобразование между кодировками файлов](https://python-all.ru/3.3/howto/unicode.html#converting-between-file-encodings)3356        - [Файлы в неизвестной кодировке](https://python-all.ru/3.3/howto/unicode.html#files-in-an-unknown-encoding)3357      - [Ссылки](https://python-all.ru/3.3/howto/unicode.html#id3)3358    - [Благодарности](https://python-all.ru/3.3/howto/unicode.html#acknowledgements)3359  - [HOWTO: получение интернет-ресурсов с помощью пакета urllib](https://python-all.ru/3.3/howto/urllib2.html)33603361    - [Введение](https://python-all.ru/3.3/howto/urllib2.html#introduction)3362    - [Получение URL-адресов](https://python-all.ru/3.3/howto/urllib2.html#fetching-urls)33633364      - [Данные](https://python-all.ru/3.3/howto/urllib2.html#data)3365      - [Заголовки](https://python-all.ru/3.3/howto/urllib2.html#headers)3366    - [Обработка исключений](https://python-all.ru/3.3/howto/urllib2.html#handling-exceptions)33673368      - \<[URLError](https://python-all.ru/3.3/howto/urllib2.html#urlerror)\>3369      - [HTTPError](https://python-all.ru/3.3/howto/urllib2.html#httperror)33703371        - [Коды ошибок](https://python-all.ru/3.3/howto/urllib2.html#error-codes)3372      - [Заключение](https://python-all.ru/3.3/howto/urllib2.html#wrapping-it-up)33733374        - [Номер 1](https://python-all.ru/3.3/howto/urllib2.html#number-1)3375        - [Номер 2](https://python-all.ru/3.3/howto/urllib2.html#number-2)3376    - [info и geturl](https://python-all.ru/3.3/howto/urllib2.html#info-and-geturl)3377    - [Открыватели и обработчики](https://python-all.ru/3.3/howto/urllib2.html#openers-and-handlers)3378    - [Базовая аутентификация](https://python-all.ru/3.3/howto/urllib2.html#id6)3379    - [Прокси](https://python-all.ru/3.3/howto/urllib2.html#proxies)3380    - [Сокеты и слои](https://python-all.ru/3.3/howto/urllib2.html#sockets-and-layers)3381    - [Сноски](https://python-all.ru/3.3/howto/urllib2.html#footnotes)3382  - [HOWTO: использование Python в вебе](https://python-all.ru/3.3/howto/webservers.html)33833384    - [Низкоуровневое представление](https://python-all.ru/3.3/howto/webservers.html#the-low-level-view)33853386      - [Общий шлюзовый интерфейс](https://python-all.ru/3.3/howto/webservers.html#common-gateway-interface)33873388        - [Простой скрипт для тестирования CGI](https://python-all.ru/3.3/howto/webservers.html#simple-script-for-testing-cgi)3389        - [Настройка CGI на собственном сервере](https://python-all.ru/3.3/howto/webservers.html#setting-up-cgi-on-your-own-server)3390        - [Типичные проблемы CGI-скриптов](https://python-all.ru/3.3/howto/webservers.html#common-problems-with-cgi-scripts)3391      - [mod\_python](https://python-all.ru/3.3/howto/webservers.html#mod-python)3392      - [FastCGI и SCGI](https://python-all.ru/3.3/howto/webservers.html#fastcgi-and-scgi)33933394        - [Настройка FastCGI](https://python-all.ru/3.3/howto/webservers.html#setting-up-fastcgi)3395      - [mod\_wsgi](https://python-all.ru/3.3/howto/webservers.html#mod-wsgi)3396    - [Отступление: WSGI](https://python-all.ru/3.3/howto/webservers.html#step-back-wsgi)33973398      - [WSGI-серверы](https://python-all.ru/3.3/howto/webservers.html#wsgi-servers)3399      - [Пример: MoinMoin](https://python-all.ru/3.3/howto/webservers.html#case-study-moinmoin)3400    - [Модель-Представление-Контроллер](https://python-all.ru/3.3/howto/webservers.html#model-view-controller)3401    - [Составляющие веб-сайтов](https://python-all.ru/3.3/howto/webservers.html#ingredients-for-websites)34023403      - [Шаблоны](https://python-all.ru/3.3/howto/webservers.html#templates)3404      - [Постоянное хранение данных](https://python-all.ru/3.3/howto/webservers.html#data-persistence)3405    - [Фреймворки](https://python-all.ru/3.3/howto/webservers.html#frameworks)34063407      - [Некоторые известные фреймворки](https://python-all.ru/3.3/howto/webservers.html#some-notable-frameworks)34083409        - [Django](https://python-all.ru/3.3/howto/webservers.html#django)3410        - [TurboGears](https://python-all.ru/3.3/howto/webservers.html#turbogears)3411        - [Zope](https://python-all.ru/3.3/howto/webservers.html#zope)3412        - [Другие известные фреймворки](https://python-all.ru/3.3/howto/webservers.html#other-notable-frameworks)3413  - [Учебное пособие по argparse](https://python-all.ru/3.3/howto/argparse.html)34143415    - [Основные понятия](https://python-all.ru/3.3/howto/argparse.html#concepts)3416    - [Основы](https://python-all.ru/3.3/howto/argparse.html#the-basics)3417    - [Знакомство с позиционными аргументами](https://python-all.ru/3.3/howto/argparse.html#introducing-positional-arguments)3418    - [Знакомство с необязательными аргументами](https://python-all.ru/3.3/howto/argparse.html#introducing-optional-arguments)34193420      - [Короткие опции](https://python-all.ru/3.3/howto/argparse.html#short-options)3421    - [Сочетание позиционных и необязательных аргументов](https://python-all.ru/3.3/howto/argparse.html#combining-positional-and-optional-arguments)3422    - [Переходим к более сложным темам](https://python-all.ru/3.3/howto/argparse.html#getting-a-little-more-advanced)34233424      - [Конфликтующие опции](https://python-all.ru/3.3/howto/argparse.html#conflicting-options)3425    - [Заключение](https://python-all.ru/3.3/howto/argparse.html#conclusion)3426  - [Введение в модуль ipaddress](https://python-all.ru/3.3/howto/ipaddress.html)34273428    - [Создание объектов Address/Network/Interface](https://python-all.ru/3.3/howto/ipaddress.html#creating-address-network-interface-objects)34293430      - [Замечание о версиях IP](https://python-all.ru/3.3/howto/ipaddress.html#a-note-on-ip-versions)3431      - [IP-адреса хостов](https://python-all.ru/3.3/howto/ipaddress.html#ip-host-addresses)3432      - [Определение сетей](https://python-all.ru/3.3/howto/ipaddress.html#defining-networks)3433      - [Интерфейсы хоста](https://python-all.ru/3.3/howto/ipaddress.html#host-interfaces)3434    - [Проверка объектов адреса/сети/интерфейса](https://python-all.ru/3.3/howto/ipaddress.html#inspecting-address-network-interface-objects)3435    - [Сети как списки адресов](https://python-all.ru/3.3/howto/ipaddress.html#networks-as-lists-of-addresses)3436    - [Сравнения](https://python-all.ru/3.3/howto/ipaddress.html#comparisons)3437    - [Использование IP-адресов с другими модулями](https://python-all.ru/3.3/howto/ipaddress.html#using-ip-addresses-with-other-modules)3438    - [Получение дополнительных сведений при сбое создания экземпляра](https://python-all.ru/3.3/howto/ipaddress.html#getting-more-detail-when-instance-creation-fails)3439- [Часто задаваемые вопросы по Python](https://python-all.ru/3.3/faq/index.html)34403441  - [Общие вопросы по Python](https://python-all.ru/3.3/faq/general.html)34423443    - [Общая информация](https://python-all.ru/3.3/faq/general.html#general-information)3444    - [Python в реальном мире](https://python-all.ru/3.3/faq/general.html#python-in-the-real-world)3445  - [Вопросы по программированию](https://python-all.ru/3.3/faq/programming.html)34463447    - [Общие вопросы](https://python-all.ru/3.3/faq/programming.html#general-questions)3448    - [Ядро языка](https://python-all.ru/3.3/faq/programming.html#core-language)3449    - [Числа и строки](https://python-all.ru/3.3/faq/programming.html#numbers-and-strings)3450    - [Производительность](https://python-all.ru/3.3/faq/programming.html#performance)3451    - [Последовательности (кортежи/списки)](https://python-all.ru/3.3/faq/programming.html#sequences-tuples-lists)3452    - [Словари](https://python-all.ru/3.3/faq/programming.html#dictionaries)3453    - [Объекты](https://python-all.ru/3.3/faq/programming.html#objects)3454    - [Модули](https://python-all.ru/3.3/faq/programming.html#modules)3455  - [Вопросы по дизайну и истории](https://python-all.ru/3.3/faq/design.html)34563457    - [Почему в Python для группировки инструкций используются отступы?](https://python-all.ru/3.3/faq/design.html#why-does-python-use-indentation-for-grouping-of-statements)3458    - [Почему при простых арифметических операциях получаются странные результаты?](https://python-all.ru/3.3/faq/design.html#why-am-i-getting-strange-results-with-simple-arithmetic-operations)3459    - [Почему вычисления с плавающей запятой такие неточные?](https://python-all.ru/3.3/faq/design.html#why-are-floating-point-calculations-so-inaccurate)3460    - [Почему строки в Python неизменяемы?](https://python-all.ru/3.3/faq/design.html#why-are-python-strings-immutable)3461    - [Почему self нужно явно указывать в определениях и вызовах методов?](https://python-all.ru/3.3/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls)3462    - [Почему в выражении нельзя использовать присваивание?](https://python-all.ru/3.3/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression)3463    - [Почему в Python для одних возможностей используются методы (например, list.index()), а для других – функции (например, len(list))?](https://python-all.ru/3.3/faq/design.html#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list)3464    - [Почему join() – метод строки, а не списка или кортежа?](https://python-all.ru/3.3/faq/design.html#why-is-join-a-string-method-instead-of-a-list-or-tuple-method)3465    - [Насколько быстры исключения?](https://python-all.ru/3.3/faq/design.html#how-fast-are-exceptions)3466    - [Почему в Python нет оператора switch или case?](https://python-all.ru/3.3/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python)3467    - [Разве нельзя эмулировать потоки в интерпретаторе, вместо того чтобы полагаться на реализацию потоков, зависящую от ОС?](https://python-all.ru/3.3/faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation)3468    - [Почему лямбда-выражения не могут содержать инструкции?](https://python-all.ru/3.3/faq/design.html#why-can-t-lambda-expressions-contain-statements)3469    - [Можно ли скомпилировать Python в машинный код, C или другой язык?](https://python-all.ru/3.3/faq/design.html#can-python-be-compiled-to-machine-code-c-or-some-other-language)3470    - [Как Python управляет памятью?](https://python-all.ru/3.3/faq/design.html#how-does-python-manage-memory)3471    - [Почему CPython не использует более традиционную схему сборки мусора?](https://python-all.ru/3.3/faq/design.html#why-doesn-t-cpython-use-a-more-traditional-garbage-collection-scheme)3472    - [Почему при завершении CPython освобождается не вся память?](https://python-all.ru/3.3/faq/design.html#why-isn-t-all-memory-freed-when-cpython-exits)3473    - [Почему существуют отдельные типы данных кортеж и список?](https://python-all.ru/3.3/faq/design.html#why-are-there-separate-tuple-and-list-data-types)3474    - [Как реализованы списки?](https://python-all.ru/3.3/faq/design.html#how-are-lists-implemented)3475    - [Как реализованы словари?](https://python-all.ru/3.3/faq/design.html#how-are-dictionaries-implemented)3476    - [Почему ключи словаря должны быть неизменяемыми?](https://python-all.ru/3.3/faq/design.html#why-must-dictionary-keys-be-immutable)3477    - [Почему list.sort() не возвращает отсортированный список?](https://python-all.ru/3.3/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list)3478    - [Как задать и обеспечить соблюдение спецификации интерфейса в Python?](https://python-all.ru/3.3/faq/design.html#how-do-you-specify-and-enforce-an-interface-spec-in-python)3479    - [Почему значения по умолчанию разделяются между объектами?](https://python-all.ru/3.3/faq/design.html#why-are-default-values-shared-between-objects)3480    - [Почему нет goto?](https://python-all.ru/3.3/faq/design.html#why-is-there-no-goto)3481    - [Почему сырые строки (r-строки) не могут заканчиваться обратной косой чертой?](https://python-all.ru/3.3/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash)3482    - [Почему в Python нет оператора with для присваивания атрибутов?](https://python-all.ru/3.3/faq/design.html#why-doesn-t-python-have-a-with-statement-for-attribute-assignments)3483    - [Почему в операторах if/while/def/class требуется двоеточие?](https://python-all.ru/3.3/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements)3484    - [Почему Python разрешает запятые в конце списков и кортежей?](https://python-all.ru/3.3/faq/design.html#why-does-python-allow-commas-at-the-end-of-lists-and-tuples)3485  - [FAQ по библиотекам и расширениям](https://python-all.ru/3.3/faq/library.html)34863487    - [Общие вопросы по библиотекам](https://python-all.ru/3.3/faq/library.html#general-library-questions)3488    - [Типовые задачи](https://python-all.ru/3.3/faq/library.html#common-tasks)3489    - [Потоки](https://python-all.ru/3.3/faq/library.html#threads)3490    - [Ввод и вывод](https://python-all.ru/3.3/faq/library.html#input-and-output)3491    - [Сетевое и интернет-программирование](https://python-all.ru/3.3/faq/library.html#network-internet-programming)3492    - [Базы данных](https://python-all.ru/3.3/faq/library.html#databases)3493    - [Математика и численные методы](https://python-all.ru/3.3/faq/library.html#mathematics-and-numerics)3494  - [FAQ по расширению и встраиванию](https://python-all.ru/3.3/faq/extending.html)34953496    - [Можно ли создавать собственные функции на C?](https://python-all.ru/3.3/faq/extending.html#can-i-create-my-own-functions-in-c)3497    - [Можно ли создавать собственные функции на C++?](https://python-all.ru/3.3/faq/extending.html#id1)3498    - [Писать на C сложно; есть ли альтернативы?](https://python-all.ru/3.3/faq/extending.html#writing-c-is-hard-are-there-any-alternatives)3499    - [Как выполнить произвольные инструкции Python из C?](https://python-all.ru/3.3/faq/extending.html#how-can-i-execute-arbitrary-python-statements-from-c)3500    - [Как вычислить произвольное выражение Python из C?](https://python-all.ru/3.3/faq/extending.html#how-can-i-evaluate-an-arbitrary-python-expression-from-c)3501    - [Как извлечь значения C из объекта Python?](https://python-all.ru/3.3/faq/extending.html#how-do-i-extract-c-values-from-a-python-object)3502    - [Как использовать Py\_BuildValue() для создания кортежа произвольной длины?](https://python-all.ru/3.3/faq/extending.html#how-do-i-use-py-buildvalue-to-create-a-tuple-of-arbitrary-length)3503    - [Как вызвать метод объекта из C?](https://python-all.ru/3.3/faq/extending.html#how-do-i-call-an-object-s-method-from-c)3504    - [Как перехватить вывод PyErr\_Print() (или любого другого вывода в stdout/stderr)?](https://python-all.ru/3.3/faq/extending.html#how-do-i-catch-the-output-from-pyerr-print-or-anything-that-prints-to-stdout-stderr)3505    - [Как получить доступ к модулю, написанному на Python, из C?](https://python-all.ru/3.3/faq/extending.html#how-do-i-access-a-module-written-in-python-from-c)3506    - [Как организовать взаимодействие с объектами C++ из Python?](https://python-all.ru/3.3/faq/extending.html#how-do-i-interface-to-c-objects-from-python)3507    - [Почему make завершается ошибкой после добавления модуля через файл Setup?](https://python-all.ru/3.3/faq/extending.html#i-added-a-module-using-the-setup-file-and-the-make-fails-why)3508    - [Как отлаживать расширение?](https://python-all.ru/3.3/faq/extending.html#how-do-i-debug-an-extension)3509    - [Почему при компиляции модуля Python в Linux отсутствуют некоторые файлы?](https://python-all.ru/3.3/faq/extending.html#i-want-to-compile-a-python-module-on-my-linux-system-but-some-files-are-missing-why)3510    - [Что означает «SystemError: \_PyImport\_FixupExtension: module yourmodule not loaded»?](https://python-all.ru/3.3/faq/extending.html#what-does-systemerror-pyimport-fixupextension-module-yourmodule-not-loaded-mean)3511    - [Как отличить «неполный ввод» от «неверного ввода»?](https://python-all.ru/3.3/faq/extending.html#how-do-i-tell-incomplete-input-from-invalid-input)3512    - [Как найти неопределённые символы g++ \_\_builtin\_new или \_\_pure\_virtual?](https://python-all.ru/3.3/faq/extending.html#how-do-i-find-undefined-g-symbols-builtin-new-or-pure-virtual)3513    - [Можно ли создать класс объекта, в котором часть методов реализована на C, а часть – на Python (например, через наследование)?](https://python-all.ru/3.3/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance)3514  - [FAQ по Python в Windows](https://python-all.ru/3.3/faq/windows.html)35153516    - [Как запустить программу Python в Windows?](https://python-all.ru/3.3/faq/windows.html#how-do-i-run-a-python-program-under-windows)3517    - [Как сделать скрипты Python исполняемыми?](https://python-all.ru/3.3/faq/windows.html#how-do-i-make-python-scripts-executable)3518    - [Почему Python иногда так долго запускается?](https://python-all.ru/3.3/faq/windows.html#why-does-python-sometimes-take-so-long-to-start)3519    - [Как создать исполняемый файл из скрипта Python?](https://python-all.ru/3.3/faq/windows.html#how-do-i-make-an-executable-from-a-python-script)3520    - [Является ли файл `*.pyd` тем же самым, что и DLL?](https://python-all.ru/3.3/faq/windows.html#is-a-pyd-file-the-same-as-a-dll)3521    - [Как встроить Python в приложение Windows?](https://python-all.ru/3.3/faq/windows.html#how-can-i-embed-python-into-a-windows-application)3522    - [Как запретить редакторам вставлять табуляцию в исходный код Python?](https://python-all.ru/3.3/faq/windows.html#how-do-i-keep-editors-from-inserting-tabs-into-my-python-source)3523    - [Как проверить нажатие клавиши без блокировки?](https://python-all.ru/3.3/faq/windows.html#how-do-i-check-for-a-keypress-without-blocking)3524    - [Как эмулировать os.kill() в Windows?](https://python-all.ru/3.3/faq/windows.html#how-do-i-emulate-os-kill-in-windows)3525    - [Как извлечь загруженную документацию в Windows?](https://python-all.ru/3.3/faq/windows.html#how-do-i-extract-the-downloaded-documentation-on-windows)3526  - [Часто задаваемые вопросы о графическом интерфейсе пользователя](https://python-all.ru/3.3/faq/gui.html)35273528    - [Общие вопросы по GUI](https://python-all.ru/3.3/faq/gui.html#general-gui-questions)3529    - [Какие существуют кроссплатформенные GUI-инструментарии для Python?](https://python-all.ru/3.3/faq/gui.html#what-platform-independent-gui-toolkits-exist-for-python)3530    - [Какие существуют платформозависимые GUI-инструментарии для Python?](https://python-all.ru/3.3/faq/gui.html#what-platform-specific-gui-toolkits-exist-for-python)3531    - [Вопросы по Tkinter](https://python-all.ru/3.3/faq/gui.html#tkinter-questions)3532  - [FAQ «Почему Python установлен на моём компьютере?»](https://python-all.ru/3.3/faq/installed.html)35333534    - [Что такое Python?](https://python-all.ru/3.3/faq/installed.html#what-is-python)3535    - [Почему Python установлен на моём компьютере?](https://python-all.ru/3.3/faq/installed.html#why-is-python-installed-on-my-machine)3536    - [Можно ли удалить Python?](https://python-all.ru/3.3/faq/installed.html#can-i-delete-python)3537- [Глоссарий](https://python-all.ru/3.3/glossary.html)3538- [Об этих документах](https://python-all.ru/3.3/about.html)35393540  - [Участники документации Python](https://python-all.ru/3.3/about.html#contributors-to-the-python-documentation)3541- [Сообщение об ошибках](https://python-all.ru/3.3/bugs.html)35423543  - [Ошибки в документации](https://python-all.ru/3.3/bugs.html#documentation-bugs)3544  - [Использование трекера задач Python](https://python-all.ru/3.3/bugs.html#using-the-python-issue-tracker)3545  - [Начало работы: участие в разработке Python](https://python-all.ru/3.3/bugs.html#getting-started-contributing-to-python-yourself)3546- [Авторские права](https://python-all.ru/3.3/copyright.html)3547- [История и лицензия](https://python-all.ru/3.3/license.html)35483549  - [История программного обеспечения](https://python-all.ru/3.3/license.html#history-of-the-software)3550  - [Условия доступа и использования Python](https://python-all.ru/3.3/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python)3551  - [Лицензии и благодарности для включённого программного обеспечения](https://python-all.ru/3.3/license.html#licenses-and-acknowledgements-for-incorporated-software)35523553    - [Вихрь Мерсенна](https://python-all.ru/3.3/license.html#mersenne-twister)3554    - [Сокеты](https://python-all.ru/3.3/license.html#sockets)3555    - [Управление исключениями с плавающей точкой](https://python-all.ru/3.3/license.html#floating-point-exception-control)3556    - [Асинхронные службы сокетов](https://python-all.ru/3.3/license.html#asynchronous-socket-services)3557    - [Управление cookie](https://python-all.ru/3.3/license.html#cookie-management)3558    - [Трассировка выполнения](https://python-all.ru/3.3/license.html#execution-tracing)3559    - [Функции UUencode и UUdecode](https://python-all.ru/3.3/license.html#uuencode-and-uudecode-functions)3560    - [XML-вызовы удалённых процедур](https://python-all.ru/3.3/license.html#xml-remote-procedure-calls)3561    - [test\_epoll](https://python-all.ru/3.3/license.html#test-epoll)3562    - [Select kqueue](https://python-all.ru/3.3/license.html#select-kqueue)3563    - [strtod and dtoa](https://python-all.ru/3.3/license.html#strtod-and-dtoa)3564    - [OpenSSL](https://python-all.ru/3.3/license.html#openssl)3565    - [expat](https://python-all.ru/3.3/license.html#expat)3566    - [libffi](https://python-all.ru/3.3/license.html#libffi)3567    - [zlib](https://python-all.ru/3.3/license.html#zlib)3568    - [libmpdec](https://python-all.ru/3.3/license.html#libmpdec)3569