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

contents.md

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

1> **Источник:** https://python-all.ru/3.4/contents.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Содержание документации Python89- [Что нового в Python](https://python-all.ru/3.4/whatsnew/index.html)1011  - [Что нового в Python 3.4](https://python-all.ru/3.4/whatsnew/3.4.html)1213    - [Сводка – основные моменты выпуска](https://python-all.ru/3.4/whatsnew/3.4.html#summary-release-highlights)14    - [Новые возможности](https://python-all.ru/3.4/whatsnew/3.4.html#new-features)1516      - [PEP 453: Явная начальная загрузка pip в установках Python](https://python-all.ru/3.4/whatsnew/3.4.html#pep-453-explicit-bootstrapping-of-pip-in-python-installations)1718        - [Автоматическая установка pip по умолчанию](https://python-all.ru/3.4/whatsnew/3.4.html#bootstrapping-pip-by-default)19        - [Изменения в документации](https://python-all.ru/3.4/whatsnew/3.4.html#documentation-changes)20      - [PEP 446: Вновь созданные файловые дескрипторы не наследуются](https://python-all.ru/3.4/whatsnew/3.4.html#pep-446-newly-created-file-descriptors-are-non-inheritable)21      - [Улучшения в обработке кодеков](https://python-all.ru/3.4/whatsnew/3.4.html#improvements-to-codec-handling)22      - [PEP 451: Тип ModuleSpec для системы импорта](https://python-all.ru/3.4/whatsnew/3.4.html#pep-451-a-modulespec-type-for-the-import-system)23      - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/3.4.html#other-language-changes)24    - [Новые модули](https://python-all.ru/3.4/whatsnew/3.4.html#new-modules)2526      - [asyncio](https://python-all.ru/3.4/whatsnew/3.4.html#asyncio)27      - [ensurepip](https://python-all.ru/3.4/whatsnew/3.4.html#ensurepip)28      - [enum](https://python-all.ru/3.4/whatsnew/3.4.html#enum)29      - [pathlib](https://python-all.ru/3.4/whatsnew/3.4.html#pathlib)30      - [selectors](https://python-all.ru/3.4/whatsnew/3.4.html#selectors)31      - [statistics](https://python-all.ru/3.4/whatsnew/3.4.html#statistics)32      - [tracemalloc](https://python-all.ru/3.4/whatsnew/3.4.html#tracemalloc)33    - [Улучшенные модули](https://python-all.ru/3.4/whatsnew/3.4.html#improved-modules)3435      - [abc](https://python-all.ru/3.4/whatsnew/3.4.html#abc)36      - [aifc](https://python-all.ru/3.4/whatsnew/3.4.html#aifc)37      - [argparse](https://python-all.ru/3.4/whatsnew/3.4.html#argparse)38      - [audioop](https://python-all.ru/3.4/whatsnew/3.4.html#audioop)39      - [base64](https://python-all.ru/3.4/whatsnew/3.4.html#base64)40      - [collections](https://python-all.ru/3.4/whatsnew/3.4.html#collections)41      - [colorsys](https://python-all.ru/3.4/whatsnew/3.4.html#colorsys)42      - [contextlib](https://python-all.ru/3.4/whatsnew/3.4.html#contextlib)43      - [dbm](https://python-all.ru/3.4/whatsnew/3.4.html#dbm)44      - [dis](https://python-all.ru/3.4/whatsnew/3.4.html#dis)45      - [doctest](https://python-all.ru/3.4/whatsnew/3.4.html#doctest)46      - [email](https://python-all.ru/3.4/whatsnew/3.4.html#email)47      - [filecmp](https://python-all.ru/3.4/whatsnew/3.4.html#filecmp)48      - [functools](https://python-all.ru/3.4/whatsnew/3.4.html#functools)49      - [gc](https://python-all.ru/3.4/whatsnew/3.4.html#gc)50      - [glob](https://python-all.ru/3.4/whatsnew/3.4.html#glob)51      - [hashlib](https://python-all.ru/3.4/whatsnew/3.4.html#hashlib)52      - [hmac](https://python-all.ru/3.4/whatsnew/3.4.html#hmac)53      - [html](https://python-all.ru/3.4/whatsnew/3.4.html#html)54      - [http](https://python-all.ru/3.4/whatsnew/3.4.html#http)55      - [idlelib и IDLE](https://python-all.ru/3.4/whatsnew/3.4.html#idlelib-and-idle)56      - [importlib](https://python-all.ru/3.4/whatsnew/3.4.html#importlib)57      - [inspect](https://python-all.ru/3.4/whatsnew/3.4.html#inspect)58      - [ipaddress](https://python-all.ru/3.4/whatsnew/3.4.html#ipaddress)59      - [logging](https://python-all.ru/3.4/whatsnew/3.4.html#logging)60      - [marshal](https://python-all.ru/3.4/whatsnew/3.4.html#marshal)61      - [mmap](https://python-all.ru/3.4/whatsnew/3.4.html#mmap)62      - [multiprocessing](https://python-all.ru/3.4/whatsnew/3.4.html#multiprocessing)63      - [оператор](https://python-all.ru/3.4/whatsnew/3.4.html#operator)64      - [os](https://python-all.ru/3.4/whatsnew/3.4.html#os)65      - [pdb](https://python-all.ru/3.4/whatsnew/3.4.html#pdb)66      - [pickle](https://python-all.ru/3.4/whatsnew/3.4.html#pickle)67      - [plistlib](https://python-all.ru/3.4/whatsnew/3.4.html#plistlib)68      - [poplib](https://python-all.ru/3.4/whatsnew/3.4.html#poplib)69      - [pprint](https://python-all.ru/3.4/whatsnew/3.4.html#pprint)70      - [pty](https://python-all.ru/3.4/whatsnew/3.4.html#pty)71      - [pydoc](https://python-all.ru/3.4/whatsnew/3.4.html#pydoc)72      - [re](https://python-all.ru/3.4/whatsnew/3.4.html#re)73      - [resource](https://python-all.ru/3.4/whatsnew/3.4.html#resource)74      - [select](https://python-all.ru/3.4/whatsnew/3.4.html#select)75      - [shelve](https://python-all.ru/3.4/whatsnew/3.4.html#shelve)76      - [shutil](https://python-all.ru/3.4/whatsnew/3.4.html#shutil)77      - [smtpd](https://python-all.ru/3.4/whatsnew/3.4.html#smtpd)78      - [smtplib](https://python-all.ru/3.4/whatsnew/3.4.html#smtplib)79      - [сокет](https://python-all.ru/3.4/whatsnew/3.4.html#socket)80      - [sqlite3](https://python-all.ru/3.4/whatsnew/3.4.html#sqlite3)81      - [ssl](https://python-all.ru/3.4/whatsnew/3.4.html#ssl)82      - [stat](https://python-all.ru/3.4/whatsnew/3.4.html#stat)83      - [struct](https://python-all.ru/3.4/whatsnew/3.4.html#struct)84      - [подпроцесс](https://python-all.ru/3.4/whatsnew/3.4.html#subprocess)85      - [sunau](https://python-all.ru/3.4/whatsnew/3.4.html#sunau)86      - [sys](https://python-all.ru/3.4/whatsnew/3.4.html#sys)87      - [tarfile](https://python-all.ru/3.4/whatsnew/3.4.html#tarfile)88      - [textwrap](https://python-all.ru/3.4/whatsnew/3.4.html#textwrap)89      - [threading](https://python-all.ru/3.4/whatsnew/3.4.html#threading)90      - [traceback](https://python-all.ru/3.4/whatsnew/3.4.html#traceback)91      - [типы](https://python-all.ru/3.4/whatsnew/3.4.html#types)92      - [urllib](https://python-all.ru/3.4/whatsnew/3.4.html#urllib)93      - [unittest](https://python-all.ru/3.4/whatsnew/3.4.html#unittest)94      - [venv](https://python-all.ru/3.4/whatsnew/3.4.html#venv)95      - [wave](https://python-all.ru/3.4/whatsnew/3.4.html#wave)96      - [weakref](https://python-all.ru/3.4/whatsnew/3.4.html#weakref)97      - [xml.etree](https://python-all.ru/3.4/whatsnew/3.4.html#xml-etree)98      - [zipfile](https://python-all.ru/3.4/whatsnew/3.4.html#zipfile)99    - [Изменения в реализации CPython](https://python-all.ru/3.4/whatsnew/3.4.html#cpython-implementation-changes)100101      - [PEP 445: Настройка аллокаторов памяти CPython](https://python-all.ru/3.4/whatsnew/3.4.html#pep-445-customization-of-cpython-memory-allocators)102      - [PEP 442: Безопасная финализация объектов](https://python-all.ru/3.4/whatsnew/3.4.html#pep-442-safe-object-finalization)103      - [PEP 456: Безопасный и взаимозаменяемый хеш-алгоритм](https://python-all.ru/3.4/whatsnew/3.4.html#pep-456-secure-and-interchangeable-hash-algorithm)104      - [PEP 436: Argument Clinic](https://python-all.ru/3.4/whatsnew/3.4.html#pep-436-argument-clinic)105      - [Прочие изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/3.4.html#other-build-and-c-api-changes)106      - [Прочие улучшения](https://python-all.ru/3.4/whatsnew/3.4.html#other-improvements)107      - [Значительные оптимизации](https://python-all.ru/3.4/whatsnew/3.4.html#significant-optimizations)108    - [Устарело](https://python-all.ru/3.4/whatsnew/3.4.html#deprecated)109110      - [Устаревшие возможности в Python API](https://python-all.ru/3.4/whatsnew/3.4.html#deprecations-in-the-python-api)111      - [Устаревшие возможности](https://python-all.ru/3.4/whatsnew/3.4.html#deprecated-features)112    - [Удалённое](https://python-all.ru/3.4/whatsnew/3.4.html#removed)113114      - [Операционные системы, больше не поддерживаемые](https://python-all.ru/3.4/whatsnew/3.4.html#operating-systems-no-longer-supported)115      - [Удаление API и возможностей](https://python-all.ru/3.4/whatsnew/3.4.html#api-and-feature-removals)116      - [Очистка кода](https://python-all.ru/3.4/whatsnew/3.4.html#code-cleanups)117    - [Перенос на Python 3.4](https://python-all.ru/3.4/whatsnew/3.4.html#porting-to-python-3-4)118119      - [Изменения в поведении команды python](https://python-all.ru/3.4/whatsnew/3.4.html#changes-in-python-command-behavior)120      - [Изменения в Python API](https://python-all.ru/3.4/whatsnew/3.4.html#changes-in-the-python-api)121      - [Изменения в C API](https://python-all.ru/3.4/whatsnew/3.4.html#changes-in-the-c-api)122    - [Изменено в 3.4.3](https://python-all.ru/3.4/whatsnew/3.4.html#changed-in-3-4-3)123124      - [PEP 476: Включение проверки сертификатов по умолчанию для http-клиентов стандартной библиотеки](https://python-all.ru/3.4/whatsnew/3.4.html#pep-476-enabling-certificate-verification-by-default-for-stdlib-http-clients)125  - [Что нового в Python 3.3](https://python-all.ru/3.4/whatsnew/3.3.html)126127    - [Сводка – основные моменты выпуска](https://python-all.ru/3.4/whatsnew/3.3.html#summary-release-highlights)128    - [PEP 405: Виртуальные окружения](https://python-all.ru/3.4/whatsnew/3.3.html#pep-405-virtual-environments)129    - [PEP 420: Неявные пакеты пространств имён](https://python-all.ru/3.4/whatsnew/3.3.html#pep-420-implicit-namespace-packages)130    - [PEP 3118: Новая реализация memoryview и документация протокола буферов](https://python-all.ru/3.4/whatsnew/3.3.html#pep-3118-new-memoryview-implementation-and-buffer-protocol-documentation)131132      - [Возможности](https://python-all.ru/3.4/whatsnew/3.3.html#features)133      - [Изменения API](https://python-all.ru/3.4/whatsnew/3.3.html#api-changes)134    - [PEP 393: Гибкое представление строк](https://python-all.ru/3.4/whatsnew/3.3.html#pep-393-flexible-string-representation)135136      - [Функциональность](https://python-all.ru/3.4/whatsnew/3.3.html#functionality)137      - [Производительность и потребление ресурсов](https://python-all.ru/3.4/whatsnew/3.3.html#performance-and-resource-usage)138    - [PEP 397: Средство запуска Python для Windows](https://python-all.ru/3.4/whatsnew/3.3.html#pep-397-python-launcher-for-windows)139    - [PEP 3151: Переработка иерархии исключений ОС и ввода-вывода](https://python-all.ru/3.4/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy)140    - [PEP 380: Синтаксис делегирования подгенератору](https://python-all.ru/3.4/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator)141    - [PEP 409: Подавление контекста исключения](https://python-all.ru/3.4/whatsnew/3.3.html#pep-409-suppressing-exception-context)142    - [PEP 414: Явные литералы Unicode](https://python-all.ru/3.4/whatsnew/3.3.html#pep-414-explicit-unicode-literals)143    - [PEP 3155: Квалифицированное имя для классов и функций](https://python-all.ru/3.4/whatsnew/3.3.html#pep-3155-qualified-name-for-classes-and-functions)144    - [PEP 412: Словарь с разделением ключей](https://python-all.ru/3.4/whatsnew/3.3.html#pep-412-key-sharing-dictionary)145    - [PEP 362: Объект сигнатуры функции](https://python-all.ru/3.4/whatsnew/3.3.html#pep-362-function-signature-object)146    - [PEP 421: Добавление sys.implementation](https://python-all.ru/3.4/whatsnew/3.3.html#pep-421-adding-sys-implementation)147148      - [SimpleNamespace](https://python-all.ru/3.4/whatsnew/3.3.html#simplenamespace)149    - [Использование importlib в качестве реализации импорта](https://python-all.ru/3.4/whatsnew/3.3.html#using-importlib-as-the-implementation-of-import)150151      - [Новые API](https://python-all.ru/3.4/whatsnew/3.3.html#new-apis)152      - [Заметные изменения](https://python-all.ru/3.4/whatsnew/3.3.html#visible-changes)153    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/3.3.html#other-language-changes)154    - [Более детальная блокировка импорта](https://python-all.ru/3.4/whatsnew/3.3.html#a-finer-grained-import-lock)155    - [Встроенные функции и типы](https://python-all.ru/3.4/whatsnew/3.3.html#builtin-functions-and-types)156    - [Новые модули](https://python-all.ru/3.4/whatsnew/3.3.html#new-modules)157158      - [faulthandler](https://python-all.ru/3.4/whatsnew/3.3.html#faulthandler)159      - [ipaddress](https://python-all.ru/3.4/whatsnew/3.3.html#ipaddress)160      - [lzma](https://python-all.ru/3.4/whatsnew/3.3.html#lzma)161    - [Улучшенные модули](https://python-all.ru/3.4/whatsnew/3.3.html#improved-modules)162163      - [abc](https://python-all.ru/3.4/whatsnew/3.3.html#abc)164      - [array](https://python-all.ru/3.4/whatsnew/3.3.html#array)165      - [base64](https://python-all.ru/3.4/whatsnew/3.3.html#base64)166      - [binascii](https://python-all.ru/3.4/whatsnew/3.3.html#binascii)167      - [bz2](https://python-all.ru/3.4/whatsnew/3.3.html#bz2)168      - [codecs](https://python-all.ru/3.4/whatsnew/3.3.html#codecs)169      - [collections](https://python-all.ru/3.4/whatsnew/3.3.html#collections)170      - [contextlib](https://python-all.ru/3.4/whatsnew/3.3.html#contextlib)171      - [crypt](https://python-all.ru/3.4/whatsnew/3.3.html#crypt)172      - [curses](https://python-all.ru/3.4/whatsnew/3.3.html#curses)173      - [datetime](https://python-all.ru/3.4/whatsnew/3.3.html#datetime)174      - [decimal](https://python-all.ru/3.4/whatsnew/3.3.html#decimal)175176        - [Возможности](https://python-all.ru/3.4/whatsnew/3.3.html#id1)177        - [Изменения API](https://python-all.ru/3.4/whatsnew/3.3.html#id2)178      - [email](https://python-all.ru/3.4/whatsnew/3.3.html#email)179180        - [Каркас политик](https://python-all.ru/3.4/whatsnew/3.3.html#policy-framework)181        - [Временная политика с новым API заголовков](https://python-all.ru/3.4/whatsnew/3.3.html#provisional-policy-with-new-header-api)182        - [Другие изменения API](https://python-all.ru/3.4/whatsnew/3.3.html#other-api-changes)183      - [ftplib](https://python-all.ru/3.4/whatsnew/3.3.html#ftplib)184      - [functools](https://python-all.ru/3.4/whatsnew/3.3.html#functools)185      - [gc](https://python-all.ru/3.4/whatsnew/3.3.html#gc)186      - [hmac](https://python-all.ru/3.4/whatsnew/3.3.html#hmac)187      - [http](https://python-all.ru/3.4/whatsnew/3.3.html#http)188      - [html](https://python-all.ru/3.4/whatsnew/3.3.html#html)189      - [imaplib](https://python-all.ru/3.4/whatsnew/3.3.html#imaplib)190      - [inspect](https://python-all.ru/3.4/whatsnew/3.3.html#inspect)191      - [io](https://python-all.ru/3.4/whatsnew/3.3.html#io)192      - [itertools](https://python-all.ru/3.4/whatsnew/3.3.html#itertools)193      - [logging](https://python-all.ru/3.4/whatsnew/3.3.html#logging)194      - [math](https://python-all.ru/3.4/whatsnew/3.3.html#math)195      - [mmap](https://python-all.ru/3.4/whatsnew/3.3.html#mmap)196      - [multiprocessing](https://python-all.ru/3.4/whatsnew/3.3.html#multiprocessing)197      - [nntplib](https://python-all.ru/3.4/whatsnew/3.3.html#nntplib)198      - [os](https://python-all.ru/3.4/whatsnew/3.3.html#os)199      - [pdb](https://python-all.ru/3.4/whatsnew/3.3.html#pdb)200      - [pickle](https://python-all.ru/3.4/whatsnew/3.3.html#pickle)201      - [pydoc](https://python-all.ru/3.4/whatsnew/3.3.html#pydoc)202      - [re](https://python-all.ru/3.4/whatsnew/3.3.html#re)203      - [sched](https://python-all.ru/3.4/whatsnew/3.3.html#sched)204      - [select](https://python-all.ru/3.4/whatsnew/3.3.html#select)205      - [shlex](https://python-all.ru/3.4/whatsnew/3.3.html#shlex)206      - [shutil](https://python-all.ru/3.4/whatsnew/3.3.html#shutil)207      - [signal](https://python-all.ru/3.4/whatsnew/3.3.html#signal)208      - [smtpd](https://python-all.ru/3.4/whatsnew/3.3.html#smtpd)209      - [smtplib](https://python-all.ru/3.4/whatsnew/3.3.html#smtplib)210      - [сокет](https://python-all.ru/3.4/whatsnew/3.3.html#socket)211      - [socketserver](https://python-all.ru/3.4/whatsnew/3.3.html#socketserver)212      - [sqlite3](https://python-all.ru/3.4/whatsnew/3.3.html#sqlite3)213      - [ssl](https://python-all.ru/3.4/whatsnew/3.3.html#ssl)214      - [stat](https://python-all.ru/3.4/whatsnew/3.3.html#stat)215      - [struct](https://python-all.ru/3.4/whatsnew/3.3.html#struct)216      - [подпроцесс](https://python-all.ru/3.4/whatsnew/3.3.html#subprocess)217      - [sys](https://python-all.ru/3.4/whatsnew/3.3.html#sys)218      - [tarfile](https://python-all.ru/3.4/whatsnew/3.3.html#tarfile)219      - [tempfile](https://python-all.ru/3.4/whatsnew/3.3.html#tempfile)220      - [textwrap](https://python-all.ru/3.4/whatsnew/3.3.html#textwrap)221      - [threading](https://python-all.ru/3.4/whatsnew/3.3.html#threading)222      - [time](https://python-all.ru/3.4/whatsnew/3.3.html#time)223      - [типы](https://python-all.ru/3.4/whatsnew/3.3.html#types)224      - [unittest](https://python-all.ru/3.4/whatsnew/3.3.html#unittest)225      - [urllib](https://python-all.ru/3.4/whatsnew/3.3.html#urllib)226      - [webbrowser](https://python-all.ru/3.4/whatsnew/3.3.html#webbrowser)227      - [xml.etree.ElementTree](https://python-all.ru/3.4/whatsnew/3.3.html#xml-etree-elementtree)228      - [zlib](https://python-all.ru/3.4/whatsnew/3.3.html#zlib)229    - [Оптимизации](https://python-all.ru/3.4/whatsnew/3.3.html#optimizations)230    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/3.3.html#build-and-c-api-changes)231    - [Устарело](https://python-all.ru/3.4/whatsnew/3.3.html#deprecated)232233      - [Неподдерживаемые операционные системы](https://python-all.ru/3.4/whatsnew/3.3.html#unsupported-operating-systems)234      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.4/whatsnew/3.3.html#deprecated-python-modules-functions-and-methods)235      - [Устаревшие функции и типы C API](https://python-all.ru/3.4/whatsnew/3.3.html#deprecated-functions-and-types-of-the-c-api)236      - [Устаревшие возможности](https://python-all.ru/3.4/whatsnew/3.3.html#deprecated-features)237    - [Портирование на Python 3.3](https://python-all.ru/3.4/whatsnew/3.3.html#porting-to-python-3-3)238239      - [Перенос кода Python](https://python-all.ru/3.4/whatsnew/3.3.html#porting-python-code)240      - [Перенос кода C](https://python-all.ru/3.4/whatsnew/3.3.html#porting-c-code)241      - [Сборка расширений на C](https://python-all.ru/3.4/whatsnew/3.3.html#building-c-extensions)242      - [Изменения параметров командной строки](https://python-all.ru/3.4/whatsnew/3.3.html#command-line-switch-changes)243  - [Что нового в Python 3.2](https://python-all.ru/3.4/whatsnew/3.2.html)244245    - [PEP 384: Определение стабильного ABI](https://python-all.ru/3.4/whatsnew/3.2.html#pep-384-defining-a-stable-abi)246    - [PEP 389: Модуль разбора командной строки argparse](https://python-all.ru/3.4/whatsnew/3.2.html#pep-389-argparse-command-line-parsing-module)247    - [PEP 391: Конфигурация логирования на основе словарей](https://python-all.ru/3.4/whatsnew/3.2.html#pep-391-dictionary-based-configuration-for-logging)248    - [PEP 3148: модуль `concurrent.futures`](https://python-all.ru/3.4/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module)249    - [PEP 3147: Каталоги репозитория PYC](https://python-all.ru/3.4/whatsnew/3.2.html#pep-3147-pyc-repository-directories)250    - [PEP 3149: Файлы .so с тегом версии ABI](https://python-all.ru/3.4/whatsnew/3.2.html#pep-3149-abi-version-tagged-so-files)251    - [PEP 3333: Интерфейс шлюза веб-сервера Python v1.0.1](https://python-all.ru/3.4/whatsnew/3.2.html#pep-3333-python-web-server-gateway-interface-v1-0-1)252    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/3.2.html#other-language-changes)253    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.4/whatsnew/3.2.html#new-improved-and-deprecated-modules)254255      - [email](https://python-all.ru/3.4/whatsnew/3.2.html#email)256      - [elementtree](https://python-all.ru/3.4/whatsnew/3.2.html#elementtree)257      - [functools](https://python-all.ru/3.4/whatsnew/3.2.html#functools)258      - [itertools](https://python-all.ru/3.4/whatsnew/3.2.html#itertools)259      - [collections](https://python-all.ru/3.4/whatsnew/3.2.html#collections)260      - [threading](https://python-all.ru/3.4/whatsnew/3.2.html#threading)261      - [datetime и time](https://python-all.ru/3.4/whatsnew/3.2.html#datetime-and-time)262      - [math](https://python-all.ru/3.4/whatsnew/3.2.html#math)263      - [abc](https://python-all.ru/3.4/whatsnew/3.2.html#abc)264      - [io](https://python-all.ru/3.4/whatsnew/3.2.html#io)265      - [reprlib](https://python-all.ru/3.4/whatsnew/3.2.html#reprlib)266      - [logging](https://python-all.ru/3.4/whatsnew/3.2.html#logging)267      - [csv](https://python-all.ru/3.4/whatsnew/3.2.html#csv)268      - [contextlib](https://python-all.ru/3.4/whatsnew/3.2.html#contextlib)269      - [decimal и fractions](https://python-all.ru/3.4/whatsnew/3.2.html#decimal-and-fractions)270      - [ftp](https://python-all.ru/3.4/whatsnew/3.2.html#ftp)271      - [popen](https://python-all.ru/3.4/whatsnew/3.2.html#popen)272      - [select](https://python-all.ru/3.4/whatsnew/3.2.html#select)273      - [gzip и zipfile](https://python-all.ru/3.4/whatsnew/3.2.html#gzip-and-zipfile)274      - [tarfile](https://python-all.ru/3.4/whatsnew/3.2.html#tarfile)275      - [hashlib](https://python-all.ru/3.4/whatsnew/3.2.html#hashlib)276      - [ast](https://python-all.ru/3.4/whatsnew/3.2.html#ast)277      - [os](https://python-all.ru/3.4/whatsnew/3.2.html#os)278      - [shutil](https://python-all.ru/3.4/whatsnew/3.2.html#shutil)279      - [sqlite3](https://python-all.ru/3.4/whatsnew/3.2.html#sqlite3)280      - [html](https://python-all.ru/3.4/whatsnew/3.2.html#html)281      - [сокет](https://python-all.ru/3.4/whatsnew/3.2.html#socket)282      - [ssl](https://python-all.ru/3.4/whatsnew/3.2.html#ssl)283      - [nntp](https://python-all.ru/3.4/whatsnew/3.2.html#nntp)284      - [сертификаты](https://python-all.ru/3.4/whatsnew/3.2.html#certificates)285      - [imaplib](https://python-all.ru/3.4/whatsnew/3.2.html#imaplib)286      - [http.client](https://python-all.ru/3.4/whatsnew/3.2.html#http-client)287      - [unittest](https://python-all.ru/3.4/whatsnew/3.2.html#unittest)288      - [random](https://python-all.ru/3.4/whatsnew/3.2.html#random)289      - [poplib](https://python-all.ru/3.4/whatsnew/3.2.html#poplib)290      - [asyncore](https://python-all.ru/3.4/whatsnew/3.2.html#asyncore)291      - [tempfile](https://python-all.ru/3.4/whatsnew/3.2.html#tempfile)292      - [inspect](https://python-all.ru/3.4/whatsnew/3.2.html#inspect)293      - [pydoc](https://python-all.ru/3.4/whatsnew/3.2.html#pydoc)294      - [dis](https://python-all.ru/3.4/whatsnew/3.2.html#dis)295      - [dbm](https://python-all.ru/3.4/whatsnew/3.2.html#dbm)296      - [ctypes](https://python-all.ru/3.4/whatsnew/3.2.html#ctypes)297      - [site](https://python-all.ru/3.4/whatsnew/3.2.html#site)298      - [sysconfig](https://python-all.ru/3.4/whatsnew/3.2.html#sysconfig)299      - [pdb](https://python-all.ru/3.4/whatsnew/3.2.html#pdb)300      - [configparser](https://python-all.ru/3.4/whatsnew/3.2.html#configparser)301      - [urllib.parse](https://python-all.ru/3.4/whatsnew/3.2.html#urllib-parse)302      - [mailbox](https://python-all.ru/3.4/whatsnew/3.2.html#mailbox)303      - [turtledemo](https://python-all.ru/3.4/whatsnew/3.2.html#turtledemo)304    - [Многопоточность](https://python-all.ru/3.4/whatsnew/3.2.html#multi-threading)305    - [Оптимизации](https://python-all.ru/3.4/whatsnew/3.2.html#optimizations)306    - [Юникод](https://python-all.ru/3.4/whatsnew/3.2.html#unicode)307    - [Кодеки](https://python-all.ru/3.4/whatsnew/3.2.html#codecs)308    - [Документация](https://python-all.ru/3.4/whatsnew/3.2.html#documentation)309    - [IDLE](https://python-all.ru/3.4/whatsnew/3.2.html#idle)310    - [Репозиторий кода](https://python-all.ru/3.4/whatsnew/3.2.html#code-repository)311    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/3.2.html#build-and-c-api-changes)312    - [Переход на Python 3.2](https://python-all.ru/3.4/whatsnew/3.2.html#porting-to-python-3-2)313  - [Что нового в Python 3.1](https://python-all.ru/3.4/whatsnew/3.1.html)314315    - [PEP 372: Упорядоченные словари](https://python-all.ru/3.4/whatsnew/3.1.html#pep-372-ordered-dictionaries)316    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.4/whatsnew/3.1.html#pep-378-format-specifier-for-thousands-separator)317    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/3.1.html#other-language-changes)318    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.4/whatsnew/3.1.html#new-improved-and-deprecated-modules)319    - [Оптимизации](https://python-all.ru/3.4/whatsnew/3.1.html#optimizations)320    - [IDLE](https://python-all.ru/3.4/whatsnew/3.1.html#idle)321    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/3.1.html#build-and-c-api-changes)322    - [Переход на Python 3.1](https://python-all.ru/3.4/whatsnew/3.1.html#porting-to-python-3-1)323  - [Что нового в Python 3.0](https://python-all.ru/3.4/whatsnew/3.0.html)324325    - [Типичные трудности](https://python-all.ru/3.4/whatsnew/3.0.html#common-stumbling-blocks)326327      - [Print – это функция](https://python-all.ru/3.4/whatsnew/3.0.html#print-is-a-function)328      - [Представления и итераторы вместо списков](https://python-all.ru/3.4/whatsnew/3.0.html#views-and-iterators-instead-of-lists)329      - [Сравнение на упорядочивание](https://python-all.ru/3.4/whatsnew/3.0.html#ordering-comparisons)330      - [Целые числа](https://python-all.ru/3.4/whatsnew/3.0.html#integers)331      - [Текст против данных: вместо Unicode и 8-битных строк](https://python-all.ru/3.4/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit)332    - [Обзор изменений синтаксиса](https://python-all.ru/3.4/whatsnew/3.0.html#overview-of-syntax-changes)333334      - [Новый синтаксис](https://python-all.ru/3.4/whatsnew/3.0.html#new-syntax)335      - [Изменённый синтаксис](https://python-all.ru/3.4/whatsnew/3.0.html#changed-syntax)336      - [Удалённый синтаксис](https://python-all.ru/3.4/whatsnew/3.0.html#removed-syntax)337    - [Изменения, уже присутствовавшие в Python 2.6](https://python-all.ru/3.4/whatsnew/3.0.html#changes-already-present-in-python-2-6)338    - [Изменения в библиотеке](https://python-all.ru/3.4/whatsnew/3.0.html#library-changes)339    - [**PEP 3101**: Новый подход к форматированию строк](https://python-all.ru/3.4/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting)340    - [Изменения в исключениях](https://python-all.ru/3.4/whatsnew/3.0.html#changes-to-exceptions)341    - [Прочие изменения](https://python-all.ru/3.4/whatsnew/3.0.html#miscellaneous-other-changes)342343      - [Операторы и специальные методы](https://python-all.ru/3.4/whatsnew/3.0.html#operators-and-special-methods)344      - [Встроенные функции](https://python-all.ru/3.4/whatsnew/3.0.html#builtins)345    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/3.0.html#build-and-c-api-changes)346    - [Производительность](https://python-all.ru/3.4/whatsnew/3.0.html#performance)347    - [Переход на Python 3.0](https://python-all.ru/3.4/whatsnew/3.0.html#porting-to-python-3-0)348  - [Что нового в Python 2.7](https://python-all.ru/3.4/whatsnew/2.7.html)349350    - [Будущее Python 2.x](https://python-all.ru/3.4/whatsnew/2.7.html#the-future-for-python-2-x)351    - [Изменения в обработке предупреждений об устаревании](https://python-all.ru/3.4/whatsnew/2.7.html#changes-to-the-handling-of-deprecation-warnings)352    - [Возможности Python 3.1](https://python-all.ru/3.4/whatsnew/2.7.html#python-3-1-features)353    - [PEP 372: Добавление упорядоченного словаря в collections](https://python-all.ru/3.4/whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections)354    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.4/whatsnew/2.7.html#pep-378-format-specifier-for-thousands-separator)355    - [PEP 389: Модуль argparse для разбора командной строки](https://python-all.ru/3.4/whatsnew/2.7.html#pep-389-the-argparse-module-for-parsing-command-lines)356    - [PEP 391: Конфигурация логирования на основе словаря](https://python-all.ru/3.4/whatsnew/2.7.html#pep-391-dictionary-based-configuration-for-logging)357    - [PEP 3106: Представления словаря](https://python-all.ru/3.4/whatsnew/2.7.html#pep-3106-dictionary-views)358    - [PEP 3137: Объект memoryview](https://python-all.ru/3.4/whatsnew/2.7.html#pep-3137-the-memoryview-object)359    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/2.7.html#other-language-changes)360361      - [Изменения в интерпретаторе](https://python-all.ru/3.4/whatsnew/2.7.html#interpreter-changes)362      - [Оптимизации](https://python-all.ru/3.4/whatsnew/2.7.html#optimizations)363    - [Новые и улучшенные модули](https://python-all.ru/3.4/whatsnew/2.7.html#new-and-improved-modules)364365      - [Новый модуль: importlib](https://python-all.ru/3.4/whatsnew/2.7.html#new-module-importlib)366      - [Новый модуль: sysconfig](https://python-all.ru/3.4/whatsnew/2.7.html#new-module-sysconfig)367      - [ttk: Тематические виджеты для Tk](https://python-all.ru/3.4/whatsnew/2.7.html#ttk-themed-widgets-for-tk)368      - [Обновлённый модуль: unittest](https://python-all.ru/3.4/whatsnew/2.7.html#updated-module-unittest)369      - [Обновлённый модуль: ElementTree 1.3](https://python-all.ru/3.4/whatsnew/2.7.html#updated-module-elementtree-1-3)370    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/2.7.html#build-and-c-api-changes)371372      - [Капсулы](https://python-all.ru/3.4/whatsnew/2.7.html#capsules)373      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.4/whatsnew/2.7.html#port-specific-changes-windows)374      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.4/whatsnew/2.7.html#port-specific-changes-mac-os-x)375      - [Изменения для конкретной платформы: FreeBSD](https://python-all.ru/3.4/whatsnew/2.7.html#port-specific-changes-freebsd)376    - [Прочие изменения и исправления](https://python-all.ru/3.4/whatsnew/2.7.html#other-changes-and-fixes)377    - [Переход на Python 2.7](https://python-all.ru/3.4/whatsnew/2.7.html#porting-to-python-2-7)378    - [Новые возможности, добавленные в поддерживаемых выпусках Python 2.7](https://python-all.ru/3.4/whatsnew/2.7.html#new-features-added-to-python-2-7-maintenance-releases)379380      - [PEP 434: Исключение для улучшений IDLE во всех ветках](https://python-all.ru/3.4/whatsnew/2.7.html#pep-434-idle-enhancement-exception-for-all-branches)381      - [PEP 466: Улучшения сетевой безопасности для Python 2.7](https://python-all.ru/3.4/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7)382    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.7.html#acknowledgements)383  - [Что нового в Python 2.6](https://python-all.ru/3.4/whatsnew/2.6.html)384385    - [Python 3.0](https://python-all.ru/3.4/whatsnew/2.6.html#python-3-0)386    - [Изменения в процессе разработки](https://python-all.ru/3.4/whatsnew/2.6.html#changes-to-the-development-process)387388      - [Новый трекер ошибок: Roundup](https://python-all.ru/3.4/whatsnew/2.6.html#new-issue-tracker-roundup)389      - [Новый формат документации: reStructuredText с использованием Sphinx](https://python-all.ru/3.4/whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx)390    - [PEP 343: Оператор 'with'](https://python-all.ru/3.4/whatsnew/2.6.html#pep-343-the-with-statement)391392      - [Написание контекстных менеджеров](https://python-all.ru/3.4/whatsnew/2.6.html#writing-context-managers)393      - [Модуль contextlib](https://python-all.ru/3.4/whatsnew/2.6.html#the-contextlib-module)394    - [PEP 366: Явные относительные импорты из главного модуля](https://python-all.ru/3.4/whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module)395    - [PEP 370: Пользовательская `site-packages` директория](https://python-all.ru/3.4/whatsnew/2.6.html#pep-370-per-user-site-packages-directory)396    - [PEP 371: Пакет `multiprocessing`](https://python-all.ru/3.4/whatsnew/2.6.html#pep-371-the-multiprocessing-package)397    - [PEP 3101: Расширенное форматирование строк](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3101-advanced-string-formatting)398    - [PEP 3105: `print` как функция](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3105-print-as-a-function)399    - [PEP 3110: Изменения в обработке исключений](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3110-exception-handling-changes)400    - [PEP 3112: Байтовые литералы](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3112-byte-literals)401    - [PEP 3116: Новая библиотека ввода-вывода](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3116-new-i-o-library)402    - [PEP 3118: Пересмотренный протокол буферов](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3118-revised-buffer-protocol)403    - [PEP 3119: Абстрактные базовые классы](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3119-abstract-base-classes)404    - [PEP 3127: Поддержка и синтаксис целочисленных литералов](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax)405    - [PEP 3129: Декораторы классов](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3129-class-decorators)406    - [PEP 3141: Иерархия типов для чисел](https://python-all.ru/3.4/whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers)407408      - [Модуль `fractions`](https://python-all.ru/3.4/whatsnew/2.6.html#the-fractions-module)409    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/2.6.html#other-language-changes)410411      - [Оптимизации](https://python-all.ru/3.4/whatsnew/2.6.html#optimizations)412      - [Изменения в интерпретаторе](https://python-all.ru/3.4/whatsnew/2.6.html#interpreter-changes)413    - [Новые и улучшенные модули](https://python-all.ru/3.4/whatsnew/2.6.html#new-and-improved-modules)414415      - [Модуль `ast`](https://python-all.ru/3.4/whatsnew/2.6.html#the-ast-module)416      - [Модуль `future_builtins`](https://python-all.ru/3.4/whatsnew/2.6.html#the-future-builtins-module)417      - [Модуль `json`: JavaScript Object Notation](https://python-all.ru/3.4/whatsnew/2.6.html#the-json-module-javascript-object-notation)418      - [Модуль `plistlib`: парсер списков свойств](https://python-all.ru/3.4/whatsnew/2.6.html#the-plistlib-module-a-property-list-parser)419      - [Улучшения ctypes](https://python-all.ru/3.4/whatsnew/2.6.html#ctypes-enhancements)420      - [Улучшенная поддержка SSL](https://python-all.ru/3.4/whatsnew/2.6.html#improved-ssl-support)421    - [Устаревания и удаления](https://python-all.ru/3.4/whatsnew/2.6.html#deprecations-and-removals)422    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/2.6.html#build-and-c-api-changes)423424      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.4/whatsnew/2.6.html#port-specific-changes-windows)425      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.4/whatsnew/2.6.html#port-specific-changes-mac-os-x)426      - [Изменения для конкретных платформ: IRIX](https://python-all.ru/3.4/whatsnew/2.6.html#port-specific-changes-irix)427    - [Переход на Python 2.6](https://python-all.ru/3.4/whatsnew/2.6.html#porting-to-python-2-6)428    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.6.html#acknowledgements)429  - [Что нового в Python 2.5](https://python-all.ru/3.4/whatsnew/2.5.html)430431    - [PEP 308: Условные выражения](https://python-all.ru/3.4/whatsnew/2.5.html#pep-308-conditional-expressions)432    - [PEP 309: Частичное применение функций](https://python-all.ru/3.4/whatsnew/2.5.html#pep-309-partial-function-application)433    - [PEP 314: Метаданные для пакетов Python v1.1](https://python-all.ru/3.4/whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1)434    - [PEP 328: Абсолютные и относительные импорты](https://python-all.ru/3.4/whatsnew/2.5.html#pep-328-absolute-and-relative-imports)435    - [PEP 338: Выполнение модулей как сценариев](https://python-all.ru/3.4/whatsnew/2.5.html#pep-338-executing-modules-as-scripts)436    - [PEP 341: Единый try/except/finally](https://python-all.ru/3.4/whatsnew/2.5.html#pep-341-unified-try-except-finally)437    - [PEP 342: Новые возможности генераторов](https://python-all.ru/3.4/whatsnew/2.5.html#pep-342-new-generator-features)438    - [PEP 343: Оператор 'with'](https://python-all.ru/3.4/whatsnew/2.5.html#pep-343-the-with-statement)439440      - [Написание контекстных менеджеров](https://python-all.ru/3.4/whatsnew/2.5.html#writing-context-managers)441      - [Модуль contextlib](https://python-all.ru/3.4/whatsnew/2.5.html#the-contextlib-module)442    - [PEP 352: Исключения как классы нового стиля](https://python-all.ru/3.4/whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes)443    - [PEP 353: Использование ssize\_t в качестве типа индекса](https://python-all.ru/3.4/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type)444    - [PEP 357: Метод '\_\_index\_\_'](https://python-all.ru/3.4/whatsnew/2.5.html#pep-357-the-index-method)445    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/2.5.html#other-language-changes)446447      - [Изменения в интерактивном интерпретаторе](https://python-all.ru/3.4/whatsnew/2.5.html#interactive-interpreter-changes)448      - [Оптимизации](https://python-all.ru/3.4/whatsnew/2.5.html#optimizations)449    - [Новые, улучшенные и удалённые модули](https://python-all.ru/3.4/whatsnew/2.5.html#new-improved-and-removed-modules)450451      - [Пакет ctypes](https://python-all.ru/3.4/whatsnew/2.5.html#the-ctypes-package)452      - [Пакет ElementTree](https://python-all.ru/3.4/whatsnew/2.5.html#the-elementtree-package)453      - [Пакет hashlib](https://python-all.ru/3.4/whatsnew/2.5.html#the-hashlib-package)454      - [Пакет sqlite3](https://python-all.ru/3.4/whatsnew/2.5.html#the-sqlite3-package)455      - [Пакет wsgiref](https://python-all.ru/3.4/whatsnew/2.5.html#the-wsgiref-package)456    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/2.5.html#build-and-c-api-changes)457458      - [Изменения для конкретных платформ](https://python-all.ru/3.4/whatsnew/2.5.html#port-specific-changes)459    - [Перенос на Python 2.5](https://python-all.ru/3.4/whatsnew/2.5.html#porting-to-python-2-5)460    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.5.html#acknowledgements)461  - [Что нового в Python 2.4](https://python-all.ru/3.4/whatsnew/2.4.html)462463    - [PEP 218: Встроенные объекты множеств](https://python-all.ru/3.4/whatsnew/2.4.html#pep-218-built-in-set-objects)464    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.4/whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers)465    - [PEP 289: Генераторные выражения](https://python-all.ru/3.4/whatsnew/2.4.html#pep-289-generator-expressions)466    - [PEP 292: Упрощённая подстановка строк](https://python-all.ru/3.4/whatsnew/2.4.html#pep-292-simpler-string-substitutions)467    - [PEP 318: Декораторы для функций и методов](https://python-all.ru/3.4/whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods)468    - [PEP 322: Обратная итерация](https://python-all.ru/3.4/whatsnew/2.4.html#pep-322-reverse-iteration)469    - [PEP 324: Новый модуль подпроцесса](https://python-all.ru/3.4/whatsnew/2.4.html#pep-324-new-subprocess-module)470    - [PEP 327: Тип данных Decimal](https://python-all.ru/3.4/whatsnew/2.4.html#pep-327-decimal-data-type)471472      - [Зачем нужен Decimal?](https://python-all.ru/3.4/whatsnew/2.4.html#why-is-decimal-needed)473      - [Тип `Decimal`](https://python-all.ru/3.4/whatsnew/2.4.html#the-decimal-type)474      - [Тип `Context`](https://python-all.ru/3.4/whatsnew/2.4.html#the-context-type)475    - [PEP 328: Многострочные импорты](https://python-all.ru/3.4/whatsnew/2.4.html#pep-328-multi-line-imports)476    - [PEP 331: Независящие от локали преобразования float/строк](https://python-all.ru/3.4/whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions)477    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/2.4.html#other-language-changes)478479      - [Оптимизации](https://python-all.ru/3.4/whatsnew/2.4.html#optimizations)480    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.4/whatsnew/2.4.html#new-improved-and-deprecated-modules)481482      - [cookielib](https://python-all.ru/3.4/whatsnew/2.4.html#cookielib)483      - [doctest](https://python-all.ru/3.4/whatsnew/2.4.html#doctest)484    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/2.4.html#build-and-c-api-changes)485486      - [Изменения для конкретных платформ](https://python-all.ru/3.4/whatsnew/2.4.html#port-specific-changes)487    - [Перенос на Python 2.4](https://python-all.ru/3.4/whatsnew/2.4.html#porting-to-python-2-4)488    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.4.html#acknowledgements)489  - [Что нового в Python 2.3](https://python-all.ru/3.4/whatsnew/2.3.html)490491    - [PEP 218: Стандартный тип set](https://python-all.ru/3.4/whatsnew/2.3.html#pep-218-a-standard-set-datatype)492    - [PEP 255: простые генераторы](https://python-all.ru/3.4/whatsnew/2.3.html#pep-255-simple-generators)493    - [PEP 263: Кодировки исходного кода](https://python-all.ru/3.4/whatsnew/2.3.html#pep-263-source-code-encodings)494    - [PEP 273: Импорт модулей из ZIP-архивов](https://python-all.ru/3.4/whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives)495    - [PEP 277: Поддержка имён файлов в Unicode для Windows NT](https://python-all.ru/3.4/whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt)496    - [PEP 278: Универсальная поддержка символов новой строки](https://python-all.ru/3.4/whatsnew/2.3.html#pep-278-universal-newline-support)497    - [PEP 279: enumerate()](https://python-all.ru/3.4/whatsnew/2.3.html#pep-279-enumerate)498    - [PEP 282: Пакет logging](https://python-all.ru/3.4/whatsnew/2.3.html#pep-282-the-logging-package)499    - [PEP 285: Булев тип](https://python-all.ru/3.4/whatsnew/2.3.html#pep-285-a-boolean-type)500    - [PEP 293: Колбэки обработки ошибок кодеков](https://python-all.ru/3.4/whatsnew/2.3.html#pep-293-codec-error-handling-callbacks)501    - [PEP 301: Индекс пакетов и метаданные для Distutils](https://python-all.ru/3.4/whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils)502    - [PEP 302: Новые хуки импорта](https://python-all.ru/3.4/whatsnew/2.3.html#pep-302-new-import-hooks)503    - [PEP 305: Файлы с разделителями-запятыми](https://python-all.ru/3.4/whatsnew/2.3.html#pep-305-comma-separated-files)504    - [PEP 307: Улучшения pickle](https://python-all.ru/3.4/whatsnew/2.3.html#pep-307-pickle-enhancements)505    - [Расширенные срезы](https://python-all.ru/3.4/whatsnew/2.3.html#extended-slices)506    - [Прочие изменения языка](https://python-all.ru/3.4/whatsnew/2.3.html#other-language-changes)507508      - [Изменения в строках](https://python-all.ru/3.4/whatsnew/2.3.html#string-changes)509      - [Оптимизации](https://python-all.ru/3.4/whatsnew/2.3.html#optimizations)510    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.4/whatsnew/2.3.html#new-improved-and-deprecated-modules)511512      - [Тип даты/времени](https://python-all.ru/3.4/whatsnew/2.3.html#date-time-type)513      - [Модуль optparse](https://python-all.ru/3.4/whatsnew/2.3.html#the-optparse-module)514    - [Pymalloc: Специализированный аллокатор объектов](https://python-all.ru/3.4/whatsnew/2.3.html#pymalloc-a-specialized-object-allocator)515    - [Изменения в сборке и C API](https://python-all.ru/3.4/whatsnew/2.3.html#build-and-c-api-changes)516517      - [Изменения для конкретных платформ](https://python-all.ru/3.4/whatsnew/2.3.html#port-specific-changes)518    - [Прочие изменения и исправления](https://python-all.ru/3.4/whatsnew/2.3.html#other-changes-and-fixes)519    - [Перенос на Python 2.3](https://python-all.ru/3.4/whatsnew/2.3.html#porting-to-python-2-3)520    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.3.html#acknowledgements)521  - [Что нового в Python 2.2](https://python-all.ru/3.4/whatsnew/2.2.html)522523    - [Введение](https://python-all.ru/3.4/whatsnew/2.2.html#introduction)524    - [PEP 252 и 253: изменения типов и классов](https://python-all.ru/3.4/whatsnew/2.2.html#peps-252-and-253-type-and-class-changes)525526      - [Старые и новые классы](https://python-all.ru/3.4/whatsnew/2.2.html#old-and-new-classes)527      - [Дескрипторы](https://python-all.ru/3.4/whatsnew/2.2.html#descriptors)528      - [Множественное наследование: правило ромба](https://python-all.ru/3.4/whatsnew/2.2.html#multiple-inheritance-the-diamond-rule)529      - [Доступ к атрибутам](https://python-all.ru/3.4/whatsnew/2.2.html#attribute-access)530      - [Связанные ссылки](https://python-all.ru/3.4/whatsnew/2.2.html#related-links)531    - [PEP 234: итераторы](https://python-all.ru/3.4/whatsnew/2.2.html#pep-234-iterators)532    - [PEP 255: простые генераторы](https://python-all.ru/3.4/whatsnew/2.2.html#pep-255-simple-generators)533    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.4/whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers)534    - [PEP 238: изменение оператора деления](https://python-all.ru/3.4/whatsnew/2.2.html#pep-238-changing-the-division-operator)535    - [Изменения в Unicode](https://python-all.ru/3.4/whatsnew/2.2.html#unicode-changes)536    - [PEP 227: вложенные области видимости](https://python-all.ru/3.4/whatsnew/2.2.html#pep-227-nested-scopes)537    - [Новые и улучшенные модули](https://python-all.ru/3.4/whatsnew/2.2.html#new-and-improved-modules)538    - [Изменения и исправления интерпретатора](https://python-all.ru/3.4/whatsnew/2.2.html#interpreter-changes-and-fixes)539    - [Прочие изменения и исправления](https://python-all.ru/3.4/whatsnew/2.2.html#other-changes-and-fixes)540    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.2.html#acknowledgements)541  - [Что нового в Python 2.1](https://python-all.ru/3.4/whatsnew/2.1.html)542543    - [Введение](https://python-all.ru/3.4/whatsnew/2.1.html#introduction)544    - [PEP 227: вложенные области видимости](https://python-all.ru/3.4/whatsnew/2.1.html#pep-227-nested-scopes)545    - [PEP 236: директивы \_\_future\_\_](https://python-all.ru/3.4/whatsnew/2.1.html#pep-236-future-directives)546    - [PEP 207: расширенные сравнения](https://python-all.ru/3.4/whatsnew/2.1.html#pep-207-rich-comparisons)547    - [PEP 230: инфраструктура предупреждений](https://python-all.ru/3.4/whatsnew/2.1.html#pep-230-warning-framework)548    - [PEP 229: новая система сборки](https://python-all.ru/3.4/whatsnew/2.1.html#pep-229-new-build-system)549    - [PEP 205: слабые ссылки](https://python-all.ru/3.4/whatsnew/2.1.html#pep-205-weak-references)550    - [PEP 232: атрибуты функций](https://python-all.ru/3.4/whatsnew/2.1.html#pep-232-function-attributes)551    - [PEP 235: импорт модулей на платформах, нечувствительных к регистру](https://python-all.ru/3.4/whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms)552    - [PEP 217: интерактивный перехватчик вывода](https://python-all.ru/3.4/whatsnew/2.1.html#pep-217-interactive-display-hook)553    - [PEP 208: новая модель приведения типов](https://python-all.ru/3.4/whatsnew/2.1.html#pep-208-new-coercion-model)554    - [PEP 241: метаданные в пакетах Python](https://python-all.ru/3.4/whatsnew/2.1.html#pep-241-metadata-in-python-packages)555    - [Новые и улучшенные модули](https://python-all.ru/3.4/whatsnew/2.1.html#new-and-improved-modules)556    - [Прочие изменения и исправления](https://python-all.ru/3.4/whatsnew/2.1.html#other-changes-and-fixes)557    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.1.html#acknowledgements)558  - [Что нового в Python 2.0](https://python-all.ru/3.4/whatsnew/2.0.html)559560    - [Введение](https://python-all.ru/3.4/whatsnew/2.0.html#introduction)561    - [А что насчёт Python 1.6?](https://python-all.ru/3.4/whatsnew/2.0.html#what-about-python-1-6)562    - [Новый процесс разработки](https://python-all.ru/3.4/whatsnew/2.0.html#new-development-process)563    - [Юникод](https://python-all.ru/3.4/whatsnew/2.0.html#unicode)564    - [Списковые включения](https://python-all.ru/3.4/whatsnew/2.0.html#list-comprehensions)565    - [Расширенное присваивание](https://python-all.ru/3.4/whatsnew/2.0.html#augmented-assignment)566    - [Методы строк](https://python-all.ru/3.4/whatsnew/2.0.html#string-methods)567    - [Сборка мусора циклических ссылок](https://python-all.ru/3.4/whatsnew/2.0.html#garbage-collection-of-cycles)568    - [Другие изменения ядра](https://python-all.ru/3.4/whatsnew/2.0.html#other-core-changes)569570      - [Мелкие изменения языка](https://python-all.ru/3.4/whatsnew/2.0.html#minor-language-changes)571      - [Изменения встроенных функций](https://python-all.ru/3.4/whatsnew/2.0.html#changes-to-built-in-functions)572    - [Перенос на 2.0](https://python-all.ru/3.4/whatsnew/2.0.html#porting-to-2-0)573    - [Изменения в расширении/встраивании](https://python-all.ru/3.4/whatsnew/2.0.html#extending-embedding-changes)574    - [Distutils: упрощение установки модулей](https://python-all.ru/3.4/whatsnew/2.0.html#distutils-making-modules-easy-to-install)575    - [Модули XML](https://python-all.ru/3.4/whatsnew/2.0.html#xml-modules)576577      - [Поддержка SAX2](https://python-all.ru/3.4/whatsnew/2.0.html#sax2-support)578      - [Поддержка DOM](https://python-all.ru/3.4/whatsnew/2.0.html#dom-support)579      - [Связь с PyXML](https://python-all.ru/3.4/whatsnew/2.0.html#relationship-to-pyxml)580    - [Изменения модулей](https://python-all.ru/3.4/whatsnew/2.0.html#module-changes)581    - [Новые модули](https://python-all.ru/3.4/whatsnew/2.0.html#new-modules)582    - [Улучшения IDLE](https://python-all.ru/3.4/whatsnew/2.0.html#idle-improvements)583    - [Удалённые и устаревшие модули](https://python-all.ru/3.4/whatsnew/2.0.html#deleted-and-deprecated-modules)584    - [Благодарности](https://python-all.ru/3.4/whatsnew/2.0.html#acknowledgements)585  - [Журнал изменений](https://python-all.ru/3.4/whatsnew/changelog.html)586587    - [Python 3.4.10 финальный](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-10-final)588589      - [Безопасность](https://python-all.ru/3.4/whatsnew/changelog.html#security)590      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#library)591    - [Python 3.4.10 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-10-release-candidate-1)592593      - [Безопасность](https://python-all.ru/3.4/whatsnew/changelog.html#id2)594      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id3)595    - [Python 3.4.9 финальный](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-9-final)596    - [Python 3.4.9 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-9-release-candidate-1)597598      - [Безопасность](https://python-all.ru/3.4/whatsnew/changelog.html#id4)599    - [Python 3.4.8 финальный](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-8-final)600    - [Python 3.4.8 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-8-release-candidate-1)601602      - [Безопасность](https://python-all.ru/3.4/whatsnew/changelog.html#id5)603      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id6)604      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#build)605    - [Python 3.4.7 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-7-final)606607      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id7)608    - [Python 3.4.7 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-7-release-candidate-1)609610      - [Безопасность](https://python-all.ru/3.4/whatsnew/changelog.html#id8)611      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#core-and-builtins)612      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id9)613      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#documentation)614    - [Python 3.4.6 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-6-final)615    - [Python 3.4.6 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-6-release-candidate-1)616617      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id10)618      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id11)619      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id12)620      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#tests)621    - [Python 3.4.5 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-5-final)622623      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id13)624    - [Python 3.4.5 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-5-release-candidate-1)625626      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id14)627      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id15)628      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id16)629    - [Python 3.4.4 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-4-final)630631      - [Windows](https://python-all.ru/3.4/whatsnew/changelog.html#windows)632    - [Python 3.4.4 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-4-release-candidate-1)633634      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id17)635      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id18)636      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#idle)637      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id19)638      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id20)639      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#c-api)640      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id21)641      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#tools-demos)642      - [Windows](https://python-all.ru/3.4/whatsnew/changelog.html#id22)643    - [Python 3.4.3 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-3-final)644645      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id23)646      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id24)647      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id25)648      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id26)649      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id27)650      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id28)651      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id29)652      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id30)653      - [Windows](https://python-all.ru/3.4/whatsnew/changelog.html#id31)654    - [Python 3.4.2 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-2-final)655656      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id32)657    - [Python 3.4.2 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-2-release-candidate-1)658659      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id33)660      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id34)661      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id35)662      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id36)663      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id37)664      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id38)665      - [Windows](https://python-all.ru/3.4/whatsnew/changelog.html#id39)666      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id40)667    - [Python 3.4.1 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-1-final)668669      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id41)670      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id42)671      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id43)672      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id44)673    - [Python 3.4.1 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-1-release-candidate-1)674675      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id45)676      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id46)677      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id47)678      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id48)679      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id49)680      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id50)681      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id51)682      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id52)683    - [Python 3.4.0 финальная версия](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-final)684685      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id53)686      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id54)687    - [Python 3.4.0 релиз-кандидат 3](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-release-candidate-3)688689      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id55)690      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id56)691      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id57)692    - [Python 3.4.0 релиз-кандидат 2](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-release-candidate-2)693694      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id58)695      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id59)696      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id60)697    - [Python 3.4.0 релиз-кандидат 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-release-candidate-1)698699      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id61)700      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id62)701      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id63)702      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id64)703      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id65)704      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id66)705      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id67)706      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id68)707    - [Python 3.4.0 бета 3](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-beta-3)708709      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id69)710      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id70)711      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id71)712      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id72)713      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id73)714      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id74)715    - [Python 3.4.0 бета 2](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-beta-2)716717      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id75)718      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id76)719      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id77)720      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id78)721      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id79)722      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id80)723      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id81)724    - [Python 3.4.0 бета 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-beta-1)725726      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id82)727      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id83)728      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id84)729      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id85)730      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id86)731      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id87)732    - [Python 3.4.0 альфа 4](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-alpha-4)733734      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id88)735      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id89)736      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id90)737      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id91)738      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id92)739      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id93)740    - [Python 3.4.0 альфа 3](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-alpha-3)741742      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id94)743      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id95)744      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id96)745      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id97)746      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id98)747      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id99)748      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id100)749    - [Python 3.4.0 альфа 2](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-alpha-2)750751      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id101)752      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id102)753      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id103)754      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id104)755      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id105)756      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id106)757      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id107)758    - [Python 3.4.0 альфа 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-4-0-alpha-1)759760      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id108)761      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id109)762      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id110)763      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id111)764      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id112)765      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id113)766      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id114)767      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id115)768      - [Windows](https://python-all.ru/3.4/whatsnew/changelog.html#id116)769    - [Python 3.3.0 финальный выпуск](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-final)770771      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id117)772      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id118)773    - [Python 3.3.0 кандидат в релизы 3](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-release-candidate-3)774775      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id119)776      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id120)777    - [Python 3.3.0 кандидат в релизы 2](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-release-candidate-2)778779      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id121)780      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id122)781      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id123)782      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id124)783    - [Python 3.3.0 кандидат в релизы 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-release-candidate-1)784785      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id125)786      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id126)787      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id127)788      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id128)789      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id129)790      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id130)791    - [Python 3.3.0 бета-версия 2](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-beta-2)792793      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id131)794      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id132)795      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id133)796      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id134)797      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id135)798      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id136)799      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id137)800      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id138)801      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id139)802    - [Python 3.3.0 бета-версия 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-beta-1)803804      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id140)805      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id141)806      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id142)807      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id143)808      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id144)809      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id145)810      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id146)811      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id147)812    - [Python 3.3.0 альфа-версия 4](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-alpha-4)813814      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id148)815      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id149)816      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id150)817      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id151)818      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id152)819      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id153)820      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id154)821    - [Python 3.3.0 альфа-версия 3](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-alpha-3)822823      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id155)824      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id156)825      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id157)826      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id158)827      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id159)828      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id160)829      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id161)830    - [Python 3.3.0 альфа-версия 2](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-alpha-2)831832      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id162)833      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id163)834      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id164)835      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id165)836      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id166)837      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id167)838    - [Python 3.3.0 альфа-версия 1](https://python-all.ru/3.4/whatsnew/changelog.html#python-3-3-0-alpha-1)839840      - [Ядро и встроенные модули](https://python-all.ru/3.4/whatsnew/changelog.html#id168)841      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id169)842      - [Сборка](https://python-all.ru/3.4/whatsnew/changelog.html#id170)843      - [IDLE](https://python-all.ru/3.4/whatsnew/changelog.html#id171)844      - [Инструменты/Демонстрации](https://python-all.ru/3.4/whatsnew/changelog.html#id172)845      - [Библиотека](https://python-all.ru/3.4/whatsnew/changelog.html#id173)846      - [Тесты](https://python-all.ru/3.4/whatsnew/changelog.html#id174)847      - [C API](https://python-all.ru/3.4/whatsnew/changelog.html#id175)848      - [Документация](https://python-all.ru/3.4/whatsnew/changelog.html#id176)849- [Учебник Python](https://python-all.ru/3.4/tutorial/index.html)850851  - [1. Введение](https://python-all.ru/3.4/tutorial/appetite.html)852  - [2. Использование интерпретатора Python](https://python-all.ru/3.4/tutorial/interpreter.html)853854    - [2.1. Запуск интерпретатора](https://python-all.ru/3.4/tutorial/interpreter.html#invoking-the-interpreter)855856      - [2.1.1. Передача аргументов](https://python-all.ru/3.4/tutorial/interpreter.html#argument-passing)857      - [2.1.2. Интерактивный режим](https://python-all.ru/3.4/tutorial/interpreter.html#interactive-mode)858    - [2.2. Интерпретатор и его окружение](https://python-all.ru/3.4/tutorial/interpreter.html#the-interpreter-and-its-environment)859860      - [2.2.1. Кодировка исходного кода](https://python-all.ru/3.4/tutorial/interpreter.html#source-code-encoding)861  - [3. Неформальное введение в Python](https://python-all.ru/3.4/tutorial/introduction.html)862863    - [3.1. Использование Python в качестве калькулятора](https://python-all.ru/3.4/tutorial/introduction.html#using-python-as-a-calculator)864865      - [3.1.1. Числа](https://python-all.ru/3.4/tutorial/introduction.html#numbers)866      - [3.1.2. Строки](https://python-all.ru/3.4/tutorial/introduction.html#strings)867      - [3.1.3. Списки](https://python-all.ru/3.4/tutorial/introduction.html#lists)868    - [3.2. Первые шаги к программированию](https://python-all.ru/3.4/tutorial/introduction.html#first-steps-towards-programming)869  - [4. Дополнительные средства управления потоком](https://python-all.ru/3.4/tutorial/controlflow.html)870871    - [4.1. `if` Инструкции](https://python-all.ru/3.4/tutorial/controlflow.html#if-statements)872    - [4.2. `for` Инструкции](https://python-all.ru/3.4/tutorial/controlflow.html#for-statements)873    - [4.3. Функция `range()`](https://python-all.ru/3.4/tutorial/controlflow.html#the-range-function)874    - [4.4. `break` и `continue` инструкции, а также `else` предложения в циклах](https://python-all.ru/3.4/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)875    - [4.5. `pass` Инструкции](https://python-all.ru/3.4/tutorial/controlflow.html#pass-statements)876    - [4.6. Определение функций](https://python-all.ru/3.4/tutorial/controlflow.html#defining-functions)877    - [4.7. Подробнее об определении функций](https://python-all.ru/3.4/tutorial/controlflow.html#more-on-defining-functions)878879      - [4.7.1. Значения аргументов по умолчанию](https://python-all.ru/3.4/tutorial/controlflow.html#default-argument-values)880      - [4.7.2. Именованные аргументы](https://python-all.ru/3.4/tutorial/controlflow.html#keyword-arguments)881      - [4.7.3. Произвольные списки аргументов](https://python-all.ru/3.4/tutorial/controlflow.html#arbitrary-argument-lists)882      - [4.7.4. Распаковка списков аргументов](https://python-all.ru/3.4/tutorial/controlflow.html#unpacking-argument-lists)883      - [4.7.5. Лямбда-выражения](https://python-all.ru/3.4/tutorial/controlflow.html#lambda-expressions)884      - [4.7.6. Строки документации](https://python-all.ru/3.4/tutorial/controlflow.html#documentation-strings)885      - [4.7.7. Аннотации функций](https://python-all.ru/3.4/tutorial/controlflow.html#function-annotations)886    - [4.8. Интермеццо: стиль кодирования](https://python-all.ru/3.4/tutorial/controlflow.html#intermezzo-coding-style)887  - [5. Структуры данных](https://python-all.ru/3.4/tutorial/datastructures.html)888889    - [5.1. Подробнее о списках](https://python-all.ru/3.4/tutorial/datastructures.html#more-on-lists)890891      - [5.1.1. Использование списков как стеков](https://python-all.ru/3.4/tutorial/datastructures.html#using-lists-as-stacks)892      - [5.1.2. Использование списков как очередей](https://python-all.ru/3.4/tutorial/datastructures.html#using-lists-as-queues)893      - [5.1.3. Списковые включения](https://python-all.ru/3.4/tutorial/datastructures.html#list-comprehensions)894      - [5.1.4. Вложенные списковые включения](https://python-all.ru/3.4/tutorial/datastructures.html#nested-list-comprehensions)895    - [5.2. Инструкция `del`](https://python-all.ru/3.4/tutorial/datastructures.html#the-del-statement)896    - [5.3. Кортежи и последовательности](https://python-all.ru/3.4/tutorial/datastructures.html#tuples-and-sequences)897    - [5.4. Множества](https://python-all.ru/3.4/tutorial/datastructures.html#sets)898    - [5.5. Словари](https://python-all.ru/3.4/tutorial/datastructures.html#dictionaries)899    - [5.6. Приёмы работы с циклами](https://python-all.ru/3.4/tutorial/datastructures.html#looping-techniques)900    - [5.7. Подробнее об условиях](https://python-all.ru/3.4/tutorial/datastructures.html#more-on-conditions)901    - [5.8. Сравнение последовательностей и других типов](https://python-all.ru/3.4/tutorial/datastructures.html#comparing-sequences-and-other-types)902  - [6. Модули](https://python-all.ru/3.4/tutorial/modules.html)903904    - [6.1. Подробнее о модулях](https://python-all.ru/3.4/tutorial/modules.html#more-on-modules)905906      - [6.1.1. Запуск модулей как скриптов](https://python-all.ru/3.4/tutorial/modules.html#executing-modules-as-scripts)907      - [6.1.2. Путь поиска модулей](https://python-all.ru/3.4/tutorial/modules.html#the-module-search-path)908      - [6.1.3. «Скомпилированные» файлы Python](https://python-all.ru/3.4/tutorial/modules.html#compiled-python-files)909    - [6.2. Стандартные модули](https://python-all.ru/3.4/tutorial/modules.html#standard-modules)910    - [6.3. Функция `dir()`](https://python-all.ru/3.4/tutorial/modules.html#the-dir-function)911    - [6.4. Пакеты](https://python-all.ru/3.4/tutorial/modules.html#packages)912913      - [6.4.1. Импорт \* из пакета](https://python-all.ru/3.4/tutorial/modules.html#importing-from-a-package)914      - [6.4.2. Ссылки внутри пакета](https://python-all.ru/3.4/tutorial/modules.html#intra-package-references)915      - [6.4.3. Пакеты в нескольких каталогах](https://python-all.ru/3.4/tutorial/modules.html#packages-in-multiple-directories)916  - [7. Ввод и вывод](https://python-all.ru/3.4/tutorial/inputoutput.html)917918    - [7.1. Более сложное форматирование вывода](https://python-all.ru/3.4/tutorial/inputoutput.html#fancier-output-formatting)919920      - [7.1.1. Старое форматирование строк](https://python-all.ru/3.4/tutorial/inputoutput.html#old-string-formatting)921    - [7.2. Чтение и запись файлов](https://python-all.ru/3.4/tutorial/inputoutput.html#reading-and-writing-files)922923      - [7.2.1. Методы файловых объектов](https://python-all.ru/3.4/tutorial/inputoutput.html#methods-of-file-objects)924      - [7.2.2. Сохранение структурированных данных с помощью `json`](https://python-all.ru/3.4/tutorial/inputoutput.html#saving-structured-data-with-json)925  - [8. Ошибки и исключения](https://python-all.ru/3.4/tutorial/errors.html)926927    - [8.1. Синтаксические ошибки](https://python-all.ru/3.4/tutorial/errors.html#syntax-errors)928    - [8.2. Исключения](https://python-all.ru/3.4/tutorial/errors.html#exceptions)929    - [8.3. Обработка исключений](https://python-all.ru/3.4/tutorial/errors.html#handling-exceptions)930    - [8.4. Возбуждение исключений](https://python-all.ru/3.4/tutorial/errors.html#raising-exceptions)931    - [8.5. Пользовательские исключения](https://python-all.ru/3.4/tutorial/errors.html#user-defined-exceptions)932    - [8.6. Определение действий по очистке](https://python-all.ru/3.4/tutorial/errors.html#defining-clean-up-actions)933    - [8.7. Предопределённые действия по очистке](https://python-all.ru/3.4/tutorial/errors.html#predefined-clean-up-actions)934  - [9. Классы](https://python-all.ru/3.4/tutorial/classes.html)935936    - [9.1. Несколько слов об именах и объектах](https://python-all.ru/3.4/tutorial/classes.html#a-word-about-names-and-objects)937    - [9.2. Области видимости и пространства имён Python](https://python-all.ru/3.4/tutorial/classes.html#python-scopes-and-namespaces)938939      - [9.2.1. Пример областей видимости и пространств имён](https://python-all.ru/3.4/tutorial/classes.html#scopes-and-namespaces-example)940    - [9.3. Первое знакомство с классами](https://python-all.ru/3.4/tutorial/classes.html#a-first-look-at-classes)941942      - [9.3.1. Синтаксис определения класса](https://python-all.ru/3.4/tutorial/classes.html#class-definition-syntax)943      - [9.3.2. Объекты классов](https://python-all.ru/3.4/tutorial/classes.html#class-objects)944      - [9.3.3. Объекты экземпляров](https://python-all.ru/3.4/tutorial/classes.html#instance-objects)945      - [9.3.4. Объекты методов](https://python-all.ru/3.4/tutorial/classes.html#method-objects)946      - [9.3.5. Переменные класса и экземпляра](https://python-all.ru/3.4/tutorial/classes.html#class-and-instance-variables)947    - [9.4. Разные замечания](https://python-all.ru/3.4/tutorial/classes.html#random-remarks)948    - [9.5. Наследование](https://python-all.ru/3.4/tutorial/classes.html#inheritance)949950      - [9.5.1. Множественное наследование](https://python-all.ru/3.4/tutorial/classes.html#multiple-inheritance)951    - [9.6. Приватные переменные](https://python-all.ru/3.4/tutorial/classes.html#private-variables)952    - [9.7. Разное](https://python-all.ru/3.4/tutorial/classes.html#odds-and-ends)953    - [9.8. Исключения – тоже классы](https://python-all.ru/3.4/tutorial/classes.html#exceptions-are-classes-too)954    - [9.9. Итераторы](https://python-all.ru/3.4/tutorial/classes.html#iterators)955    - [9.10. Генераторы](https://python-all.ru/3.4/tutorial/classes.html#generators)956    - [9.11. Генераторные выражения](https://python-all.ru/3.4/tutorial/classes.html#generator-expressions)957  - [10. Краткий обзор стандартной библиотеки](https://python-all.ru/3.4/tutorial/stdlib.html)958959    - [10.1. Интерфейс операционной системы](https://python-all.ru/3.4/tutorial/stdlib.html#operating-system-interface)960    - [10.2. Файловые шаблоны](https://python-all.ru/3.4/tutorial/stdlib.html#file-wildcards)961    - [10.3. Аргументы командной строки](https://python-all.ru/3.4/tutorial/stdlib.html#command-line-arguments)962    - [10.4. Перенаправление вывода ошибок и завершение программы](https://python-all.ru/3.4/tutorial/stdlib.html#error-output-redirection-and-program-termination)963    - [10.5. Поиск по шаблону в строках](https://python-all.ru/3.4/tutorial/stdlib.html#string-pattern-matching)964    - [10.6. Математика](https://python-all.ru/3.4/tutorial/stdlib.html#mathematics)965    - [10.7. Доступ в Интернет](https://python-all.ru/3.4/tutorial/stdlib.html#internet-access)966    - [10.8. Даты и время](https://python-all.ru/3.4/tutorial/stdlib.html#dates-and-times)967    - [10.9. Сжатие данных](https://python-all.ru/3.4/tutorial/stdlib.html#data-compression)968    - [10.10. Измерение производительности](https://python-all.ru/3.4/tutorial/stdlib.html#performance-measurement)969    - [10.11. Контроль качества](https://python-all.ru/3.4/tutorial/stdlib.html#quality-control)970    - [10.12. Батарейки в комплекте](https://python-all.ru/3.4/tutorial/stdlib.html#batteries-included)971  - [11. Краткий обзор стандартной библиотеки – Часть II](https://python-all.ru/3.4/tutorial/stdlib2.html)972973    - [11.1. Форматирование вывода](https://python-all.ru/3.4/tutorial/stdlib2.html#output-formatting)974    - [11.2. Шаблоны](https://python-all.ru/3.4/tutorial/stdlib2.html#templating)975    - [11.3. Работа с двоичными данными и структурами записей](https://python-all.ru/3.4/tutorial/stdlib2.html#working-with-binary-data-record-layouts)976    - [11.4. Многопоточность](https://python-all.ru/3.4/tutorial/stdlib2.html#multi-threading)977    - [11.5. Логирование](https://python-all.ru/3.4/tutorial/stdlib2.html#logging)978    - [11.6. Слабые ссылки](https://python-all.ru/3.4/tutorial/stdlib2.html#weak-references)979    - [11.7. Инструменты для работы со списками](https://python-all.ru/3.4/tutorial/stdlib2.html#tools-for-working-with-lists)980    - [11.8. Десятичная арифметика с плавающей запятой](https://python-all.ru/3.4/tutorial/stdlib2.html#decimal-floating-point-arithmetic)981  - [12. Виртуальные окружения и пакеты](https://python-all.ru/3.4/tutorial/venv.html)982983    - [12.1. Введение](https://python-all.ru/3.4/tutorial/venv.html#introduction)984    - [12.2. Создание виртуальных окружений](https://python-all.ru/3.4/tutorial/venv.html#creating-virtual-environments)985    - [12.3. Управление пакетами с помощью pip](https://python-all.ru/3.4/tutorial/venv.html#managing-packages-with-pip)986  - [13. Что дальше?](https://python-all.ru/3.4/tutorial/whatnow.html)987  - [14. Интерактивное редактирование ввода и подстановка истории](https://python-all.ru/3.4/tutorial/interactive.html)988989    - [14.1. Автодополнение по табуляции и редактирование истории](https://python-all.ru/3.4/tutorial/interactive.html#tab-completion-and-history-editing)990    - [14.2. Альтернативы интерактивному интерпретатору](https://python-all.ru/3.4/tutorial/interactive.html#alternatives-to-the-interactive-interpreter)991  - [15. Арифметика с плавающей запятой: проблемы и ограничения](https://python-all.ru/3.4/tutorial/floatingpoint.html)992993    - [15.1. Ошибка представления](https://python-all.ru/3.4/tutorial/floatingpoint.html#representation-error)994  - [16. Приложение](https://python-all.ru/3.4/tutorial/appendix.html)995996    - [16.1. Интерактивный режим](https://python-all.ru/3.4/tutorial/appendix.html#interactive-mode)997998      - [16.1.1. Обработка ошибок](https://python-all.ru/3.4/tutorial/appendix.html#error-handling)999      - [16.1.2. Исполняемые скрипты Python](https://python-all.ru/3.4/tutorial/appendix.html#executable-python-scripts)1000      - [16.1.3. Файл автозагрузки интерактивного режима](https://python-all.ru/3.4/tutorial/appendix.html#the-interactive-startup-file)1001      - [16.1.4. Модули настройки](https://python-all.ru/3.4/tutorial/appendix.html#the-customization-modules)1002- [Настройка и использование Python](https://python-all.ru/3.4/using/index.html)10031004  - [1. Командная строка и окружение](https://python-all.ru/3.4/using/cmdline.html)10051006    - [1.1. Командная строка](https://python-all.ru/3.4/using/cmdline.html#command-line)10071008      - [1.1.1. Параметры интерфейса](https://python-all.ru/3.4/using/cmdline.html#interface-options)1009      - [1.1.2. Общие параметры](https://python-all.ru/3.4/using/cmdline.html#generic-options)1010      - [1.1.3. Прочие параметры](https://python-all.ru/3.4/using/cmdline.html#miscellaneous-options)1011      - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.4/using/cmdline.html#options-you-shouldn-t-use)1012    - [1.2. Переменные окружения](https://python-all.ru/3.4/using/cmdline.html#environment-variables)10131014      - [1.2.1. Переменные режима отладки](https://python-all.ru/3.4/using/cmdline.html#debug-mode-variables)1015  - [2. Использование Python на платформах Unix](https://python-all.ru/3.4/using/unix.html)10161017    - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.4/using/unix.html#getting-and-installing-the-latest-version-of-python)10181019      - [2.1.1. В Linux](https://python-all.ru/3.4/using/unix.html#on-linux)1020      - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.4/using/unix.html#on-freebsd-and-openbsd)1021      - [2.1.3. В OpenSolaris](https://python-all.ru/3.4/using/unix.html#on-opensolaris)1022    - [2.2. Сборка Python](https://python-all.ru/3.4/using/unix.html#building-python)1023    - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.4/using/unix.html#python-related-paths-and-files)1024    - [2.4. Прочее](https://python-all.ru/3.4/using/unix.html#miscellaneous)1025    - [2.5. Редакторы](https://python-all.ru/3.4/using/unix.html#editors)1026  - [3. Использование Python в Windows](https://python-all.ru/3.4/using/windows.html)10271028    - [3.1. Установка Python](https://python-all.ru/3.4/using/windows.html#installing-python)1029    - [3.2. Альтернативные сборки](https://python-all.ru/3.4/using/windows.html#alternative-bundles)1030    - [3.3. Настройка Python](https://python-all.ru/3.4/using/windows.html#configuring-python)10311032      - [3.3.1. Экскурс: Установка переменных окружения](https://python-all.ru/3.4/using/windows.html#excursus-setting-environment-variables)1033      - [3.3.2. Поиск исполняемого файла Python](https://python-all.ru/3.4/using/windows.html#finding-the-python-executable)1034      - [3.3.3. Поиск модулей](https://python-all.ru/3.4/using/windows.html#finding-modules)1035      - [3.3.4. Выполнение скриптов](https://python-all.ru/3.4/using/windows.html#executing-scripts)1036      - [3.3.5. Выполнение скриптов без лаунчера Python](https://python-all.ru/3.4/using/windows.html#executing-scripts-without-the-python-launcher)1037    - [3.4. Запускатор Python для Windows](https://python-all.ru/3.4/using/windows.html#python-launcher-for-windows)10381039      - [3.4.1. Начало работы](https://python-all.ru/3.4/using/windows.html#getting-started)10401041        - [3.4.1.1. Из командной строки](https://python-all.ru/3.4/using/windows.html#from-the-command-line)1042        - [3.4.1.2. Из скрипта](https://python-all.ru/3.4/using/windows.html#from-a-script)1043        - [3.4.1.3. Из ассоциаций файлов](https://python-all.ru/3.4/using/windows.html#from-file-associations)1044      - [3.4.2. Строки shebang](https://python-all.ru/3.4/using/windows.html#shebang-lines)1045      - [3.4.3. Аргументы в shebang-строках](https://python-all.ru/3.4/using/windows.html#arguments-in-shebang-lines)1046      - [3.4.4. Настройка](https://python-all.ru/3.4/using/windows.html#customization)10471048        - [3.4.4.1. Настройка через INI-файлы](https://python-all.ru/3.4/using/windows.html#customization-via-ini-files)1049        - [3.4.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.4/using/windows.html#customizing-default-python-versions)1050      - [3.4.5. Диагностика](https://python-all.ru/3.4/using/windows.html#diagnostics)1051    - [3.5. Дополнительные модули](https://python-all.ru/3.4/using/windows.html#additional-modules)10521053      - [3.5.1. PyWin32](https://python-all.ru/3.4/using/windows.html#pywin32)1054      - [3.5.2. cx\_Freeze](https://python-all.ru/3.4/using/windows.html#cx-freeze)1055      - [3.5.3. WConio](https://python-all.ru/3.4/using/windows.html#wconio)1056    - [3.6. Компиляция Python в Windows](https://python-all.ru/3.4/using/windows.html#compiling-python-on-windows)1057    - [3.7. Другие ресурсы](https://python-all.ru/3.4/using/windows.html#other-resources)1058  - [4. Использование Python на Macintosh](https://python-all.ru/3.4/using/mac.html)10591060    - [4.1. Получение и установка MacPython](https://python-all.ru/3.4/using/mac.html#getting-and-installing-macpython)10611062      - [4.1.1. Как запустить скрипт Python](https://python-all.ru/3.4/using/mac.html#how-to-run-a-python-script)1063      - [4.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.4/using/mac.html#running-scripts-with-a-gui)1064      - [4.1.3. Конфигурация](https://python-all.ru/3.4/using/mac.html#configuration)1065    - [4.2. IDE](https://python-all.ru/3.4/using/mac.html#the-ide)1066    - [4.3. Установка дополнительных пакетов Python](https://python-all.ru/3.4/using/mac.html#installing-additional-python-packages)1067    - [4.4. Программирование графического интерфейса на Mac](https://python-all.ru/3.4/using/mac.html#gui-programming-on-the-mac)1068    - [4.5. Распространение приложений Python на Mac](https://python-all.ru/3.4/using/mac.html#distributing-python-applications-on-the-mac)1069    - [4.6. Прочие ресурсы](https://python-all.ru/3.4/using/mac.html#other-resources)1070  - [5. Дополнительные инструменты и сценарии](https://python-all.ru/3.4/using/scripts.html)10711072    - [5.1. pyvenv - Создание виртуальных окружений](https://python-all.ru/3.4/using/scripts.html#pyvenv-creating-virtual-environments)1073- [Справочник по языку Python](https://python-all.ru/3.4/reference/index.html)10741075  - [1. Введение](https://python-all.ru/3.4/reference/introduction.html)10761077    - [1.1. Альтернативные реализации](https://python-all.ru/3.4/reference/introduction.html#alternate-implementations)1078    - [1.2. Обозначения](https://python-all.ru/3.4/reference/introduction.html#notation)1079  - [2. Лексический анализ](https://python-all.ru/3.4/reference/lexical_analysis.html)10801081    - [2.1. Структура строк](https://python-all.ru/3.4/reference/lexical_analysis.html#line-structure)10821083      - [2.1.1. Логические строки](https://python-all.ru/3.4/reference/lexical_analysis.html#logical-lines)1084      - [2.1.2. Физические строки](https://python-all.ru/3.4/reference/lexical_analysis.html#physical-lines)1085      - [2.1.3. Комментарии](https://python-all.ru/3.4/reference/lexical_analysis.html#comments)1086      - [2.1.4. Объявление кодировки](https://python-all.ru/3.4/reference/lexical_analysis.html#encoding-declarations)1087      - [2.1.5. Явное объединение строк](https://python-all.ru/3.4/reference/lexical_analysis.html#explicit-line-joining)1088      - [2.1.6. Неявное объединение строк](https://python-all.ru/3.4/reference/lexical_analysis.html#implicit-line-joining)1089      - [2.1.7. Пустые строки](https://python-all.ru/3.4/reference/lexical_analysis.html#blank-lines)1090      - [2.1.8. Отступы](https://python-all.ru/3.4/reference/lexical_analysis.html#indentation)1091      - [2.1.9. Пробелы между токенами](https://python-all.ru/3.4/reference/lexical_analysis.html#whitespace-between-tokens)1092    - [2.2. Другие токены](https://python-all.ru/3.4/reference/lexical_analysis.html#other-tokens)1093    - [2.3. Идентификаторы и ключевые слова](https://python-all.ru/3.4/reference/lexical_analysis.html#identifiers)10941095      - [2.3.1. Ключевые слова](https://python-all.ru/3.4/reference/lexical_analysis.html#keywords)1096      - [2.3.2. Зарезервированные классы идентификаторов](https://python-all.ru/3.4/reference/lexical_analysis.html#reserved-classes-of-identifiers)1097    - [2.4. Литералы](https://python-all.ru/3.4/reference/lexical_analysis.html#literals)10981099      - [2.4.1. Строковые и байтовые литералы](https://python-all.ru/3.4/reference/lexical_analysis.html#string-and-bytes-literals)1100      - [2.4.2. Конкатенация строковых литералов](https://python-all.ru/3.4/reference/lexical_analysis.html#string-literal-concatenation)1101      - [2.4.3. Числовые литералы](https://python-all.ru/3.4/reference/lexical_analysis.html#numeric-literals)1102      - [2.4.4. Целочисленные литералы](https://python-all.ru/3.4/reference/lexical_analysis.html#integer-literals)1103      - [2.4.5. Литералы с плавающей точкой](https://python-all.ru/3.4/reference/lexical_analysis.html#floating-point-literals)1104      - [2.4.6. Литералы мнимых чисел](https://python-all.ru/3.4/reference/lexical_analysis.html#imaginary-literals)1105    - [2.5. Операторы](https://python-all.ru/3.4/reference/lexical_analysis.html#operators)1106    - [2.6. Разделители](https://python-all.ru/3.4/reference/lexical_analysis.html#delimiters)1107  - [3. Модель данных](https://python-all.ru/3.4/reference/datamodel.html)11081109    - [3.1. Объекты, значения и типы](https://python-all.ru/3.4/reference/datamodel.html#objects-values-and-types)1110    - [3.2. Стандартная иерархия типов](https://python-all.ru/3.4/reference/datamodel.html#the-standard-type-hierarchy)1111    - [3.3. Имена специальных методов](https://python-all.ru/3.4/reference/datamodel.html#special-method-names)11121113      - [3.3.1. Базовая настройка](https://python-all.ru/3.4/reference/datamodel.html#basic-customization)1114      - [3.3.2. Настройка доступа к атрибутам](https://python-all.ru/3.4/reference/datamodel.html#customizing-attribute-access)11151116        - [3.3.2.1. Реализация дескрипторов](https://python-all.ru/3.4/reference/datamodel.html#implementing-descriptors)1117        - [3.3.2.2. Вызов дескрипторов](https://python-all.ru/3.4/reference/datamodel.html#invoking-descriptors)1118        - [3.3.2.3. \_\_slots\_\_](https://python-all.ru/3.4/reference/datamodel.html#slots)11191120          - [3.3.2.3.1. Примечания по использованию *\_\_slots\_\_*](https://python-all.ru/3.4/reference/datamodel.html#notes-on-using-slots)1121      - [3.3.3. Настройка создания классов](https://python-all.ru/3.4/reference/datamodel.html#customizing-class-creation)11221123        - [3.3.3.1. Определение подходящего метакласса](https://python-all.ru/3.4/reference/datamodel.html#determining-the-appropriate-metaclass)1124        - [3.3.3.2. Подготовка пространства имён класса](https://python-all.ru/3.4/reference/datamodel.html#preparing-the-class-namespace)1125        - [3.3.3.3. Выполнение тела класса](https://python-all.ru/3.4/reference/datamodel.html#executing-the-class-body)1126        - [3.3.3.4. Создание объекта класса](https://python-all.ru/3.4/reference/datamodel.html#creating-the-class-object)1127        - [3.3.3.5. Пример метакласса](https://python-all.ru/3.4/reference/datamodel.html#metaclass-example)1128      - [3.3.4. Настройка проверок принадлежности экземплярам и подклассам](https://python-all.ru/3.4/reference/datamodel.html#customizing-instance-and-subclass-checks)1129      - [3.3.5. Эмуляция вызываемых объектов](https://python-all.ru/3.4/reference/datamodel.html#emulating-callable-objects)1130      - [3.3.6. Эмуляция контейнерных типов](https://python-all.ru/3.4/reference/datamodel.html#emulating-container-types)1131      - [3.3.7. Эмуляция числовых типов](https://python-all.ru/3.4/reference/datamodel.html#emulating-numeric-types)1132      - [3.3.8. Контекстные менеджеры with](https://python-all.ru/3.4/reference/datamodel.html#with-statement-context-managers)1133      - [3.3.9. Поиск специальных методов](https://python-all.ru/3.4/reference/datamodel.html#special-method-lookup)1134  - [4. Модель выполнения](https://python-all.ru/3.4/reference/executionmodel.html)11351136    - [4.1. Структура программы](https://python-all.ru/3.4/reference/executionmodel.html#structure-of-a-program)1137    - [4.2. Имена и связывание](https://python-all.ru/3.4/reference/executionmodel.html#naming-and-binding)11381139      - [4.2.1. Связывание имён](https://python-all.ru/3.4/reference/executionmodel.html#binding-of-names)1140      - [4.2.2. Разрешение имён](https://python-all.ru/3.4/reference/executionmodel.html#resolution-of-names)1141      - [4.2.3. Встроенные функции и ограниченное выполнение](https://python-all.ru/3.4/reference/executionmodel.html#builtins-and-restricted-execution)1142      - [4.2.4. Взаимодействие с динамическими возможностями](https://python-all.ru/3.4/reference/executionmodel.html#interaction-with-dynamic-features)1143    - [4.3. Исключения](https://python-all.ru/3.4/reference/executionmodel.html#exceptions)1144  - [5. Система импорта](https://python-all.ru/3.4/reference/import.html)11451146    - [5.1. `importlib`](https://python-all.ru/3.4/reference/import.html#importlib)1147    - [5.2. Пакеты](https://python-all.ru/3.4/reference/import.html#packages)11481149      - [5.2.1. Обычные пакеты](https://python-all.ru/3.4/reference/import.html#regular-packages)1150      - [5.2.2. Пакеты пространства имён](https://python-all.ru/3.4/reference/import.html#namespace-packages)1151    - [5.3. Поиск](https://python-all.ru/3.4/reference/import.html#searching)11521153      - [5.3.1. Кеш модулей](https://python-all.ru/3.4/reference/import.html#the-module-cache)1154      - [5.3.2. Искатели и загрузчики](https://python-all.ru/3.4/reference/import.html#finders-and-loaders)1155      - [5.3.3. Хуки импорта](https://python-all.ru/3.4/reference/import.html#import-hooks)1156      - [5.3.4. Метапуть](https://python-all.ru/3.4/reference/import.html#the-meta-path)1157    - [5.4. Загрузка](https://python-all.ru/3.4/reference/import.html#loading)11581159      - [5.4.1. Загрузчики](https://python-all.ru/3.4/reference/import.html#loaders)1160      - [5.4.2. Подмодули](https://python-all.ru/3.4/reference/import.html#submodules)1161      - [5.4.3. Спецификация модуля](https://python-all.ru/3.4/reference/import.html#module-spec)1162      - [5.4.4. Атрибуты модуля, связанные с импортом](https://python-all.ru/3.4/reference/import.html#import-related-module-attributes)1163      - [5.4.5. module.\_\_path\_\_](https://python-all.ru/3.4/reference/import.html#module-path)1164      - [5.4.6. Представления модулей](https://python-all.ru/3.4/reference/import.html#module-reprs)1165    - [5.5. Искатель на основе путей](https://python-all.ru/3.4/reference/import.html#the-path-based-finder)11661167      - [5.5.1. Искатели записей путей](https://python-all.ru/3.4/reference/import.html#path-entry-finders)1168      - [5.5.2. Протокол искателя записей путей](https://python-all.ru/3.4/reference/import.html#path-entry-finder-protocol)1169    - [5.6. Замена стандартной системы импорта](https://python-all.ru/3.4/reference/import.html#replacing-the-standard-import-system)1170    - [5.7. Особые соображения для \_\_main\_\_](https://python-all.ru/3.4/reference/import.html#special-considerations-for-main)11711172      - [5.7.1. \_\_main\_\_.\_\_spec\_\_](https://python-all.ru/3.4/reference/import.html#main-spec)1173    - [5.8. Открытые вопросы](https://python-all.ru/3.4/reference/import.html#open-issues)1174    - [5.9. Ссылки](https://python-all.ru/3.4/reference/import.html#references)1175  - [6. Выражения](https://python-all.ru/3.4/reference/expressions.html)11761177    - [6.1. Арифметические преобразования](https://python-all.ru/3.4/reference/expressions.html#arithmetic-conversions)1178    - [6.2. Атомы](https://python-all.ru/3.4/reference/expressions.html#atoms)11791180      - [6.2.1. Идентификаторы (имена)](https://python-all.ru/3.4/reference/expressions.html#atom-identifiers)1181      - [6.2.2. Литералы](https://python-all.ru/3.4/reference/expressions.html#literals)1182      - [6.2.3. Выражения в скобках](https://python-all.ru/3.4/reference/expressions.html#parenthesized-forms)1183      - [6.2.4. Отображения для списков, множеств и словарей](https://python-all.ru/3.4/reference/expressions.html#displays-for-lists-sets-and-dictionaries)1184      - [6.2.5. Отображения списков](https://python-all.ru/3.4/reference/expressions.html#list-displays)1185      - [6.2.6. Отображения множеств](https://python-all.ru/3.4/reference/expressions.html#set-displays)1186      - [6.2.7. Отображения словарей](https://python-all.ru/3.4/reference/expressions.html#dictionary-displays)1187      - [6.2.8. Генераторные выражения](https://python-all.ru/3.4/reference/expressions.html#generator-expressions)1188      - [6.2.9. Выражения yield](https://python-all.ru/3.4/reference/expressions.html#yield-expressions)11891190        - [6.2.9.1. Методы генератор-итератора](https://python-all.ru/3.4/reference/expressions.html#generator-iterator-methods)1191        - [6.2.9.2. Примеры](https://python-all.ru/3.4/reference/expressions.html#examples)1192    - [6.3. Первичные выражения](https://python-all.ru/3.4/reference/expressions.html#primaries)11931194      - [6.3.1. Ссылки на атрибуты](https://python-all.ru/3.4/reference/expressions.html#attribute-references)1195      - [6.3.2. Подписки](https://python-all.ru/3.4/reference/expressions.html#subscriptions)1196      - [6.3.3. Срезы](https://python-all.ru/3.4/reference/expressions.html#slicings)1197      - [6.3.4. Вызовы](https://python-all.ru/3.4/reference/expressions.html#calls)1198    - [6.4. Оператор возведения в степень](https://python-all.ru/3.4/reference/expressions.html#the-power-operator)1199    - [6.5. Унарные арифметические и побитовые операции](https://python-all.ru/3.4/reference/expressions.html#unary-arithmetic-and-bitwise-operations)1200    - [6.6. Бинарные арифметические операции](https://python-all.ru/3.4/reference/expressions.html#binary-arithmetic-operations)1201    - [6.7. Операции сдвига](https://python-all.ru/3.4/reference/expressions.html#shifting-operations)1202    - [6.8. Бинарные побитовые операции](https://python-all.ru/3.4/reference/expressions.html#binary-bitwise-operations)1203    - [6.9. Сравнения](https://python-all.ru/3.4/reference/expressions.html#comparisons)12041205      - [6.9.1. Сравнения значений](https://python-all.ru/3.4/reference/expressions.html#value-comparisons)1206      - [6.9.2. Операции проверки принадлежности](https://python-all.ru/3.4/reference/expressions.html#membership-test-operations)1207      - [6.9.3. Сравнения идентичности](https://python-all.ru/3.4/reference/expressions.html#is-not)1208    - [6.10. Булевы операции](https://python-all.ru/3.4/reference/expressions.html#boolean-operations)1209    - [6.11. Условные выражения](https://python-all.ru/3.4/reference/expressions.html#conditional-expressions)1210    - [6.12. Лямбда-выражения](https://python-all.ru/3.4/reference/expressions.html#lambda)1211    - [6.13. Списки выражений](https://python-all.ru/3.4/reference/expressions.html#expression-lists)1212    - [6.14. Порядок вычисления](https://python-all.ru/3.4/reference/expressions.html#evaluation-order)1213    - [6.15. Приоритет операторов](https://python-all.ru/3.4/reference/expressions.html#operator-precedence)1214  - [7. Простые инструкции](https://python-all.ru/3.4/reference/simple_stmts.html)12151216    - [7.1. Инструкции-выражения](https://python-all.ru/3.4/reference/simple_stmts.html#expression-statements)1217    - [7.2. Инструкции присваивания](https://python-all.ru/3.4/reference/simple_stmts.html#assignment-statements)12181219      - [7.2.1. Совмещённые инструкции присваивания](https://python-all.ru/3.4/reference/simple_stmts.html#augmented-assignment-statements)1220    - [7.3. Инструкция `assert`](https://python-all.ru/3.4/reference/simple_stmts.html#the-assert-statement)1221    - [7.4. Инструкция `pass`](https://python-all.ru/3.4/reference/simple_stmts.html#the-pass-statement)1222    - [7.5. Инструкция `del`](https://python-all.ru/3.4/reference/simple_stmts.html#the-del-statement)1223    - [7.6. Инструкция `return`](https://python-all.ru/3.4/reference/simple_stmts.html#the-return-statement)1224    - [7.7. Инструкция `yield`](https://python-all.ru/3.4/reference/simple_stmts.html#the-yield-statement)1225    - [7.8. Инструкция `raise`](https://python-all.ru/3.4/reference/simple_stmts.html#the-raise-statement)1226    - [7.9. Инструкция `break`](https://python-all.ru/3.4/reference/simple_stmts.html#the-break-statement)1227    - [7.10. Инструкция `continue`](https://python-all.ru/3.4/reference/simple_stmts.html#the-continue-statement)1228    - [7.11. Инструкция `import`](https://python-all.ru/3.4/reference/simple_stmts.html#the-import-statement)12291230      - [7.11.1. Инструкции future](https://python-all.ru/3.4/reference/simple_stmts.html#future-statements)1231    - [7.12. Инструкция `global`](https://python-all.ru/3.4/reference/simple_stmts.html#the-global-statement)1232    - [7.13. Инструкция `nonlocal`](https://python-all.ru/3.4/reference/simple_stmts.html#the-nonlocal-statement)1233  - [8. Составные инструкции](https://python-all.ru/3.4/reference/compound_stmts.html)12341235    - [8.1. Инструкция `if`](https://python-all.ru/3.4/reference/compound_stmts.html#the-if-statement)1236    - [8.2. Инструкция `while`](https://python-all.ru/3.4/reference/compound_stmts.html#the-while-statement)1237    - [8.3. Инструкция `for`](https://python-all.ru/3.4/reference/compound_stmts.html#the-for-statement)1238    - [8.4. Инструкция `try`](https://python-all.ru/3.4/reference/compound_stmts.html#the-try-statement)1239    - [8.5. Инструкция `with`](https://python-all.ru/3.4/reference/compound_stmts.html#the-with-statement)1240    - [8.6. Определения функций](https://python-all.ru/3.4/reference/compound_stmts.html#function-definitions)1241    - [8.7. Определения классов](https://python-all.ru/3.4/reference/compound_stmts.html#class-definitions)1242  - [9. Компоненты верхнего уровня](https://python-all.ru/3.4/reference/toplevel_components.html)12431244    - [9.1. Полные программы на Python](https://python-all.ru/3.4/reference/toplevel_components.html#complete-python-programs)1245    - [9.2. Ввод из файла](https://python-all.ru/3.4/reference/toplevel_components.html#file-input)1246    - [9.3. Интерактивный ввод](https://python-all.ru/3.4/reference/toplevel_components.html#interactive-input)1247    - [9.4. Ввод выражений](https://python-all.ru/3.4/reference/toplevel_components.html#expression-input)1248  - [10. Полная спецификация грамматики](https://python-all.ru/3.4/reference/grammar.html)1249- [Стандартная библиотека Python](https://python-all.ru/3.4/library/index.html)12501251  - [1. Введение](https://python-all.ru/3.4/library/intro.html)1252  - [2. Встроенные функции](https://python-all.ru/3.4/library/functions.html)1253  - [3. Встроенные константы](https://python-all.ru/3.4/library/constants.html)12541255    - [3.1. Константы, добавленные модулем `site`](https://python-all.ru/3.4/library/constants.html#constants-added-by-the-site-module)1256  - [4. Встроенные типы](https://python-all.ru/3.4/library/stdtypes.html)12571258    - [4.1. Проверка истинности](https://python-all.ru/3.4/library/stdtypes.html#truth-value-testing)1259    - [4.2. Логические операции – `and`, `or`, `not`](https://python-all.ru/3.4/library/stdtypes.html#boolean-operations-and-or-not)1260    - [4.3. Сравнения](https://python-all.ru/3.4/library/stdtypes.html#comparisons)1261    - [4.4. Числовые типы – `int`, `float`, `complex`](https://python-all.ru/3.4/library/stdtypes.html#numeric-types-int-float-complex)12621263      - [4.4.1. Побитовые операции над целыми типами](https://python-all.ru/3.4/library/stdtypes.html#bitwise-operations-on-integer-types)1264      - [4.4.2. Дополнительные методы целых типов](https://python-all.ru/3.4/library/stdtypes.html#additional-methods-on-integer-types)1265      - [4.4.3. Дополнительные методы Float](https://python-all.ru/3.4/library/stdtypes.html#additional-methods-on-float)1266      - [4.4.4. Хеширование числовых типов](https://python-all.ru/3.4/library/stdtypes.html#hashing-of-numeric-types)1267    - [4.5. Типы итераторов](https://python-all.ru/3.4/library/stdtypes.html#iterator-types)12681269      - [4.5.1. Типы генераторов](https://python-all.ru/3.4/library/stdtypes.html#generator-types)1270    - [4.6. Типы последовательностей – `list`, `tuple`, `range`](https://python-all.ru/3.4/library/stdtypes.html#sequence-types-list-tuple-range)12711272      - [4.6.1. Общие операции с последовательностями](https://python-all.ru/3.4/library/stdtypes.html#common-sequence-operations)1273      - [4.6.2. Неизменяемые типы последовательностей](https://python-all.ru/3.4/library/stdtypes.html#immutable-sequence-types)1274      - [4.6.3. Изменяемые типы последовательностей](https://python-all.ru/3.4/library/stdtypes.html#mutable-sequence-types)1275      - [4.6.4. Списки](https://python-all.ru/3.4/library/stdtypes.html#lists)1276      - [4.6.5. Кортежи](https://python-all.ru/3.4/library/stdtypes.html#tuples)1277      - [4.6.6. Диапазоны](https://python-all.ru/3.4/library/stdtypes.html#ranges)1278    - [4.7. Тип текстовой последовательности – `str`](https://python-all.ru/3.4/library/stdtypes.html#text-sequence-type-str)12791280      - [4.7.1. Методы строк](https://python-all.ru/3.4/library/stdtypes.html#string-methods)1281      - [4.7.2. Форматирование строк в стиле `printf`](https://python-all.ru/3.4/library/stdtypes.html#printf-style-string-formatting)1282    - [4.8. Типы двоичных последовательностей – `bytes`, `bytearray`, `memoryview`](https://python-all.ru/3.4/library/stdtypes.html#binary-sequence-types-bytes-bytearray-memoryview)12831284      - [4.8.1. Байты](https://python-all.ru/3.4/library/stdtypes.html#bytes)1285      - [4.8.2. Объекты bytearray](https://python-all.ru/3.4/library/stdtypes.html#bytearray-objects)1286      - [4.8.3. Операции с bytes и bytearray](https://python-all.ru/3.4/library/stdtypes.html#bytes-and-bytearray-operations)1287      - [4.8.4. Представления памяти](https://python-all.ru/3.4/library/stdtypes.html#memory-views)1288    - [4.9. Типы множеств – `set`, `frozenset`](https://python-all.ru/3.4/library/stdtypes.html#set-types-set-frozenset)1289    - [4.10. Типы отображений – `dict`](https://python-all.ru/3.4/library/stdtypes.html#mapping-types-dict)12901291      - [4.10.1. Объекты-представления словаря](https://python-all.ru/3.4/library/stdtypes.html#dictionary-view-objects)1292    - [4.11. Типы менеджеров контекста](https://python-all.ru/3.4/library/stdtypes.html#context-manager-types)1293    - [4.12. Прочие встроенные типы](https://python-all.ru/3.4/library/stdtypes.html#other-built-in-types)12941295      - [4.12.1. Модули](https://python-all.ru/3.4/library/stdtypes.html#modules)1296      - [4.12.2. Классы и экземпляры классов](https://python-all.ru/3.4/library/stdtypes.html#classes-and-class-instances)1297      - [4.12.3. Функции](https://python-all.ru/3.4/library/stdtypes.html#functions)1298      - [4.12.4. Методы](https://python-all.ru/3.4/library/stdtypes.html#methods)1299      - [4.12.5. Объекты кода](https://python-all.ru/3.4/library/stdtypes.html#code-objects)1300      - [4.12.6. Объекты типов](https://python-all.ru/3.4/library/stdtypes.html#type-objects)1301      - [4.12.7. Объект None](https://python-all.ru/3.4/library/stdtypes.html#the-null-object)1302      - [4.12.8. Объект Ellipsis](https://python-all.ru/3.4/library/stdtypes.html#the-ellipsis-object)1303      - [4.12.9. Объект NotImplemented](https://python-all.ru/3.4/library/stdtypes.html#the-notimplemented-object)1304      - [4.12.10. Логические значения](https://python-all.ru/3.4/library/stdtypes.html#boolean-values)1305      - [4.12.11. Внутренние объекты](https://python-all.ru/3.4/library/stdtypes.html#internal-objects)1306    - [4.13. Специальные атрибуты](https://python-all.ru/3.4/library/stdtypes.html#special-attributes)1307  - [5. Встроенные исключения](https://python-all.ru/3.4/library/exceptions.html)13081309    - [5.1. Базовые классы](https://python-all.ru/3.4/library/exceptions.html#base-classes)1310    - [5.2. Конкретные исключения](https://python-all.ru/3.4/library/exceptions.html#concrete-exceptions)13111312      - [5.2.1. Исключения ОС](https://python-all.ru/3.4/library/exceptions.html#os-exceptions)1313    - [5.3. Предупреждения](https://python-all.ru/3.4/library/exceptions.html#warnings)1314    - [5.4. Иерархия исключений](https://python-all.ru/3.4/library/exceptions.html#exception-hierarchy)1315  - [6. Службы обработки текста](https://python-all.ru/3.4/library/text.html)13161317    - [6.1. `string` – Распространённые операции со строками](https://python-all.ru/3.4/library/string.html)13181319      - [6.1.1. Константы строк](https://python-all.ru/3.4/library/string.html#string-constants)1320      - [6.1.2. Форматирование строк](https://python-all.ru/3.4/library/string.html#string-formatting)1321      - [6.1.3. Синтаксис форматной строки](https://python-all.ru/3.4/library/string.html#format-string-syntax)13221323        - [6.1.3.1. Мини-язык спецификаций формата](https://python-all.ru/3.4/library/string.html#format-specification-mini-language)1324        - [6.1.3.2. Примеры форматирования](https://python-all.ru/3.4/library/string.html#format-examples)1325      - [6.1.4. Шаблонные строки](https://python-all.ru/3.4/library/string.html#template-strings)1326      - [6.1.5. Вспомогательные функции](https://python-all.ru/3.4/library/string.html#helper-functions)1327    - [6.2. `re` – Операции с регулярными выражениями](https://python-all.ru/3.4/library/re.html)13281329      - [6.2.1. Синтаксис регулярных выражений](https://python-all.ru/3.4/library/re.html#regular-expression-syntax)1330      - [6.2.2. Содержимое модуля](https://python-all.ru/3.4/library/re.html#module-contents)1331      - [6.2.3. Объекты регулярных выражений](https://python-all.ru/3.4/library/re.html#regular-expression-objects)1332      - [6.2.4. Объекты сопоставления](https://python-all.ru/3.4/library/re.html#match-objects)1333      - [6.2.5. Примеры регулярных выражений](https://python-all.ru/3.4/library/re.html#regular-expression-examples)13341335        - [6.2.5.1. Проверка на пару](https://python-all.ru/3.4/library/re.html#checking-for-a-pair)1336        - [6.2.5.2. Имитация scanf()](https://python-all.ru/3.4/library/re.html#simulating-scanf)1337        - [6.2.5.3. search() против match()](https://python-all.ru/3.4/library/re.html#search-vs-match)1338        - [6.2.5.4. Создание телефонной книги](https://python-all.ru/3.4/library/re.html#making-a-phonebook)1339        - [6.2.5.5. Обработка текста](https://python-all.ru/3.4/library/re.html#text-munging)1340        - [6.2.5.6. Поиск всех наречий](https://python-all.ru/3.4/library/re.html#finding-all-adverbs)1341        - [6.2.5.7. Поиск всех наречий и их позиций](https://python-all.ru/3.4/library/re.html#finding-all-adverbs-and-their-positions)1342        - [6.2.5.8. Сырые строки](https://python-all.ru/3.4/library/re.html#raw-string-notation)1343        - [6.2.5.9. Написание токенизатора](https://python-all.ru/3.4/library/re.html#writing-a-tokenizer)1344    - [6.3. `difflib` – Вспомогательные средства для вычисления различий](https://python-all.ru/3.4/library/difflib.html)13451346      - [6.3.1. Объекты SequenceMatcher](https://python-all.ru/3.4/library/difflib.html#sequencematcher-objects)1347      - [6.3.2. Примеры SequenceMatcher](https://python-all.ru/3.4/library/difflib.html#sequencematcher-examples)1348      - [6.3.3. Объекты Differ](https://python-all.ru/3.4/library/difflib.html#differ-objects)1349      - [6.3.4. Пример Differ](https://python-all.ru/3.4/library/difflib.html#differ-example)1350      - [6.3.5. Интерфейс командной строки для difflib](https://python-all.ru/3.4/library/difflib.html#a-command-line-interface-to-difflib)1351    - [6.4. `textwrap` – Перенос и заполнение текста](https://python-all.ru/3.4/library/textwrap.html)1352    - [6.5. `unicodedata` – База данных Unicode](https://python-all.ru/3.4/library/unicodedata.html)1353    - [6.6. `stringprep` – Подготовка интернет-строк](https://python-all.ru/3.4/library/stringprep.html)1354    - [6.7. `readline` – Интерфейс GNU readline](https://python-all.ru/3.4/library/readline.html)13551356      - [6.7.1. Пример](https://python-all.ru/3.4/library/readline.html#example)1357    - [6.8. `rlcompleter` – Функция дополнения для GNU readline](https://python-all.ru/3.4/library/rlcompleter.html)13581359      - [6.8.1. Объекты Completer](https://python-all.ru/3.4/library/rlcompleter.html#completer-objects)1360  - [7. Службы двоичных данных](https://python-all.ru/3.4/library/binary.html)13611362    - [7.1. `struct` – Интерпретация байтов как упакованных двоичных данных](https://python-all.ru/3.4/library/struct.html)13631364      - [7.1.1. Функции и исключения](https://python-all.ru/3.4/library/struct.html#functions-and-exceptions)1365      - [7.1.2. Строки формата](https://python-all.ru/3.4/library/struct.html#format-strings)13661367        - [7.1.2.1. Порядок байтов, размер и выравнивание](https://python-all.ru/3.4/library/struct.html#byte-order-size-and-alignment)1368        - [7.1.2.2. Символы формата](https://python-all.ru/3.4/library/struct.html#format-characters)1369        - [7.1.2.3. Примеры](https://python-all.ru/3.4/library/struct.html#examples)1370      - [7.1.3. Классы](https://python-all.ru/3.4/library/struct.html#classes)1371    - [7.2. `codecs` – Реестр кодеков и базовые классы](https://python-all.ru/3.4/library/codecs.html)13721373      - [7.2.1. Базовые классы кодеков](https://python-all.ru/3.4/library/codecs.html#codec-base-classes)13741375        - [7.2.1.1. Обработчики ошибок](https://python-all.ru/3.4/library/codecs.html#error-handlers)1376        - [7.2.1.2. Кодирование и декодирование без состояния](https://python-all.ru/3.4/library/codecs.html#stateless-encoding-and-decoding)1377        - [7.2.1.3. Инкрементальное кодирование и декодирование](https://python-all.ru/3.4/library/codecs.html#incremental-encoding-and-decoding)13781379          - [7.2.1.3.1. Объекты IncrementalEncoder](https://python-all.ru/3.4/library/codecs.html#incrementalencoder-objects)1380          - [7.2.1.3.2. Объекты IncrementalDecoder](https://python-all.ru/3.4/library/codecs.html#incrementaldecoder-objects)1381        - [7.2.1.4. Потоковое кодирование и декодирование](https://python-all.ru/3.4/library/codecs.html#stream-encoding-and-decoding)13821383          - [7.2.1.4.1. Объекты StreamWriter](https://python-all.ru/3.4/library/codecs.html#streamwriter-objects)1384          - [7.2.1.4.2. Объекты StreamReader](https://python-all.ru/3.4/library/codecs.html#streamreader-objects)1385          - [7.2.1.4.3. Объекты StreamReaderWriter](https://python-all.ru/3.4/library/codecs.html#streamreaderwriter-objects)1386          - [7.2.1.4.4. Объекты StreamRecoder](https://python-all.ru/3.4/library/codecs.html#streamrecoder-objects)1387      - [7.2.2. Кодировки и Юникод](https://python-all.ru/3.4/library/codecs.html#encodings-and-unicode)1388      - [7.2.3. Стандартные кодировки](https://python-all.ru/3.4/library/codecs.html#standard-encodings)1389      - [7.2.4. Кодировки, специфичные для Python](https://python-all.ru/3.4/library/codecs.html#python-specific-encodings)13901391        - [7.2.4.1. Текстовые кодировки](https://python-all.ru/3.4/library/codecs.html#text-encodings)1392        - [7.2.4.2. Двоичные преобразования](https://python-all.ru/3.4/library/codecs.html#binary-transforms)1393        - [7.2.4.3. Текстовые преобразования](https://python-all.ru/3.4/library/codecs.html#text-transforms)1394      - [7.2.5. `encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/3.4/library/codecs.html#module-encodings.idna)1395      - [7.2.6. `encodings.mbcs` – Кодовая страница Windows ANSI](https://python-all.ru/3.4/library/codecs.html#module-encodings.mbcs)1396      - [7.2.7. `encodings.utf_8_sig` – Кодек UTF-8 с сигнатурой BOM](https://python-all.ru/3.4/library/codecs.html#module-encodings.utf_8_sig)1397  - [8. Типы данных](https://python-all.ru/3.4/library/datatypes.html)13981399    - [8.1. `datetime` – Базовые типы даты и времени](https://python-all.ru/3.4/library/datetime.html)14001401      - [8.1.1. Доступные типы](https://python-all.ru/3.4/library/datetime.html#available-types)1402      - [8.1.2. `timedelta` Объекты](https://python-all.ru/3.4/library/datetime.html#timedelta-objects)1403      - [8.1.3. `date` Объекты](https://python-all.ru/3.4/library/datetime.html#date-objects)1404      - [8.1.4. `datetime` Объекты](https://python-all.ru/3.4/library/datetime.html#datetime-objects)1405      - [8.1.5. `time` Объекты](https://python-all.ru/3.4/library/datetime.html#time-objects)1406      - [8.1.6. `tzinfo` Объекты](https://python-all.ru/3.4/library/datetime.html#tzinfo-objects)1407      - [8.1.7. `timezone` Объекты](https://python-all.ru/3.4/library/datetime.html#timezone-objects)1408      - [8.1.8. `strftime()` и `strptime()` Поведение](https://python-all.ru/3.4/library/datetime.html#strftime-and-strptime-behavior)1409    - [8.2. `calendar` – Общие функции, связанные с календарём](https://python-all.ru/3.4/library/calendar.html)1410    - [8.3. `collections` – Типы данных-контейнеры](https://python-all.ru/3.4/library/collections.html)14111412      - [8.3.1. `ChainMap` объекты](https://python-all.ru/3.4/library/collections.html#chainmap-objects)14131414        - [8.3.1.1. `ChainMap` Примеры и рецепты](https://python-all.ru/3.4/library/collections.html#chainmap-examples-and-recipes)1415      - [8.3.2. `Counter` объекты](https://python-all.ru/3.4/library/collections.html#counter-objects)1416      - [8.3.3. `deque` объекты](https://python-all.ru/3.4/library/collections.html#deque-objects)14171418        - [8.3.3.1. `deque` Рецепты](https://python-all.ru/3.4/library/collections.html#deque-recipes)1419      - [8.3.4. `defaultdict` объекты](https://python-all.ru/3.4/library/collections.html#defaultdict-objects)14201421        - [8.3.4.1. `defaultdict` Примеры](https://python-all.ru/3.4/library/collections.html#defaultdict-examples)1422      - [8.3.5. `namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/3.4/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)1423      - [8.3.6. `OrderedDict` объекты](https://python-all.ru/3.4/library/collections.html#ordereddict-objects)14241425        - [8.3.6.1. `OrderedDict` Примеры и рецепты](https://python-all.ru/3.4/library/collections.html#ordereddict-examples-and-recipes)1426      - [8.3.7. `UserDict` объекты](https://python-all.ru/3.4/library/collections.html#userdict-objects)1427      - [8.3.8. `UserList` объекты](https://python-all.ru/3.4/library/collections.html#userlist-objects)1428      - [8.3.9. `UserString` объекты](https://python-all.ru/3.4/library/collections.html#userstring-objects)1429    - [8.4. `collections.abc` – Абстрактные базовые классы для контейнеров](https://python-all.ru/3.4/library/collections.abc.html)14301431      - [8.4.1. Абстрактные базовые классы коллекций](https://python-all.ru/3.4/library/collections.abc.html#collections-abstract-base-classes)1432    - [8.5. `heapq` – Алгоритм пирамидальной очереди](https://python-all.ru/3.4/library/heapq.html)14331434      - [8.5.1. Простые примеры](https://python-all.ru/3.4/library/heapq.html#basic-examples)1435      - [8.5.2. Примечания по реализации очереди с приоритетом](https://python-all.ru/3.4/library/heapq.html#priority-queue-implementation-notes)1436      - [8.5.3. Теория](https://python-all.ru/3.4/library/heapq.html#theory)1437    - [8.6. `bisect` – Алгоритм бинарного поиска](https://python-all.ru/3.4/library/bisect.html)14381439      - [8.6.1. Поиск в отсортированных списках](https://python-all.ru/3.4/library/bisect.html#searching-sorted-lists)1440      - [8.6.2. Другие примеры](https://python-all.ru/3.4/library/bisect.html#other-examples)1441    - [8.7. `array` – Эффективные массивы числовых значений](https://python-all.ru/3.4/library/array.html)1442    - [8.8. `weakref` – Слабые ссылки](https://python-all.ru/3.4/library/weakref.html)14431444      - [8.8.1. Объекты слабых ссылок](https://python-all.ru/3.4/library/weakref.html#weak-reference-objects)1445      - [8.8.2. Пример](https://python-all.ru/3.4/library/weakref.html#example)1446      - [8.8.3. Объекты финализаторов](https://python-all.ru/3.4/library/weakref.html#finalizer-objects)1447      - [8.8.4. Сравнение финализаторов с методами `__del__()`](https://python-all.ru/3.4/library/weakref.html#comparing-finalizers-with-del-methods)1448    - [8.9. `types` – Создание динамических типов и имена для встроенных типов](https://python-all.ru/3.4/library/types.html)14491450      - [8.9.1. Динамическое создание типов](https://python-all.ru/3.4/library/types.html#dynamic-type-creation)1451      - [8.9.2. Стандартные типы интерпретатора](https://python-all.ru/3.4/library/types.html#standard-interpreter-types)1452      - [8.9.3. Дополнительные служебные классы и функции](https://python-all.ru/3.4/library/types.html#additional-utility-classes-and-functions)1453    - [8.10. `copy` – Операции поверхностного и глубокого копирования](https://python-all.ru/3.4/library/copy.html)1454    - [8.11. `pprint` – Форматированный вывод данных](https://python-all.ru/3.4/library/pprint.html)14551456      - [8.11.1. Объекты PrettyPrinter](https://python-all.ru/3.4/library/pprint.html#prettyprinter-objects)1457      - [8.11.2. Пример](https://python-all.ru/3.4/library/pprint.html#example)1458    - [8.12. `reprlib` – Альтернативная реализация `repr()`](https://python-all.ru/3.4/library/reprlib.html)14591460      - [8.12.1. Объекты Repr](https://python-all.ru/3.4/library/reprlib.html#repr-objects)1461      - [8.12.2. Создание подклассов объектов Repr](https://python-all.ru/3.4/library/reprlib.html#subclassing-repr-objects)1462    - [8.13. `enum` – Поддержка перечислений](https://python-all.ru/3.4/library/enum.html)14631464      - [8.13.1. Содержимое модуля](https://python-all.ru/3.4/library/enum.html#module-contents)1465      - [8.13.2. Создание перечисления](https://python-all.ru/3.4/library/enum.html#creating-an-enum)1466      - [8.13.3. Программный доступ к членам перечисления и их атрибутам](https://python-all.ru/3.4/library/enum.html#programmatic-access-to-enumeration-members-and-their-attributes)1467      - [8.13.4. Дублирование членов и значений перечисления](https://python-all.ru/3.4/library/enum.html#duplicating-enum-members-and-values)1468      - [8.13.5. Обеспечение уникальности значений перечисления](https://python-all.ru/3.4/library/enum.html#ensuring-unique-enumeration-values)1469      - [8.13.6. Итерация](https://python-all.ru/3.4/library/enum.html#iteration)1470      - [8.13.7. Сравнения](https://python-all.ru/3.4/library/enum.html#comparisons)1471      - [8.13.8. Допустимые члены и атрибуты перечислений](https://python-all.ru/3.4/library/enum.html#allowed-members-and-attributes-of-enumerations)1472      - [8.13.9. Ограниченное создание подклассов перечислений](https://python-all.ru/3.4/library/enum.html#restricted-subclassing-of-enumerations)1473      - [8.13.10. Сериализация](https://python-all.ru/3.4/library/enum.html#pickling)1474      - [8.13.11. Функциональный API](https://python-all.ru/3.4/library/enum.html#functional-api)1475      - [8.13.12. Производные перечисления](https://python-all.ru/3.4/library/enum.html#derived-enumerations)14761477        - [8.13.12.1. IntEnum](https://python-all.ru/3.4/library/enum.html#intenum)1478        - [8.13.12.2. Другие](https://python-all.ru/3.4/library/enum.html#others)1479      - [8.13.13. Интересные примеры](https://python-all.ru/3.4/library/enum.html#interesting-examples)14801481        - [8.13.13.1. AutoNumber](https://python-all.ru/3.4/library/enum.html#autonumber)1482        - [8.13.13.2. OrderedEnum](https://python-all.ru/3.4/library/enum.html#orderedenum)1483        - [8.13.13.3. DuplicateFreeEnum](https://python-all.ru/3.4/library/enum.html#duplicatefreeenum)1484        - [8.13.13.4. Planet](https://python-all.ru/3.4/library/enum.html#planet)1485      - [8.13.14. Чем отличаются перечисления?](https://python-all.ru/3.4/library/enum.html#how-are-enums-different)14861487        - [8.13.14.1. Классы перечислений](https://python-all.ru/3.4/library/enum.html#enum-classes)1488        - [8.13.14.2. Члены перечисления (экземпляры)](https://python-all.ru/3.4/library/enum.html#enum-members-aka-instances)1489        - [8.13.14.3. Тонкости](https://python-all.ru/3.4/library/enum.html#finer-points)1490  - [9. Модули числовых и математических функций](https://python-all.ru/3.4/library/numeric.html)14911492    - [9.1. `numbers` – Числовые абстрактные базовые классы](https://python-all.ru/3.4/library/numbers.html)14931494      - [9.1.1. Числовая иерархия](https://python-all.ru/3.4/library/numbers.html#the-numeric-tower)1495      - [9.1.2. Замечания для разработчиков типов](https://python-all.ru/3.4/library/numbers.html#notes-for-type-implementors)14961497        - [9.1.2.1. Добавление других числовых ABC](https://python-all.ru/3.4/library/numbers.html#adding-more-numeric-abcs)1498        - [9.1.2.2. Реализация арифметических операций](https://python-all.ru/3.4/library/numbers.html#implementing-the-arithmetic-operations)1499    - [9.2. `math` – Математические функции](https://python-all.ru/3.4/library/math.html)15001501      - [9.2.1. Теоретико-числовые функции и функции представления](https://python-all.ru/3.4/library/math.html#number-theoretic-and-representation-functions)1502      - [9.2.2. Степенные и логарифмические функции](https://python-all.ru/3.4/library/math.html#power-and-logarithmic-functions)1503      - [9.2.3. Тригонометрические функции](https://python-all.ru/3.4/library/math.html#trigonometric-functions)1504      - [9.2.4. Преобразование углов](https://python-all.ru/3.4/library/math.html#angular-conversion)1505      - [9.2.5. Гиперболические функции](https://python-all.ru/3.4/library/math.html#hyperbolic-functions)1506      - [9.2.6. Специальные функции](https://python-all.ru/3.4/library/math.html#special-functions)1507      - [9.2.7. Константы](https://python-all.ru/3.4/library/math.html#constants)1508    - [9.3. `cmath` – Математические функции для комплексных чисел](https://python-all.ru/3.4/library/cmath.html)15091510      - [9.3.1. Преобразование в полярные координаты и обратно](https://python-all.ru/3.4/library/cmath.html#conversions-to-and-from-polar-coordinates)1511      - [9.3.2. Степенные и логарифмические функции](https://python-all.ru/3.4/library/cmath.html#power-and-logarithmic-functions)1512      - [9.3.3. Тригонометрические функции](https://python-all.ru/3.4/library/cmath.html#trigonometric-functions)1513      - [9.3.4. Гиперболические функции](https://python-all.ru/3.4/library/cmath.html#hyperbolic-functions)1514      - [9.3.5. Функции классификации](https://python-all.ru/3.4/library/cmath.html#classification-functions)1515      - [9.3.6. Константы](https://python-all.ru/3.4/library/cmath.html#constants)1516    - [9.4. `decimal` – Десятичная арифметика с фиксированной и плавающей точкой](https://python-all.ru/3.4/library/decimal.html)15171518      - [9.4.1. Краткое руководство](https://python-all.ru/3.4/library/decimal.html#quick-start-tutorial)1519      - [9.4.2. Объекты Decimal](https://python-all.ru/3.4/library/decimal.html#decimal-objects)15201521        - [9.4.2.1. Логические операнды](https://python-all.ru/3.4/library/decimal.html#logical-operands)1522      - [9.4.3. Объекты контекста](https://python-all.ru/3.4/library/decimal.html#context-objects)1523      - [9.4.4. Константы](https://python-all.ru/3.4/library/decimal.html#constants)1524      - [9.4.5. Режимы округления](https://python-all.ru/3.4/library/decimal.html#rounding-modes)1525      - [9.4.6. Сигналы](https://python-all.ru/3.4/library/decimal.html#signals)1526      - [9.4.7. Замечания о числах с плавающей точкой](https://python-all.ru/3.4/library/decimal.html#floating-point-notes)15271528        - [9.4.7.1. Уменьшение ошибки округления за счёт повышенной точности](https://python-all.ru/3.4/library/decimal.html#mitigating-round-off-error-with-increased-precision)1529        - [9.4.7.2. Специальные значения](https://python-all.ru/3.4/library/decimal.html#special-values)1530      - [9.4.8. Работа с потоками](https://python-all.ru/3.4/library/decimal.html#working-with-threads)1531      - [9.4.9. Рецепты](https://python-all.ru/3.4/library/decimal.html#recipes)1532      - [9.4.10. Часто задаваемые вопросы о Decimal](https://python-all.ru/3.4/library/decimal.html#decimal-faq)1533    - [9.5. `fractions` – Рациональные числа](https://python-all.ru/3.4/library/fractions.html)1534    - [9.6. `random` – Генерация псевдослучайных чисел](https://python-all.ru/3.4/library/random.html)15351536      - [9.6.1. Замечания о воспроизводимости](https://python-all.ru/3.4/library/random.html#notes-on-reproducibility)1537      - [9.6.2. Примеры и рецепты](https://python-all.ru/3.4/library/random.html#examples-and-recipes)1538    - [9.7. `statistics` – Функции математической статистики](https://python-all.ru/3.4/library/statistics.html)15391540      - [9.7.1. Средние значения и меры центральной тенденции](https://python-all.ru/3.4/library/statistics.html#averages-and-measures-of-central-location)1541      - [9.7.2. Меры разброса](https://python-all.ru/3.4/library/statistics.html#measures-of-spread)1542      - [9.7.3. Описание функций](https://python-all.ru/3.4/library/statistics.html#function-details)1543      - [9.7.4. Исключения](https://python-all.ru/3.4/library/statistics.html#exceptions)1544  - [10. Модули функционального программирования](https://python-all.ru/3.4/library/functional.html)15451546    - [10.1. `itertools` – Функции, создающие итераторы для эффективного цикла](https://python-all.ru/3.4/library/itertools.html)15471548      - [10.1.1. Функции модуля itertools](https://python-all.ru/3.4/library/itertools.html#itertool-functions)1549      - [10.1.2. Рецепты itertools](https://python-all.ru/3.4/library/itertools.html#itertools-recipes)1550    - [10.2. `functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/3.4/library/functools.html)15511552      - [10.2.1. `partial` объекты](https://python-all.ru/3.4/library/functools.html#partial-objects)1553    - [10.3. `operator` – Стандартные операторы в виде функций](https://python-all.ru/3.4/library/operator.html)15541555      - [10.3.1. Отображение операторов на функции](https://python-all.ru/3.4/library/operator.html#mapping-operators-to-functions)1556      - [10.3.2. Операторы на месте](https://python-all.ru/3.4/library/operator.html#inplace-operators)1557  - [11. Доступ к файлам и каталогам](https://python-all.ru/3.4/library/filesys.html)15581559    - [11.1. `pathlib` – Объектно-ориентированные пути файловой системы](https://python-all.ru/3.4/library/pathlib.html)15601561      - [11.1.1. Основное использование](https://python-all.ru/3.4/library/pathlib.html#basic-use)1562      - [11.1.2. Абстрактные пути](https://python-all.ru/3.4/library/pathlib.html#pure-paths)15631564        - [11.1.2.1. Общие свойства](https://python-all.ru/3.4/library/pathlib.html#general-properties)1565        - [11.1.2.2. Операторы](https://python-all.ru/3.4/library/pathlib.html#operators)1566        - [11.1.2.3. Доступ к отдельным частям](https://python-all.ru/3.4/library/pathlib.html#accessing-individual-parts)1567        - [11.1.2.4. Методы и свойства](https://python-all.ru/3.4/library/pathlib.html#methods-and-properties)1568      - [11.1.3. Конкретные пути](https://python-all.ru/3.4/library/pathlib.html#concrete-paths)15691570        - [11.1.3.1. Методы](https://python-all.ru/3.4/library/pathlib.html#methods)1571    - [11.2. `os.path` – Распространённые манипуляции с именами путей](https://python-all.ru/3.4/library/os.path.html)1572    - [11.3. `fileinput` – Итерация по строкам из нескольких входных потоков](https://python-all.ru/3.4/library/fileinput.html)1573    - [11.4. `stat` – Интерпретация результатов `stat()`](https://python-all.ru/3.4/library/stat.html)1574    - [11.5. `filecmp` – Сравнение файлов и каталогов](https://python-all.ru/3.4/library/filecmp.html)15751576      - [11.5.1. Класс `dircmp`](https://python-all.ru/3.4/library/filecmp.html#the-dircmp-class)1577    - [11.6. `tempfile` – Создание временных файлов и каталогов](https://python-all.ru/3.4/library/tempfile.html)15781579      - [11.6.1. Примеры](https://python-all.ru/3.4/library/tempfile.html#examples)1580    - [11.7. `glob` – Развёртывание шаблонов путей в стиле Unix](https://python-all.ru/3.4/library/glob.html)1581    - [11.8. `fnmatch` – Сопоставление имён файлов с шаблонами в стиле Unix](https://python-all.ru/3.4/library/fnmatch.html)1582    - [11.9. `linecache` – Произвольный доступ к строкам текста](https://python-all.ru/3.4/library/linecache.html)1583    - [11.10. `shutil` – Высокоуровневые операции с файлами](https://python-all.ru/3.4/library/shutil.html)15841585      - [11.10.1. Операции с каталогами и файлами](https://python-all.ru/3.4/library/shutil.html#directory-and-files-operations)15861587        - [11.10.1.1. Пример copytree](https://python-all.ru/3.4/library/shutil.html#copytree-example)1588      - [11.10.2. Операции архивации](https://python-all.ru/3.4/library/shutil.html#archiving-operations)15891590        - [11.10.2.1. Пример архивации](https://python-all.ru/3.4/library/shutil.html#archiving-example)1591      - [11.10.3. Определение размера выходного терминала](https://python-all.ru/3.4/library/shutil.html#querying-the-size-of-the-output-terminal)1592    - [11.11. `macpath` – Функции манипуляции путями Mac OS 9](https://python-all.ru/3.4/library/macpath.html)1593  - [12. Сохранение данных](https://python-all.ru/3.4/library/persistence.html)15941595    - [12.1. `pickle` – Сериализация объектов Python](https://python-all.ru/3.4/library/pickle.html)15961597      - [12.1.1. Взаимосвязь с другими модулями Python](https://python-all.ru/3.4/library/pickle.html#relationship-to-other-python-modules)15981599        - [12.1.1.1. Сравнение с `marshal`](https://python-all.ru/3.4/library/pickle.html#comparison-with-marshal)1600        - [12.1.1.2. Сравнение с `json`](https://python-all.ru/3.4/library/pickle.html#comparison-with-json)1601      - [12.1.2. Формат потока данных](https://python-all.ru/3.4/library/pickle.html#data-stream-format)1602      - [12.1.3. Интерфейс модуля](https://python-all.ru/3.4/library/pickle.html#module-interface)1603      - [12.1.4. Что можно сериализовать и десериализовать?](https://python-all.ru/3.4/library/pickle.html#what-can-be-pickled-and-unpickled)1604      - [12.1.5. Сериализация экземпляров классов](https://python-all.ru/3.4/library/pickle.html#pickling-class-instances)16051606        - [12.1.5.1. Сохранение внешних объектов](https://python-all.ru/3.4/library/pickle.html#persistence-of-external-objects)1607        - [12.1.5.2. Диспетчерские таблицы](https://python-all.ru/3.4/library/pickle.html#dispatch-tables)1608        - [12.1.5.3. Работа с объектами с состоянием](https://python-all.ru/3.4/library/pickle.html#handling-stateful-objects)1609      - [12.1.6. Ограничение глобальных объектов](https://python-all.ru/3.4/library/pickle.html#restricting-globals)1610      - [12.1.7. Производительность](https://python-all.ru/3.4/library/pickle.html#performance)1611      - [12.1.8. Примеры](https://python-all.ru/3.4/library/pickle.html#examples)1612    - [12.2. `copyreg` – Регистрация вспомогательных функций `pickle`](https://python-all.ru/3.4/library/copyreg.html)16131614      - [12.2.1. Пример](https://python-all.ru/3.4/library/copyreg.html#example)1615    - [12.3. `shelve` – Персистентность объектов Python](https://python-all.ru/3.4/library/shelve.html)16161617      - [12.3.1. Ограничения](https://python-all.ru/3.4/library/shelve.html#restrictions)1618      - [12.3.2. Пример](https://python-all.ru/3.4/library/shelve.html#example)1619    - [12.4. `marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/3.4/library/marshal.html)1620    - [12.5. `dbm` – Интерфейсы к «базам данных» Unix](https://python-all.ru/3.4/library/dbm.html)16211622      - [12.5.1. `dbm.gnu` – Переосмысление dbm от GNU](https://python-all.ru/3.4/library/dbm.html#module-dbm.gnu)1623      - [12.5.2. `dbm.ndbm` – Интерфейс на основе ndbm](https://python-all.ru/3.4/library/dbm.html#module-dbm.ndbm)1624      - [12.5.3. `dbm.dumb` – Переносимая реализация DBM](https://python-all.ru/3.4/library/dbm.html#module-dbm.dumb)1625    - [12.6. `sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/3.4/library/sqlite3.html)16261627      - [12.6.1. Функции и константы модуля](https://python-all.ru/3.4/library/sqlite3.html#module-functions-and-constants)1628      - [12.6.2. Объекты соединения](https://python-all.ru/3.4/library/sqlite3.html#connection-objects)1629      - [12.6.3. Объекты курсора](https://python-all.ru/3.4/library/sqlite3.html#cursor-objects)1630      - [12.6.4. Объекты строки](https://python-all.ru/3.4/library/sqlite3.html#row-objects)1631      - [12.6.5. SQLite и типы Python](https://python-all.ru/3.4/library/sqlite3.html#sqlite-and-python-types)16321633        - [12.6.5.1. Введение](https://python-all.ru/3.4/library/sqlite3.html#introduction)1634        - [12.6.5.2. Использование адаптеров для хранения дополнительных типов Python в базах данных SQLite](https://python-all.ru/3.4/library/sqlite3.html#using-adapters-to-store-additional-python-types-in-sqlite-databases)16351636          - [12.6.5.2.1. Самоадаптация объекта](https://python-all.ru/3.4/library/sqlite3.html#letting-your-object-adapt-itself)1637          - [12.6.5.2.2. Регистрация вызываемого адаптера](https://python-all.ru/3.4/library/sqlite3.html#registering-an-adapter-callable)1638        - [12.6.5.3. Преобразование значений SQLite в пользовательские типы Python](https://python-all.ru/3.4/library/sqlite3.html#converting-sqlite-values-to-custom-python-types)1639        - [12.6.5.4. Адаптеры и преобразователи по умолчанию](https://python-all.ru/3.4/library/sqlite3.html#default-adapters-and-converters)1640      - [12.6.6. Управление транзакциями](https://python-all.ru/3.4/library/sqlite3.html#controlling-transactions)1641      - [12.6.7. Эффективное использование `sqlite3`](https://python-all.ru/3.4/library/sqlite3.html#using-sqlite3-efficiently)16421643        - [12.6.7.1. Использование сокращённых методов](https://python-all.ru/3.4/library/sqlite3.html#using-shortcut-methods)1644        - [12.6.7.2. Доступ к столбцам по имени вместо индекса](https://python-all.ru/3.4/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)1645        - [12.6.7.3. Использование соединения как менеджера контекста](https://python-all.ru/3.4/library/sqlite3.html#using-the-connection-as-a-context-manager)1646      - [12.6.8. Типичные проблемы](https://python-all.ru/3.4/library/sqlite3.html#common-issues)16471648        - [12.6.8.1. Многопоточность](https://python-all.ru/3.4/library/sqlite3.html#multithreading)1649  - [13. Сжатие данных и архивирование](https://python-all.ru/3.4/library/archiving.html)16501651    - [13.1. `zlib` – Сжатие, совместимое с **gzip**](https://python-all.ru/3.4/library/zlib.html)1652    - [13.2. `gzip` – Поддержка файлов **gzip**](https://python-all.ru/3.4/library/gzip.html)16531654      - [13.2.1. Примеры использования](https://python-all.ru/3.4/library/gzip.html#examples-of-usage)1655    - [13.3. `bz2` – Поддержка сжатия **bzip2**](https://python-all.ru/3.4/library/bz2.html)16561657      - [13.3.1. (Де)сжатие файлов](https://python-all.ru/3.4/library/bz2.html#de-compression-of-files)1658      - [13.3.2. Инкрементальное (де)сжатие](https://python-all.ru/3.4/library/bz2.html#incremental-de-compression)1659      - [13.3.3. Одноэтапное (де)сжатие](https://python-all.ru/3.4/library/bz2.html#one-shot-de-compression)1660    - [13.4. `lzma` – Сжатие с использованием алгоритма LZMA](https://python-all.ru/3.4/library/lzma.html)16611662      - [13.4.1. Чтение и запись сжатых файлов](https://python-all.ru/3.4/library/lzma.html#reading-and-writing-compressed-files)1663      - [13.4.2. Сжатие и разжатие данных в памяти](https://python-all.ru/3.4/library/lzma.html#compressing-and-decompressing-data-in-memory)1664      - [13.4.3. Разное](https://python-all.ru/3.4/library/lzma.html#miscellaneous)1665      - [13.4.4. Задание пользовательских цепочек фильтров](https://python-all.ru/3.4/library/lzma.html#specifying-custom-filter-chains)1666      - [13.4.5. Примеры](https://python-all.ru/3.4/library/lzma.html#examples)1667    - [13.5. `zipfile` – Работа с ZIP-архивами](https://python-all.ru/3.4/library/zipfile.html)16681669      - [13.5.1. Объекты ZipFile](https://python-all.ru/3.4/library/zipfile.html#zipfile-objects)1670      - [13.5.2. Объекты PyZipFile](https://python-all.ru/3.4/library/zipfile.html#pyzipfile-objects)1671      - [13.5.3. Объекты ZipInfo](https://python-all.ru/3.4/library/zipfile.html#zipinfo-objects)1672    - [13.6. `tarfile` – Чтение и запись tar-архивов](https://python-all.ru/3.4/library/tarfile.html)16731674      - [13.6.1. Объекты TarFile](https://python-all.ru/3.4/library/tarfile.html#tarfile-objects)1675      - [13.6.2. Объекты TarInfo](https://python-all.ru/3.4/library/tarfile.html#tarinfo-objects)1676      - [13.6.3. Интерфейс командной строки](https://python-all.ru/3.4/library/tarfile.html#command-line-interface)16771678        - [13.6.3.1. Параметры командной строки](https://python-all.ru/3.4/library/tarfile.html#command-line-options)1679      - [13.6.4. Примеры](https://python-all.ru/3.4/library/tarfile.html#examples)1680      - [13.6.5. Поддерживаемые форматы tar](https://python-all.ru/3.4/library/tarfile.html#supported-tar-formats)1681      - [13.6.6. Вопросы Unicode](https://python-all.ru/3.4/library/tarfile.html#unicode-issues)1682  - [14. Форматы файлов](https://python-all.ru/3.4/library/fileformats.html)16831684    - [14.1. `csv` – Чтение и запись CSV-файлов](https://python-all.ru/3.4/library/csv.html)16851686      - [14.1.1. Содержимое модуля](https://python-all.ru/3.4/library/csv.html#module-contents)1687      - [14.1.2. Диалекты и параметры форматирования](https://python-all.ru/3.4/library/csv.html#dialects-and-formatting-parameters)1688      - [14.1.3. Объекты Reader](https://python-all.ru/3.4/library/csv.html#reader-objects)1689      - [14.1.4. Объекты Writer](https://python-all.ru/3.4/library/csv.html#writer-objects)1690      - [14.1.5. Примеры](https://python-all.ru/3.4/library/csv.html#examples)1691    - [14.2. `configparser` – Парсер конфигурационных файлов](https://python-all.ru/3.4/library/configparser.html)16921693      - [14.2.1. Быстрый старт](https://python-all.ru/3.4/library/configparser.html#quick-start)1694      - [14.2.2. Поддерживаемые типы данных](https://python-all.ru/3.4/library/configparser.html#supported-datatypes)1695      - [14.2.3. Резервные значения](https://python-all.ru/3.4/library/configparser.html#fallback-values)1696      - [14.2.4. Поддерживаемая структура INI-файла](https://python-all.ru/3.4/library/configparser.html#supported-ini-file-structure)1697      - [14.2.5. Интерполяция значений](https://python-all.ru/3.4/library/configparser.html#interpolation-of-values)1698      - [14.2.6. Доступ через протокол отображения](https://python-all.ru/3.4/library/configparser.html#mapping-protocol-access)1699      - [14.2.7. Настройка поведения парсера](https://python-all.ru/3.4/library/configparser.html#customizing-parser-behaviour)1700      - [14.2.8. Примеры устаревшего API](https://python-all.ru/3.4/library/configparser.html#legacy-api-examples)1701      - [14.2.9. Объекты ConfigParser](https://python-all.ru/3.4/library/configparser.html#configparser-objects)1702      - [14.2.10. Объекты RawConfigParser](https://python-all.ru/3.4/library/configparser.html#rawconfigparser-objects)1703      - [14.2.11. Исключения](https://python-all.ru/3.4/library/configparser.html#exceptions)1704    - [14.3. `netrc` – Обработка netrc-файлов](https://python-all.ru/3.4/library/netrc.html)17051706      - [14.3.1. Объекты netrc](https://python-all.ru/3.4/library/netrc.html#netrc-objects)1707    - [14.4. `xdrlib` – Кодирование и декодирование данных XDR](https://python-all.ru/3.4/library/xdrlib.html)17081709      - [14.4.1. Объекты Packer](https://python-all.ru/3.4/library/xdrlib.html#packer-objects)1710      - [14.4.2. Объекты Unpacker](https://python-all.ru/3.4/library/xdrlib.html#unpacker-objects)1711      - [14.4.3. Исключения](https://python-all.ru/3.4/library/xdrlib.html#exceptions)1712    - [14.5. `plistlib` – Генерация и разбор файлов Mac OS X `.plist`](https://python-all.ru/3.4/library/plistlib.html)17131714      - [14.5.1. Примеры](https://python-all.ru/3.4/library/plistlib.html#examples)1715  - [15. Криптографические службы](https://python-all.ru/3.4/library/crypto.html)17161717    - [15.1. `hashlib` – Безопасные хеши и дайджесты сообщений](https://python-all.ru/3.4/library/hashlib.html)17181719      - [15.1.1. Алгоритмы хеширования](https://python-all.ru/3.4/library/hashlib.html#hash-algorithms)1720      - [15.1.2. Вывод ключей](https://python-all.ru/3.4/library/hashlib.html#key-derivation)1721    - [15.2. `hmac` – Ключевое хеширование для аутентификации сообщений](https://python-all.ru/3.4/library/hmac.html)1722  - [16. Общие службы операционной системы](https://python-all.ru/3.4/library/allos.html)17231724    - [16.1. `os` – Различные интерфейсы операционной системы](https://python-all.ru/3.4/library/os.html)17251726      - [16.1.1. Имена файлов, аргументы командной строки и переменные окружения](https://python-all.ru/3.4/library/os.html#file-names-command-line-arguments-and-environment-variables)1727      - [16.1.2. Параметры процесса](https://python-all.ru/3.4/library/os.html#process-parameters)1728      - [16.1.3. Создание файловых объектов](https://python-all.ru/3.4/library/os.html#file-object-creation)1729      - [16.1.4. Операции с файловыми дескрипторами](https://python-all.ru/3.4/library/os.html#file-descriptor-operations)17301731        - [16.1.4.1. Запрос размера терминала](https://python-all.ru/3.4/library/os.html#querying-the-size-of-a-terminal)1732        - [16.1.4.2. Наследование файловых дескрипторов](https://python-all.ru/3.4/library/os.html#inheritance-of-file-descriptors)1733      - [16.1.5. Файлы и каталоги](https://python-all.ru/3.4/library/os.html#files-and-directories)17341735        - [16.1.5.1. Расширенные атрибуты Linux](https://python-all.ru/3.4/library/os.html#linux-extended-attributes)1736      - [16.1.6. Управление процессами](https://python-all.ru/3.4/library/os.html#process-management)1737      - [16.1.7. Интерфейс к планировщику](https://python-all.ru/3.4/library/os.html#interface-to-the-scheduler)1738      - [16.1.8. Разная системная информация](https://python-all.ru/3.4/library/os.html#miscellaneous-system-information)1739      - [16.1.9. Прочие функции](https://python-all.ru/3.4/library/os.html#miscellaneous-functions)1740    - [16.2. `io` – Основные инструменты для работы с потоками данных](https://python-all.ru/3.4/library/io.html)17411742      - [16.2.1. Обзор](https://python-all.ru/3.4/library/io.html#overview)17431744        - [16.2.1.1. Текстовый ввод-вывод](https://python-all.ru/3.4/library/io.html#text-i-o)1745        - [16.2.1.2. Двоичный ввод-вывод](https://python-all.ru/3.4/library/io.html#binary-i-o)1746        - [16.2.1.3. Необработанный ввод-вывод](https://python-all.ru/3.4/library/io.html#raw-i-o)1747      - [16.2.2. Интерфейс модуля высокого уровня](https://python-all.ru/3.4/library/io.html#high-level-module-interface)17481749        - [16.2.2.1. Потоки в памяти](https://python-all.ru/3.4/library/io.html#in-memory-streams)1750      - [16.2.3. Иерархия классов](https://python-all.ru/3.4/library/io.html#class-hierarchy)17511752        - [16.2.3.1. Базовые классы ввода-вывода](https://python-all.ru/3.4/library/io.html#i-o-base-classes)1753        - [16.2.3.2. Сырой файловый ввод-вывод](https://python-all.ru/3.4/library/io.html#raw-file-i-o)1754        - [16.2.3.3. Буферизированные потоки данных](https://python-all.ru/3.4/library/io.html#buffered-streams)1755        - [16.2.3.4. Текстовый ввод-вывод](https://python-all.ru/3.4/library/io.html#id1)1756      - [16.2.4. Производительность](https://python-all.ru/3.4/library/io.html#performance)17571758        - [16.2.4.1. Двоичный ввод-вывод](https://python-all.ru/3.4/library/io.html#id2)1759        - [16.2.4.2. Текстовый ввод-вывод](https://python-all.ru/3.4/library/io.html#id3)1760        - [16.2.4.3. Многопоточность](https://python-all.ru/3.4/library/io.html#multi-threading)1761        - [16.2.4.4. Реентерабельность](https://python-all.ru/3.4/library/io.html#reentrancy)1762    - [16.3. `time` – Доступ ко времени и преобразования](https://python-all.ru/3.4/library/time.html)1763    - [16.4. `argparse` – Парсер параметров командной строки, аргументов и подкоманд](https://python-all.ru/3.4/library/argparse.html)17641765      - [16.4.1. Пример](https://python-all.ru/3.4/library/argparse.html#example)17661767        - [16.4.1.1. Создание парсера](https://python-all.ru/3.4/library/argparse.html#creating-a-parser)1768        - [16.4.1.2. Добавление аргументов](https://python-all.ru/3.4/library/argparse.html#adding-arguments)1769        - [16.4.1.3. Разбор аргументов](https://python-all.ru/3.4/library/argparse.html#parsing-arguments)1770      - [16.4.2. Объекты ArgumentParser](https://python-all.ru/3.4/library/argparse.html#argumentparser-objects)17711772        - [16.4.2.1. prog](https://python-all.ru/3.4/library/argparse.html#prog)1773        - [16.4.2.2. usage](https://python-all.ru/3.4/library/argparse.html#usage)1774        - [16.4.2.3. description](https://python-all.ru/3.4/library/argparse.html#description)1775        - [16.4.2.4. epilog](https://python-all.ru/3.4/library/argparse.html#epilog)1776        - [16.4.2.5. parents](https://python-all.ru/3.4/library/argparse.html#parents)1777        - [16.4.2.6. formatter\_class](https://python-all.ru/3.4/library/argparse.html#formatter-class)1778        - [16.4.2.7. prefix\_chars](https://python-all.ru/3.4/library/argparse.html#prefix-chars)1779        - [16.4.2.8. fromfile\_prefix\_chars](https://python-all.ru/3.4/library/argparse.html#fromfile-prefix-chars)1780        - [16.4.2.9. argument\_default](https://python-all.ru/3.4/library/argparse.html#argument-default)1781        - [16.4.2.10. conflict\_handler](https://python-all.ru/3.4/library/argparse.html#conflict-handler)1782        - [16.4.2.11. add\_help](https://python-all.ru/3.4/library/argparse.html#add-help)1783      - [16.4.3. Метод add\_argument()](https://python-all.ru/3.4/library/argparse.html#the-add-argument-method)17841785        - [16.4.3.1. Имя или флаги](https://python-all.ru/3.4/library/argparse.html#name-or-flags)1786        - [16.4.3.2. действие](https://python-all.ru/3.4/library/argparse.html#action)1787        - [16.4.3.3. nargs](https://python-all.ru/3.4/library/argparse.html#nargs)1788        - [16.4.3.4. const](https://python-all.ru/3.4/library/argparse.html#const)1789        - [16.4.3.5. default](https://python-all.ru/3.4/library/argparse.html#default)1790        - [16.4.3.6. type](https://python-all.ru/3.4/library/argparse.html#type)1791        - [16.4.3.7. choices](https://python-all.ru/3.4/library/argparse.html#choices)1792        - [16.4.3.8. required](https://python-all.ru/3.4/library/argparse.html#required)1793        - [16.4.3.9. help](https://python-all.ru/3.4/library/argparse.html#help)1794        - [16.4.3.10. metavar](https://python-all.ru/3.4/library/argparse.html#metavar)1795        - [16.4.3.11. dest](https://python-all.ru/3.4/library/argparse.html#dest)1796        - [16.4.3.12. Классы Action](https://python-all.ru/3.4/library/argparse.html#action-classes)1797      - [16.4.4. Метод parse\_args()](https://python-all.ru/3.4/library/argparse.html#the-parse-args-method)17981799        - [16.4.4.1. Синтаксис значений параметров](https://python-all.ru/3.4/library/argparse.html#option-value-syntax)1800        - [16.4.4.2. Недопустимые аргументы](https://python-all.ru/3.4/library/argparse.html#invalid-arguments)1801        - [16.4.4.3. Аргументы, содержащие `-`](https://python-all.ru/3.4/library/argparse.html#arguments-containing)1802        - [16.4.4.4. Сокращения аргументов (сопоставление по префиксу)](https://python-all.ru/3.4/library/argparse.html#argument-abbreviations-prefix-matching)1803        - [16.4.4.5. За пределами `sys.argv`](https://python-all.ru/3.4/library/argparse.html#beyond-sys-argv)1804        - [16.4.4.6. Объект Namespace](https://python-all.ru/3.4/library/argparse.html#the-namespace-object)1805      - [16.4.5. Другие утилиты](https://python-all.ru/3.4/library/argparse.html#other-utilities)18061807        - [16.4.5.1. Подкоманды](https://python-all.ru/3.4/library/argparse.html#sub-commands)1808        - [16.4.5.2. Объекты FileType](https://python-all.ru/3.4/library/argparse.html#filetype-objects)1809        - [16.4.5.3. Группы аргументов](https://python-all.ru/3.4/library/argparse.html#argument-groups)1810        - [16.4.5.4. Взаимное исключение](https://python-all.ru/3.4/library/argparse.html#mutual-exclusion)1811        - [16.4.5.5. Значения парсера по умолчанию](https://python-all.ru/3.4/library/argparse.html#parser-defaults)1812        - [16.4.5.6. Вывод справки](https://python-all.ru/3.4/library/argparse.html#printing-help)1813        - [16.4.5.7. Частичный разбор](https://python-all.ru/3.4/library/argparse.html#partial-parsing)1814        - [16.4.5.8. Настройка разбора файлов](https://python-all.ru/3.4/library/argparse.html#customizing-file-parsing)1815        - [16.4.5.9. Методы выхода](https://python-all.ru/3.4/library/argparse.html#exiting-methods)1816      - [16.4.6. Обновление кода optparse](https://python-all.ru/3.4/library/argparse.html#upgrading-optparse-code)1817    - [16.5. `getopt` – Парсер аргументов командной строки в стиле C](https://python-all.ru/3.4/library/getopt.html)1818    - [16.6. `logging` – Модуль логирования для Python](https://python-all.ru/3.4/library/logging.html)18191820      - [16.6.1. Объекты Logger](https://python-all.ru/3.4/library/logging.html#logger-objects)1821      - [16.6.2. Уровни логирования](https://python-all.ru/3.4/library/logging.html#logging-levels)1822      - [16.6.3. Объекты-обработчики](https://python-all.ru/3.4/library/logging.html#handler-objects)1823      - [16.6.4. Объекты-форматтеры](https://python-all.ru/3.4/library/logging.html#formatter-objects)1824      - [16.6.5. Объекты-фильтры](https://python-all.ru/3.4/library/logging.html#filter-objects)1825      - [16.6.6. Объекты LogRecord](https://python-all.ru/3.4/library/logging.html#logrecord-objects)1826      - [16.6.7. Атрибуты LogRecord](https://python-all.ru/3.4/library/logging.html#logrecord-attributes)1827      - [16.6.8. Объекты LoggerAdapter](https://python-all.ru/3.4/library/logging.html#loggeradapter-objects)1828      - [16.6.9. Потокобезопасность](https://python-all.ru/3.4/library/logging.html#thread-safety)1829      - [16.6.10. Функции уровня модуля](https://python-all.ru/3.4/library/logging.html#module-level-functions)1830      - [16.6.11. Атрибуты уровня модуля](https://python-all.ru/3.4/library/logging.html#module-level-attributes)1831      - [16.6.12. Интеграция с модулем warnings](https://python-all.ru/3.4/library/logging.html#integration-with-the-warnings-module)1832    - [16.7. `logging.config` – Конфигурация логирования](https://python-all.ru/3.4/library/logging.config.html)18331834      - [16.7.1. Функции конфигурации](https://python-all.ru/3.4/library/logging.config.html#configuration-functions)1835      - [16.7.2. Схема словаря конфигурации](https://python-all.ru/3.4/library/logging.config.html#configuration-dictionary-schema)18361837        - [16.7.2.1. Детали схемы словаря](https://python-all.ru/3.4/library/logging.config.html#dictionary-schema-details)1838        - [16.7.2.2. Инкрементальная конфигурация](https://python-all.ru/3.4/library/logging.config.html#incremental-configuration)1839        - [16.7.2.3. Связи объектов](https://python-all.ru/3.4/library/logging.config.html#object-connections)1840        - [16.7.2.4. Пользовательские объекты](https://python-all.ru/3.4/library/logging.config.html#user-defined-objects)1841        - [16.7.2.5. Доступ к внешним объектам](https://python-all.ru/3.4/library/logging.config.html#access-to-external-objects)1842        - [16.7.2.6. Доступ к внутренним объектам](https://python-all.ru/3.4/library/logging.config.html#access-to-internal-objects)1843        - [16.7.2.7. Разрешение импорта и пользовательские импортёры](https://python-all.ru/3.4/library/logging.config.html#import-resolution-and-custom-importers)1844      - [16.7.3. Формат файла конфигурации](https://python-all.ru/3.4/library/logging.config.html#configuration-file-format)1845    - [16.8. `logging.handlers` – Обработчики логирования](https://python-all.ru/3.4/library/logging.handlers.html)18461847      - [16.8.1. StreamHandler](https://python-all.ru/3.4/library/logging.handlers.html#streamhandler)1848      - [16.8.2. FileHandler](https://python-all.ru/3.4/library/logging.handlers.html#filehandler)1849      - [16.8.3. NullHandler](https://python-all.ru/3.4/library/logging.handlers.html#nullhandler)1850      - [16.8.4. WatchedFileHandler](https://python-all.ru/3.4/library/logging.handlers.html#watchedfilehandler)1851      - [16.8.5. BaseRotatingHandler](https://python-all.ru/3.4/library/logging.handlers.html#baserotatinghandler)1852      - [16.8.6. RotatingFileHandler](https://python-all.ru/3.4/library/logging.handlers.html#rotatingfilehandler)1853      - [16.8.7. TimedRotatingFileHandler](https://python-all.ru/3.4/library/logging.handlers.html#timedrotatingfilehandler)1854      - [16.8.8. SocketHandler](https://python-all.ru/3.4/library/logging.handlers.html#sockethandler)1855      - [16.8.9. DatagramHandler](https://python-all.ru/3.4/library/logging.handlers.html#datagramhandler)1856      - [16.8.10. SysLogHandler](https://python-all.ru/3.4/library/logging.handlers.html#sysloghandler)1857      - [16.8.11. NTEventLogHandler](https://python-all.ru/3.4/library/logging.handlers.html#nteventloghandler)1858      - [16.8.12. SMTPHandler](https://python-all.ru/3.4/library/logging.handlers.html#smtphandler)1859      - [16.8.13. MemoryHandler](https://python-all.ru/3.4/library/logging.handlers.html#memoryhandler)1860      - [16.8.14. HTTPHandler](https://python-all.ru/3.4/library/logging.handlers.html#httphandler)1861      - [16.8.15. QueueHandler](https://python-all.ru/3.4/library/logging.handlers.html#queuehandler)1862      - [16.8.16. QueueListener](https://python-all.ru/3.4/library/logging.handlers.html#queuelistener)1863    - [16.9. `getpass` – Переносимый ввод пароля](https://python-all.ru/3.4/library/getpass.html)1864    - [16.10. `curses` – Управление терминалом для символьных дисплеев](https://python-all.ru/3.4/library/curses.html)18651866      - [16.10.1. Functions](https://python-all.ru/3.4/library/curses.html#functions)1867      - [16.10.2. Window Objects](https://python-all.ru/3.4/library/curses.html#window-objects)1868      - [16.10.3. Constants](https://python-all.ru/3.4/library/curses.html#constants)1869    - [16.11. `curses.textpad` – Виджет ввода текста для программ на curses](https://python-all.ru/3.4/library/curses.html#module-curses.textpad)18701871      - [16.11.1. Textbox objects](https://python-all.ru/3.4/library/curses.html#textbox-objects)1872    - [16.12. `curses.ascii` – Утилиты для работы с ASCII-символами](https://python-all.ru/3.4/library/curses.ascii.html)1873    - [16.13. `curses.panel` – Расширение стека панелей для curses](https://python-all.ru/3.4/library/curses.panel.html)18741875      - [16.13.1. Functions](https://python-all.ru/3.4/library/curses.panel.html#functions)1876      - [16.13.2. Panel Objects](https://python-all.ru/3.4/library/curses.panel.html#panel-objects)1877    - [16.14. `platform` – Доступ к идентификационным данным базовой платформы](https://python-all.ru/3.4/library/platform.html)18781879      - [16.14.1. Cross Platform](https://python-all.ru/3.4/library/platform.html#cross-platform)1880      - [16.14.2. Java Platform](https://python-all.ru/3.4/library/platform.html#java-platform)1881      - [16.14.3. Windows Platform](https://python-all.ru/3.4/library/platform.html#windows-platform)18821883        - [16.14.3.1. Win95/98 specific](https://python-all.ru/3.4/library/platform.html#win95-98-specific)1884      - [16.14.4. Mac OS Platform](https://python-all.ru/3.4/library/platform.html#mac-os-platform)1885      - [16.14.5. Unix Platforms](https://python-all.ru/3.4/library/platform.html#unix-platforms)1886    - [16.15. `errno` – Стандартные системные символы errno](https://python-all.ru/3.4/library/errno.html)1887    - [16.16. `ctypes` – Библиотека внешних функций для Python](https://python-all.ru/3.4/library/ctypes.html)18881889      - [16.16.1. ctypes tutorial](https://python-all.ru/3.4/library/ctypes.html#ctypes-tutorial)18901891        - [16.16.1.1. Loading dynamic link libraries](https://python-all.ru/3.4/library/ctypes.html#loading-dynamic-link-libraries)1892        - [16.16.1.2. Accessing functions from loaded dlls](https://python-all.ru/3.4/library/ctypes.html#accessing-functions-from-loaded-dlls)1893        - [16.16.1.3. Calling functions](https://python-all.ru/3.4/library/ctypes.html#calling-functions)1894        - [16.16.1.4. Fundamental data types](https://python-all.ru/3.4/library/ctypes.html#fundamental-data-types)1895        - [16.16.1.5. Вызов функций, продолжение](https://python-all.ru/3.4/library/ctypes.html#calling-functions-continued)1896        - [16.16.1.6. Вызов функций с пользовательскими типами данных](https://python-all.ru/3.4/library/ctypes.html#calling-functions-with-your-own-custom-data-types)1897        - [16.16.1.7. Указание типов обязательных аргументов (прототипы функций)](https://python-all.ru/3.4/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)1898        - [16.16.1.8. Типы возвращаемых значений](https://python-all.ru/3.4/library/ctypes.html#return-types)1899        - [16.16.1.9. Передача указателей (или передача параметров по ссылке)](https://python-all.ru/3.4/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)1900        - [16.16.1.10. Структуры и объединения](https://python-all.ru/3.4/library/ctypes.html#structures-and-unions)1901        - [16.16.1.11. Выравнивание структур и объединений и порядок байтов](https://python-all.ru/3.4/library/ctypes.html#structure-union-alignment-and-byte-order)1902        - [16.16.1.12. Битовые поля в структурах и объединениях](https://python-all.ru/3.4/library/ctypes.html#bit-fields-in-structures-and-unions)1903        - [16.16.1.13. Массивы](https://python-all.ru/3.4/library/ctypes.html#arrays)1904        - [16.16.1.14. Указатели](https://python-all.ru/3.4/library/ctypes.html#pointers)1905        - [16.16.1.15. Преобразования типов](https://python-all.ru/3.4/library/ctypes.html#type-conversions)1906        - [16.16.1.16. Неполные типы](https://python-all.ru/3.4/library/ctypes.html#incomplete-types)1907        - [16.16.1.17. Колбэк-функции](https://python-all.ru/3.4/library/ctypes.html#callback-functions)1908        - [16.16.1.18. Доступ к значениям, экспортируемым из DLL](https://python-all.ru/3.4/library/ctypes.html#accessing-values-exported-from-dlls)1909        - [16.16.1.19. Неожиданности](https://python-all.ru/3.4/library/ctypes.html#surprises)1910        - [16.16.1.20. Типы данных переменного размера](https://python-all.ru/3.4/library/ctypes.html#variable-sized-data-types)1911      - [16.16.2. Справочник по ctypes](https://python-all.ru/3.4/library/ctypes.html#ctypes-reference)19121913        - [16.16.2.1. Поиск разделяемых библиотек](https://python-all.ru/3.4/library/ctypes.html#finding-shared-libraries)1914        - [16.16.2.2. Загрузка разделяемых библиотек](https://python-all.ru/3.4/library/ctypes.html#loading-shared-libraries)1915        - [16.16.2.3. Внешние функции](https://python-all.ru/3.4/library/ctypes.html#foreign-functions)1916        - [16.16.2.4. Прототипы функций](https://python-all.ru/3.4/library/ctypes.html#function-prototypes)1917        - [16.16.2.5. Вспомогательные функции](https://python-all.ru/3.4/library/ctypes.html#utility-functions)1918        - [16.16.2.6. Типы данных](https://python-all.ru/3.4/library/ctypes.html#data-types)1919        - [16.16.2.7. Фундаментальные типы данных](https://python-all.ru/3.4/library/ctypes.html#ctypes-fundamental-data-types-2)1920        - [16.16.2.8. Структурированные типы данных](https://python-all.ru/3.4/library/ctypes.html#structured-data-types)1921        - [16.16.2.9. Массивы и указатели](https://python-all.ru/3.4/library/ctypes.html#arrays-and-pointers)1922  - [17. Параллельное выполнение](https://python-all.ru/3.4/library/concurrency.html)19231924    - [17.1. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.4/library/threading.html)19251926      - [17.1.1. Потоково-локальные данные](https://python-all.ru/3.4/library/threading.html#thread-local-data)1927      - [17.1.2. Объекты потоков](https://python-all.ru/3.4/library/threading.html#thread-objects)1928      - [17.1.3. Объекты блокировок](https://python-all.ru/3.4/library/threading.html#lock-objects)1929      - [17.1.4. Объекты RLock](https://python-all.ru/3.4/library/threading.html#rlock-objects)1930      - [17.1.5. Объекты Condition](https://python-all.ru/3.4/library/threading.html#condition-objects)1931      - [17.1.6. Объекты Semaphore](https://python-all.ru/3.4/library/threading.html#semaphore-objects)19321933        - [17.1.6.1. `Semaphore` – Пример](https://python-all.ru/3.4/library/threading.html#semaphore-example)1934      - [17.1.7. Объекты Event](https://python-all.ru/3.4/library/threading.html#event-objects)1935      - [17.1.8. Объекты Timer](https://python-all.ru/3.4/library/threading.html#timer-objects)1936      - [17.1.9. Объекты Barrier](https://python-all.ru/3.4/library/threading.html#barrier-objects)1937      - [17.1.10. Использование блокировок, условий и семафоров в операторе `with`](https://python-all.ru/3.4/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)1938    - [17.2. `multiprocessing` – Параллелизм на основе процессов](https://python-all.ru/3.4/library/multiprocessing.html)19391940      - [17.2.1. Введение](https://python-all.ru/3.4/library/multiprocessing.html#introduction)19411942        - [17.2.1.1. Класс `Process`](https://python-all.ru/3.4/library/multiprocessing.html#the-process-class)1943        - [17.2.1.2. Контексты и методы запуска](https://python-all.ru/3.4/library/multiprocessing.html#contexts-and-start-methods)1944        - [17.2.1.3. Обмен объектами между процессами](https://python-all.ru/3.4/library/multiprocessing.html#exchanging-objects-between-processes)1945        - [17.2.1.4. Синхронизация между процессами](https://python-all.ru/3.4/library/multiprocessing.html#synchronization-between-processes)1946        - [17.2.1.5. Совместное использование состояния между процессами](https://python-all.ru/3.4/library/multiprocessing.html#sharing-state-between-processes)1947        - [17.2.1.6. Использование пула рабочих процессов](https://python-all.ru/3.4/library/multiprocessing.html#using-a-pool-of-workers)1948      - [17.2.2. Справочная информация](https://python-all.ru/3.4/library/multiprocessing.html#reference)19491950        - [17.2.2.1. `Process` и исключения](https://python-all.ru/3.4/library/multiprocessing.html#process-and-exceptions)1951        - [17.2.2.2. Каналы и очереди](https://python-all.ru/3.4/library/multiprocessing.html#pipes-and-queues)1952        - [17.2.2.3. Разное](https://python-all.ru/3.4/library/multiprocessing.html#miscellaneous)1953        - [17.2.2.4. Объекты Connection](https://python-all.ru/3.4/library/multiprocessing.html#connection-objects)1954        - [17.2.2.5. Примитивы синхронизации](https://python-all.ru/3.4/library/multiprocessing.html#synchronization-primitives)1955        - [17.2.2.6. Общие объекты `ctypes`](https://python-all.ru/3.4/library/multiprocessing.html#shared-ctypes-objects)19561957          - [17.2.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.4/library/multiprocessing.html#module-multiprocessing.sharedctypes)1958        - [17.2.2.7. Менеджеры](https://python-all.ru/3.4/library/multiprocessing.html#managers)19591960          - [17.2.2.7.1. Объекты пространства имён](https://python-all.ru/3.4/library/multiprocessing.html#namespace-objects)1961          - [17.2.2.7.2. Настраиваемые менеджеры](https://python-all.ru/3.4/library/multiprocessing.html#customized-managers)1962          - [17.2.2.7.3. Использование удалённого менеджера](https://python-all.ru/3.4/library/multiprocessing.html#using-a-remote-manager)1963        - [17.2.2.8. Объекты-прокси](https://python-all.ru/3.4/library/multiprocessing.html#proxy-objects)19641965          - [17.2.2.8.1. Очистка](https://python-all.ru/3.4/library/multiprocessing.html#cleanup)1966        - [17.2.2.9. Пулы процессов](https://python-all.ru/3.4/library/multiprocessing.html#module-multiprocessing.pool)1967        - [17.2.2.10. Слушатели и клиенты](https://python-all.ru/3.4/library/multiprocessing.html#module-multiprocessing.connection)19681969          - [17.2.2.10.1. Форматы адресов](https://python-all.ru/3.4/library/multiprocessing.html#address-formats)1970        - [17.2.2.11. Ключи аутентификации](https://python-all.ru/3.4/library/multiprocessing.html#authentication-keys)1971        - [17.2.2.12. Логирование](https://python-all.ru/3.4/library/multiprocessing.html#logging)1972        - [17.2.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.4/library/multiprocessing.html#module-multiprocessing.dummy)1973      - [17.2.3. Рекомендации по программированию](https://python-all.ru/3.4/library/multiprocessing.html#programming-guidelines)19741975        - [17.2.3.1. Все методы запуска](https://python-all.ru/3.4/library/multiprocessing.html#all-start-methods)1976        - [17.2.3.2. Методы запуска *spawn* и *forkserver*](https://python-all.ru/3.4/library/multiprocessing.html#the-spawn-and-forkserver-start-methods)1977      - [17.2.4. Примеры](https://python-all.ru/3.4/library/multiprocessing.html#examples)1978    - [17.3. Пакет `concurrent`](https://python-all.ru/3.4/library/concurrent.html)1979    - [17.4. `concurrent.futures` – Запуск параллельных задач](https://python-all.ru/3.4/library/concurrent.futures.html)19801981      - [17.4.1. Объекты-исполнители](https://python-all.ru/3.4/library/concurrent.futures.html#executor-objects)1982      - [17.4.2. ThreadPoolExecutor](https://python-all.ru/3.4/library/concurrent.futures.html#threadpoolexecutor)19831984        - [17.4.2.1. Пример ThreadPoolExecutor](https://python-all.ru/3.4/library/concurrent.futures.html#threadpoolexecutor-example)1985      - [17.4.3. ProcessPoolExecutor](https://python-all.ru/3.4/library/concurrent.futures.html#processpoolexecutor)19861987        - [17.4.3.1. Пример ProcessPoolExecutor](https://python-all.ru/3.4/library/concurrent.futures.html#processpoolexecutor-example)1988      - [17.4.4. Объекты Future](https://python-all.ru/3.4/library/concurrent.futures.html#future-objects)1989      - [17.4.5. Функции модуля](https://python-all.ru/3.4/library/concurrent.futures.html#module-functions)1990      - [17.4.6. Классы исключений](https://python-all.ru/3.4/library/concurrent.futures.html#exception-classes)1991    - [17.5. `subprocess` – Управление подпроцессами](https://python-all.ru/3.4/library/subprocess.html)19921993      - [17.5.1. Использование модуля `subprocess`](https://python-all.ru/3.4/library/subprocess.html#using-the-subprocess-module)19941995        - [17.5.1.1. Часто используемые аргументы](https://python-all.ru/3.4/library/subprocess.html#frequently-used-arguments)1996        - [17.5.1.2. Конструктор Popen](https://python-all.ru/3.4/library/subprocess.html#popen-constructor)1997        - [17.5.1.3. Исключения](https://python-all.ru/3.4/library/subprocess.html#exceptions)1998      - [17.5.2. Вопросы безопасности](https://python-all.ru/3.4/library/subprocess.html#security-considerations)1999      - [17.5.3. Объекты Popen](https://python-all.ru/3.4/library/subprocess.html#popen-objects)2000      - [17.5.4. Вспомогательные средства Popen для Windows](https://python-all.ru/3.4/library/subprocess.html#windows-popen-helpers)20012002        - [17.5.4.1. Константы](https://python-all.ru/3.4/library/subprocess.html#constants)2003      - [17.5.5. Замена старых функций модулем `subprocess`](https://python-all.ru/3.4/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)20042005        - [17.5.5.1. Замена обратных кавычек оболочки /bin/sh](https://python-all.ru/3.4/library/subprocess.html#replacing-bin-sh-shell-backquote)2006        - [17.5.5.2. Замена конвейера оболочки](https://python-all.ru/3.4/library/subprocess.html#replacing-shell-pipeline)2007        - [17.5.5.3. Замена `os.system()`](https://python-all.ru/3.4/library/subprocess.html#replacing-os-system)2008        - [17.5.5.4. Замена семейства `os.spawn`](https://python-all.ru/3.4/library/subprocess.html#replacing-the-os-spawn-family)2009        - [17.5.5.5. Замена `os.popen()`, `os.popen2()` и `os.popen3()`](https://python-all.ru/3.4/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3)2010        - [17.5.5.6. Замена функций из модуля `popen2`](https://python-all.ru/3.4/library/subprocess.html#replacing-functions-from-the-popen2-module)2011      - [17.5.6. Устаревшие функции вызова оболочки](https://python-all.ru/3.4/library/subprocess.html#legacy-shell-invocation-functions)2012      - [17.5.7. Примечания](https://python-all.ru/3.4/library/subprocess.html#notes)20132014        - [17.5.7.1. Преобразование последовательности аргументов в строку в Windows](https://python-all.ru/3.4/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows)2015    - [17.6. `sched` – Планировщик событий](https://python-all.ru/3.4/library/sched.html)20162017      - [17.6.1. Объекты планировщика](https://python-all.ru/3.4/library/sched.html#scheduler-objects)2018    - [17.7. `queue` – Синхронизированная очередь](https://python-all.ru/3.4/library/queue.html)20192020      - [17.7.1. Объекты очереди](https://python-all.ru/3.4/library/queue.html#queue-objects)2021    - [17.8. `dummy_threading` – Замена модуля `threading` без изменений](https://python-all.ru/3.4/library/dummy_threading.html)2022    - [17.9. `_thread` – Низкоуровневый API многопоточности](https://python-all.ru/3.4/library/_thread.html)2023    - [17.10. `_dummy_thread` – прямая замена модуля `_thread`](https://python-all.ru/3.4/library/_dummy_thread.html)2024  - [18. Межпроцессное взаимодействие и сеть](https://python-all.ru/3.4/library/ipc.html)20252026    - [18.1. `socket` – низкоуровневый сетевой интерфейс](https://python-all.ru/3.4/library/socket.html)20272028      - [18.1.1. Семейства сокетов](https://python-all.ru/3.4/library/socket.html#socket-families)2029      - [18.1.2. Содержимое модуля](https://python-all.ru/3.4/library/socket.html#module-contents)20302031        - [18.1.2.1. Исключения](https://python-all.ru/3.4/library/socket.html#exceptions)2032        - [18.1.2.2. Константы](https://python-all.ru/3.4/library/socket.html#constants)2033        - [18.1.2.3. Функции](https://python-all.ru/3.4/library/socket.html#functions)20342035          - [18.1.2.3.1. Создание сокетов](https://python-all.ru/3.4/library/socket.html#creating-sockets)2036          - [18.1.2.3.2. Прочие функции](https://python-all.ru/3.4/library/socket.html#other-functions)2037      - [18.1.3. Объекты сокетов](https://python-all.ru/3.4/library/socket.html#socket-objects)2038      - [18.1.4. Примечания о тайм-аутах сокетов](https://python-all.ru/3.4/library/socket.html#notes-on-socket-timeouts)20392040        - [18.1.4.1. Тайм-ауты и метод `connect`](https://python-all.ru/3.4/library/socket.html#timeouts-and-the-connect-method)2041        - [18.1.4.2. Тайм-ауты и метод `accept`](https://python-all.ru/3.4/library/socket.html#timeouts-and-the-accept-method)2042      - [18.1.5. Пример](https://python-all.ru/3.4/library/socket.html#example)2043    - [18.2. `ssl` – обёртка TLS/SSL для объектов сокетов](https://python-all.ru/3.4/library/ssl.html)20442045      - [18.2.1. Функции, константы и исключения](https://python-all.ru/3.4/library/ssl.html#functions-constants-and-exceptions)20462047        - [18.2.1.1. Создание сокетов](https://python-all.ru/3.4/library/ssl.html#socket-creation)2048        - [18.2.1.2. Создание контекста](https://python-all.ru/3.4/library/ssl.html#context-creation)2049        - [18.2.1.3. Генерация случайных чисел](https://python-all.ru/3.4/library/ssl.html#random-generation)2050        - [18.2.1.4. Обработка сертификатов](https://python-all.ru/3.4/library/ssl.html#certificate-handling)2051        - [18.2.1.5. Константы](https://python-all.ru/3.4/library/ssl.html#constants)2052      - [18.2.2. SSL-сокеты](https://python-all.ru/3.4/library/ssl.html#ssl-sockets)2053      - [18.2.3. SSL-контексты](https://python-all.ru/3.4/library/ssl.html#ssl-contexts)2054      - [18.2.4. Сертификаты](https://python-all.ru/3.4/library/ssl.html#certificates)20552056        - [18.2.4.1. Цепочки сертификатов](https://python-all.ru/3.4/library/ssl.html#certificate-chains)2057        - [18.2.4.2. Сертификаты удостоверяющих центров](https://python-all.ru/3.4/library/ssl.html#ca-certificates)2058        - [18.2.4.3. Совмещённый ключ и сертификат](https://python-all.ru/3.4/library/ssl.html#combined-key-and-certificate)2059        - [18.2.4.4. Самоподписанные сертификаты](https://python-all.ru/3.4/library/ssl.html#self-signed-certificates)2060      - [18.2.5. Примеры](https://python-all.ru/3.4/library/ssl.html#examples)20612062        - [18.2.5.1. Проверка поддержки SSL](https://python-all.ru/3.4/library/ssl.html#testing-for-ssl-support)2063        - [18.2.5.2. Работа на стороне клиента](https://python-all.ru/3.4/library/ssl.html#client-side-operation)2064        - [18.2.5.3. Работа на стороне сервера](https://python-all.ru/3.4/library/ssl.html#server-side-operation)2065      - [18.2.6. Замечания о неблокирующих сокетах](https://python-all.ru/3.4/library/ssl.html#notes-on-non-blocking-sockets)2066      - [18.2.7. Вопросы безопасности](https://python-all.ru/3.4/library/ssl.html#security-considerations)20672068        - [18.2.7.1. Рекомендуемые настройки по умолчанию](https://python-all.ru/3.4/library/ssl.html#best-defaults)2069        - [18.2.7.2. Настройка вручную](https://python-all.ru/3.4/library/ssl.html#manual-settings)20702071          - [18.2.7.2.1. Проверка сертификатов](https://python-all.ru/3.4/library/ssl.html#verifying-certificates)2072          - [18.2.7.2.2. Версии протоколов](https://python-all.ru/3.4/library/ssl.html#protocol-versions)2073          - [18.2.7.2.3. Выбор шифров](https://python-all.ru/3.4/library/ssl.html#cipher-selection)2074        - [18.2.7.3. Многопроцессорность](https://python-all.ru/3.4/library/ssl.html#multi-processing)2075    - [18.3. `select` – ожидание завершения ввода-вывода](https://python-all.ru/3.4/library/select.html)20762077      - [18.3.1. `/dev/poll` – объекты опроса](https://python-all.ru/3.4/library/select.html#dev-poll-polling-objects)2078      - [18.3.2. Объекты опроса по границе и уровню (epoll)](https://python-all.ru/3.4/library/select.html#edge-and-level-trigger-polling-epoll-objects)2079      - [18.3.3. Объекты опроса](https://python-all.ru/3.4/library/select.html#polling-objects)2080      - [18.3.4. Объекты Kqueue](https://python-all.ru/3.4/library/select.html#kqueue-objects)2081      - [18.3.5. Объекты Kevent](https://python-all.ru/3.4/library/select.html#kevent-objects)2082    - [18.4. `selectors` – высокоуровневое мультиплексирование ввода-вывода](https://python-all.ru/3.4/library/selectors.html)20832084      - [18.4.1. Введение](https://python-all.ru/3.4/library/selectors.html#introduction)2085      - [18.4.2. Классы](https://python-all.ru/3.4/library/selectors.html#classes)2086      - [18.4.3. Примеры](https://python-all.ru/3.4/library/selectors.html#examples)2087    - [18.5. `asyncio` – асинхронный ввод-вывод, цикл событий, корутины и задачи](https://python-all.ru/3.4/library/asyncio.html)20882089      - [18.5.1. Базовый цикл событий](https://python-all.ru/3.4/library/asyncio-eventloop.html)20902091        - [18.5.1.1. Запуск цикла событий](https://python-all.ru/3.4/library/asyncio-eventloop.html#run-an-event-loop)2092        - [18.5.1.2. Вызовы](https://python-all.ru/3.4/library/asyncio-eventloop.html#calls)2093        - [18.5.1.3. Отложенные вызовы](https://python-all.ru/3.4/library/asyncio-eventloop.html#delayed-calls)2094        - [18.5.1.4. Задачи](https://python-all.ru/3.4/library/asyncio-eventloop.html#tasks)2095        - [18.5.1.5. Создание подключений](https://python-all.ru/3.4/library/asyncio-eventloop.html#creating-connections)2096        - [18.5.1.6. Создание прослушивающих подключений](https://python-all.ru/3.4/library/asyncio-eventloop.html#creating-listening-connections)2097        - [18.5.1.7. Отслеживание файловых дескрипторов](https://python-all.ru/3.4/library/asyncio-eventloop.html#watch-file-descriptors)2098        - [18.5.1.8. Низкоуровневые операции с сокетами](https://python-all.ru/3.4/library/asyncio-eventloop.html#low-level-socket-operations)2099        - [18.5.1.9. Разрешение имени хоста](https://python-all.ru/3.4/library/asyncio-eventloop.html#resolve-host-name)2100        - [18.5.1.10. Подключение каналов](https://python-all.ru/3.4/library/asyncio-eventloop.html#connect-pipes)2101        - [18.5.1.11. Сигналы UNIX](https://python-all.ru/3.4/library/asyncio-eventloop.html#unix-signals)2102        - [18.5.1.12. Исполнитель](https://python-all.ru/3.4/library/asyncio-eventloop.html#executor)2103        - [18.5.1.13. API обработки ошибок](https://python-all.ru/3.4/library/asyncio-eventloop.html#error-handling-api)2104        - [18.5.1.14. Режим отладки](https://python-all.ru/3.4/library/asyncio-eventloop.html#debug-mode)2105        - [18.5.1.15. Сервер](https://python-all.ru/3.4/library/asyncio-eventloop.html#server)2106        - [18.5.1.16. Handle](https://python-all.ru/3.4/library/asyncio-eventloop.html#handle)2107        - [18.5.1.17. Примеры работы с циклом событий](https://python-all.ru/3.4/library/asyncio-eventloop.html#event-loop-examples)21082109          - [18.5.1.17.1. Hello World с помощью call\_soon()](https://python-all.ru/3.4/library/asyncio-eventloop.html#hello-world-with-call-soon)2110          - [18.5.1.17.2. Отображение текущей даты с помощью call\_later()](https://python-all.ru/3.4/library/asyncio-eventloop.html#display-the-current-date-with-call-later)2111          - [18.5.1.17.3. Отслеживание файлового дескриптора на события чтения](https://python-all.ru/3.4/library/asyncio-eventloop.html#watch-a-file-descriptor-for-read-events)2112          - [18.5.1.17.4. Установка обработчиков сигналов SIGINT и SIGTERM](https://python-all.ru/3.4/library/asyncio-eventloop.html#set-signal-handlers-for-sigint-and-sigterm)2113      - [18.5.2. Циклы событий](https://python-all.ru/3.4/library/asyncio-eventloops.html)21142115        - [18.5.2.1. Функции цикла событий](https://python-all.ru/3.4/library/asyncio-eventloops.html#event-loop-functions)2116        - [18.5.2.2. Доступные циклы событий](https://python-all.ru/3.4/library/asyncio-eventloops.html#available-event-loops)2117        - [18.5.2.3. Поддержка платформ](https://python-all.ru/3.4/library/asyncio-eventloops.html#platform-support)21182119          - [18.5.2.3.1. Windows](https://python-all.ru/3.4/library/asyncio-eventloops.html#windows)2120          - [18.5.2.3.2. Mac OS X](https://python-all.ru/3.4/library/asyncio-eventloops.html#mac-os-x)2121        - [18.5.2.4. Политики цикла событий и политика по умолчанию](https://python-all.ru/3.4/library/asyncio-eventloops.html#event-loop-policies-and-the-default-policy)2122        - [18.5.2.5. Интерфейс политики цикла событий](https://python-all.ru/3.4/library/asyncio-eventloops.html#event-loop-policy-interface)2123        - [18.5.2.6. Доступ к глобальной политике цикла событий](https://python-all.ru/3.4/library/asyncio-eventloops.html#access-to-the-global-loop-policy)2124      - [18.5.3. Задачи и корутины](https://python-all.ru/3.4/library/asyncio-task.html)21252126        - [18.5.3.1. Корутины](https://python-all.ru/3.4/library/asyncio-task.html#coroutines)21272128          - [18.5.3.1.1. Пример: корутина «Hello World»](https://python-all.ru/3.4/library/asyncio-task.html#example-hello-world-coroutine)2129          - [18.5.3.1.2. Пример: корутина, отображающая текущую дату](https://python-all.ru/3.4/library/asyncio-task.html#example-coroutine-displaying-the-current-date)2130          - [18.5.3.1.3. Пример: цепочка корутин](https://python-all.ru/3.4/library/asyncio-task.html#example-chain-coroutines)2131        - [18.5.3.2. InvalidStateError](https://python-all.ru/3.4/library/asyncio-task.html#invalidstateerror)2132        - [18.5.3.3. TimeoutError](https://python-all.ru/3.4/library/asyncio-task.html#timeouterror)2133        - [18.5.3.4. Future](https://python-all.ru/3.4/library/asyncio-task.html#future)21342135          - [18.5.3.4.1. Пример: Future с run\_until\_complete()](https://python-all.ru/3.4/library/asyncio-task.html#example-future-with-run-until-complete)2136          - [18.5.3.4.2. Пример: Future с run\_forever()](https://python-all.ru/3.4/library/asyncio-task.html#example-future-with-run-forever)2137        - [18.5.3.5. Задача](https://python-all.ru/3.4/library/asyncio-task.html#task)21382139          - [18.5.3.5.1. Пример: параллельное выполнение задач](https://python-all.ru/3.4/library/asyncio-task.html#example-parallel-execution-of-tasks)2140        - [18.5.3.6. Функции задач](https://python-all.ru/3.4/library/asyncio-task.html#task-functions)2141      - [18.5.4. Транспорты и протоколы (API на основе колбэков)](https://python-all.ru/3.4/library/asyncio-protocol.html)21422143        - [18.5.4.1. Транспорты](https://python-all.ru/3.4/library/asyncio-protocol.html#transports)21442145          - [18.5.4.1.1. BaseTransport](https://python-all.ru/3.4/library/asyncio-protocol.html#basetransport)2146          - [18.5.4.1.2. ReadTransport](https://python-all.ru/3.4/library/asyncio-protocol.html#readtransport)2147          - [18.5.4.1.3. WriteTransport](https://python-all.ru/3.4/library/asyncio-protocol.html#writetransport)2148          - [18.5.4.1.4. DatagramTransport](https://python-all.ru/3.4/library/asyncio-protocol.html#datagramtransport)2149          - [18.5.4.1.5. BaseSubprocessTransport](https://python-all.ru/3.4/library/asyncio-protocol.html#basesubprocesstransport)2150        - [18.5.4.2. Протоколы](https://python-all.ru/3.4/library/asyncio-protocol.html#protocols)21512152          - [18.5.4.2.1. Классы протоколов](https://python-all.ru/3.4/library/asyncio-protocol.html#protocol-classes)2153          - [18.5.4.2.2. Колбэки соединения](https://python-all.ru/3.4/library/asyncio-protocol.html#connection-callbacks)2154          - [18.5.4.2.3. Потоковые протоколы](https://python-all.ru/3.4/library/asyncio-protocol.html#streaming-protocols)2155          - [18.5.4.2.4. Протоколы датаграмм](https://python-all.ru/3.4/library/asyncio-protocol.html#datagram-protocols)2156          - [18.5.4.2.5. Колбэки управления потоком](https://python-all.ru/3.4/library/asyncio-protocol.html#flow-control-callbacks)2157          - [18.5.4.2.6. Корутины и протоколы](https://python-all.ru/3.4/library/asyncio-protocol.html#coroutines-and-protocols)2158        - [18.5.4.3. Примеры протоколов](https://python-all.ru/3.4/library/asyncio-protocol.html#protocol-examples)21592160          - [18.5.4.3.1. Протокол TCP-эхо-клиента](https://python-all.ru/3.4/library/asyncio-protocol.html#tcp-echo-client-protocol)2161          - [18.5.4.3.2. Протокол TCP-эхо-сервера](https://python-all.ru/3.4/library/asyncio-protocol.html#tcp-echo-server-protocol)2162          - [18.5.4.3.3. Протокол UDP-эхо-клиента](https://python-all.ru/3.4/library/asyncio-protocol.html#udp-echo-client-protocol)2163          - [18.5.4.3.4. Протокол UDP-эхо-сервера](https://python-all.ru/3.4/library/asyncio-protocol.html#udp-echo-server-protocol)2164          - [18.5.4.3.5. Регистрация открытого сокета для ожидания данных через протокол](https://python-all.ru/3.4/library/asyncio-protocol.html#register-an-open-socket-to-wait-for-data-using-a-protocol)2165      - [18.5.5. Потоки данных (API на корутинах)](https://python-all.ru/3.4/library/asyncio-stream.html)21662167        - [18.5.5.1. Функции потоков данных](https://python-all.ru/3.4/library/asyncio-stream.html#stream-functions)2168        - [18.5.5.2. StreamReader](https://python-all.ru/3.4/library/asyncio-stream.html#streamreader)2169        - [18.5.5.3. StreamWriter](https://python-all.ru/3.4/library/asyncio-stream.html#streamwriter)2170        - [18.5.5.4. StreamReaderProtocol](https://python-all.ru/3.4/library/asyncio-stream.html#streamreaderprotocol)2171        - [18.5.5.5. IncompleteReadError](https://python-all.ru/3.4/library/asyncio-stream.html#incompletereaderror)2172        - [18.5.5.6. Примеры работы с потоками](https://python-all.ru/3.4/library/asyncio-stream.html#stream-examples)21732174          - [18.5.5.6.1. TCP-эхо-клиент с использованием потоков](https://python-all.ru/3.4/library/asyncio-stream.html#tcp-echo-client-using-streams)2175          - [18.5.5.6.2. TCP-эхо-сервер с использованием потоков](https://python-all.ru/3.4/library/asyncio-stream.html#tcp-echo-server-using-streams)2176          - [18.5.5.6.3. Получение HTTP-заголовков](https://python-all.ru/3.4/library/asyncio-stream.html#get-http-headers)2177          - [18.5.5.6.4. Регистрация открытого сокета для ожидания данных с помощью потоков](https://python-all.ru/3.4/library/asyncio-stream.html#register-an-open-socket-to-wait-for-data-using-streams)2178      - [18.5.6. Подпроцессы](https://python-all.ru/3.4/library/asyncio-subprocess.html)21792180        - [18.5.6.1. Цикл событий Windows](https://python-all.ru/3.4/library/asyncio-subprocess.html#windows-event-loop)2181        - [18.5.6.2. Создание подпроцесса: высокоуровневый API с использованием процесса](https://python-all.ru/3.4/library/asyncio-subprocess.html#create-a-subprocess-high-level-api-using-process)2182        - [18.5.6.3. Создание подпроцесса: низкоуровневый API с использованием subprocess.Popen](https://python-all.ru/3.4/library/asyncio-subprocess.html#create-a-subprocess-low-level-api-using-subprocess-popen)2183        - [18.5.6.4. Константы](https://python-all.ru/3.4/library/asyncio-subprocess.html#constants)2184        - [18.5.6.5. Процесс](https://python-all.ru/3.4/library/asyncio-subprocess.html#process)2185        - [18.5.6.6. Подпроцессы и потоки](https://python-all.ru/3.4/library/asyncio-subprocess.html#subprocess-and-threads)2186        - [18.5.6.7. Примеры с подпроцессами](https://python-all.ru/3.4/library/asyncio-subprocess.html#subprocess-examples)21872188          - [18.5.6.7.1. Подпроцесс с использованием транспорта и протокола](https://python-all.ru/3.4/library/asyncio-subprocess.html#subprocess-using-transport-and-protocol)2189          - [18.5.6.7.2. Подпроцесс с использованием потоков данных](https://python-all.ru/3.4/library/asyncio-subprocess.html#subprocess-using-streams)2190      - [18.5.7. Примитивы синхронизации](https://python-all.ru/3.4/library/asyncio-sync.html)21912192        - [18.5.7.1. Блокировки](https://python-all.ru/3.4/library/asyncio-sync.html#locks)21932194          - [18.5.7.1.1. Блокировка](https://python-all.ru/3.4/library/asyncio-sync.html#lock)2195          - [18.5.7.1.2. Event](https://python-all.ru/3.4/library/asyncio-sync.html#event)2196          - [18.5.7.1.3. Condition](https://python-all.ru/3.4/library/asyncio-sync.html#condition)2197        - [18.5.7.2. Семафоры](https://python-all.ru/3.4/library/asyncio-sync.html#semaphores)21982199          - [18.5.7.2.1. Semaphore](https://python-all.ru/3.4/library/asyncio-sync.html#semaphore)2200          - [18.5.7.2.2. BoundedSemaphore](https://python-all.ru/3.4/library/asyncio-sync.html#boundedsemaphore)2201      - [18.5.8. Очереди](https://python-all.ru/3.4/library/asyncio-queue.html)22022203        - [18.5.8.1. Очередь](https://python-all.ru/3.4/library/asyncio-queue.html#queue)2204        - [18.5.8.2. PriorityQueue](https://python-all.ru/3.4/library/asyncio-queue.html#priorityqueue)2205        - [18.5.8.3. LifoQueue](https://python-all.ru/3.4/library/asyncio-queue.html#lifoqueue)22062207          - [18.5.8.3.1. JoinableQueue](https://python-all.ru/3.4/library/asyncio-queue.html#joinablequeue)2208          - [18.5.8.3.2. Исключения](https://python-all.ru/3.4/library/asyncio-queue.html#exceptions)2209      - [18.5.9. Разработка с asyncio](https://python-all.ru/3.4/library/asyncio-dev.html)22102211        - [18.5.9.1. Режим отладки asyncio](https://python-all.ru/3.4/library/asyncio-dev.html#debug-mode-of-asyncio)2212        - [18.5.9.2. Отмена](https://python-all.ru/3.4/library/asyncio-dev.html#cancellation)2213        - [18.5.9.3. Конкурентность и многопоточность](https://python-all.ru/3.4/library/asyncio-dev.html#concurrency-and-multithreading)2214        - [18.5.9.4. Корректная обработка блокирующих функций](https://python-all.ru/3.4/library/asyncio-dev.html#handle-blocking-functions-correctly)2215        - [18.5.9.5. Логирование](https://python-all.ru/3.4/library/asyncio-dev.html#logging)2216        - [18.5.9.6. Обнаружение объектов корутин, которые никогда не были запланированы](https://python-all.ru/3.4/library/asyncio-dev.html#detect-coroutine-objects-never-scheduled)2217        - [18.5.9.7. Обнаружение необработанных исключений](https://python-all.ru/3.4/library/asyncio-dev.html#detect-exceptions-never-consumed)2218        - [18.5.9.8. Правильное связывание корутин](https://python-all.ru/3.4/library/asyncio-dev.html#chain-coroutines-correctly)2219        - [18.5.9.9. Уничтожение ожидающих задач](https://python-all.ru/3.4/library/asyncio-dev.html#pending-task-destroyed)2220        - [18.5.9.10. Закрытие транспортов и циклов событий](https://python-all.ru/3.4/library/asyncio-dev.html#close-transports-and-event-loops)2221    - [18.6. `asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/3.4/library/asyncore.html)22222223      - [18.6.1. Пример asyncore: базовый HTTP-клиент](https://python-all.ru/3.4/library/asyncore.html#asyncore-example-basic-http-client)2224      - [18.6.2. Пример asyncore: базовый эхо-сервер](https://python-all.ru/3.4/library/asyncore.html#asyncore-example-basic-echo-server)2225    - [18.7. `asynchat` – Асинхронный обработчик команд/ответов через сокеты](https://python-all.ru/3.4/library/asynchat.html)22262227      - [18.7.1. asynchat – Вспомогательные классы](https://python-all.ru/3.4/library/asynchat.html#asynchat-auxiliary-classes)2228      - [18.7.2. Пример asynchat](https://python-all.ru/3.4/library/asynchat.html#asynchat-example)2229    - [18.8. `signal` – Установка обработчиков асинхронных событий](https://python-all.ru/3.4/library/signal.html)22302231      - [18.8.1. Общие правила](https://python-all.ru/3.4/library/signal.html#general-rules)22322233        - [18.8.1.1. Выполнение обработчиков сигналов Python](https://python-all.ru/3.4/library/signal.html#execution-of-python-signal-handlers)2234        - [18.8.1.2. Сигналы и потоки](https://python-all.ru/3.4/library/signal.html#signals-and-threads)2235      - [18.8.2. Содержимое модуля](https://python-all.ru/3.4/library/signal.html#module-contents)2236      - [18.8.3. Пример](https://python-all.ru/3.4/library/signal.html#example)2237    - [18.9. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/3.4/library/mmap.html)2238  - [19. Обработка интернет-данных](https://python-all.ru/3.4/library/netdata.html)22392240    - [19.1. `email` – Пакет для работы с электронной почтой и MIME](https://python-all.ru/3.4/library/email.html)22412242      - [19.1.1. `email.message`: Представление сообщения электронной почты](https://python-all.ru/3.4/library/email.message.html)2243      - [19.1.2. `email.parser`: Разбор сообщений электронной почты](https://python-all.ru/3.4/library/email.parser.html)22442245        - [19.1.2.1. API FeedParser](https://python-all.ru/3.4/library/email.parser.html#feedparser-api)2246        - [19.1.2.2. API класса Parser](https://python-all.ru/3.4/library/email.parser.html#parser-class-api)2247        - [19.1.2.3. Дополнительные примечания](https://python-all.ru/3.4/library/email.parser.html#additional-notes)2248      - [19.1.3. `email.generator`: Генерация MIME-документов](https://python-all.ru/3.4/library/email.generator.html)2249      - [19.1.4. `email.policy`: Объекты политики](https://python-all.ru/3.4/library/email.policy.html)2250      - [19.1.5. `email.headerregistry`: Пользовательские объекты заголовков](https://python-all.ru/3.4/library/email.headerregistry.html)2251      - [19.1.6. `email.contentmanager`: Управление MIME-содержимым](https://python-all.ru/3.4/library/email.contentmanager.html)22522253        - [19.1.6.1. Экземпляры диспетчера содержимого](https://python-all.ru/3.4/library/email.contentmanager.html#content-manager-instances)2254      - [19.1.7. `email.mime`: Создание объектов email и MIME с нуля](https://python-all.ru/3.4/library/email.mime.html)2255      - [19.1.8. `email.header`: Интернационализированные заголовки](https://python-all.ru/3.4/library/email.header.html)2256      - [19.1.9. `email.charset`: Представление кодировок](https://python-all.ru/3.4/library/email.charset.html)2257      - [19.1.10. `email.encoders`: Кодировщики](https://python-all.ru/3.4/library/email.encoders.html)2258      - [19.1.11. `email.errors`: Классы исключений и дефектов](https://python-all.ru/3.4/library/email.errors.html)2259      - [19.1.12. `email.utils`: Разные утилиты](https://python-all.ru/3.4/library/email.util.html)2260      - [19.1.13. `email.iterators`: Итераторы](https://python-all.ru/3.4/library/email.iterators.html)2261      - [19.1.14. `email`: Примеры](https://python-all.ru/3.4/library/email-examples.html)22622263        - [19.1.14.1. Примеры использования временного API](https://python-all.ru/3.4/library/email-examples.html#examples-using-the-provisional-api)2264      - [19.1.15. История пакета](https://python-all.ru/3.4/library/email.html#package-history)2265      - [19.1.16. Отличия от `mimelib`](https://python-all.ru/3.4/library/email.html#differences-from-mimelib)2266    - [19.2. `json` – Кодировщик и декодировщик JSON](https://python-all.ru/3.4/library/json.html)22672268      - [19.2.1. Базовое использование](https://python-all.ru/3.4/library/json.html#basic-usage)2269      - [19.2.2. Кодировщики и декодировщики](https://python-all.ru/3.4/library/json.html#encoders-and-decoders)2270      - [19.2.3. Соответствие стандартам и совместимость](https://python-all.ru/3.4/library/json.html#standard-compliance-and-interoperability)22712272        - [19.2.3.1. Кодировки символов](https://python-all.ru/3.4/library/json.html#character-encodings)2273        - [19.2.3.2. Значения бесконечности и NaN](https://python-all.ru/3.4/library/json.html#infinite-and-nan-number-values)2274        - [19.2.3.3. Повторяющиеся имена в объекте](https://python-all.ru/3.4/library/json.html#repeated-names-within-an-object)2275        - [19.2.3.4. Значения верхнего уровня, не являющиеся объектом или массивом](https://python-all.ru/3.4/library/json.html#top-level-non-object-non-array-values)2276        - [19.2.3.5. Ограничения реализации](https://python-all.ru/3.4/library/json.html#implementation-limitations)2277    - [19.3. `mailcap` – Обработка файлов mailcap](https://python-all.ru/3.4/library/mailcap.html)2278    - [19.4. `mailbox` – Работа с почтовыми ящиками в различных форматах](https://python-all.ru/3.4/library/mailbox.html)22792280      - [19.4.1. `Mailbox` Объекты](https://python-all.ru/3.4/library/mailbox.html#mailbox-objects)22812282        - [19.4.1.1. `Maildir`](https://python-all.ru/3.4/library/mailbox.html#maildir)2283        - [19.4.1.2. `mbox`](https://python-all.ru/3.4/library/mailbox.html#mbox)2284        - [19.4.1.3. `MH`](https://python-all.ru/3.4/library/mailbox.html#mh)2285        - [19.4.1.4. `Babyl`](https://python-all.ru/3.4/library/mailbox.html#babyl)2286        - [19.4.1.5. `MMDF`](https://python-all.ru/3.4/library/mailbox.html#mmdf)2287      - [19.4.2. `Message` объекты](https://python-all.ru/3.4/library/mailbox.html#message-objects)22882289        - [19.4.2.1. `MaildirMessage`](https://python-all.ru/3.4/library/mailbox.html#maildirmessage)2290        - [19.4.2.2. `mboxMessage`](https://python-all.ru/3.4/library/mailbox.html#mboxmessage)2291        - [19.4.2.3. `MHMessage`](https://python-all.ru/3.4/library/mailbox.html#mhmessage)2292        - [19.4.2.4. `BabylMessage`](https://python-all.ru/3.4/library/mailbox.html#babylmessage)2293        - [19.4.2.5. `MMDFMessage`](https://python-all.ru/3.4/library/mailbox.html#mmdfmessage)2294      - [19.4.3. Исключения](https://python-all.ru/3.4/library/mailbox.html#exceptions)2295      - [19.4.4. Примеры](https://python-all.ru/3.4/library/mailbox.html#examples)2296    - [19.5. `mimetypes` – Сопоставляет имена файлов с MIME-типами](https://python-all.ru/3.4/library/mimetypes.html)22972298      - [19.5.1. Объекты MimeTypes](https://python-all.ru/3.4/library/mimetypes.html#mimetypes-objects)2299    - [19.6. `base64` – Кодировки данных Base16, Base32, Base64, Base85](https://python-all.ru/3.4/library/base64.html)2300    - [19.7. `binhex` – Кодирование и декодирование файлов binhex4](https://python-all.ru/3.4/library/binhex.html)23012302      - [19.7.1. Примечания](https://python-all.ru/3.4/library/binhex.html#notes)2303    - [19.8. `binascii` – Преобразование между двоичным кодом и ASCII](https://python-all.ru/3.4/library/binascii.html)2304    - [19.9. `quopri` – Кодирование и декодирование данных MIME в формате quoted-printable](https://python-all.ru/3.4/library/quopri.html)2305    - [19.10. `uu` – Кодирование и декодирование файлов uuencode](https://python-all.ru/3.4/library/uu.html)2306  - [20. Инструменты обработки структурированной разметки](https://python-all.ru/3.4/library/markup.html)23072308    - [20.1. `html` – Поддержка языка гипертекстовой разметки (HTML)](https://python-all.ru/3.4/library/html.html)2309    - [20.2. `html.parser` – Простой парсер HTML и XHTML](https://python-all.ru/3.4/library/html.parser.html)23102311      - [20.2.1. Пример приложения парсера HTML](https://python-all.ru/3.4/library/html.parser.html#example-html-parser-application)2312      - [20.2.2. `HTMLParser` Методы](https://python-all.ru/3.4/library/html.parser.html#htmlparser-methods)2313      - [20.2.3. Примеры](https://python-all.ru/3.4/library/html.parser.html#examples)2314    - [20.3. `html.entities` – Определения общих сущностей HTML](https://python-all.ru/3.4/library/html.entities.html)2315    - [20.4. Модули обработки XML](https://python-all.ru/3.4/library/xml.html)23162317      - [20.4.1. Уязвимости XML](https://python-all.ru/3.4/library/xml.html#xml-vulnerabilities)2318      - [20.4.2. Пакеты `defusedxml` и `defusedexpat`](https://python-all.ru/3.4/library/xml.html#the-defusedxml-and-defusedexpat-packages)2319    - [20.5. `xml.etree.ElementTree` – API ElementTree для XML](https://python-all.ru/3.4/library/xml.etree.elementtree.html)23202321      - [20.5.1. Учебник](https://python-all.ru/3.4/library/xml.etree.elementtree.html#tutorial)23222323        - [20.5.1.1. XML-дерево и элементы](https://python-all.ru/3.4/library/xml.etree.elementtree.html#xml-tree-and-elements)2324        - [20.5.1.2. Разбор XML](https://python-all.ru/3.4/library/xml.etree.elementtree.html#parsing-xml)2325        - [20.5.1.3. Pull-API для неблокирующего разбора](https://python-all.ru/3.4/library/xml.etree.elementtree.html#pull-api-for-non-blocking-parsing)2326        - [20.5.1.4. Поиск интересующих элементов](https://python-all.ru/3.4/library/xml.etree.elementtree.html#finding-interesting-elements)2327        - [20.5.1.5. Изменение XML-файла](https://python-all.ru/3.4/library/xml.etree.elementtree.html#modifying-an-xml-file)2328        - [20.5.1.6. Построение XML-документов](https://python-all.ru/3.4/library/xml.etree.elementtree.html#building-xml-documents)2329        - [20.5.1.7. Разбор XML с пространствами имён](https://python-all.ru/3.4/library/xml.etree.elementtree.html#parsing-xml-with-namespaces)2330        - [20.5.1.8. Дополнительные ресурсы](https://python-all.ru/3.4/library/xml.etree.elementtree.html#additional-resources)2331      - [20.5.2. Поддержка XPath](https://python-all.ru/3.4/library/xml.etree.elementtree.html#xpath-support)23322333        - [20.5.2.1. Пример](https://python-all.ru/3.4/library/xml.etree.elementtree.html#example)2334        - [20.5.2.2. Поддерживаемый синтаксис XPath](https://python-all.ru/3.4/library/xml.etree.elementtree.html#supported-xpath-syntax)2335      - [20.5.3. Справочник](https://python-all.ru/3.4/library/xml.etree.elementtree.html#reference)23362337        - [20.5.3.1. Функции](https://python-all.ru/3.4/library/xml.etree.elementtree.html#functions)2338        - [20.5.3.2. Объекты Element](https://python-all.ru/3.4/library/xml.etree.elementtree.html#element-objects)2339        - [20.5.3.3. Объекты ElementTree](https://python-all.ru/3.4/library/xml.etree.elementtree.html#elementtree-objects)2340        - [20.5.3.4. Объекты QName](https://python-all.ru/3.4/library/xml.etree.elementtree.html#qname-objects)2341        - [20.5.3.5. Объекты TreeBuilder](https://python-all.ru/3.4/library/xml.etree.elementtree.html#treebuilder-objects)2342        - [20.5.3.6. Объекты XMLParser](https://python-all.ru/3.4/library/xml.etree.elementtree.html#xmlparser-objects)2343        - [20.5.3.7. Объекты XMLPullParser](https://python-all.ru/3.4/library/xml.etree.elementtree.html#xmlpullparser-objects)2344        - [20.5.3.8. Исключения](https://python-all.ru/3.4/library/xml.etree.elementtree.html#exceptions)2345    - [20.6. `xml.dom` – API объектной модели документа (DOM)](https://python-all.ru/3.4/library/xml.dom.html)23462347      - [20.6.1. Содержимое модуля](https://python-all.ru/3.4/library/xml.dom.html#module-contents)2348      - [20.6.2. Объекты в DOM](https://python-all.ru/3.4/library/xml.dom.html#objects-in-the-dom)23492350        - [20.6.2.1. Объекты DOMImplementation](https://python-all.ru/3.4/library/xml.dom.html#domimplementation-objects)2351        - [20.6.2.2. Объекты Node](https://python-all.ru/3.4/library/xml.dom.html#node-objects)2352        - [20.6.2.3. Объекты NodeList](https://python-all.ru/3.4/library/xml.dom.html#nodelist-objects)2353        - [20.6.2.4. Объекты DocumentType](https://python-all.ru/3.4/library/xml.dom.html#documenttype-objects)2354        - [20.6.2.5. Объекты Document](https://python-all.ru/3.4/library/xml.dom.html#document-objects)2355        - [20.6.2.6. Объекты Element](https://python-all.ru/3.4/library/xml.dom.html#element-objects)2356        - [20.6.2.7. Объекты Attr](https://python-all.ru/3.4/library/xml.dom.html#attr-objects)2357        - [20.6.2.8. Объекты NamedNodeMap](https://python-all.ru/3.4/library/xml.dom.html#namednodemap-objects)2358        - [20.6.2.9. Объекты Comment](https://python-all.ru/3.4/library/xml.dom.html#comment-objects)2359        - [20.6.2.10. Объекты Text и CDATASection](https://python-all.ru/3.4/library/xml.dom.html#text-and-cdatasection-objects)2360        - [20.6.2.11. Объекты ProcessingInstruction](https://python-all.ru/3.4/library/xml.dom.html#processinginstruction-objects)2361        - [20.6.2.12. Исключения](https://python-all.ru/3.4/library/xml.dom.html#exceptions)2362      - [20.6.3. Соответствие](https://python-all.ru/3.4/library/xml.dom.html#conformance)23632364        - [20.6.3.1. Сопоставление типов](https://python-all.ru/3.4/library/xml.dom.html#type-mapping)2365        - [20.6.3.2. Методы доступа](https://python-all.ru/3.4/library/xml.dom.html#accessor-methods)2366    - [20.7. `xml.dom.minidom` – Минимальная реализация DOM](https://python-all.ru/3.4/library/xml.dom.minidom.html)23672368      - [20.7.1. Объекты DOM](https://python-all.ru/3.4/library/xml.dom.minidom.html#dom-objects)2369      - [20.7.2. Пример DOM](https://python-all.ru/3.4/library/xml.dom.minidom.html#dom-example)2370      - [20.7.3. minidom и стандарт DOM](https://python-all.ru/3.4/library/xml.dom.minidom.html#minidom-and-the-dom-standard)2371    - [20.8. `xml.dom.pulldom` – Поддержка построения частичных деревьев DOM](https://python-all.ru/3.4/library/xml.dom.pulldom.html)23722373      - [20.8.1. Объекты DOMEventStream](https://python-all.ru/3.4/library/xml.dom.pulldom.html#domeventstream-objects)2374    - [20.9. `xml.sax` – Поддержка парсеров SAX2](https://python-all.ru/3.4/library/xml.sax.html)23752376      - [20.9.1. Объекты SAXException](https://python-all.ru/3.4/library/xml.sax.html#saxexception-objects)2377    - [20.10. `xml.sax.handler` – Базовые классы для обработчиков SAX](https://python-all.ru/3.4/library/xml.sax.handler.html)23782379      - [20.10.1. Объекты ContentHandler](https://python-all.ru/3.4/library/xml.sax.handler.html#contenthandler-objects)2380      - [20.10.2. Объекты DTDHandler](https://python-all.ru/3.4/library/xml.sax.handler.html#dtdhandler-objects)2381      - [20.10.3. Объекты EntityResolver](https://python-all.ru/3.4/library/xml.sax.handler.html#entityresolver-objects)2382      - [20.10.4. Объекты ErrorHandler](https://python-all.ru/3.4/library/xml.sax.handler.html#errorhandler-objects)2383    - [20.11. `xml.sax.saxutils` – Утилиты SAX](https://python-all.ru/3.4/library/xml.sax.utils.html)2384    - [20.12. `xml.sax.xmlreader` – Интерфейс для парсеров XML](https://python-all.ru/3.4/library/xml.sax.reader.html)23852386      - [20.12.1. Объекты XMLReader](https://python-all.ru/3.4/library/xml.sax.reader.html#xmlreader-objects)2387      - [20.12.2. Объекты IncrementalParser](https://python-all.ru/3.4/library/xml.sax.reader.html#incrementalparser-objects)2388      - [20.12.3. Объекты Locator](https://python-all.ru/3.4/library/xml.sax.reader.html#locator-objects)2389      - [20.12.4. Объекты InputSource](https://python-all.ru/3.4/library/xml.sax.reader.html#inputsource-objects)2390      - [20.12.5. Интерфейс `Attributes`](https://python-all.ru/3.4/library/xml.sax.reader.html#the-attributes-interface)2391      - [20.12.6. Интерфейс `AttributesNS`](https://python-all.ru/3.4/library/xml.sax.reader.html#the-attributesns-interface)2392    - [20.13. `xml.parsers.expat` – Быстрый разбор XML с помощью Expat](https://python-all.ru/3.4/library/pyexpat.html)23932394      - [20.13.1. Объекты XMLParser](https://python-all.ru/3.4/library/pyexpat.html#xmlparser-objects)2395      - [20.13.2. Исключения ExpatError](https://python-all.ru/3.4/library/pyexpat.html#expaterror-exceptions)2396      - [20.13.3. Пример](https://python-all.ru/3.4/library/pyexpat.html#example)2397      - [20.13.4. Описания моделей содержимого](https://python-all.ru/3.4/library/pyexpat.html#module-xml.parsers.expat.model)2398      - [20.13.5. Константы ошибок Expat](https://python-all.ru/3.4/library/pyexpat.html#module-xml.parsers.expat.errors)2399  - [21. Интернет-протоколы и поддержка](https://python-all.ru/3.4/library/internet.html)24002401    - [21.1. `webbrowser` – Удобный контроллер веб-браузера](https://python-all.ru/3.4/library/webbrowser.html)24022403      - [21.1.1. Объекты контроллера браузера](https://python-all.ru/3.4/library/webbrowser.html#browser-controller-objects)2404    - [21.2. `cgi` – Поддержка общего шлюзового интерфейса (CGI)](https://python-all.ru/3.4/library/cgi.html)24052406      - [21.2.1. Введение](https://python-all.ru/3.4/library/cgi.html#introduction)2407      - [21.2.2. Использование модуля cgi](https://python-all.ru/3.4/library/cgi.html#using-the-cgi-module)2408      - [21.2.3. Интерфейс более высокого уровня](https://python-all.ru/3.4/library/cgi.html#higher-level-interface)2409      - [21.2.4. Функции](https://python-all.ru/3.4/library/cgi.html#functions)2410      - [21.2.5. Вопросы безопасности](https://python-all.ru/3.4/library/cgi.html#caring-about-security)2411      - [21.2.6. Установка CGI-сценария в системе Unix](https://python-all.ru/3.4/library/cgi.html#installing-your-cgi-script-on-a-unix-system)2412      - [21.2.7. Тестирование CGI-сценария](https://python-all.ru/3.4/library/cgi.html#testing-your-cgi-script)2413      - [21.2.8. Отладка CGI-сценариев](https://python-all.ru/3.4/library/cgi.html#debugging-cgi-scripts)2414      - [21.2.9. Типичные проблемы и их решения](https://python-all.ru/3.4/library/cgi.html#common-problems-and-solutions)2415    - [21.3. `cgitb` – Менеджер трассировки для CGI-скриптов](https://python-all.ru/3.4/library/cgitb.html)2416    - [21.4. `wsgiref` – Утилиты и эталонная реализация WSGI](https://python-all.ru/3.4/library/wsgiref.html)24172418      - [21.4.1. `wsgiref.util` – Утилиты окружения WSGI](https://python-all.ru/3.4/library/wsgiref.html#module-wsgiref.util)2419      - [21.4.2. `wsgiref.headers` – Инструменты для заголовков ответов WSGI](https://python-all.ru/3.4/library/wsgiref.html#module-wsgiref.headers)2420      - [21.4.3. `wsgiref.simple_server` – Простой HTTP-сервер WSGI](https://python-all.ru/3.4/library/wsgiref.html#module-wsgiref.simple_server)2421      - [21.4.4. `wsgiref.validate` – Проверка соответствия WSGI](https://python-all.ru/3.4/library/wsgiref.html#module-wsgiref.validate)2422      - [21.4.5. `wsgiref.handlers` – Базовые классы сервера и шлюза](https://python-all.ru/3.4/library/wsgiref.html#module-wsgiref.handlers)2423      - [21.4.6. Примеры](https://python-all.ru/3.4/library/wsgiref.html#examples)2424    - [21.5. `urllib` – Модули для работы с URL](https://python-all.ru/3.4/library/urllib.html)2425    - [21.6. `urllib.request` – Расширяемая библиотека для открытия URL](https://python-all.ru/3.4/library/urllib.request.html)24262427      - [21.6.1. Объекты Request](https://python-all.ru/3.4/library/urllib.request.html#request-objects)2428      - [21.6.2. Объекты OpenerDirector](https://python-all.ru/3.4/library/urllib.request.html#openerdirector-objects)2429      - [21.6.3. Объекты BaseHandler](https://python-all.ru/3.4/library/urllib.request.html#basehandler-objects)2430      - [21.6.4. Объекты HTTPRedirectHandler](https://python-all.ru/3.4/library/urllib.request.html#httpredirecthandler-objects)2431      - [21.6.5. Объекты HTTPCookieProcessor](https://python-all.ru/3.4/library/urllib.request.html#httpcookieprocessor-objects)2432      - [21.6.6. Объекты ProxyHandler](https://python-all.ru/3.4/library/urllib.request.html#proxyhandler-objects)2433      - [21.6.7. Объекты HTTPPasswordMgr](https://python-all.ru/3.4/library/urllib.request.html#httppasswordmgr-objects)2434      - [21.6.8. Объекты AbstractBasicAuthHandler](https://python-all.ru/3.4/library/urllib.request.html#abstractbasicauthhandler-objects)2435      - [21.6.9. Объекты HTTPBasicAuthHandler](https://python-all.ru/3.4/library/urllib.request.html#httpbasicauthhandler-objects)2436      - [21.6.10. Объекты ProxyBasicAuthHandler](https://python-all.ru/3.4/library/urllib.request.html#proxybasicauthhandler-objects)2437      - [21.6.11. Объекты AbstractDigestAuthHandler](https://python-all.ru/3.4/library/urllib.request.html#abstractdigestauthhandler-objects)2438      - [21.6.12. Объекты HTTPDigestAuthHandler](https://python-all.ru/3.4/library/urllib.request.html#httpdigestauthhandler-objects)2439      - [21.6.13. Объекты ProxyDigestAuthHandler](https://python-all.ru/3.4/library/urllib.request.html#proxydigestauthhandler-objects)2440      - [21.6.14. Объекты HTTPHandler](https://python-all.ru/3.4/library/urllib.request.html#httphandler-objects)2441      - [21.6.15. Объекты HTTPSHandler](https://python-all.ru/3.4/library/urllib.request.html#httpshandler-objects)2442      - [21.6.16. Объекты FileHandler](https://python-all.ru/3.4/library/urllib.request.html#filehandler-objects)2443      - [21.6.17. Объекты DataHandler](https://python-all.ru/3.4/library/urllib.request.html#datahandler-objects)2444      - [21.6.18. Объекты FTPHandler](https://python-all.ru/3.4/library/urllib.request.html#ftphandler-objects)2445      - [21.6.19. Объекты CacheFTPHandler](https://python-all.ru/3.4/library/urllib.request.html#cacheftphandler-objects)2446      - [21.6.20. Объекты UnknownHandler](https://python-all.ru/3.4/library/urllib.request.html#unknownhandler-objects)2447      - [21.6.21. Объекты HTTPErrorProcessor](https://python-all.ru/3.4/library/urllib.request.html#httperrorprocessor-objects)2448      - [21.6.22. Примеры](https://python-all.ru/3.4/library/urllib.request.html#examples)2449      - [21.6.23. Устаревший интерфейс](https://python-all.ru/3.4/library/urllib.request.html#legacy-interface)2450      - [21.6.24. `urllib.request` Ограничения](https://python-all.ru/3.4/library/urllib.request.html#urllib-request-restrictions)2451    - [21.7. `urllib.response` – Классы ответов, используемые urllib](https://python-all.ru/3.4/library/urllib.request.html#module-urllib.response)2452    - [21.8. `urllib.parse` – Разбор URL на составные части](https://python-all.ru/3.4/library/urllib.parse.html)24532454      - [21.8.1. Разбор URL](https://python-all.ru/3.4/library/urllib.parse.html#url-parsing)2455      - [21.8.2. Разбор ASCII-кодированных байт](https://python-all.ru/3.4/library/urllib.parse.html#parsing-ascii-encoded-bytes)2456      - [21.8.3. Структурированные результаты разбора](https://python-all.ru/3.4/library/urllib.parse.html#structured-parse-results)2457      - [21.8.4. Квотирование URL](https://python-all.ru/3.4/library/urllib.parse.html#url-quoting)2458    - [21.9. `urllib.error` – Классы исключений, вызываемые urllib.request](https://python-all.ru/3.4/library/urllib.error.html)2459    - [21.10. `urllib.robotparser` – Парсер robots.txt](https://python-all.ru/3.4/library/urllib.robotparser.html)2460    - [21.11. `http` – Модули HTTP](https://python-all.ru/3.4/library/http.html)2461    - [21.12. `http.client` – Клиент протокола HTTP](https://python-all.ru/3.4/library/http.client.html)24622463      - [21.12.1. Объекты HTTPConnection](https://python-all.ru/3.4/library/http.client.html#httpconnection-objects)2464      - [21.12.2. Объекты HTTPResponse](https://python-all.ru/3.4/library/http.client.html#httpresponse-objects)2465      - [21.12.3. Примеры](https://python-all.ru/3.4/library/http.client.html#examples)2466      - [21.12.4. Объекты HTTPMessage](https://python-all.ru/3.4/library/http.client.html#httpmessage-objects)2467    - [21.13. `ftplib` – клиент протокола FTP](https://python-all.ru/3.4/library/ftplib.html)24682469      - [21.13.1. Объекты FTP](https://python-all.ru/3.4/library/ftplib.html#ftp-objects)2470      - [21.13.2. Объекты FTP\_TLS](https://python-all.ru/3.4/library/ftplib.html#ftp-tls-objects)2471    - [21.14. `poplib` – клиент протокола POP3](https://python-all.ru/3.4/library/poplib.html)24722473      - [21.14.1. Объекты POP3](https://python-all.ru/3.4/library/poplib.html#pop3-objects)2474      - [21.14.2. Пример POP3](https://python-all.ru/3.4/library/poplib.html#pop3-example)2475    - [21.15. `imaplib` – клиент протокола IMAP4](https://python-all.ru/3.4/library/imaplib.html)24762477      - [21.15.1. Объекты IMAP4](https://python-all.ru/3.4/library/imaplib.html#imap4-objects)2478      - [21.15.2. Пример IMAP4](https://python-all.ru/3.4/library/imaplib.html#imap4-example)2479    - [21.16. `nntplib` – клиент протокола NNTP](https://python-all.ru/3.4/library/nntplib.html)24802481      - [21.16.1. Объекты NNTP](https://python-all.ru/3.4/library/nntplib.html#nntp-objects)24822483        - [21.16.1.1. Атрибуты](https://python-all.ru/3.4/library/nntplib.html#attributes)2484        - [21.16.1.2. Методы](https://python-all.ru/3.4/library/nntplib.html#methods)2485      - [21.16.2. Вспомогательные функции](https://python-all.ru/3.4/library/nntplib.html#utility-functions)2486    - [21.17. `smtplib` – клиент протокола SMTP](https://python-all.ru/3.4/library/smtplib.html)24872488      - [21.17.1. Объекты SMTP](https://python-all.ru/3.4/library/smtplib.html#smtp-objects)2489      - [21.17.2. Пример SMTP](https://python-all.ru/3.4/library/smtplib.html#smtp-example)2490    - [21.18. `smtpd` – SMTP-сервер](https://python-all.ru/3.4/library/smtpd.html)24912492      - [21.18.1. Объекты SMTPServer](https://python-all.ru/3.4/library/smtpd.html#smtpserver-objects)2493      - [21.18.2. Объекты DebuggingServer](https://python-all.ru/3.4/library/smtpd.html#debuggingserver-objects)2494      - [21.18.3. Объекты PureProxy](https://python-all.ru/3.4/library/smtpd.html#pureproxy-objects)2495      - [21.18.4. Объекты MailmanProxy](https://python-all.ru/3.4/library/smtpd.html#mailmanproxy-objects)2496      - [21.18.5. Объекты SMTPChannel](https://python-all.ru/3.4/library/smtpd.html#smtpchannel-objects)2497    - [21.19. `telnetlib` – Telnet-клиент](https://python-all.ru/3.4/library/telnetlib.html)24982499      - [21.19.1. Объекты Telnet](https://python-all.ru/3.4/library/telnetlib.html#telnet-objects)2500      - [21.19.2. Пример Telnet](https://python-all.ru/3.4/library/telnetlib.html#telnet-example)2501    - [21.20. `uuid` – объекты UUID в соответствии с RFC 4122](https://python-all.ru/3.4/library/uuid.html)25022503      - [21.20.1. Пример](https://python-all.ru/3.4/library/uuid.html#example)2504    - [21.21. `socketserver` – фреймворк для сетевых серверов](https://python-all.ru/3.4/library/socketserver.html)25052506      - [21.21.1. Примечания по созданию сервера](https://python-all.ru/3.4/library/socketserver.html#server-creation-notes)2507      - [21.21.2. Объекты сервера](https://python-all.ru/3.4/library/socketserver.html#server-objects)2508      - [21.21.3. Объекты RequestHandler](https://python-all.ru/3.4/library/socketserver.html#requesthandler-objects)2509      - [21.21.4. Примеры](https://python-all.ru/3.4/library/socketserver.html#examples)25102511        - [21.21.4.1. Пример `socketserver.TCPServer`](https://python-all.ru/3.4/library/socketserver.html#socketserver-tcpserver-example)2512        - [21.21.4.2. Пример `socketserver.UDPServer`](https://python-all.ru/3.4/library/socketserver.html#socketserver-udpserver-example)2513        - [21.21.4.3. Асинхронные миксины](https://python-all.ru/3.4/library/socketserver.html#asynchronous-mixins)2514    - [21.22. `http.server` – HTTP-серверы](https://python-all.ru/3.4/library/http.server.html)2515    - [21.23. `http.cookies` – управление состоянием HTTP](https://python-all.ru/3.4/library/http.cookies.html)25162517      - [21.23.1. Объекты Cookie](https://python-all.ru/3.4/library/http.cookies.html#cookie-objects)2518      - [21.23.2. Объекты Morsel](https://python-all.ru/3.4/library/http.cookies.html#morsel-objects)2519      - [21.23.3. Пример](https://python-all.ru/3.4/library/http.cookies.html#example)2520    - [21.24. `http.cookiejar` – обработка cookie для HTTP-клиентов](https://python-all.ru/3.4/library/http.cookiejar.html)25212522      - [21.24.1. Объекты CookieJar и FileCookieJar](https://python-all.ru/3.4/library/http.cookiejar.html#cookiejar-and-filecookiejar-objects)2523      - [21.24.2. Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/3.4/library/http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)2524      - [21.24.3. Объекты CookiePolicy](https://python-all.ru/3.4/library/http.cookiejar.html#cookiepolicy-objects)2525      - [21.24.4. Объекты DefaultCookiePolicy](https://python-all.ru/3.4/library/http.cookiejar.html#defaultcookiepolicy-objects)2526      - [21.24.5. Объекты Cookie](https://python-all.ru/3.4/library/http.cookiejar.html#cookie-objects)2527      - [21.24.6. Примеры](https://python-all.ru/3.4/library/http.cookiejar.html#examples)2528    - [21.25. `xmlrpc` – модули сервера и клиента XML-RPC](https://python-all.ru/3.4/library/xmlrpc.html)2529    - [21.26. `xmlrpc.client` – клиентский доступ к XML-RPC](https://python-all.ru/3.4/library/xmlrpc.client.html)25302531      - [21.26.1. Объекты ServerProxy](https://python-all.ru/3.4/library/xmlrpc.client.html#serverproxy-objects)2532      - [21.26.2. Объекты DateTime](https://python-all.ru/3.4/library/xmlrpc.client.html#datetime-objects)2533      - [21.26.3. Объекты Binary](https://python-all.ru/3.4/library/xmlrpc.client.html#binary-objects)2534      - [21.26.4. Объекты Fault](https://python-all.ru/3.4/library/xmlrpc.client.html#fault-objects)2535      - [21.26.5. Объекты ProtocolError](https://python-all.ru/3.4/library/xmlrpc.client.html#protocolerror-objects)2536      - [21.26.6. Объекты MultiCall](https://python-all.ru/3.4/library/xmlrpc.client.html#multicall-objects)2537      - [21.26.7. Вспомогательные функции](https://python-all.ru/3.4/library/xmlrpc.client.html#convenience-functions)2538      - [21.26.8. Пример использования клиента](https://python-all.ru/3.4/library/xmlrpc.client.html#example-of-client-usage)2539      - [21.26.9. Пример использования клиента и сервера](https://python-all.ru/3.4/library/xmlrpc.client.html#example-of-client-and-server-usage)2540    - [21.27. `xmlrpc.server` – базовые XML-RPC серверы](https://python-all.ru/3.4/library/xmlrpc.server.html)25412542      - [21.27.1. Объекты SimpleXMLRPCServer](https://python-all.ru/3.4/library/xmlrpc.server.html#simplexmlrpcserver-objects)25432544        - [21.27.1.1. Пример SimpleXMLRPCServer](https://python-all.ru/3.4/library/xmlrpc.server.html#simplexmlrpcserver-example)2545      - [21.27.2. CGIXMLRPCRequestHandler](https://python-all.ru/3.4/library/xmlrpc.server.html#cgixmlrpcrequesthandler)2546      - [21.27.3. Документирование сервера XMLRPC](https://python-all.ru/3.4/library/xmlrpc.server.html#documenting-xmlrpc-server)2547      - [21.27.4. Объекты DocXMLRPCServer](https://python-all.ru/3.4/library/xmlrpc.server.html#docxmlrpcserver-objects)2548      - [21.27.5. DocCGIXMLRPCRequestHandler](https://python-all.ru/3.4/library/xmlrpc.server.html#doccgixmlrpcrequesthandler)2549    - [21.28. `ipaddress` – библиотека для работы с IPv4/IPv6](https://python-all.ru/3.4/library/ipaddress.html)25502551      - [21.28.1. Вспомогательные фабричные функции](https://python-all.ru/3.4/library/ipaddress.html#convenience-factory-functions)2552      - [21.28.2. IP-адреса](https://python-all.ru/3.4/library/ipaddress.html#ip-addresses)25532554        - [21.28.2.1. Объекты адресов](https://python-all.ru/3.4/library/ipaddress.html#address-objects)2555        - [21.28.2.2. Преобразование в строки и целые числа](https://python-all.ru/3.4/library/ipaddress.html#conversion-to-strings-and-integers)2556        - [21.28.2.3. Операторы](https://python-all.ru/3.4/library/ipaddress.html#operators)25572558          - [21.28.2.3.1. Операторы сравнения](https://python-all.ru/3.4/library/ipaddress.html#comparison-operators)2559          - [21.28.2.3.2. Арифметические операторы](https://python-all.ru/3.4/library/ipaddress.html#arithmetic-operators)2560      - [21.28.3. Определения IP-сети](https://python-all.ru/3.4/library/ipaddress.html#ip-network-definitions)25612562        - [21.28.3.1. Префикс, маска сети и маска узла](https://python-all.ru/3.4/library/ipaddress.html#prefix-net-mask-and-host-mask)2563        - [21.28.3.2. Сетевые объекты](https://python-all.ru/3.4/library/ipaddress.html#network-objects)2564        - [21.28.3.3. Операторы](https://python-all.ru/3.4/library/ipaddress.html#id1)25652566          - [21.28.3.3.1. Логические операторы](https://python-all.ru/3.4/library/ipaddress.html#logical-operators)2567          - [21.28.3.3.2. Итерация](https://python-all.ru/3.4/library/ipaddress.html#iteration)2568          - [21.28.3.3.3. Сети как контейнеры адресов](https://python-all.ru/3.4/library/ipaddress.html#networks-as-containers-of-addresses)2569      - [21.28.4. Объекты интерфейса](https://python-all.ru/3.4/library/ipaddress.html#interface-objects)2570      - [21.28.5. Прочие функции уровня модуля](https://python-all.ru/3.4/library/ipaddress.html#other-module-level-functions)2571      - [21.28.6. Пользовательские исключения](https://python-all.ru/3.4/library/ipaddress.html#custom-exceptions)2572  - [22. Мультимедийные службы](https://python-all.ru/3.4/library/mm.html)25732574    - [22.1. `audioop` – работа с необработанными аудиоданными](https://python-all.ru/3.4/library/audioop.html)2575    - [22.2. `aifc` – чтение и запись файлов AIFF и AIFC](https://python-all.ru/3.4/library/aifc.html)2576    - [22.3. `sunau` – чтение и запись файлов Sun AU](https://python-all.ru/3.4/library/sunau.html)25772578      - [22.3.1. AU\_read Objects](https://python-all.ru/3.4/library/sunau.html#au-read-objects)2579      - [22.3.2. AU\_write Objects](https://python-all.ru/3.4/library/sunau.html#au-write-objects)2580    - [22.4. `wave` – чтение и запись WAV-файлов](https://python-all.ru/3.4/library/wave.html)25812582      - [22.4.1. Wave\_read Objects](https://python-all.ru/3.4/library/wave.html#wave-read-objects)2583      - [22.4.2. Wave\_write Objects](https://python-all.ru/3.4/library/wave.html#wave-write-objects)2584    - [22.5. `chunk` – чтение IFF-данных, разбитых на чанки](https://python-all.ru/3.4/library/chunk.html)2585    - [22.6. `colorsys` – преобразования между цветовыми системами](https://python-all.ru/3.4/library/colorsys.html)2586    - [22.7. `imghdr` – определение типа изображения](https://python-all.ru/3.4/library/imghdr.html)2587    - [22.8. `sndhdr` – определение типа звукового файла](https://python-all.ru/3.4/library/sndhdr.html)2588    - [22.9. `ossaudiodev` – доступ к OSS-совместимым аудиоустройствам](https://python-all.ru/3.4/library/ossaudiodev.html)25892590      - [22.9.1. Объекты аудиоустройств](https://python-all.ru/3.4/library/ossaudiodev.html#audio-device-objects)2591      - [22.9.2. Объекты микшера](https://python-all.ru/3.4/library/ossaudiodev.html#mixer-device-objects)2592  - [23. Интернационализация](https://python-all.ru/3.4/library/i18n.html)25932594    - [23.1. `gettext` – многоязычные службы интернационализации](https://python-all.ru/3.4/library/gettext.html)25952596      - [23.1.1. GNU **gettext** API](https://python-all.ru/3.4/library/gettext.html#gnu-gettext-api)2597      - [23.1.2. API на основе классов](https://python-all.ru/3.4/library/gettext.html#class-based-api)25982599        - [23.1.2.1. Класс `NullTranslations`](https://python-all.ru/3.4/library/gettext.html#the-nulltranslations-class)2600        - [23.1.2.2. Класс `GNUTranslations`](https://python-all.ru/3.4/library/gettext.html#the-gnutranslations-class)2601        - [23.1.2.3. Поддержка каталогов сообщений Solaris](https://python-all.ru/3.4/library/gettext.html#solaris-message-catalog-support)2602        - [23.1.2.4. Конструктор Catalog](https://python-all.ru/3.4/library/gettext.html#the-catalog-constructor)2603      - [23.1.3. Интернационализация программ и модулей](https://python-all.ru/3.4/library/gettext.html#internationalizing-your-programs-and-modules)26042605        - [23.1.3.1. Локализация модуля](https://python-all.ru/3.4/library/gettext.html#localizing-your-module)2606        - [23.1.3.2. Локализация приложения](https://python-all.ru/3.4/library/gettext.html#localizing-your-application)2607        - [23.1.3.3. Смена языка на лету](https://python-all.ru/3.4/library/gettext.html#changing-languages-on-the-fly)2608        - [23.1.3.4. Отложенные переводы](https://python-all.ru/3.4/library/gettext.html#deferred-translations)2609      - [23.1.4. Благодарности](https://python-all.ru/3.4/library/gettext.html#acknowledgements)2610    - [23.2. `locale` – Службы интернационализации](https://python-all.ru/3.4/library/locale.html)26112612      - [23.2.1. Предыстория, детали, подсказки, советы и предостережения](https://python-all.ru/3.4/library/locale.html#background-details-hints-tips-and-caveats)2613      - [23.2.2. Для разработчиков расширений и программ, встраивающих Python](https://python-all.ru/3.4/library/locale.html#for-extension-writers-and-programs-that-embed-python)2614      - [23.2.3. Доступ к каталогам сообщений](https://python-all.ru/3.4/library/locale.html#access-to-message-catalogs)2615  - [24. Программные каркасы](https://python-all.ru/3.4/library/frameworks.html)26162617    - [24.1. `turtle` – Черепашья графика](https://python-all.ru/3.4/library/turtle.html)26182619      - [24.1.1. Введение](https://python-all.ru/3.4/library/turtle.html#introduction)2620      - [24.1.2. Обзор доступных методов Turtle и Screen](https://python-all.ru/3.4/library/turtle.html#overview-of-available-turtle-and-screen-methods)26212622        - [24.1.2.1. Методы Turtle](https://python-all.ru/3.4/library/turtle.html#turtle-methods)2623        - [24.1.2.2. Методы TurtleScreen/Screen](https://python-all.ru/3.4/library/turtle.html#methods-of-turtlescreen-screen)2624      - [24.1.3. Методы RawTurtle/Turtle и соответствующие функции](https://python-all.ru/3.4/library/turtle.html#methods-of-rawturtle-turtle-and-corresponding-functions)26252626        - [24.1.3.1. Движение черепахи](https://python-all.ru/3.4/library/turtle.html#turtle-motion)2627        - [24.1.3.2. Состояние черепахи](https://python-all.ru/3.4/library/turtle.html#tell-turtle-s-state)2628        - [24.1.3.3. Настройки измерения](https://python-all.ru/3.4/library/turtle.html#settings-for-measurement)2629        - [24.1.3.4. Управление пером](https://python-all.ru/3.4/library/turtle.html#pen-control)26302631          - [24.1.3.4.1. Состояние рисования](https://python-all.ru/3.4/library/turtle.html#drawing-state)2632          - [24.1.3.4.2. Управление цветом](https://python-all.ru/3.4/library/turtle.html#color-control)2633          - [24.1.3.4.3. Заливка](https://python-all.ru/3.4/library/turtle.html#filling)2634          - [24.1.3.4.4. Дополнительное управление рисованием](https://python-all.ru/3.4/library/turtle.html#more-drawing-control)2635        - [24.1.3.5. Состояние черепахи](https://python-all.ru/3.4/library/turtle.html#turtle-state)26362637          - [24.1.3.5.1. Видимость](https://python-all.ru/3.4/library/turtle.html#visibility)2638          - [24.1.3.5.2. Внешний вид](https://python-all.ru/3.4/library/turtle.html#appearance)2639        - [24.1.3.6. Использование событий](https://python-all.ru/3.4/library/turtle.html#using-events)2640        - [24.1.3.7. Специальные методы Turtle](https://python-all.ru/3.4/library/turtle.html#special-turtle-methods)2641        - [24.1.3.8. Составные фигуры](https://python-all.ru/3.4/library/turtle.html#compound-shapes)2642      - [24.1.4. Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/3.4/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)26432644        - [24.1.4.1. Управление окном](https://python-all.ru/3.4/library/turtle.html#window-control)2645        - [24.1.4.2. Управление анимацией](https://python-all.ru/3.4/library/turtle.html#animation-control)2646        - [24.1.4.3. Использование событий экрана](https://python-all.ru/3.4/library/turtle.html#using-screen-events)2647        - [24.1.4.4. Методы ввода](https://python-all.ru/3.4/library/turtle.html#input-methods)2648        - [24.1.4.5. Настройки и специальные методы](https://python-all.ru/3.4/library/turtle.html#settings-and-special-methods)2649        - [24.1.4.6. Методы, специфичные для Screen, не унаследованные от TurtleScreen](https://python-all.ru/3.4/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)2650      - [24.1.5. Общедоступные классы](https://python-all.ru/3.4/library/turtle.html#public-classes)2651      - [24.1.6. Справка и настройка](https://python-all.ru/3.4/library/turtle.html#help-and-configuration)26522653        - [24.1.6.1. Как пользоваться справкой](https://python-all.ru/3.4/library/turtle.html#how-to-use-help)2654        - [24.1.6.2. Перевод строк документации на разные языки](https://python-all.ru/3.4/library/turtle.html#translation-of-docstrings-into-different-languages)2655        - [24.1.6.3. Как настроить Screen и Turtles](https://python-all.ru/3.4/library/turtle.html#how-to-configure-screen-and-turtles)2656      - [24.1.7. `turtledemo` – Демонстрационные сценарии](https://python-all.ru/3.4/library/turtle.html#module-turtledemo)2657      - [24.1.8. Изменения начиная с Python 2.6](https://python-all.ru/3.4/library/turtle.html#changes-since-python-2-6)2658      - [24.1.9. Изменения начиная с Python 3.0](https://python-all.ru/3.4/library/turtle.html#changes-since-python-3-0)2659    - [24.2. `cmd` – Поддержка построчных командных интерпретаторов](https://python-all.ru/3.4/library/cmd.html)26602661      - [24.2.1. Объекты Cmd](https://python-all.ru/3.4/library/cmd.html#cmd-objects)2662      - [24.2.2. Пример Cmd](https://python-all.ru/3.4/library/cmd.html#cmd-example)2663    - [24.3. `shlex` – Простой лексический анализ](https://python-all.ru/3.4/library/shlex.html)26642665      - [24.3.1. Объекты shlex](https://python-all.ru/3.4/library/shlex.html#shlex-objects)2666      - [24.3.2. Правила синтаксического анализа](https://python-all.ru/3.4/library/shlex.html#parsing-rules)2667  - [25. Графические интерфейсы пользователя с Tk](https://python-all.ru/3.4/library/tk.html)26682669    - [25.1. `tkinter` – Интерфейс Python для Tcl/Tk](https://python-all.ru/3.4/library/tkinter.html)26702671      - [25.1.1. Модули Tkinter](https://python-all.ru/3.4/library/tkinter.html#tkinter-modules)2672      - [25.1.2. Tkinter: спасательный круг](https://python-all.ru/3.4/library/tkinter.html#tkinter-life-preserver)26732674        - [25.1.2.1. Как использовать этот раздел](https://python-all.ru/3.4/library/tkinter.html#how-to-use-this-section)2675        - [25.1.2.2. Простой пример программы «Hello World»](https://python-all.ru/3.4/library/tkinter.html#a-simple-hello-world-program)2676      - [25.1.3. Краткий обзор Tcl/Tk](https://python-all.ru/3.4/library/tkinter.html#a-very-quick-look-at-tcl-tk)2677      - [25.1.4. Отображение базового Tk в Tkinter](https://python-all.ru/3.4/library/tkinter.html#mapping-basic-tk-into-tkinter)2678      - [25.1.5. Как связаны Tk и Tkinter](https://python-all.ru/3.4/library/tkinter.html#how-tk-and-tkinter-are-related)2679      - [25.1.6. Удобный справочник](https://python-all.ru/3.4/library/tkinter.html#handy-reference)26802681        - [25.1.6.1. Настройка параметров](https://python-all.ru/3.4/library/tkinter.html#setting-options)2682        - [25.1.6.2. Упаковщик](https://python-all.ru/3.4/library/tkinter.html#the-packer)2683        - [25.1.6.3. Параметры упаковщика](https://python-all.ru/3.4/library/tkinter.html#packer-options)2684        - [25.1.6.4. Привязка переменных виджетов](https://python-all.ru/3.4/library/tkinter.html#coupling-widget-variables)2685        - [25.1.6.5. Менеджер окон](https://python-all.ru/3.4/library/tkinter.html#the-window-manager)2686        - [25.1.6.6. Типы данных параметров Tk](https://python-all.ru/3.4/library/tkinter.html#tk-option-data-types)2687        - [25.1.6.7. Привязки и события](https://python-all.ru/3.4/library/tkinter.html#bindings-and-events)2688        - [25.1.6.8. Параметр index](https://python-all.ru/3.4/library/tkinter.html#the-index-parameter)2689        - [25.1.6.9. Изображения](https://python-all.ru/3.4/library/tkinter.html#images)2690      - [25.1.7. Обработчики файлов](https://python-all.ru/3.4/library/tkinter.html#file-handlers)2691    - [25.2. `tkinter.ttk` – Тематические виджеты Tk](https://python-all.ru/3.4/library/tkinter.ttk.html)26922693      - [25.2.1. Использование Ttk](https://python-all.ru/3.4/library/tkinter.ttk.html#using-ttk)2694      - [25.2.2. Виджеты Ttk](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-widgets)2695      - [25.2.3. Виджет](https://python-all.ru/3.4/library/tkinter.ttk.html#widget)26962697        - [25.2.3.1. Стандартные параметры](https://python-all.ru/3.4/library/tkinter.ttk.html#standard-options)2698        - [25.2.3.2. Параметры прокручиваемого виджета](https://python-all.ru/3.4/library/tkinter.ttk.html#scrollable-widget-options)2699        - [25.2.3.3. Параметры метки](https://python-all.ru/3.4/library/tkinter.ttk.html#label-options)2700        - [25.2.3.4. Параметры совместимости](https://python-all.ru/3.4/library/tkinter.ttk.html#compatibility-options)2701        - [25.2.3.5. Состояния виджета](https://python-all.ru/3.4/library/tkinter.ttk.html#widget-states)2702        - [25.2.3.6. ttk.Widget](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-widget)2703      - [25.2.4. Combobox](https://python-all.ru/3.4/library/tkinter.ttk.html#combobox)27042705        - [25.2.4.1. Параметры](https://python-all.ru/3.4/library/tkinter.ttk.html#options)2706        - [25.2.4.2. Виртуальные события](https://python-all.ru/3.4/library/tkinter.ttk.html#virtual-events)2707        - [25.2.4.3. ttk.Combobox](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-combobox)2708      - [25.2.5. Notebook](https://python-all.ru/3.4/library/tkinter.ttk.html#notebook)27092710        - [25.2.5.1. Параметры](https://python-all.ru/3.4/library/tkinter.ttk.html#id1)2711        - [25.2.5.2. Параметры вкладок](https://python-all.ru/3.4/library/tkinter.ttk.html#tab-options)2712        - [25.2.5.3. Идентификаторы вкладок](https://python-all.ru/3.4/library/tkinter.ttk.html#tab-identifiers)2713        - [25.2.5.4. Виртуальные события](https://python-all.ru/3.4/library/tkinter.ttk.html#id2)2714        - [25.2.5.5. ttk.Notebook](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-notebook)2715      - [25.2.6. Progressbar](https://python-all.ru/3.4/library/tkinter.ttk.html#progressbar)27162717        - [25.2.6.1. Опции](https://python-all.ru/3.4/library/tkinter.ttk.html#id3)2718        - [25.2.6.2. ttk.Progressbar](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-progressbar)2719      - [25.2.7. Separator](https://python-all.ru/3.4/library/tkinter.ttk.html#separator)27202721        - [25.2.7.1. Опции](https://python-all.ru/3.4/library/tkinter.ttk.html#id4)2722      - [25.2.8. Sizegrip](https://python-all.ru/3.4/library/tkinter.ttk.html#sizegrip)27232724        - [25.2.8.1. Замечания по платформам](https://python-all.ru/3.4/library/tkinter.ttk.html#platform-specific-notes)2725        - [25.2.8.2. Ошибки](https://python-all.ru/3.4/library/tkinter.ttk.html#bugs)2726      - [25.2.9. Treeview](https://python-all.ru/3.4/library/tkinter.ttk.html#treeview)27272728        - [25.2.9.1. Опции](https://python-all.ru/3.4/library/tkinter.ttk.html#id5)2729        - [25.2.9.2. Опции элементов](https://python-all.ru/3.4/library/tkinter.ttk.html#item-options)2730        - [25.2.9.3. Опции тегов](https://python-all.ru/3.4/library/tkinter.ttk.html#tag-options)2731        - [25.2.9.4. Идентификаторы столбцов](https://python-all.ru/3.4/library/tkinter.ttk.html#column-identifiers)2732        - [25.2.9.5. Виртуальные события](https://python-all.ru/3.4/library/tkinter.ttk.html#id6)2733        - [25.2.9.6. ttk.Treeview](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-treeview)2734      - [25.2.10. Стилизация ttk](https://python-all.ru/3.4/library/tkinter.ttk.html#ttk-styling)27352736        - [25.2.10.1. Макеты](https://python-all.ru/3.4/library/tkinter.ttk.html#layouts)2737    - [25.3. `tkinter.tix` – Расширенные виджеты для Tk](https://python-all.ru/3.4/library/tkinter.tix.html)27382739      - [25.3.1. Использование Tix](https://python-all.ru/3.4/library/tkinter.tix.html#using-tix)2740      - [25.3.2. Виджеты Tix](https://python-all.ru/3.4/library/tkinter.tix.html#tix-widgets)27412742        - [25.3.2.1. Базовые виджеты](https://python-all.ru/3.4/library/tkinter.tix.html#basic-widgets)2743        - [25.3.2.2. Выбор файлов](https://python-all.ru/3.4/library/tkinter.tix.html#file-selectors)2744        - [25.3.2.3. Иерархический список](https://python-all.ru/3.4/library/tkinter.tix.html#hierarchical-listbox)2745        - [25.3.2.4. Табличный список](https://python-all.ru/3.4/library/tkinter.tix.html#tabular-listbox)2746        - [25.3.2.5. Виджеты-менеджеры](https://python-all.ru/3.4/library/tkinter.tix.html#manager-widgets)2747        - [25.3.2.6. Типы изображений](https://python-all.ru/3.4/library/tkinter.tix.html#image-types)2748        - [25.3.2.7. Прочие виджеты](https://python-all.ru/3.4/library/tkinter.tix.html#miscellaneous-widgets)2749        - [25.3.2.8. Менеджер геометрии Form](https://python-all.ru/3.4/library/tkinter.tix.html#form-geometry-manager)2750      - [25.3.3. Команды Tix](https://python-all.ru/3.4/library/tkinter.tix.html#tix-commands)2751    - [25.4. `tkinter.scrolledtext` – Виджет прокручиваемого текста](https://python-all.ru/3.4/library/tkinter.scrolledtext.html)2752    - [25.5. IDLE](https://python-all.ru/3.4/library/idle.html)27532754      - [25.5.1. Меню](https://python-all.ru/3.4/library/idle.html#menus)27552756        - [25.5.1.1. Меню «Файл» (Shell и редактор)](https://python-all.ru/3.4/library/idle.html#file-menu-shell-and-editor)2757        - [25.5.1.2. Меню «Правка» (Shell и редактор)](https://python-all.ru/3.4/library/idle.html#edit-menu-shell-and-editor)2758        - [25.5.1.3. Меню «Формат» (только в окне редактора)](https://python-all.ru/3.4/library/idle.html#format-menu-editor-window-only)2759        - [25.5.1.4. Меню «Выполнить» (только в окне редактора)](https://python-all.ru/3.4/library/idle.html#run-menu-editor-window-only)2760        - [25.5.1.5. Меню «Shell» (только в окне Shell)](https://python-all.ru/3.4/library/idle.html#shell-menu-shell-window-only)2761        - [25.5.1.6. Меню «Отладка» (только в окне Shell)](https://python-all.ru/3.4/library/idle.html#debug-menu-shell-window-only)2762        - [25.5.1.7. Меню «Параметры» (Shell и редактор)](https://python-all.ru/3.4/library/idle.html#options-menu-shell-and-editor)2763        - [25.5.1.8. Меню «Окно» (Shell и редактор)](https://python-all.ru/3.4/library/idle.html#window-menu-shell-and-editor)2764        - [25.5.1.9. Меню «Справка» (Shell и редактор)](https://python-all.ru/3.4/library/idle.html#help-menu-shell-and-editor)2765        - [25.5.1.10. Контекстные меню](https://python-all.ru/3.4/library/idle.html#context-menus)2766      - [25.5.2. Редактирование и навигация](https://python-all.ru/3.4/library/idle.html#editing-and-navigation)27672768        - [25.5.2.1. Автоматический отступ](https://python-all.ru/3.4/library/idle.html#automatic-indentation)2769        - [25.5.2.2. Автодополнение](https://python-all.ru/3.4/library/idle.html#completions)2770        - [25.5.2.3. Подсказки вызова](https://python-all.ru/3.4/library/idle.html#calltips)2771        - [25.5.2.4. Окно оболочки Python](https://python-all.ru/3.4/library/idle.html#python-shell-window)2772        - [25.5.2.5. Цвета текста](https://python-all.ru/3.4/library/idle.html#text-colors)2773      - [25.5.3. Запуск и выполнение кода](https://python-all.ru/3.4/library/idle.html#startup-and-code-execution)27742775        - [25.5.3.1. Использование командной строки](https://python-all.ru/3.4/library/idle.html#command-line-usage)2776        - [25.5.3.2. Отличия IDLE от консоли](https://python-all.ru/3.4/library/idle.html#idle-console-differences)2777        - [25.5.3.3. Запуск без подпроцесса](https://python-all.ru/3.4/library/idle.html#running-without-a-subprocess)2778      - [25.5.4. Справка и настройки](https://python-all.ru/3.4/library/idle.html#help-and-preferences)27792780        - [25.5.4.1. Дополнительные источники справки](https://python-all.ru/3.4/library/idle.html#additional-help-sources)2781        - [25.5.4.2. Настройка параметров](https://python-all.ru/3.4/library/idle.html#setting-preferences)2782        - [25.5.4.3. Расширения](https://python-all.ru/3.4/library/idle.html#extensions)2783    - [25.6. Другие пакеты графического интерфейса пользователя](https://python-all.ru/3.4/library/othergui.html)2784  - [26. Инструменты разработки](https://python-all.ru/3.4/library/development.html)27852786    - [26.1. `pydoc` – Генератор документации и встроенная справочная система](https://python-all.ru/3.4/library/pydoc.html)2787    - [26.2. `doctest` – Тестирование интерактивных примеров Python](https://python-all.ru/3.4/library/doctest.html)27882789      - [26.2.1. Простое использование: проверка примеров в строках документации](https://python-all.ru/3.4/library/doctest.html#simple-usage-checking-examples-in-docstrings)2790      - [26.2.2. Простое использование: проверка примеров в текстовом файле](https://python-all.ru/3.4/library/doctest.html#simple-usage-checking-examples-in-a-text-file)2791      - [26.2.3. Как это работает](https://python-all.ru/3.4/library/doctest.html#how-it-works)27922793        - [26.2.3.1. Какие строки документации проверяются?](https://python-all.ru/3.4/library/doctest.html#which-docstrings-are-examined)2794        - [26.2.3.2. Как распознаются примеры в docstring?](https://python-all.ru/3.4/library/doctest.html#how-are-docstring-examples-recognized)2795        - [26.2.3.3. Каков контекст выполнения?](https://python-all.ru/3.4/library/doctest.html#what-s-the-execution-context)2796        - [26.2.3.4. Что насчёт исключений?](https://python-all.ru/3.4/library/doctest.html#what-about-exceptions)2797        - [26.2.3.5. Флаги опций](https://python-all.ru/3.4/library/doctest.html#option-flags)2798        - [26.2.3.6. Директивы](https://python-all.ru/3.4/library/doctest.html#directives)2799        - [26.2.3.7. Предупреждения](https://python-all.ru/3.4/library/doctest.html#warnings)2800      - [26.2.4. Базовый API](https://python-all.ru/3.4/library/doctest.html#basic-api)2801      - [26.2.5. Unittest API](https://python-all.ru/3.4/library/doctest.html#unittest-api)2802      - [26.2.6. Расширенный API](https://python-all.ru/3.4/library/doctest.html#advanced-api)28032804        - [26.2.6.1. Объекты DocTest](https://python-all.ru/3.4/library/doctest.html#doctest-objects)2805        - [26.2.6.2. Объекты Example](https://python-all.ru/3.4/library/doctest.html#example-objects)2806        - [26.2.6.3. Объекты DocTestFinder](https://python-all.ru/3.4/library/doctest.html#doctestfinder-objects)2807        - [26.2.6.4. Объекты DocTestParser](https://python-all.ru/3.4/library/doctest.html#doctestparser-objects)2808        - [26.2.6.5. Объекты DocTestRunner](https://python-all.ru/3.4/library/doctest.html#doctestrunner-objects)2809        - [26.2.6.6. Объекты OutputChecker](https://python-all.ru/3.4/library/doctest.html#outputchecker-objects)2810      - [26.2.7. Отладка](https://python-all.ru/3.4/library/doctest.html#debugging)2811      - [26.2.8. Soapbox](https://python-all.ru/3.4/library/doctest.html#soapbox)2812    - [26.3. `unittest` – Фреймворк для модульного тестирования](https://python-all.ru/3.4/library/unittest.html)28132814      - [26.3.1. Базовый пример](https://python-all.ru/3.4/library/unittest.html#basic-example)2815      - [26.3.2. Интерфейс командной строки](https://python-all.ru/3.4/library/unittest.html#command-line-interface)28162817        - [26.3.2.1. Параметры командной строки](https://python-all.ru/3.4/library/unittest.html#command-line-options)2818      - [26.3.3. Обнаружение тестов](https://python-all.ru/3.4/library/unittest.html#test-discovery)2819      - [26.3.4. Организация тестового кода](https://python-all.ru/3.4/library/unittest.html#organizing-test-code)2820      - [26.3.5. Повторное использование старого тестового кода](https://python-all.ru/3.4/library/unittest.html#re-using-old-test-code)2821      - [26.3.6. Пропуск тестов и ожидаемые сбои](https://python-all.ru/3.4/library/unittest.html#skipping-tests-and-expected-failures)2822      - [26.3.7. Различение итераций тестов с помощью подтестов](https://python-all.ru/3.4/library/unittest.html#distinguishing-test-iterations-using-subtests)2823      - [26.3.8. Классы и функции](https://python-all.ru/3.4/library/unittest.html#classes-and-functions)28242825        - [26.3.8.1. Тестовые случаи](https://python-all.ru/3.4/library/unittest.html#test-cases)28262827          - [26.3.8.1.1. Устаревшие псевдонимы](https://python-all.ru/3.4/library/unittest.html#deprecated-aliases)2828        - [26.3.8.2. Группировка тестов](https://python-all.ru/3.4/library/unittest.html#grouping-tests)2829        - [26.3.8.3. Загрузка и запуск тестов](https://python-all.ru/3.4/library/unittest.html#loading-and-running-tests)28302831          - [26.3.8.3.1. Протокол load\_tests](https://python-all.ru/3.4/library/unittest.html#load-tests-protocol)2832      - [26.3.9. Фикстуры классов и модулей](https://python-all.ru/3.4/library/unittest.html#class-and-module-fixtures)28332834        - [26.3.9.1. setUpClass и tearDownClass](https://python-all.ru/3.4/library/unittest.html#setupclass-and-teardownclass)2835        - [26.3.9.2. setUpModule и tearDownModule](https://python-all.ru/3.4/library/unittest.html#setupmodule-and-teardownmodule)2836      - [26.3.10. Обработка сигналов](https://python-all.ru/3.4/library/unittest.html#signal-handling)2837    - [26.4. `unittest.mock` – библиотека mock-объектов](https://python-all.ru/3.4/library/unittest.mock.html)28382839      - [26.4.1. Краткое руководство](https://python-all.ru/3.4/library/unittest.mock.html#quick-guide)2840      - [26.4.2. Класс Mock](https://python-all.ru/3.4/library/unittest.mock.html#the-mock-class)28412842        - [26.4.2.1. Вызов](https://python-all.ru/3.4/library/unittest.mock.html#calling)2843        - [26.4.2.2. Удаление атрибутов](https://python-all.ru/3.4/library/unittest.mock.html#deleting-attributes)2844        - [26.4.2.3. Имена mock и атрибут name](https://python-all.ru/3.4/library/unittest.mock.html#mock-names-and-the-name-attribute)2845        - [26.4.2.4. Прикрепление имитирующих объектов как атрибутов](https://python-all.ru/3.4/library/unittest.mock.html#attaching-mocks-as-attributes)2846      - [26.4.3. Патчеры](https://python-all.ru/3.4/library/unittest.mock.html#the-patchers)28472848        - [26.4.3.1. patch](https://python-all.ru/3.4/library/unittest.mock.html#patch)2849        - [26.4.3.2. patch.object](https://python-all.ru/3.4/library/unittest.mock.html#patch-object)2850        - [26.4.3.3. patch.dict](https://python-all.ru/3.4/library/unittest.mock.html#patch-dict)2851        - [26.4.3.4. patch.multiple](https://python-all.ru/3.4/library/unittest.mock.html#patch-multiple)2852        - [26.4.3.5. Методы patch: start и stop](https://python-all.ru/3.4/library/unittest.mock.html#patch-methods-start-and-stop)2853        - [26.4.3.6. TEST\_PREFIX](https://python-all.ru/3.4/library/unittest.mock.html#test-prefix)2854        - [26.4.3.7. Вложение декораторов patch](https://python-all.ru/3.4/library/unittest.mock.html#nesting-patch-decorators)2855        - [26.4.3.8. Где выполнять patch](https://python-all.ru/3.4/library/unittest.mock.html#where-to-patch)2856        - [26.4.3.9. Патчинг дескрипторов и прокси-объектов](https://python-all.ru/3.4/library/unittest.mock.html#patching-descriptors-and-proxy-objects)2857      - [26.4.4. MagicMock и поддержка магических методов](https://python-all.ru/3.4/library/unittest.mock.html#magicmock-and-magic-method-support)28582859        - [26.4.4.1. Имитация магических методов](https://python-all.ru/3.4/library/unittest.mock.html#mocking-magic-methods)2860        - [26.4.4.2. Magic Mock](https://python-all.ru/3.4/library/unittest.mock.html#magic-mock)2861      - [26.4.5. Вспомогательные объекты](https://python-all.ru/3.4/library/unittest.mock.html#helpers)28622863        - [26.4.5.1. sentinel](https://python-all.ru/3.4/library/unittest.mock.html#sentinel)2864        - [26.4.5.2. DEFAULT](https://python-all.ru/3.4/library/unittest.mock.html#default)2865        - [26.4.5.3. call](https://python-all.ru/3.4/library/unittest.mock.html#call)2866        - [26.4.5.4. create\_autospec](https://python-all.ru/3.4/library/unittest.mock.html#create-autospec)2867        - [26.4.5.5. ANY](https://python-all.ru/3.4/library/unittest.mock.html#any)2868        - [26.4.5.6. FILTER\_DIR](https://python-all.ru/3.4/library/unittest.mock.html#filter-dir)2869        - [26.4.5.7. mock\_open](https://python-all.ru/3.4/library/unittest.mock.html#mock-open)2870        - [26.4.5.8. Автоспецификация](https://python-all.ru/3.4/library/unittest.mock.html#autospeccing)2871    - [26.5. `unittest.mock` – начало работы](https://python-all.ru/3.4/library/unittest.mock-examples.html)28722873      - [26.5.1. Использование Mock](https://python-all.ru/3.4/library/unittest.mock-examples.html#using-mock)28742875        - [26.5.1.1. Подмена методов с помощью Mock](https://python-all.ru/3.4/library/unittest.mock-examples.html#mock-patching-methods)2876        - [26.5.1.2. Mock для вызовов методов объекта](https://python-all.ru/3.4/library/unittest.mock-examples.html#mock-for-method-calls-on-an-object)2877        - [26.5.1.3. Подмена классов](https://python-all.ru/3.4/library/unittest.mock-examples.html#mocking-classes)2878        - [26.5.1.4. Именование имитирующих объектов](https://python-all.ru/3.4/library/unittest.mock-examples.html#naming-your-mocks)2879        - [26.5.1.5. Отслеживание всех вызовов](https://python-all.ru/3.4/library/unittest.mock-examples.html#tracking-all-calls)2880        - [26.5.1.6. Установка возвращаемых значений и атрибутов](https://python-all.ru/3.4/library/unittest.mock-examples.html#setting-return-values-and-attributes)2881        - [26.5.1.7. Генерация исключений с помощью имитирующих объектов](https://python-all.ru/3.4/library/unittest.mock-examples.html#raising-exceptions-with-mocks)2882        - [26.5.1.8. Функции и итерируемые объекты для побочных эффектов](https://python-all.ru/3.4/library/unittest.mock-examples.html#side-effect-functions-and-iterables)2883        - [26.5.1.9. Создание Mock из существующего объекта](https://python-all.ru/3.4/library/unittest.mock-examples.html#creating-a-mock-from-an-existing-object)2884      - [26.5.2. Декораторы подмены](https://python-all.ru/3.4/library/unittest.mock-examples.html#patch-decorators)2885      - [26.5.3. Дополнительные примеры](https://python-all.ru/3.4/library/unittest.mock-examples.html#further-examples)28862887        - [26.5.3.1. Подмена цепочечных вызовов](https://python-all.ru/3.4/library/unittest.mock-examples.html#mocking-chained-calls)2888        - [26.5.3.2. Частичная подмена](https://python-all.ru/3.4/library/unittest.mock-examples.html#partial-mocking)2889        - [26.5.3.3. Подмена метода-генератора](https://python-all.ru/3.4/library/unittest.mock-examples.html#mocking-a-generator-method)2890        - [26.5.3.4. Применение одной и той же подмены к каждому тестовому методу](https://python-all.ru/3.4/library/unittest.mock-examples.html#applying-the-same-patch-to-every-test-method)2891        - [26.5.3.5. Подмена несвязанных методов](https://python-all.ru/3.4/library/unittest.mock-examples.html#mocking-unbound-methods)2892        - [26.5.3.6. Проверка нескольких вызовов с помощью mock](https://python-all.ru/3.4/library/unittest.mock-examples.html#checking-multiple-calls-with-mock)2893        - [26.5.3.7. Работа с изменяемыми аргументами](https://python-all.ru/3.4/library/unittest.mock-examples.html#coping-with-mutable-arguments)2894        - [26.5.3.8. Вложение подмен](https://python-all.ru/3.4/library/unittest.mock-examples.html#nesting-patches)2895        - [26.5.3.9. Подмена словаря с помощью MagicMock](https://python-all.ru/3.4/library/unittest.mock-examples.html#mocking-a-dictionary-with-magicmock)2896        - [26.5.3.10. Подклассы Mock и их атрибуты](https://python-all.ru/3.4/library/unittest.mock-examples.html#mock-subclasses-and-their-attributes)2897        - [26.5.3.11. Подмена импортов с помощью patch.dict](https://python-all.ru/3.4/library/unittest.mock-examples.html#mocking-imports-with-patch-dict)2898        - [26.5.3.12. Отслеживание порядка вызовов и компактные проверки вызовов](https://python-all.ru/3.4/library/unittest.mock-examples.html#tracking-order-of-calls-and-less-verbose-call-assertions)2899        - [26.5.3.13. Более сложное сопоставление аргументов](https://python-all.ru/3.4/library/unittest.mock-examples.html#more-complex-argument-matching)2900    - [26.6. 2to3 – автоматическое преобразование кода Python 2 в 3](https://python-all.ru/3.4/library/2to3.html)29012902      - [26.6.1. Использование 2to3](https://python-all.ru/3.4/library/2to3.html#using-2to3)2903      - [26.6.2. Fixers](https://python-all.ru/3.4/library/2to3.html#fixers)2904      - [26.6.3. `lib2to3` - библиотека 2to3](https://python-all.ru/3.4/library/2to3.html#module-lib2to3)2905    - [26.7. `test` – пакет регрессионного тестирования для Python](https://python-all.ru/3.4/library/test.html)29062907      - [26.7.1. Написание модульных тестов для пакета `test`](https://python-all.ru/3.4/library/test.html#writing-unit-tests-for-the-test-package)2908      - [26.7.2. Запуск тестов через интерфейс командной строки](https://python-all.ru/3.4/library/test.html#running-tests-using-the-command-line-interface)2909    - [26.8. `test.support` – утилиты для набора тестов Python](https://python-all.ru/3.4/library/test.html#module-test.support)2910  - [27. Отладка и профилирование](https://python-all.ru/3.4/library/debug.html)29112912    - [27.1. `bdb` – Фреймворк отладчика](https://python-all.ru/3.4/library/bdb.html)2913    - [27.2. `faulthandler` – Дамп трассировки Python](https://python-all.ru/3.4/library/faulthandler.html)29142915      - [27.2.1. Дамп трассировки](https://python-all.ru/3.4/library/faulthandler.html#dumping-the-traceback)2916      - [27.2.2. Состояние обработчика сбоев](https://python-all.ru/3.4/library/faulthandler.html#fault-handler-state)2917      - [27.2.3. Дамп трассировок после тайм-аута](https://python-all.ru/3.4/library/faulthandler.html#dumping-the-tracebacks-after-a-timeout)2918      - [27.2.4. Дамп трассировки по пользовательскому сигналу](https://python-all.ru/3.4/library/faulthandler.html#dumping-the-traceback-on-a-user-signal)2919      - [27.2.5. Проблема с файловыми дескрипторами](https://python-all.ru/3.4/library/faulthandler.html#issue-with-file-descriptors)2920      - [27.2.6. Пример](https://python-all.ru/3.4/library/faulthandler.html#example)2921    - [27.3. `pdb` – Отладчик Python](https://python-all.ru/3.4/library/pdb.html)29222923      - [27.3.1. Команды отладчика](https://python-all.ru/3.4/library/pdb.html#debugger-commands)2924    - [27.4. Профилировщики Python](https://python-all.ru/3.4/library/profile.html)29252926      - [27.4.1. Введение в профилировщики](https://python-all.ru/3.4/library/profile.html#introduction-to-the-profilers)2927      - [27.4.2. Краткое руководство пользователя](https://python-all.ru/3.4/library/profile.html#instant-user-s-manual)2928      - [27.4.3. `profile` и `cProfile` Справочник модулей](https://python-all.ru/3.4/library/profile.html#module-cProfile)2929      - [27.4.4. Класс `Stats`](https://python-all.ru/3.4/library/profile.html#the-stats-class)2930      - [27.4.5. Что такое детерминированное профилирование?](https://python-all.ru/3.4/library/profile.html#what-is-deterministic-profiling)2931      - [27.4.6. Ограничения](https://python-all.ru/3.4/library/profile.html#limitations)2932      - [27.4.7. Калибровка](https://python-all.ru/3.4/library/profile.html#calibration)2933      - [27.4.8. Использование пользовательского таймера](https://python-all.ru/3.4/library/profile.html#using-a-custom-timer)2934    - [27.5. `timeit` – Измерение времени выполнения небольших фрагментов кода](https://python-all.ru/3.4/library/timeit.html)29352936      - [27.5.1. Основные примеры](https://python-all.ru/3.4/library/timeit.html#basic-examples)2937      - [27.5.2. Интерфейс Python](https://python-all.ru/3.4/library/timeit.html#python-interface)2938      - [27.5.3. Интерфейс командной строки](https://python-all.ru/3.4/library/timeit.html#command-line-interface)2939      - [27.5.4. Примеры](https://python-all.ru/3.4/library/timeit.html#examples)2940    - [27.6. `trace` – Трассировка или отслеживание выполнения инструкций Python](https://python-all.ru/3.4/library/trace.html)29412942      - [27.6.1. Использование командной строки](https://python-all.ru/3.4/library/trace.html#command-line-usage)29432944        - [27.6.1.1. Основные параметры](https://python-all.ru/3.4/library/trace.html#main-options)2945        - [27.6.1.2. Модификаторы](https://python-all.ru/3.4/library/trace.html#modifiers)2946        - [27.6.1.3. Фильтры](https://python-all.ru/3.4/library/trace.html#filters)2947      - [27.6.2. Программный интерфейс](https://python-all.ru/3.4/library/trace.html#programmatic-interface)2948    - [27.7. `tracemalloc` – Трассировка выделений памяти](https://python-all.ru/3.4/library/tracemalloc.html)29492950      - [27.7.1. Примеры](https://python-all.ru/3.4/library/tracemalloc.html#examples)29512952        - [27.7.1.1. Отображение топ-10](https://python-all.ru/3.4/library/tracemalloc.html#display-the-top-10)2953        - [27.7.1.2. Вычисление различий](https://python-all.ru/3.4/library/tracemalloc.html#compute-differences)2954        - [27.7.1.3. Получение трассировки блока памяти](https://python-all.ru/3.4/library/tracemalloc.html#get-the-traceback-of-a-memory-block)2955        - [27.7.1.4. Удобный топ](https://python-all.ru/3.4/library/tracemalloc.html#pretty-top)2956      - [27.7.2. API](https://python-all.ru/3.4/library/tracemalloc.html#api)29572958        - [27.7.2.1. Функции](https://python-all.ru/3.4/library/tracemalloc.html#functions)2959        - [27.7.2.2. Фильтр](https://python-all.ru/3.4/library/tracemalloc.html#filter)2960        - [27.7.2.3. Фрейм](https://python-all.ru/3.4/library/tracemalloc.html#frame)2961        - [27.7.2.4. Снимок](https://python-all.ru/3.4/library/tracemalloc.html#snapshot)2962        - [27.7.2.5. Статистика](https://python-all.ru/3.4/library/tracemalloc.html#statistic)2963        - [27.7.2.6. Разница статистик](https://python-all.ru/3.4/library/tracemalloc.html#statisticdiff)2964        - [27.7.2.7. Трассировка](https://python-all.ru/3.4/library/tracemalloc.html#trace)2965        - [27.7.2.8. Обратная трассировка](https://python-all.ru/3.4/library/tracemalloc.html#traceback)2966  - [28. Упаковка и распространение программного обеспечения](https://python-all.ru/3.4/library/distribution.html)29672968    - [28.1. `distutils` – Сборка и установка модулей Python](https://python-all.ru/3.4/library/distutils.html)2969    - [28.2. `ensurepip` – Начальная загрузка установщика `pip`](https://python-all.ru/3.4/library/ensurepip.html)29702971      - [28.2.1. Интерфейс командной строки](https://python-all.ru/3.4/library/ensurepip.html#command-line-interface)2972      - [28.2.2. API модуля](https://python-all.ru/3.4/library/ensurepip.html#module-api)2973    - [28.3. `venv` – Создание виртуальных окружений](https://python-all.ru/3.4/library/venv.html)29742975      - [28.3.1. Создание виртуальных окружений](https://python-all.ru/3.4/library/venv.html#creating-virtual-environments)2976      - [28.3.2. API](https://python-all.ru/3.4/library/venv.html#api)2977      - [28.3.3. Пример расширения `EnvBuilder`](https://python-all.ru/3.4/library/venv.html#an-example-of-extending-envbuilder)2978  - [29. Службы времени выполнения Python](https://python-all.ru/3.4/library/python.html)29792980    - [29.1. `sys` – Системно-зависимые параметры и функции](https://python-all.ru/3.4/library/sys.html)2981    - [29.2. `sysconfig` – Предоставление доступа к информации о конфигурации Python](https://python-all.ru/3.4/library/sysconfig.html)29822983      - [29.2.1. Переменные конфигурации](https://python-all.ru/3.4/library/sysconfig.html#configuration-variables)2984      - [29.2.2. Пути установки](https://python-all.ru/3.4/library/sysconfig.html#installation-paths)2985      - [29.2.3. Другие функции](https://python-all.ru/3.4/library/sysconfig.html#other-functions)2986      - [29.2.4. Использование `sysconfig` в качестве скрипта](https://python-all.ru/3.4/library/sysconfig.html#using-sysconfig-as-a-script)2987    - [29.3. `builtins` – Встроенные объекты](https://python-all.ru/3.4/library/builtins.html)2988    - [29.4. `__main__` – Среда скрипта верхнего уровня](https://python-all.ru/3.4/library/__main__.html)2989    - [29.5. `warnings` – Управление предупреждениями](https://python-all.ru/3.4/library/warnings.html)29902991      - [29.5.1. Категории предупреждений](https://python-all.ru/3.4/library/warnings.html#warning-categories)2992      - [29.5.2. Фильтр предупреждений](https://python-all.ru/3.4/library/warnings.html#the-warnings-filter)29932994        - [29.5.2.1. Фильтры предупреждений по умолчанию](https://python-all.ru/3.4/library/warnings.html#default-warning-filters)2995      - [29.5.3. Временное подавление предупреждений](https://python-all.ru/3.4/library/warnings.html#temporarily-suppressing-warnings)2996      - [29.5.4. Тестирование предупреждений](https://python-all.ru/3.4/library/warnings.html#testing-warnings)2997      - [29.5.5. Обновление кода для новых версий Python](https://python-all.ru/3.4/library/warnings.html#updating-code-for-new-versions-of-python)2998      - [29.5.6. Доступные функции](https://python-all.ru/3.4/library/warnings.html#available-functions)2999      - [29.5.7. Доступные менеджеры контекста](https://python-all.ru/3.4/library/warnings.html#available-context-managers)3000    - [29.6. `contextlib` – Утилиты для контекстов оператора `with`](https://python-all.ru/3.4/library/contextlib.html)30013002      - [29.6.1. Утилиты](https://python-all.ru/3.4/library/contextlib.html#utilities)3003      - [29.6.2. Примеры и рецепты](https://python-all.ru/3.4/library/contextlib.html#examples-and-recipes)30043005        - [29.6.2.1. Поддержка переменного числа менеджеров контекста](https://python-all.ru/3.4/library/contextlib.html#supporting-a-variable-number-of-context-managers)3006        - [29.6.2.2. Упрощение поддержки одного необязательного менеджера контекста](https://python-all.ru/3.4/library/contextlib.html#simplifying-support-for-single-optional-context-managers)3007        - [29.6.2.3. Перехват исключений из методов `__enter__`](https://python-all.ru/3.4/library/contextlib.html#catching-exceptions-from-enter-methods)3008        - [29.6.2.4. Очистка в реализации `__enter__`](https://python-all.ru/3.4/library/contextlib.html#cleaning-up-in-an-enter-implementation)3009        - [29.6.2.5. Замена любого использования `try-finally` и флаговых переменных](https://python-all.ru/3.4/library/contextlib.html#replacing-any-use-of-try-finally-and-flag-variables)3010        - [29.6.2.6. Использование менеджера контекста в качестве декоратора функции](https://python-all.ru/3.4/library/contextlib.html#using-a-context-manager-as-a-function-decorator)3011      - [29.6.3. Менеджеры контекста однократного использования, многократного использования и повторно входимые](https://python-all.ru/3.4/library/contextlib.html#single-use-reusable-and-reentrant-context-managers)30123013        - [29.6.3.1. Повторно входимые менеджеры контекста](https://python-all.ru/3.4/library/contextlib.html#reentrant-context-managers)3014        - [29.6.3.2. Менеджеры контекста многократного использования](https://python-all.ru/3.4/library/contextlib.html#reusable-context-managers)3015    - [29.7. `abc` – Абстрактные базовые классы](https://python-all.ru/3.4/library/abc.html)3016    - [29.8. `atexit` – Обработчики завершения](https://python-all.ru/3.4/library/atexit.html)30173018      - [29.8.1. Пример `atexit`](https://python-all.ru/3.4/library/atexit.html#atexit-example)3019    - [29.9. `traceback` – Печать или получение трассировки стека](https://python-all.ru/3.4/library/traceback.html)30203021      - [29.9.1. Примеры трассировки](https://python-all.ru/3.4/library/traceback.html#traceback-examples)3022    - [29.10. `__future__` – Определения операторов future](https://python-all.ru/3.4/library/__future__.html)3023    - [29.11. `gc` – Интерфейс сборщика мусора](https://python-all.ru/3.4/library/gc.html)3024    - [29.12. `inspect` – Инспектирование активных объектов](https://python-all.ru/3.4/library/inspect.html)30253026      - [29.12.1. Типы и члены](https://python-all.ru/3.4/library/inspect.html#types-and-members)3027      - [29.12.2. Получение исходного кода](https://python-all.ru/3.4/library/inspect.html#retrieving-source-code)3028      - [29.12.3. Интроспекция вызываемых объектов с помощью объекта Signature](https://python-all.ru/3.4/library/inspect.html#introspecting-callables-with-the-signature-object)3029      - [29.12.4. Классы и функции](https://python-all.ru/3.4/library/inspect.html#classes-and-functions)3030      - [29.12.5. Стек интерпретатора](https://python-all.ru/3.4/library/inspect.html#the-interpreter-stack)3031      - [29.12.6. Статическое получение атрибутов](https://python-all.ru/3.4/library/inspect.html#fetching-attributes-statically)3032      - [29.12.7. Текущее состояние генератора](https://python-all.ru/3.4/library/inspect.html#current-state-of-a-generator)3033      - [29.12.8. Интерфейс командной строки](https://python-all.ru/3.4/library/inspect.html#command-line-interface)3034    - [29.13. `site` – Хук конфигурации для конкретного сайта](https://python-all.ru/3.4/library/site.html)30353036      - [29.13.1. Конфигурация Readline](https://python-all.ru/3.4/library/site.html#readline-configuration)3037      - [29.13.2. Содержимое модуля](https://python-all.ru/3.4/library/site.html#module-contents)3038    - [29.14. `fpectl` – Управление исключениями с плавающей запятой](https://python-all.ru/3.4/library/fpectl.html)30393040      - [29.14.1. Пример](https://python-all.ru/3.4/library/fpectl.html#example)3041      - [29.14.2. Ограничения и прочие замечания](https://python-all.ru/3.4/library/fpectl.html#limitations-and-other-considerations)3042  - [30. Пользовательские интерпретаторы Python](https://python-all.ru/3.4/library/custominterp.html)30433044    - [30.1. `code` – Базовые классы интерпретатора](https://python-all.ru/3.4/library/code.html)30453046      - [30.1.1. Объекты интерактивного интерпретатора](https://python-all.ru/3.4/library/code.html#interactive-interpreter-objects)3047      - [30.1.2. Объекты интерактивной консоли](https://python-all.ru/3.4/library/code.html#interactive-console-objects)3048    - [30.2. `codeop` – Компиляция кода Python](https://python-all.ru/3.4/library/codeop.html)3049  - [31. Импорт модулей](https://python-all.ru/3.4/library/modules.html)30503051    - [31.1. `zipimport` – Импорт модулей из Zip-архивов](https://python-all.ru/3.4/library/zipimport.html)30523053      - [31.1.1. Объекты zipimporter](https://python-all.ru/3.4/library/zipimport.html#zipimporter-objects)3054      - [31.1.2. Примеры](https://python-all.ru/3.4/library/zipimport.html#examples)3055    - [31.2. `pkgutil` – Утилита расширения пакетов](https://python-all.ru/3.4/library/pkgutil.html)3056    - [31.3. `modulefinder` – Поиск модулей, используемых скриптом](https://python-all.ru/3.4/library/modulefinder.html)30573058      - [31.3.1. Пример использования `ModuleFinder`](https://python-all.ru/3.4/library/modulefinder.html#example-usage-of-modulefinder)3059    - [31.4. `runpy` – Поиск и выполнение модулей Python](https://python-all.ru/3.4/library/runpy.html)3060    - [31.5. `importlib` – Реализация `import`](https://python-all.ru/3.4/library/importlib.html)30613062      - [31.5.1. Введение](https://python-all.ru/3.4/library/importlib.html#introduction)3063      - [31.5.2. Функции](https://python-all.ru/3.4/library/importlib.html#functions)3064      - [31.5.3. `importlib.abc` – Абстрактные базовые классы, связанные с импортом](https://python-all.ru/3.4/library/importlib.html#module-importlib.abc)3065      - [31.5.4. `importlib.machinery` – Импортеры и хуки путей](https://python-all.ru/3.4/library/importlib.html#module-importlib.machinery)3066      - [31.5.5. `importlib.util` – Вспомогательный код для импортеров](https://python-all.ru/3.4/library/importlib.html#module-importlib.util)3067  - [32. Службы языка Python](https://python-all.ru/3.4/library/language.html)30683069    - [32.1. `parser` – Доступ к деревьям разбора Python](https://python-all.ru/3.4/library/parser.html)30703071      - [32.1.1. Создание объектов ST](https://python-all.ru/3.4/library/parser.html#creating-st-objects)3072      - [32.1.2. Преобразование объектов ST](https://python-all.ru/3.4/library/parser.html#converting-st-objects)3073      - [32.1.3. Запросы к объектам ST](https://python-all.ru/3.4/library/parser.html#queries-on-st-objects)3074      - [32.1.4. Исключения и обработка ошибок](https://python-all.ru/3.4/library/parser.html#exceptions-and-error-handling)3075      - [32.1.5. Объекты ST](https://python-all.ru/3.4/library/parser.html#st-objects)3076      - [32.1.6. Пример: эмуляция `compile()`](https://python-all.ru/3.4/library/parser.html#example-emulation-of-compile)3077    - [32.2. `ast` – Абстрактные синтаксические деревья](https://python-all.ru/3.4/library/ast.html)30783079      - [32.2.1. Классы узлов](https://python-all.ru/3.4/library/ast.html#node-classes)3080      - [32.2.2. Абстрактная грамматика](https://python-all.ru/3.4/library/ast.html#abstract-grammar)3081      - [32.2.3. `ast` Вспомогательные функции](https://python-all.ru/3.4/library/ast.html#ast-helpers)3082    - [32.3. `symtable` – Доступ к таблицам символов компилятора](https://python-all.ru/3.4/library/symtable.html)30833084      - [32.3.1. Генерация таблиц символов](https://python-all.ru/3.4/library/symtable.html#generating-symbol-tables)3085      - [32.3.2. Анализ таблиц символов](https://python-all.ru/3.4/library/symtable.html#examining-symbol-tables)3086    - [32.4. `symbol` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.4/library/symbol.html)3087    - [32.5. `token` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.4/library/token.html)3088    - [32.6. `keyword` – Проверка ключевых слов Python](https://python-all.ru/3.4/library/keyword.html)3089    - [32.7. `tokenize` – Токенизатор исходного кода Python](https://python-all.ru/3.4/library/tokenize.html)30903091      - [32.7.1. Токенизация ввода](https://python-all.ru/3.4/library/tokenize.html#tokenizing-input)3092      - [32.7.2. Использование из командной строки](https://python-all.ru/3.4/library/tokenize.html#command-line-usage)3093      - [32.7.3. Примеры](https://python-all.ru/3.4/library/tokenize.html#examples)3094    - [32.8. `tabnanny` – Обнаружение неоднозначных отступов](https://python-all.ru/3.4/library/tabnanny.html)3095    - [32.9. `pyclbr` – Поддержка браузера классов Python](https://python-all.ru/3.4/library/pyclbr.html)30963097      - [32.9.1. Объекты классов](https://python-all.ru/3.4/library/pyclbr.html#class-objects)3098      - [32.9.2. Объекты функций](https://python-all.ru/3.4/library/pyclbr.html#function-objects)3099    - [32.10. `py_compile` – Компиляция исходных файлов Python](https://python-all.ru/3.4/library/py_compile.html)3100    - [32.11. `compileall` – Байтовая компиляция библиотек Python](https://python-all.ru/3.4/library/compileall.html)31013102      - [32.11.1. Использование командной строки](https://python-all.ru/3.4/library/compileall.html#command-line-use)3103      - [32.11.2. Публичные функции](https://python-all.ru/3.4/library/compileall.html#public-functions)3104    - [32.12. `dis` – Дизассемблер байт-кода Python](https://python-all.ru/3.4/library/dis.html)31053106      - [32.12.1. Анализ байт-кода](https://python-all.ru/3.4/library/dis.html#bytecode-analysis)3107      - [32.12.2. Функции анализа](https://python-all.ru/3.4/library/dis.html#analysis-functions)3108      - [32.12.3. Инструкции байт-кода Python](https://python-all.ru/3.4/library/dis.html#python-bytecode-instructions)3109      - [32.12.4. Коллекции опкодов](https://python-all.ru/3.4/library/dis.html#opcode-collections)3110    - [32.13. `pickletools` – Инструменты для разработчиков pickle](https://python-all.ru/3.4/library/pickletools.html)31113112      - [32.13.1. Использование командной строки](https://python-all.ru/3.4/library/pickletools.html#command-line-usage)31133114        - [32.13.1.1. Параметры командной строки](https://python-all.ru/3.4/library/pickletools.html#command-line-options)3115      - [32.13.2. Программный интерфейс](https://python-all.ru/3.4/library/pickletools.html#programmatic-interface)3116  - [33. Прочие службы](https://python-all.ru/3.4/library/misc.html)31173118    - [33.1. `formatter` – Общее форматирование вывода](https://python-all.ru/3.4/library/formatter.html)31193120      - [33.1.1. Интерфейс форматировщика](https://python-all.ru/3.4/library/formatter.html#the-formatter-interface)3121      - [33.1.2. Реализации форматировщиков](https://python-all.ru/3.4/library/formatter.html#formatter-implementations)3122      - [33.1.3. Интерфейс записи](https://python-all.ru/3.4/library/formatter.html#the-writer-interface)3123      - [33.1.4. Реализации записывающих объектов](https://python-all.ru/3.4/library/formatter.html#writer-implementations)3124  - [34. Службы для MS Windows](https://python-all.ru/3.4/library/windows.html)31253126    - [34.1. `msilib` – Чтение и запись файлов Microsoft Installer](https://python-all.ru/3.4/library/msilib.html)31273128      - [34.1.1. Объекты базы данных](https://python-all.ru/3.4/library/msilib.html#database-objects)3129      - [34.1.2. Объекты представлений](https://python-all.ru/3.4/library/msilib.html#view-objects)3130      - [34.1.3. Объекты сводной информации](https://python-all.ru/3.4/library/msilib.html#summary-information-objects)3131      - [34.1.4. Объекты записей](https://python-all.ru/3.4/library/msilib.html#record-objects)3132      - [34.1.5. Ошибки](https://python-all.ru/3.4/library/msilib.html#errors)3133      - [34.1.6. Объекты CAB](https://python-all.ru/3.4/library/msilib.html#cab-objects)3134      - [34.1.7. Объекты каталогов](https://python-all.ru/3.4/library/msilib.html#directory-objects)3135      - [34.1.8. Возможности](https://python-all.ru/3.4/library/msilib.html#features)3136      - [34.1.9. Классы GUI](https://python-all.ru/3.4/library/msilib.html#gui-classes)3137      - [34.1.10. Предварительно вычисленные таблицы](https://python-all.ru/3.4/library/msilib.html#precomputed-tables)3138    - [34.2. `msvcrt` – Полезные процедуры из среды выполнения MS VC++](https://python-all.ru/3.4/library/msvcrt.html)31393140      - [34.2.1. Операции с файлами](https://python-all.ru/3.4/library/msvcrt.html#file-operations)3141      - [34.2.2. Консольный ввод/вывод](https://python-all.ru/3.4/library/msvcrt.html#console-i-o)3142      - [34.2.3. Прочие функции](https://python-all.ru/3.4/library/msvcrt.html#other-functions)3143    - [34.3. `winreg` – Доступ к реестру Windows](https://python-all.ru/3.4/library/winreg.html)31443145      - [34.3.1. Функции](https://python-all.ru/3.4/library/winreg.html#functions)3146      - [34.3.2. Константы](https://python-all.ru/3.4/library/winreg.html#constants)31473148        - [34.3.2.1. Константы HKEY\_\*](https://python-all.ru/3.4/library/winreg.html#hkey-constants)3149        - [34.3.2.2. Права доступа](https://python-all.ru/3.4/library/winreg.html#access-rights)31503151          - [34.3.2.2.1. Особенности для 64-разрядных систем](https://python-all.ru/3.4/library/winreg.html#bit-specific)3152        - [34.3.2.3. Типы значений](https://python-all.ru/3.4/library/winreg.html#value-types)3153      - [34.3.3. Объекты дескрипторов реестра](https://python-all.ru/3.4/library/winreg.html#registry-handle-objects)3154    - [34.4. `winsound` – Интерфейс воспроизведения звука для Windows](https://python-all.ru/3.4/library/winsound.html)3155  - [35. Специфичные для Unix службы](https://python-all.ru/3.4/library/unix.html)31563157    - [35.1. `posix` – Наиболее распространённые системные вызовы POSIX](https://python-all.ru/3.4/library/posix.html)31583159      - [35.1.1. Поддержка больших файлов](https://python-all.ru/3.4/library/posix.html#large-file-support)3160      - [35.1.2. Примечательные возможности модуля](https://python-all.ru/3.4/library/posix.html#notable-module-contents)3161    - [35.2. `pwd` – База данных паролей](https://python-all.ru/3.4/library/pwd.html)3162    - [35.3. `spwd` – База данных теневых паролей](https://python-all.ru/3.4/library/spwd.html)3163    - [35.4. `grp` – База данных групп](https://python-all.ru/3.4/library/grp.html)3164    - [35.5. `crypt` – Функция проверки паролей Unix](https://python-all.ru/3.4/library/crypt.html)31653166      - [35.5.1. Методы хеширования](https://python-all.ru/3.4/library/crypt.html#hashing-methods)3167      - [35.5.2. Атрибуты модуля](https://python-all.ru/3.4/library/crypt.html#module-attributes)3168      - [35.5.3. Функции модуля](https://python-all.ru/3.4/library/crypt.html#module-functions)3169      - [35.5.4. Примеры](https://python-all.ru/3.4/library/crypt.html#examples)3170    - [35.6. `termios` – Управление tty в стиле POSIX](https://python-all.ru/3.4/library/termios.html)31713172      - [35.6.1. Пример](https://python-all.ru/3.4/library/termios.html#example)3173    - [35.7. `tty` – Функции управления терминалом](https://python-all.ru/3.4/library/tty.html)3174    - [35.8. `pty` – Утилиты псевдотерминалов](https://python-all.ru/3.4/library/pty.html)31753176      - [35.8.1. Пример](https://python-all.ru/3.4/library/pty.html#example)3177    - [35.9. `fcntl` – Системные вызовы `fcntl` и `ioctl`](https://python-all.ru/3.4/library/fcntl.html)3178    - [35.10. `pipes` – Интерфейс к конвейерам командной оболочки](https://python-all.ru/3.4/library/pipes.html)31793180      - [35.10.1. Шаблонные объекты](https://python-all.ru/3.4/library/pipes.html#template-objects)3181    - [35.11. `resource` – Информация об использовании ресурсов](https://python-all.ru/3.4/library/resource.html)31823183      - [35.11.1. Ограничения ресурсов](https://python-all.ru/3.4/library/resource.html#resource-limits)3184      - [35.11.2. Использование ресурсов](https://python-all.ru/3.4/library/resource.html#resource-usage)3185    - [35.12. `nis` – Интерфейс к NIS (Yellow Pages) от Sun](https://python-all.ru/3.4/library/nis.html)3186    - [35.13. `syslog` – Библиотечные процедуры syslog Unix](https://python-all.ru/3.4/library/syslog.html)31873188      - [35.13.1. Примеры](https://python-all.ru/3.4/library/syslog.html#examples)31893190        - [35.13.1.1. Простой пример](https://python-all.ru/3.4/library/syslog.html#simple-example)3191  - [36. Замещённые модули](https://python-all.ru/3.4/library/superseded.html)31923193    - [36.1. `optparse` – Парсер параметров командной строки](https://python-all.ru/3.4/library/optparse.html)31943195      - [36.1.1. Предыстория](https://python-all.ru/3.4/library/optparse.html#background)31963197        - [36.1.1.1. Терминология](https://python-all.ru/3.4/library/optparse.html#terminology)3198        - [36.1.1.2. Для чего нужны опции?](https://python-all.ru/3.4/library/optparse.html#what-are-options-for)3199        - [36.1.1.3. Для чего нужны позиционные аргументы?](https://python-all.ru/3.4/library/optparse.html#what-are-positional-arguments-for)3200      - [36.1.2. Учебное пособие](https://python-all.ru/3.4/library/optparse.html#tutorial)32013202        - [36.1.2.1. Понимание действий опций](https://python-all.ru/3.4/library/optparse.html#understanding-option-actions)3203        - [36.1.2.2. Действие store](https://python-all.ru/3.4/library/optparse.html#the-store-action)3204        - [36.1.2.3. Обработка булевых (флаговых) опций](https://python-all.ru/3.4/library/optparse.html#handling-boolean-flag-options)3205        - [36.1.2.4. Другие действия](https://python-all.ru/3.4/library/optparse.html#other-actions)3206        - [36.1.2.5. Значения по умолчанию](https://python-all.ru/3.4/library/optparse.html#default-values)3207        - [36.1.2.6. Генерация справки](https://python-all.ru/3.4/library/optparse.html#generating-help)32083209          - [36.1.2.6.1. Группировка опций](https://python-all.ru/3.4/library/optparse.html#grouping-options)3210        - [36.1.2.7. Вывод строки версии](https://python-all.ru/3.4/library/optparse.html#printing-a-version-string)3211        - [36.1.2.8. Как `optparse` обрабатывает ошибки](https://python-all.ru/3.4/library/optparse.html#how-optparse-handles-errors)3212        - [36.1.2.9. Собираем всё вместе](https://python-all.ru/3.4/library/optparse.html#putting-it-all-together)3213      - [36.1.3. Справочное руководство](https://python-all.ru/3.4/library/optparse.html#reference-guide)32143215        - [36.1.3.1. Создание парсера](https://python-all.ru/3.4/library/optparse.html#creating-the-parser)3216        - [36.1.3.2. Наполнение парсера](https://python-all.ru/3.4/library/optparse.html#populating-the-parser)3217        - [36.1.3.3. Определение опций](https://python-all.ru/3.4/library/optparse.html#defining-options)3218        - [36.1.3.4. Атрибуты опций](https://python-all.ru/3.4/library/optparse.html#option-attributes)3219        - [36.1.3.5. Стандартные действия опций](https://python-all.ru/3.4/library/optparse.html#standard-option-actions)3220        - [36.1.3.6. Стандартные типы опций](https://python-all.ru/3.4/library/optparse.html#standard-option-types)3221        - [36.1.3.7. Разбор аргументов](https://python-all.ru/3.4/library/optparse.html#parsing-arguments)3222        - [36.1.3.8. Запросы и управление парсером опций](https://python-all.ru/3.4/library/optparse.html#querying-and-manipulating-your-option-parser)3223        - [36.1.3.9. Конфликты между опциями](https://python-all.ru/3.4/library/optparse.html#conflicts-between-options)3224        - [36.1.3.10. Очистка](https://python-all.ru/3.4/library/optparse.html#cleanup)3225        - [36.1.3.11. Другие методы](https://python-all.ru/3.4/library/optparse.html#other-methods)3226      - [36.1.4. Колбэки опций](https://python-all.ru/3.4/library/optparse.html#option-callbacks)32273228        - [36.1.4.1. Определение опции с колбэком](https://python-all.ru/3.4/library/optparse.html#defining-a-callback-option)3229        - [36.1.4.2. Как вызываются колбэки](https://python-all.ru/3.4/library/optparse.html#how-callbacks-are-called)3230        - [36.1.4.3. Возбуждение ошибок в колбэке](https://python-all.ru/3.4/library/optparse.html#raising-errors-in-a-callback)3231        - [36.1.4.4. Пример колбэка 1: тривиальный колбэк](https://python-all.ru/3.4/library/optparse.html#callback-example-1-trivial-callback)3232        - [36.1.4.5. Пример колбэка 2: проверка порядка опций](https://python-all.ru/3.4/library/optparse.html#callback-example-2-check-option-order)3233        - [36.1.4.6. Пример колбэка 3: проверка порядка опций (обобщённая)](https://python-all.ru/3.4/library/optparse.html#callback-example-3-check-option-order-generalized)3234        - [36.1.4.7. Пример колбэка 4: проверка произвольного условия](https://python-all.ru/3.4/library/optparse.html#callback-example-4-check-arbitrary-condition)3235        - [36.1.4.8. Пример колбэка 5: фиксированные аргументы](https://python-all.ru/3.4/library/optparse.html#callback-example-5-fixed-arguments)3236        - [36.1.4.9. Пример колбэка 6: переменное число аргументов](https://python-all.ru/3.4/library/optparse.html#callback-example-6-variable-arguments)3237      - [36.1.5. Расширение `optparse`](https://python-all.ru/3.4/library/optparse.html#extending-optparse)32383239        - [36.1.5.1. Добавление новых типов](https://python-all.ru/3.4/library/optparse.html#adding-new-types)3240        - [36.1.5.2. Добавление новых действий](https://python-all.ru/3.4/library/optparse.html#adding-new-actions)3241    - [36.2. `imp` – Доступ к внутренним механизмам `import`](https://python-all.ru/3.4/library/imp.html)32423243      - [36.2.1. Примеры](https://python-all.ru/3.4/library/imp.html#examples)3244  - [37. Незадокументированные модули](https://python-all.ru/3.4/library/undoc.html)32453246    - [37.1. Платформозависимые модули](https://python-all.ru/3.4/library/undoc.html#platform-specific-modules)3247- [Расширение и встраивание интерпретатора Python](https://python-all.ru/3.4/extending/index.html)32483249  - [Рекомендуемые сторонние инструменты](https://python-all.ru/3.4/extending/index.html#recommended-third-party-tools)3250  - [Создание расширений без сторонних инструментов](https://python-all.ru/3.4/extending/index.html#creating-extensions-without-third-party-tools)32513252    - [1. Расширение Python с помощью C или C++](https://python-all.ru/3.4/extending/extending.html)32533254      - [1.1. Простой пример](https://python-all.ru/3.4/extending/extending.html#a-simple-example)3255      - [1.2. Интермеццо: ошибки и исключения](https://python-all.ru/3.4/extending/extending.html#intermezzo-errors-and-exceptions)3256      - [1.3. Возвращение к примеру](https://python-all.ru/3.4/extending/extending.html#back-to-the-example)3257      - [1.4. Таблица методов модуля и функция инициализации](https://python-all.ru/3.4/extending/extending.html#the-module-s-method-table-and-initialization-function)3258      - [1.5. Компиляция и компоновка](https://python-all.ru/3.4/extending/extending.html#compilation-and-linkage)3259      - [1.6. Вызов функций Python из C](https://python-all.ru/3.4/extending/extending.html#calling-python-functions-from-c)3260      - [1.7. Извлечение параметров в функциях расширения](https://python-all.ru/3.4/extending/extending.html#extracting-parameters-in-extension-functions)3261      - [1.8. Именованные параметры для функций расширения](https://python-all.ru/3.4/extending/extending.html#keyword-parameters-for-extension-functions)3262      - [1.9. Построение произвольных значений](https://python-all.ru/3.4/extending/extending.html#building-arbitrary-values)3263      - [1.10. Счетчики ссылок](https://python-all.ru/3.4/extending/extending.html#reference-counts)32643265        - [1.10.1. Подсчёт ссылок в Python](https://python-all.ru/3.4/extending/extending.html#reference-counting-in-python)3266        - [1.10.2. Правила владения](https://python-all.ru/3.4/extending/extending.html#ownership-rules)3267        - [1.10.3. Тонкий лёд](https://python-all.ru/3.4/extending/extending.html#thin-ice)3268        - [1.10.4. Указатели NULL](https://python-all.ru/3.4/extending/extending.html#null-pointers)3269      - [1.11. Написание расширений на C++](https://python-all.ru/3.4/extending/extending.html#writing-extensions-in-c)3270      - [1.12. Предоставление C API для модуля расширения](https://python-all.ru/3.4/extending/extending.html#providing-a-c-api-for-an-extension-module)3271    - [2. Определение новых типов](https://python-all.ru/3.4/extending/newtypes.html)32723273      - [2.1. Основы](https://python-all.ru/3.4/extending/newtypes.html#the-basics)32743275        - [2.1.1. Добавление данных и методов в базовый пример](https://python-all.ru/3.4/extending/newtypes.html#adding-data-and-methods-to-the-basic-example)3276        - [2.1.2. Обеспечение более тонкого контроля над атрибутами данных](https://python-all.ru/3.4/extending/newtypes.html#providing-finer-control-over-data-attributes)3277        - [2.1.3. Поддержка циклической сборки мусора](https://python-all.ru/3.4/extending/newtypes.html#supporting-cyclic-garbage-collection)3278        - [2.1.4. Наследование от других типов](https://python-all.ru/3.4/extending/newtypes.html#subclassing-other-types)3279      - [2.2. Методы типов](https://python-all.ru/3.4/extending/newtypes.html#type-methods)32803281        - [2.2.1. Финализация и освобождение памяти](https://python-all.ru/3.4/extending/newtypes.html#finalization-and-de-allocation)3282        - [2.2.2. Представление объекта](https://python-all.ru/3.4/extending/newtypes.html#object-presentation)3283        - [2.2.3. Управление атрибутами](https://python-all.ru/3.4/extending/newtypes.html#attribute-management)32843285          - [2.2.3.1. Общее управление атрибутами](https://python-all.ru/3.4/extending/newtypes.html#generic-attribute-management)3286          - [2.2.3.2. Управление атрибутами, специфичными для типа](https://python-all.ru/3.4/extending/newtypes.html#type-specific-attribute-management)3287        - [2.2.4. Сравнение объектов](https://python-all.ru/3.4/extending/newtypes.html#object-comparison)3288        - [2.2.5. Поддержка абстрактных протоколов](https://python-all.ru/3.4/extending/newtypes.html#abstract-protocol-support)3289        - [2.2.6. Поддержка слабых ссылок](https://python-all.ru/3.4/extending/newtypes.html#weak-reference-support)3290        - [2.2.7. Дополнительные рекомендации](https://python-all.ru/3.4/extending/newtypes.html#more-suggestions)3291    - [3. Сборка расширений на C и C++ с помощью distutils](https://python-all.ru/3.4/extending/building.html)32923293      - [3.1. Распространение модулей расширения](https://python-all.ru/3.4/extending/building.html#distributing-your-extension-modules)3294    - [4. Сборка расширений C и C++ в Windows](https://python-all.ru/3.4/extending/windows.html)32953296      - [4.1. Подход «Кулинарная книга»](https://python-all.ru/3.4/extending/windows.html#a-cookbook-approach)3297      - [4.2. Различия между Unix и Windows](https://python-all.ru/3.4/extending/windows.html#differences-between-unix-and-windows)3298      - [4.3. Использование DLL на практике](https://python-all.ru/3.4/extending/windows.html#using-dlls-in-practice)3299  - [Встраивание среды выполнения CPython в более крупное приложение](https://python-all.ru/3.4/extending/index.html#embedding-the-cpython-runtime-in-a-larger-application)33003301    - [1. Встраивание Python в другое приложение](https://python-all.ru/3.4/extending/embedding.html)33023303      - [1.1. Встраивание на очень высоком уровне](https://python-all.ru/3.4/extending/embedding.html#very-high-level-embedding)3304      - [1.2. За пределами встраивания на очень высоком уровне: обзор](https://python-all.ru/3.4/extending/embedding.html#beyond-very-high-level-embedding-an-overview)3305      - [1.3. Чистое встраивание](https://python-all.ru/3.4/extending/embedding.html#pure-embedding)3306      - [1.4. Расширение встроенного Python](https://python-all.ru/3.4/extending/embedding.html#extending-embedded-python)3307      - [1.5. Встраивание Python в C++](https://python-all.ru/3.4/extending/embedding.html#embedding-python-in-c)3308      - [1.6. Компиляция и компоновка в Unix-подобных системах](https://python-all.ru/3.4/extending/embedding.html#compiling-and-linking-under-unix-like-systems)3309- [Справочное руководство по Python/C API](https://python-all.ru/3.4/c-api/index.html)33103311  - [Введение](https://python-all.ru/3.4/c-api/intro.html)33123313    - [Заголовочные файлы](https://python-all.ru/3.4/c-api/intro.html#include-files)3314    - [Объекты, типы и счетчики ссылок](https://python-all.ru/3.4/c-api/intro.html#objects-types-and-reference-counts)33153316      - [Счётчики ссылок](https://python-all.ru/3.4/c-api/intro.html#reference-counts)33173318        - [Подробности подсчёта ссылок](https://python-all.ru/3.4/c-api/intro.html#reference-count-details)3319      - [Типы](https://python-all.ru/3.4/c-api/intro.html#types)3320    - [Исключения](https://python-all.ru/3.4/c-api/intro.html#exceptions)3321    - [Встраивание Python](https://python-all.ru/3.4/c-api/intro.html#embedding-python)3322    - [Отладочные сборки](https://python-all.ru/3.4/c-api/intro.html#debugging-builds)3323  - [Стабильный ABI](https://python-all.ru/3.4/c-api/stable.html)3324  - [Очень высокоуровневый слой](https://python-all.ru/3.4/c-api/veryhigh.html)3325  - [Подсчёт ссылок](https://python-all.ru/3.4/c-api/refcounting.html)3326  - [Обработка исключений](https://python-all.ru/3.4/c-api/exceptions.html)33273328    - [Объекты исключений](https://python-all.ru/3.4/c-api/exceptions.html#exception-objects)3329    - [Объекты исключений Unicode](https://python-all.ru/3.4/c-api/exceptions.html#unicode-exception-objects)3330    - [Управление рекурсией](https://python-all.ru/3.4/c-api/exceptions.html#recursion-control)3331    - [Стандартные исключения](https://python-all.ru/3.4/c-api/exceptions.html#standard-exceptions)3332  - [Утилиты](https://python-all.ru/3.4/c-api/utilities.html)33333334    - [Утилиты операционной системы](https://python-all.ru/3.4/c-api/sys.html)3335    - [Системные функции](https://python-all.ru/3.4/c-api/sys.html#system-functions)3336    - [Управление процессами](https://python-all.ru/3.4/c-api/sys.html#process-control)3337    - [Импорт модулей](https://python-all.ru/3.4/c-api/import.html)3338    - [Поддержка маршалинга данных](https://python-all.ru/3.4/c-api/marshal.html)3339    - [Разбор аргументов и сборка значений](https://python-all.ru/3.4/c-api/arg.html)33403341      - [Разбор аргументов](https://python-all.ru/3.4/c-api/arg.html#parsing-arguments)33423343        - [Строки и буферы](https://python-all.ru/3.4/c-api/arg.html#strings-and-buffers)3344        - [Числа](https://python-all.ru/3.4/c-api/arg.html#numbers)3345        - [Другие объекты](https://python-all.ru/3.4/c-api/arg.html#other-objects)3346        - [Функции API](https://python-all.ru/3.4/c-api/arg.html#api-functions)3347      - [Сборка значений](https://python-all.ru/3.4/c-api/arg.html#building-values)3348    - [Преобразование и форматирование строк](https://python-all.ru/3.4/c-api/conversion.html)3349    - [Рефлексия](https://python-all.ru/3.4/c-api/reflection.html)3350    - [Реестр кодировок и вспомогательные функции](https://python-all.ru/3.4/c-api/codec.html)33513352      - [API поиска кодировок](https://python-all.ru/3.4/c-api/codec.html#codec-lookup-api)3353      - [API реестра обработчиков ошибок кодирования Unicode](https://python-all.ru/3.4/c-api/codec.html#registry-api-for-unicode-encoding-error-handlers)3354  - [Слой абстрактных объектов](https://python-all.ru/3.4/c-api/abstract.html)33553356    - [Протокол объекта](https://python-all.ru/3.4/c-api/object.html)3357    - [Протокол чисел](https://python-all.ru/3.4/c-api/number.html)3358    - [Протокол последовательностей](https://python-all.ru/3.4/c-api/sequence.html)3359    - [Протокол отображений](https://python-all.ru/3.4/c-api/mapping.html)3360    - [Протокол итератора](https://python-all.ru/3.4/c-api/iter.html)3361    - [Протокол буфера](https://python-all.ru/3.4/c-api/buffer.html)33623363      - [Структура буфера](https://python-all.ru/3.4/c-api/buffer.html#buffer-structure)3364      - [Типы запросов буфера](https://python-all.ru/3.4/c-api/buffer.html#buffer-request-types)33653366        - [поля, не зависящие от запроса](https://python-all.ru/3.4/c-api/buffer.html#request-independent-fields)3367        - [только для чтения, формат](https://python-all.ru/3.4/c-api/buffer.html#readonly-format)3368        - [форма, шаги, подсмещения](https://python-all.ru/3.4/c-api/buffer.html#shape-strides-suboffsets)3369        - [запросы непрерывности](https://python-all.ru/3.4/c-api/buffer.html#contiguity-requests)3370        - [составные запросы](https://python-all.ru/3.4/c-api/buffer.html#compound-requests)3371      - [Комплексные массивы](https://python-all.ru/3.4/c-api/buffer.html#complex-arrays)33723373        - [В стиле NumPy: форма и шаги](https://python-all.ru/3.4/c-api/buffer.html#numpy-style-shape-and-strides)3374        - [В стиле PIL: форма, шаги и под-смещения](https://python-all.ru/3.4/c-api/buffer.html#pil-style-shape-strides-and-suboffsets)3375      - [Функции, связанные с буферами](https://python-all.ru/3.4/c-api/buffer.html#buffer-related-functions)3376    - [Старый буферный протокол](https://python-all.ru/3.4/c-api/objbuffer.html)3377  - [Слой конкретных объектов](https://python-all.ru/3.4/c-api/concrete.html)33783379    - [Базовые объекты](https://python-all.ru/3.4/c-api/concrete.html#fundamental-objects)33803381      - [Объекты типов](https://python-all.ru/3.4/c-api/type.html)3382      - [Объект None](https://python-all.ru/3.4/c-api/none.html)3383    - [Числовые объекты](https://python-all.ru/3.4/c-api/concrete.html#numeric-objects)33843385      - [Объекты целых чисел](https://python-all.ru/3.4/c-api/long.html)3386      - [Объекты логических значений](https://python-all.ru/3.4/c-api/bool.html)3387      - [Объекты чисел с плавающей запятой](https://python-all.ru/3.4/c-api/float.html)3388      - [Объекты комплексных чисел](https://python-all.ru/3.4/c-api/complex.html)33893390        - [Комплексные числа как структуры C](https://python-all.ru/3.4/c-api/complex.html#complex-numbers-as-c-structures)3391        - [Комплексные числа как объекты Python](https://python-all.ru/3.4/c-api/complex.html#complex-numbers-as-python-objects)3392    - [Объекты последовательностей](https://python-all.ru/3.4/c-api/concrete.html#sequence-objects)33933394      - [Объекты bytes](https://python-all.ru/3.4/c-api/bytes.html)3395      - [Объекты массива байтов](https://python-all.ru/3.4/c-api/bytearray.html)33963397        - [Макросы проверки типа](https://python-all.ru/3.4/c-api/bytearray.html#type-check-macros)3398        - [Функции прямого API](https://python-all.ru/3.4/c-api/bytearray.html#direct-api-functions)3399        - [Макросы](https://python-all.ru/3.4/c-api/bytearray.html#macros)3400      - [Объекты Unicode и кодеки](https://python-all.ru/3.4/c-api/unicode.html)34013402        - [Объекты Unicode](https://python-all.ru/3.4/c-api/unicode.html#unicode-objects)34033404          - [Тип Юникода](https://python-all.ru/3.4/c-api/unicode.html#unicode-type)3405          - [Свойства символов Юникода](https://python-all.ru/3.4/c-api/unicode.html#unicode-character-properties)3406          - [Создание и доступ к строкам Юникода](https://python-all.ru/3.4/c-api/unicode.html#creating-and-accessing-unicode-strings)3407          - [Устаревшие API Py\_UNICODE](https://python-all.ru/3.4/c-api/unicode.html#deprecated-py-unicode-apis)3408          - [Локальная кодировка](https://python-all.ru/3.4/c-api/unicode.html#locale-encoding)3409          - [Кодировка файловой системы](https://python-all.ru/3.4/c-api/unicode.html#file-system-encoding)3410          - [Поддержка wchar\_t](https://python-all.ru/3.4/c-api/unicode.html#wchar-t-support)3411          - [Поддержка UCS4](https://python-all.ru/3.4/c-api/unicode.html#ucs4-support)3412        - [Встроенные кодеки](https://python-all.ru/3.4/c-api/unicode.html#built-in-codecs)34133414          - [Общие кодеки](https://python-all.ru/3.4/c-api/unicode.html#generic-codecs)3415          - [Кодеки UTF-8](https://python-all.ru/3.4/c-api/unicode.html#utf-8-codecs)3416          - [Кодеки UTF-32](https://python-all.ru/3.4/c-api/unicode.html#utf-32-codecs)3417          - [Кодеки UTF-16](https://python-all.ru/3.4/c-api/unicode.html#utf-16-codecs)3418          - [Кодеки UTF-7](https://python-all.ru/3.4/c-api/unicode.html#utf-7-codecs)3419          - [Кодеки Unicode-Escape](https://python-all.ru/3.4/c-api/unicode.html#unicode-escape-codecs)3420          - [Кодеки Raw-Unicode-Escape](https://python-all.ru/3.4/c-api/unicode.html#raw-unicode-escape-codecs)3421          - [Кодеки Latin-1](https://python-all.ru/3.4/c-api/unicode.html#latin-1-codecs)3422          - [Кодеки ASCII](https://python-all.ru/3.4/c-api/unicode.html#ascii-codecs)3423          - [Кодеки символьной карты](https://python-all.ru/3.4/c-api/unicode.html#character-map-codecs)3424          - [Кодеки MBCS для Windows](https://python-all.ru/3.4/c-api/unicode.html#mbcs-codecs-for-windows)3425          - [Методы и слоты](https://python-all.ru/3.4/c-api/unicode.html#methods-slots)3426        - [Методы и слот-функции](https://python-all.ru/3.4/c-api/unicode.html#methods-and-slot-functions)3427      - [Кортежи](https://python-all.ru/3.4/c-api/tuple.html)3428      - [Объекты структурных последовательностей](https://python-all.ru/3.4/c-api/tuple.html#struct-sequence-objects)3429      - [Списки](https://python-all.ru/3.4/c-api/list.html)3430    - [Объекты контейнеров](https://python-all.ru/3.4/c-api/concrete.html#container-objects)34313432      - [Объекты словарей](https://python-all.ru/3.4/c-api/dict.html)3433      - [Множества](https://python-all.ru/3.4/c-api/set.html)3434    - [Объекты функций](https://python-all.ru/3.4/c-api/concrete.html#function-objects)34353436      - [Объекты функций](https://python-all.ru/3.4/c-api/function.html)3437      - [Объекты методов экземпляра](https://python-all.ru/3.4/c-api/method.html)3438      - [Объекты методов](https://python-all.ru/3.4/c-api/method.html#method-objects)3439      - [Объекты ячеек](https://python-all.ru/3.4/c-api/cell.html)3440      - [Объекты кода](https://python-all.ru/3.4/c-api/code.html)3441    - [Прочие объекты](https://python-all.ru/3.4/c-api/concrete.html#other-objects)34423443      - [Объекты файлов](https://python-all.ru/3.4/c-api/file.html)3444      - [Объекты модулей](https://python-all.ru/3.4/c-api/module.html)34453446        - [Инициализация C-модулей](https://python-all.ru/3.4/c-api/module.html#initializing-c-modules)3447      - [Объекты итераторов](https://python-all.ru/3.4/c-api/iterator.html)3448      - [Объекты дескрипторов](https://python-all.ru/3.4/c-api/descriptor.html)3449      - [Объекты срезов](https://python-all.ru/3.4/c-api/slice.html)3450      - [Объекты memoryview](https://python-all.ru/3.4/c-api/memoryview.html)3451      - [Объекты слабых ссылок](https://python-all.ru/3.4/c-api/weakref.html)3452      - [Капсулы](https://python-all.ru/3.4/c-api/capsule.html)3453      - [Объекты-генераторы](https://python-all.ru/3.4/c-api/gen.html)3454      - [Объекты datetime](https://python-all.ru/3.4/c-api/datetime.html)3455  - [Инициализация, финализация и потоки](https://python-all.ru/3.4/c-api/init.html)34563457    - [Инициализация и финализация интерпретатора](https://python-all.ru/3.4/c-api/init.html#initializing-and-finalizing-the-interpreter)3458    - [Параметры уровня процесса](https://python-all.ru/3.4/c-api/init.html#process-wide-parameters)3459    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/3.4/c-api/init.html#thread-state-and-the-global-interpreter-lock)34603461      - [Освобождение GIL из кода расширения](https://python-all.ru/3.4/c-api/init.html#releasing-the-gil-from-extension-code)3462      - [Потоки, созданные не в Python](https://python-all.ru/3.4/c-api/init.html#non-python-created-threads)3463      - [Высокоуровневый API](https://python-all.ru/3.4/c-api/init.html#high-level-api)3464      - [Низкоуровневый API](https://python-all.ru/3.4/c-api/init.html#low-level-api)3465    - [Поддержка под-интерпретаторов](https://python-all.ru/3.4/c-api/init.html#sub-interpreter-support)34663467      - [Ошибки и предостережения](https://python-all.ru/3.4/c-api/init.html#bugs-and-caveats)3468    - [Асинхронные уведомления](https://python-all.ru/3.4/c-api/init.html#asynchronous-notifications)3469    - [Профилирование и трассировка](https://python-all.ru/3.4/c-api/init.html#profiling-and-tracing)3470    - [Расширенная поддержка отладчика](https://python-all.ru/3.4/c-api/init.html#advanced-debugger-support)3471  - [Управление памятью](https://python-all.ru/3.4/c-api/memory.html)34723473    - [Обзор](https://python-all.ru/3.4/c-api/memory.html#overview)3474    - [Интерфейс низкоуровневой памяти](https://python-all.ru/3.4/c-api/memory.html#raw-memory-interface)3475    - [Интерфейс памяти](https://python-all.ru/3.4/c-api/memory.html#memory-interface)3476    - [Настройка аллокаторов памяти](https://python-all.ru/3.4/c-api/memory.html#customize-memory-allocators)3477    - [Настройка распределителя арены PyObject](https://python-all.ru/3.4/c-api/memory.html#customize-pyobject-arena-allocator)3478    - [Примеры](https://python-all.ru/3.4/c-api/memory.html#examples)3479  - [Поддержка реализации объектов](https://python-all.ru/3.4/c-api/objimpl.html)34803481    - [Выделение объектов в куче](https://python-all.ru/3.4/c-api/allocation.html)3482    - [Общие структуры объектов](https://python-all.ru/3.4/c-api/structures.html)3483    - [Объекты типов](https://python-all.ru/3.4/c-api/typeobj.html)3484    - [Структуры числовых объектов](https://python-all.ru/3.4/c-api/typeobj.html#number-object-structures)3485    - [Структуры объектов отображений](https://python-all.ru/3.4/c-api/typeobj.html#mapping-object-structures)3486    - [Структуры объектов последовательностей](https://python-all.ru/3.4/c-api/typeobj.html#sequence-object-structures)3487    - [Структуры буферных объектов](https://python-all.ru/3.4/c-api/typeobj.html#buffer-object-structures)3488    - [Поддержка циклической сборки мусора](https://python-all.ru/3.4/c-api/gcsupport.html)3489  - [Версионирование API и ABI](https://python-all.ru/3.4/c-api/apiabiversion.html)3490- [Распространение модулей Python](https://python-all.ru/3.4/distributing/index.html)34913492  - [Ключевые термины](https://python-all.ru/3.4/distributing/index.html#key-terms)3493  - [Открытое лицензирование и совместная работа](https://python-all.ru/3.4/distributing/index.html#open-source-licensing-and-collaboration)3494  - [Установка инструментов](https://python-all.ru/3.4/distributing/index.html#installing-the-tools)3495  - [Чтение руководства](https://python-all.ru/3.4/distributing/index.html#reading-the-guide)3496  - [Как мне...?](https://python-all.ru/3.4/distributing/index.html#how-do-i)34973498    - [... выбрать имя для моего проекта?](https://python-all.ru/3.4/distributing/index.html#choose-a-name-for-my-project)3499    - [... создавать и распространять бинарные расширения?](https://python-all.ru/3.4/distributing/index.html#create-and-distribute-binary-extensions)3500- [Установка модулей Python](https://python-all.ru/3.4/installing/index.html)35013502  - [Ключевые термины](https://python-all.ru/3.4/installing/index.html#key-terms)3503  - [Основы использования](https://python-all.ru/3.4/installing/index.html#basic-usage)3504  - [Как мне ...?](https://python-all.ru/3.4/installing/index.html#how-do-i)35053506    - [... установить `pip` в версиях Python до Python 3.4?](https://python-all.ru/3.4/installing/index.html#install-pip-in-versions-of-python-prior-to-python-3-4)3507    - [... устанавливать пакеты только для текущего пользователя?](https://python-all.ru/3.4/installing/index.html#install-packages-just-for-the-current-user)3508    - [... устанавливать научные пакеты Python?](https://python-all.ru/3.4/installing/index.html#install-scientific-python-packages)3509    - [... работать с несколькими версиями Python, установленными параллельно?](https://python-all.ru/3.4/installing/index.html#work-with-multiple-versions-of-python-installed-in-parallel)3510  - [Распространённые проблемы установки](https://python-all.ru/3.4/installing/index.html#common-installation-issues)35113512    - [Установка в системный Python на Linux](https://python-all.ru/3.4/installing/index.html#installing-into-the-system-python-on-linux)3513    - [Установка бинарных расширений](https://python-all.ru/3.4/installing/index.html#installing-binary-extensions)3514- [Руководства Python HOWTO](https://python-all.ru/3.4/howto/index.html)35153516  - [Перенос кода с Python 2 на Python 3](https://python-all.ru/3.4/howto/pyporting.html)35173518    - [Краткое объяснение](https://python-all.ru/3.4/howto/pyporting.html#the-short-explanation)3519    - [Подробности](https://python-all.ru/3.4/howto/pyporting.html#details)35203521      - [Прекратить поддержку Python 2.6 и более старых версий](https://python-all.ru/3.4/howto/pyporting.html#drop-support-for-python-2-6-and-older)3522      - [Убедитесь, что в файле `setup.py` указана правильная поддержка версий](https://python-all.ru/3.4/howto/pyporting.html#make-sure-you-specify-the-proper-version-support-in-your-setup-py-file)3523      - [Обеспечьте хорошее покрытие тестами](https://python-all.ru/3.4/howto/pyporting.html#have-good-test-coverage)3524      - [Изучите различия между Python 2 и 3](https://python-all.ru/3.4/howto/pyporting.html#learn-the-differences-between-python-2-3)3525      - [Обновите свой код](https://python-all.ru/3.4/howto/pyporting.html#update-your-code)35263527        - [Деление](https://python-all.ru/3.4/howto/pyporting.html#division)3528        - [Текст и двоичные данные](https://python-all.ru/3.4/howto/pyporting.html#text-versus-binary-data)3529      - [Предотвращение регрессий совместимости](https://python-all.ru/3.4/howto/pyporting.html#prevent-compatibility-regressions)3530      - [Проверьте, какие зависимости блокируют переход](https://python-all.ru/3.4/howto/pyporting.html#check-which-dependencies-block-your-transition)3531      - [Обновите файл `setup.py`, чтобы указать совместимость с Python 3](https://python-all.ru/3.4/howto/pyporting.html#update-your-setup-py-file-to-denote-python-3-compatibility)3532      - [Используйте непрерывную интеграцию для поддержания совместимости](https://python-all.ru/3.4/howto/pyporting.html#use-continuous-integration-to-stay-compatible)3533    - [Полный отказ от поддержки Python 2](https://python-all.ru/3.4/howto/pyporting.html#dropping-python-2-support-completely)3534  - [Перенос модулей расширения на Python 3](https://python-all.ru/3.4/howto/cporting.html)35353536    - [Условная компиляция](https://python-all.ru/3.4/howto/cporting.html#conditional-compilation)3537    - [Изменения в объектных API](https://python-all.ru/3.4/howto/cporting.html#changes-to-object-apis)35383539      - [Объединение str/unicode](https://python-all.ru/3.4/howto/cporting.html#str-unicode-unification)3540      - [Объединение long/int](https://python-all.ru/3.4/howto/cporting.html#long-int-unification)3541    - [Инициализация и состояние модулей](https://python-all.ru/3.4/howto/cporting.html#module-initialization-and-state)3542    - [CObject заменён на Capsule](https://python-all.ru/3.4/howto/cporting.html#cobject-replaced-with-capsule)3543    - [Другие опции](https://python-all.ru/3.4/howto/cporting.html#other-options)3544  - [Программирование с curses на Python](https://python-all.ru/3.4/howto/curses.html)35453546    - [Что такое curses?](https://python-all.ru/3.4/howto/curses.html#what-is-curses)35473548      - [Модуль curses в Python](https://python-all.ru/3.4/howto/curses.html#the-python-curses-module)3549    - [Запуск и завершение приложения curses](https://python-all.ru/3.4/howto/curses.html#starting-and-ending-a-curses-application)3550    - [Окна и пады](https://python-all.ru/3.4/howto/curses.html#windows-and-pads)3551    - [Отображение текста](https://python-all.ru/3.4/howto/curses.html#displaying-text)35523553      - [Атрибуты и цвет](https://python-all.ru/3.4/howto/curses.html#attributes-and-color)3554    - [Ввод пользователя](https://python-all.ru/3.4/howto/curses.html#user-input)3555    - [Для получения дополнительных сведений](https://python-all.ru/3.4/howto/curses.html#for-more-information)3556  - [Руководство по дескрипторам](https://python-all.ru/3.4/howto/descriptor.html)35573558    - [Аннотация](https://python-all.ru/3.4/howto/descriptor.html#abstract)3559    - [Определение и введение](https://python-all.ru/3.4/howto/descriptor.html#definition-and-introduction)3560    - [Протокол дескрипторов](https://python-all.ru/3.4/howto/descriptor.html#descriptor-protocol)3561    - [Вызов дескрипторов](https://python-all.ru/3.4/howto/descriptor.html#invoking-descriptors)3562    - [Пример дескриптора](https://python-all.ru/3.4/howto/descriptor.html#descriptor-example)3563    - [Свойства](https://python-all.ru/3.4/howto/descriptor.html#properties)3564    - [Функции и методы](https://python-all.ru/3.4/howto/descriptor.html#functions-and-methods)3565    - [Статические методы и методы класса](https://python-all.ru/3.4/howto/descriptor.html#static-methods-and-class-methods)3566  - [HOWTO по функциональному программированию](https://python-all.ru/3.4/howto/functional.html)35673568    - [Введение](https://python-all.ru/3.4/howto/functional.html#introduction)35693570      - [Формальная доказуемость](https://python-all.ru/3.4/howto/functional.html#formal-provability)3571      - [Модульность](https://python-all.ru/3.4/howto/functional.html#modularity)3572      - [Простота отладки и тестирования](https://python-all.ru/3.4/howto/functional.html#ease-of-debugging-and-testing)3573      - [Композируемость](https://python-all.ru/3.4/howto/functional.html#composability)3574    - [Итераторы](https://python-all.ru/3.4/howto/functional.html#iterators)35753576      - [Типы данных, поддерживающие итераторы](https://python-all.ru/3.4/howto/functional.html#data-types-that-support-iterators)3577    - [Генераторные выражения и списковые включения](https://python-all.ru/3.4/howto/functional.html#generator-expressions-and-list-comprehensions)3578    - [Генераторы](https://python-all.ru/3.4/howto/functional.html#generators)35793580      - [Передача значений в генератор](https://python-all.ru/3.4/howto/functional.html#passing-values-into-a-generator)3581    - [Встроенные функции](https://python-all.ru/3.4/howto/functional.html#built-in-functions)3582    - [Модуль itertools](https://python-all.ru/3.4/howto/functional.html#the-itertools-module)35833584      - [Создание новых итераторов](https://python-all.ru/3.4/howto/functional.html#creating-new-iterators)3585      - [Вызов функций для элементов](https://python-all.ru/3.4/howto/functional.html#calling-functions-on-elements)3586      - [Выбор элементов](https://python-all.ru/3.4/howto/functional.html#selecting-elements)3587      - [Комбинаторные функции](https://python-all.ru/3.4/howto/functional.html#combinatoric-functions)3588      - [Группировка элементов](https://python-all.ru/3.4/howto/functional.html#grouping-elements)3589    - [Модуль functools](https://python-all.ru/3.4/howto/functional.html#the-functools-module)35903591      - [Модуль operator](https://python-all.ru/3.4/howto/functional.html#the-operator-module)3592    - [Небольшие функции и лямбда-выражение](https://python-all.ru/3.4/howto/functional.html#small-functions-and-the-lambda-expression)3593    - [История изменений и благодарности](https://python-all.ru/3.4/howto/functional.html#revision-history-and-acknowledgements)3594    - [Ссылки](https://python-all.ru/3.4/howto/functional.html#references)35953596      - [Общие](https://python-all.ru/3.4/howto/functional.html#general)3597      - [Специфичное для Python](https://python-all.ru/3.4/howto/functional.html#python-specific)3598      - [Документация Python](https://python-all.ru/3.4/howto/functional.html#python-documentation)3599  - [Руководство по логированию](https://python-all.ru/3.4/howto/logging.html)36003601    - [Базовое руководство по логированию](https://python-all.ru/3.4/howto/logging.html#basic-logging-tutorial)36023603      - [Когда использовать логирование](https://python-all.ru/3.4/howto/logging.html#when-to-use-logging)3604      - [Простой пример](https://python-all.ru/3.4/howto/logging.html#a-simple-example)3605      - [Логирование в файл](https://python-all.ru/3.4/howto/logging.html#logging-to-a-file)3606      - [Логирование из нескольких модулей](https://python-all.ru/3.4/howto/logging.html#logging-from-multiple-modules)3607      - [Логирование переменных данных](https://python-all.ru/3.4/howto/logging.html#logging-variable-data)3608      - [Изменение формата отображаемых сообщений](https://python-all.ru/3.4/howto/logging.html#changing-the-format-of-displayed-messages)3609      - [Отображение даты/времени в сообщениях](https://python-all.ru/3.4/howto/logging.html#displaying-the-date-time-in-messages)3610      - [Дальнейшие шаги](https://python-all.ru/3.4/howto/logging.html#next-steps)3611    - [Расширенное руководство по логированию](https://python-all.ru/3.4/howto/logging.html#advanced-logging-tutorial)36123613      - [Поток логирования](https://python-all.ru/3.4/howto/logging.html#logging-flow)3614      - [Логгеры](https://python-all.ru/3.4/howto/logging.html#loggers)3615      - [Обработчики](https://python-all.ru/3.4/howto/logging.html#handlers)3616      - [Форматировщики](https://python-all.ru/3.4/howto/logging.html#formatters)3617      - [Настройка логирования](https://python-all.ru/3.4/howto/logging.html#configuring-logging)3618      - [Что происходит, если конфигурация не предоставлена](https://python-all.ru/3.4/howto/logging.html#what-happens-if-no-configuration-is-provided)3619      - [Настройка логирования для библиотеки](https://python-all.ru/3.4/howto/logging.html#configuring-logging-for-a-library)3620    - [Уровни журналирования](https://python-all.ru/3.4/howto/logging.html#logging-levels)36213622      - [Пользовательские уровни](https://python-all.ru/3.4/howto/logging.html#custom-levels)3623    - [Полезные обработчики](https://python-all.ru/3.4/howto/logging.html#useful-handlers)3624    - [Исключения, возникающие при логировании](https://python-all.ru/3.4/howto/logging.html#exceptions-raised-during-logging)3625    - [Использование произвольных объектов в качестве сообщений](https://python-all.ru/3.4/howto/logging.html#using-arbitrary-objects-as-messages)3626    - [Оптимизация](https://python-all.ru/3.4/howto/logging.html#optimization)3627  - [Рецепты по логированию](https://python-all.ru/3.4/howto/logging-cookbook.html)36283629    - [Использование логирования в нескольких модулях](https://python-all.ru/3.4/howto/logging-cookbook.html#using-logging-in-multiple-modules)3630    - [Несколько обработчиков и форматировщиков](https://python-all.ru/3.4/howto/logging-cookbook.html#multiple-handlers-and-formatters)3631    - [Логирование в несколько мест назначения](https://python-all.ru/3.4/howto/logging-cookbook.html#logging-to-multiple-destinations)3632    - [Пример сервера конфигурации](https://python-all.ru/3.4/howto/logging-cookbook.html#configuration-server-example)3633    - [Работа с блокирующими обработчиками](https://python-all.ru/3.4/howto/logging-cookbook.html#dealing-with-handlers-that-block)3634    - [Отправка и получение событий логирования по сети](https://python-all.ru/3.4/howto/logging-cookbook.html#sending-and-receiving-logging-events-across-a-network)3635    - [Добавление контекстной информации в вывод логирования](https://python-all.ru/3.4/howto/logging-cookbook.html#adding-contextual-information-to-your-logging-output)36363637      - [Использование LoggerAdapters для передачи контекстной информации](https://python-all.ru/3.4/howto/logging-cookbook.html#using-loggeradapters-to-impart-contextual-information)36383639        - [Использование объектов, отличных от словаря, для передачи контекстной информации](https://python-all.ru/3.4/howto/logging-cookbook.html#using-objects-other-than-dicts-to-pass-contextual-information)3640      - [Использование фильтров для передачи контекстной информации](https://python-all.ru/3.4/howto/logging-cookbook.html#using-filters-to-impart-contextual-information)3641    - [Логирование в один файл из нескольких процессов](https://python-all.ru/3.4/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes)3642    - [Использование ротации файлов](https://python-all.ru/3.4/howto/logging-cookbook.html#using-file-rotation)3643    - [Использование альтернативных стилей форматирования](https://python-all.ru/3.4/howto/logging-cookbook.html#use-of-alternative-formatting-styles)3644    - [Настройка `LogRecord`](https://python-all.ru/3.4/howto/logging-cookbook.html#customizing-logrecord)3645    - [Наследование от QueueHandler – пример с ZeroMQ](https://python-all.ru/3.4/howto/logging-cookbook.html#subclassing-queuehandler-a-zeromq-example)3646    - [Наследование от QueueListener – пример с ZeroMQ](https://python-all.ru/3.4/howto/logging-cookbook.html#subclassing-queuelistener-a-zeromq-example)3647    - [Пример конфигурации на основе словаря](https://python-all.ru/3.4/howto/logging-cookbook.html#an-example-dictionary-based-configuration)3648    - [Использование rotator и namer для настройки обработки ротации логов](https://python-all.ru/3.4/howto/logging-cookbook.html#using-a-rotator-and-namer-to-customize-log-rotation-processing)3649    - [Более сложный пример многопроцессорной обработки](https://python-all.ru/3.4/howto/logging-cookbook.html#a-more-elaborate-multiprocessing-example)3650    - [Вставка BOM в сообщения, отправляемые в SysLogHandler](https://python-all.ru/3.4/howto/logging-cookbook.html#inserting-a-bom-into-messages-sent-to-a-sysloghandler)3651    - [Реализация структурированного логирования](https://python-all.ru/3.4/howto/logging-cookbook.html#implementing-structured-logging)3652    - [Настройка обработчиков с помощью `dictConfig()`](https://python-all.ru/3.4/howto/logging-cookbook.html#customizing-handlers-with-dictconfig)3653    - [Использование определённых стилей форматирования во всём приложении](https://python-all.ru/3.4/howto/logging-cookbook.html#using-particular-formatting-styles-throughout-your-application)36543655      - [Использование фабрик LogRecord](https://python-all.ru/3.4/howto/logging-cookbook.html#using-logrecord-factories)3656      - [Использование пользовательских объектов сообщений](https://python-all.ru/3.4/howto/logging-cookbook.html#using-custom-message-objects)3657    - [Настройка фильтров с помощью `dictConfig()`](https://python-all.ru/3.4/howto/logging-cookbook.html#configuring-filters-with-dictconfig)3658    - [Настраиваемое форматирование исключений](https://python-all.ru/3.4/howto/logging-cookbook.html#customized-exception-formatting)3659    - [Озвучивание сообщений логирования](https://python-all.ru/3.4/howto/logging-cookbook.html#speaking-logging-messages)3660    - [Буферизация сообщений логирования и их условный вывод](https://python-all.ru/3.4/howto/logging-cookbook.html#buffering-logging-messages-and-outputting-them-conditionally)3661    - [Форматирование времени в UTC (GMT) через конфигурацию](https://python-all.ru/3.4/howto/logging-cookbook.html#formatting-times-using-utc-gmt-via-configuration)3662  - [HOWTO по регулярным выражениям](https://python-all.ru/3.4/howto/regex.html)36633664    - [Введение](https://python-all.ru/3.4/howto/regex.html#introduction)3665    - [Простые шаблоны](https://python-all.ru/3.4/howto/regex.html#simple-patterns)36663667      - [Сопоставление символов](https://python-all.ru/3.4/howto/regex.html#matching-characters)3668      - [Повторение](https://python-all.ru/3.4/howto/regex.html#repeating-things)3669    - [Использование регулярных выражений](https://python-all.ru/3.4/howto/regex.html#using-regular-expressions)36703671      - [Компиляция регулярных выражений](https://python-all.ru/3.4/howto/regex.html#compiling-regular-expressions)3672      - [Проблема обратной косой черты](https://python-all.ru/3.4/howto/regex.html#the-backslash-plague)3673      - [Выполнение сопоставлений](https://python-all.ru/3.4/howto/regex.html#performing-matches)3674      - [Функции уровня модуля](https://python-all.ru/3.4/howto/regex.html#module-level-functions)3675      - [Флаги компиляции](https://python-all.ru/3.4/howto/regex.html#compilation-flags)3676    - [Дополнительные возможности шаблонов](https://python-all.ru/3.4/howto/regex.html#more-pattern-power)36773678      - [Дополнительные метасимволы](https://python-all.ru/3.4/howto/regex.html#more-metacharacters)3679      - [Группировка](https://python-all.ru/3.4/howto/regex.html#grouping)3680      - [Незахватывающие и именованные группы](https://python-all.ru/3.4/howto/regex.html#non-capturing-and-named-groups)3681      - [Опережающие проверки](https://python-all.ru/3.4/howto/regex.html#lookahead-assertions)3682    - [Изменение строк](https://python-all.ru/3.4/howto/regex.html#modifying-strings)36833684      - [Разделение строк](https://python-all.ru/3.4/howto/regex.html#splitting-strings)3685      - [Поиск и замена](https://python-all.ru/3.4/howto/regex.html#search-and-replace)3686    - [Распространённые проблемы](https://python-all.ru/3.4/howto/regex.html#common-problems)36873688      - [Использование строковых методов](https://python-all.ru/3.4/howto/regex.html#use-string-methods)3689      - [match() и search()](https://python-all.ru/3.4/howto/regex.html#match-versus-search)3690      - [Жадные и нежадные квантификаторы](https://python-all.ru/3.4/howto/regex.html#greedy-versus-non-greedy)3691      - [Использование re.VERBOSE](https://python-all.ru/3.4/howto/regex.html#using-re-verbose)3692    - [Обратная связь](https://python-all.ru/3.4/howto/regex.html#feedback)3693  - [Руководство по программированию сокетов](https://python-all.ru/3.4/howto/sockets.html)36943695    - [Сокеты](https://python-all.ru/3.4/howto/sockets.html#sockets)36963697      - [История](https://python-all.ru/3.4/howto/sockets.html#history)3698    - [Создание сокета](https://python-all.ru/3.4/howto/sockets.html#creating-a-socket)36993700      - [Межпроцессное взаимодействие](https://python-all.ru/3.4/howto/sockets.html#ipc)3701    - [Использование сокета](https://python-all.ru/3.4/howto/sockets.html#using-a-socket)37023703      - [Двоичные данные](https://python-all.ru/3.4/howto/sockets.html#binary-data)3704    - [Отключение](https://python-all.ru/3.4/howto/sockets.html#disconnecting)37053706      - [Когда сокеты завершают работу](https://python-all.ru/3.4/howto/sockets.html#when-sockets-die)3707    - [Неблокирующие сокеты](https://python-all.ru/3.4/howto/sockets.html#non-blocking-sockets)3708  - [Руководство по сортировке](https://python-all.ru/3.4/howto/sorting.html)37093710    - [Основы сортировки](https://python-all.ru/3.4/howto/sorting.html#sorting-basics)3711    - [Ключевые функции](https://python-all.ru/3.4/howto/sorting.html#key-functions)3712    - [Функции модуля operator](https://python-all.ru/3.4/howto/sorting.html#operator-module-functions)3713    - [По возрастанию и по убыванию](https://python-all.ru/3.4/howto/sorting.html#ascending-and-descending)3714    - [Стабильность сортировки и сложные сортировки](https://python-all.ru/3.4/howto/sorting.html#sort-stability-and-complex-sorts)3715    - [Старый способ: Decorate-Sort-Undecorate](https://python-all.ru/3.4/howto/sorting.html#the-old-way-using-decorate-sort-undecorate)3716    - [Старый способ: использование параметра *cmp*](https://python-all.ru/3.4/howto/sorting.html#the-old-way-using-the-cmp-parameter)3717    - [Разное](https://python-all.ru/3.4/howto/sorting.html#odd-and-ends)3718  - [Руководство по Unicode](https://python-all.ru/3.4/howto/unicode.html)37193720    - [Введение в Unicode](https://python-all.ru/3.4/howto/unicode.html#introduction-to-unicode)37213722      - [История кодов символов](https://python-all.ru/3.4/howto/unicode.html#history-of-character-codes)3723      - [Определения](https://python-all.ru/3.4/howto/unicode.html#definitions)3724      - [Кодировки](https://python-all.ru/3.4/howto/unicode.html#encodings)3725      - [Ссылки](https://python-all.ru/3.4/howto/unicode.html#references)3726    - [Поддержка Unicode в Python](https://python-all.ru/3.4/howto/unicode.html#python-s-unicode-support)37273728      - [Тип str](https://python-all.ru/3.4/howto/unicode.html#the-string-type)3729      - [Преобразование в байты](https://python-all.ru/3.4/howto/unicode.html#converting-to-bytes)3730      - [Unicode-литералы в исходном коде Python](https://python-all.ru/3.4/howto/unicode.html#unicode-literals-in-python-source-code)3731      - [Свойства Unicode](https://python-all.ru/3.4/howto/unicode.html#unicode-properties)3732      - [Регулярные выражения и Unicode](https://python-all.ru/3.4/howto/unicode.html#unicode-regular-expressions)3733      - [Ссылки](https://python-all.ru/3.4/howto/unicode.html#id2)3734    - [Чтение и запись данных Unicode](https://python-all.ru/3.4/howto/unicode.html#reading-and-writing-unicode-data)37353736      - [Имена файлов в Unicode](https://python-all.ru/3.4/howto/unicode.html#unicode-filenames)3737      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/3.4/howto/unicode.html#tips-for-writing-unicode-aware-programs)37383739        - [Преобразование между кодировками файлов](https://python-all.ru/3.4/howto/unicode.html#converting-between-file-encodings)3740        - [Файлы в неизвестной кодировке](https://python-all.ru/3.4/howto/unicode.html#files-in-an-unknown-encoding)3741      - [Ссылки](https://python-all.ru/3.4/howto/unicode.html#id3)3742    - [Благодарности](https://python-all.ru/3.4/howto/unicode.html#acknowledgements)3743  - [HOWTO: получение интернет-ресурсов с помощью пакета urllib](https://python-all.ru/3.4/howto/urllib2.html)37443745    - [Введение](https://python-all.ru/3.4/howto/urllib2.html#introduction)3746    - [Получение URL-адресов](https://python-all.ru/3.4/howto/urllib2.html#fetching-urls)37473748      - [Данные](https://python-all.ru/3.4/howto/urllib2.html#data)3749      - [Заголовки](https://python-all.ru/3.4/howto/urllib2.html#headers)3750    - [Обработка исключений](https://python-all.ru/3.4/howto/urllib2.html#handling-exceptions)37513752      - \<[URLError](https://python-all.ru/3.4/howto/urllib2.html#urlerror)\>3753      - [HTTPError](https://python-all.ru/3.4/howto/urllib2.html#httperror)37543755        - [Коды ошибок](https://python-all.ru/3.4/howto/urllib2.html#error-codes)3756      - [Заключение](https://python-all.ru/3.4/howto/urllib2.html#wrapping-it-up)37573758        - [Номер 1](https://python-all.ru/3.4/howto/urllib2.html#number-1)3759        - [Номер 2](https://python-all.ru/3.4/howto/urllib2.html#number-2)3760    - [info и geturl](https://python-all.ru/3.4/howto/urllib2.html#info-and-geturl)3761    - [Открыватели и обработчики](https://python-all.ru/3.4/howto/urllib2.html#openers-and-handlers)3762    - [Базовая аутентификация](https://python-all.ru/3.4/howto/urllib2.html#id5)3763    - [Прокси](https://python-all.ru/3.4/howto/urllib2.html#proxies)3764    - [Сокеты и слои](https://python-all.ru/3.4/howto/urllib2.html#sockets-and-layers)3765    - [Сноски](https://python-all.ru/3.4/howto/urllib2.html#footnotes)3766  - [HOWTO: использование Python в вебе](https://python-all.ru/3.4/howto/webservers.html)37673768    - [Низкоуровневое представление](https://python-all.ru/3.4/howto/webservers.html#the-low-level-view)37693770      - [Общий шлюзовый интерфейс](https://python-all.ru/3.4/howto/webservers.html#common-gateway-interface)37713772        - [Простой скрипт для тестирования CGI](https://python-all.ru/3.4/howto/webservers.html#simple-script-for-testing-cgi)3773        - [Настройка CGI на собственном сервере](https://python-all.ru/3.4/howto/webservers.html#setting-up-cgi-on-your-own-server)3774        - [Типичные проблемы CGI-скриптов](https://python-all.ru/3.4/howto/webservers.html#common-problems-with-cgi-scripts)3775      - [mod\_python](https://python-all.ru/3.4/howto/webservers.html#mod-python)3776      - [FastCGI и SCGI](https://python-all.ru/3.4/howto/webservers.html#fastcgi-and-scgi)37773778        - [Настройка FastCGI](https://python-all.ru/3.4/howto/webservers.html#setting-up-fastcgi)3779      - [mod\_wsgi](https://python-all.ru/3.4/howto/webservers.html#mod-wsgi)3780    - [Отступление: WSGI](https://python-all.ru/3.4/howto/webservers.html#step-back-wsgi)37813782      - [WSGI-серверы](https://python-all.ru/3.4/howto/webservers.html#wsgi-servers)3783      - [Пример: MoinMoin](https://python-all.ru/3.4/howto/webservers.html#case-study-moinmoin)3784    - [Модель-Представление-Контроллер](https://python-all.ru/3.4/howto/webservers.html#model-view-controller)3785    - [Составляющие веб-сайтов](https://python-all.ru/3.4/howto/webservers.html#ingredients-for-websites)37863787      - [Шаблоны](https://python-all.ru/3.4/howto/webservers.html#templates)3788      - [Постоянное хранение данных](https://python-all.ru/3.4/howto/webservers.html#data-persistence)3789    - [Фреймворки](https://python-all.ru/3.4/howto/webservers.html#frameworks)37903791      - [Некоторые известные фреймворки](https://python-all.ru/3.4/howto/webservers.html#some-notable-frameworks)37923793        - [Django](https://python-all.ru/3.4/howto/webservers.html#django)3794        - [TurboGears](https://python-all.ru/3.4/howto/webservers.html#turbogears)3795        - [Zope](https://python-all.ru/3.4/howto/webservers.html#zope)3796        - [Другие известные фреймворки](https://python-all.ru/3.4/howto/webservers.html#other-notable-frameworks)3797  - [Учебное пособие по argparse](https://python-all.ru/3.4/howto/argparse.html)37983799    - [Основные понятия](https://python-all.ru/3.4/howto/argparse.html#concepts)3800    - [Основы](https://python-all.ru/3.4/howto/argparse.html#the-basics)3801    - [Знакомство с позиционными аргументами](https://python-all.ru/3.4/howto/argparse.html#introducing-positional-arguments)3802    - [Знакомство с необязательными аргументами](https://python-all.ru/3.4/howto/argparse.html#introducing-optional-arguments)38033804      - [Короткие опции](https://python-all.ru/3.4/howto/argparse.html#short-options)3805    - [Сочетание позиционных и необязательных аргументов](https://python-all.ru/3.4/howto/argparse.html#combining-positional-and-optional-arguments)3806    - [Переходим к более сложным темам](https://python-all.ru/3.4/howto/argparse.html#getting-a-little-more-advanced)38073808      - [Конфликтующие опции](https://python-all.ru/3.4/howto/argparse.html#conflicting-options)3809    - [Заключение](https://python-all.ru/3.4/howto/argparse.html#conclusion)3810  - [Введение в модуль ipaddress](https://python-all.ru/3.4/howto/ipaddress.html)38113812    - [Создание объектов Address/Network/Interface](https://python-all.ru/3.4/howto/ipaddress.html#creating-address-network-interface-objects)38133814      - [Замечание о версиях IP](https://python-all.ru/3.4/howto/ipaddress.html#a-note-on-ip-versions)3815      - [IP-адреса хостов](https://python-all.ru/3.4/howto/ipaddress.html#ip-host-addresses)3816      - [Определение сетей](https://python-all.ru/3.4/howto/ipaddress.html#defining-networks)3817      - [Интерфейсы хоста](https://python-all.ru/3.4/howto/ipaddress.html#host-interfaces)3818    - [Проверка объектов адреса/сети/интерфейса](https://python-all.ru/3.4/howto/ipaddress.html#inspecting-address-network-interface-objects)3819    - [Сети как списки адресов](https://python-all.ru/3.4/howto/ipaddress.html#networks-as-lists-of-addresses)3820    - [Сравнения](https://python-all.ru/3.4/howto/ipaddress.html#comparisons)3821    - [Использование IP-адресов с другими модулями](https://python-all.ru/3.4/howto/ipaddress.html#using-ip-addresses-with-other-modules)3822    - [Получение дополнительных сведений при сбое создания экземпляра](https://python-all.ru/3.4/howto/ipaddress.html#getting-more-detail-when-instance-creation-fails)3823  - [Руководство по Argument Clinic](https://python-all.ru/3.4/howto/clinic.html)38243825    - [Цели Argument Clinic](https://python-all.ru/3.4/howto/clinic.html#the-goals-of-argument-clinic)3826    - [Основные понятия и использование](https://python-all.ru/3.4/howto/clinic.html#basic-concepts-and-usage)3827    - [Преобразование первой функции](https://python-all.ru/3.4/howto/clinic.html#converting-your-first-function)3828    - [Продвинутые темы](https://python-all.ru/3.4/howto/clinic.html#advanced-topics)38293830      - [Символические значения по умолчанию](https://python-all.ru/3.4/howto/clinic.html#symbolic-default-values)3831      - [Переименование C-функций и переменных, генерируемых Argument Clinic](https://python-all.ru/3.4/howto/clinic.html#renaming-the-c-functions-and-variables-generated-by-argument-clinic)3832      - [Преобразование функций с использованием PyArg\_UnpackTuple](https://python-all.ru/3.4/howto/clinic.html#converting-functions-using-pyarg-unpacktuple)3833      - [Необязательные группы](https://python-all.ru/3.4/howto/clinic.html#optional-groups)3834      - [Использование настоящих преобразователей Argument Clinic вместо «устаревших преобразователей»](https://python-all.ru/3.4/howto/clinic.html#using-real-argument-clinic-converters-instead-of-legacy-converters)3835      - [Py\_buffer](https://python-all.ru/3.4/howto/clinic.html#py-buffer)3836      - [Продвинутые преобразователи](https://python-all.ru/3.4/howto/clinic.html#advanced-converters)3837      - [Значения параметров по умолчанию](https://python-all.ru/3.4/howto/clinic.html#parameter-default-values)3838      - [Значение по умолчанию `NULL`](https://python-all.ru/3.4/howto/clinic.html#the-null-default-value)3839      - [Выражения, заданные как значения по умолчанию](https://python-all.ru/3.4/howto/clinic.html#expressions-specified-as-default-values)3840      - [Использование преобразователя возвращаемого значения](https://python-all.ru/3.4/howto/clinic.html#using-a-return-converter)3841      - [Клонирование существующих функций](https://python-all.ru/3.4/howto/clinic.html#cloning-existing-functions)3842      - [Вызов кода Python](https://python-all.ru/3.4/howto/clinic.html#calling-python-code)3843      - [Использование «self converter»](https://python-all.ru/3.4/howto/clinic.html#using-a-self-converter)3844      - [Создание собственного конвертера](https://python-all.ru/3.4/howto/clinic.html#writing-a-custom-converter)3845      - [Создание собственного конвертера возвращаемого значения](https://python-all.ru/3.4/howto/clinic.html#writing-a-custom-return-converter)3846      - [METH\_O и METH\_NOARGS](https://python-all.ru/3.4/howto/clinic.html#meth-o-and-meth-noargs)3847      - [Функции tp\_new и tp\_init](https://python-all.ru/3.4/howto/clinic.html#tp-new-and-tp-init-functions)3848      - [Изменение и перенаправление вывода Clinic](https://python-all.ru/3.4/howto/clinic.html#changing-and-redirecting-clinic-s-output)3849      - [Приём #ifdef](https://python-all.ru/3.4/howto/clinic.html#the-ifdef-trick)3850      - [Использование Argument Clinic в файлах Python](https://python-all.ru/3.4/howto/clinic.html#using-argument-clinic-in-python-files)3851- [Часто задаваемые вопросы по Python](https://python-all.ru/3.4/faq/index.html)38523853  - [Общие вопросы по Python](https://python-all.ru/3.4/faq/general.html)38543855    - [Общая информация](https://python-all.ru/3.4/faq/general.html#general-information)3856    - [Python в реальном мире](https://python-all.ru/3.4/faq/general.html#python-in-the-real-world)3857  - [Вопросы по программированию](https://python-all.ru/3.4/faq/programming.html)38583859    - [Общие вопросы](https://python-all.ru/3.4/faq/programming.html#general-questions)3860    - [Ядро языка](https://python-all.ru/3.4/faq/programming.html#core-language)3861    - [Числа и строки](https://python-all.ru/3.4/faq/programming.html#numbers-and-strings)3862    - [Производительность](https://python-all.ru/3.4/faq/programming.html#performance)3863    - [Последовательности (кортежи/списки)](https://python-all.ru/3.4/faq/programming.html#sequences-tuples-lists)3864    - [Словари](https://python-all.ru/3.4/faq/programming.html#dictionaries)3865    - [Объекты](https://python-all.ru/3.4/faq/programming.html#objects)3866    - [Модули](https://python-all.ru/3.4/faq/programming.html#modules)3867  - [Вопросы по дизайну и истории](https://python-all.ru/3.4/faq/design.html)38683869    - [Почему в Python для группировки инструкций используются отступы?](https://python-all.ru/3.4/faq/design.html#why-does-python-use-indentation-for-grouping-of-statements)3870    - [Почему при простых арифметических операциях получаются странные результаты?](https://python-all.ru/3.4/faq/design.html#why-am-i-getting-strange-results-with-simple-arithmetic-operations)3871    - [Почему вычисления с плавающей запятой такие неточные?](https://python-all.ru/3.4/faq/design.html#why-are-floating-point-calculations-so-inaccurate)3872    - [Почему строки в Python неизменяемы?](https://python-all.ru/3.4/faq/design.html#why-are-python-strings-immutable)3873    - [Почему self нужно явно указывать в определениях и вызовах методов?](https://python-all.ru/3.4/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls)3874    - [Почему в выражении нельзя использовать присваивание?](https://python-all.ru/3.4/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression)3875    - [Почему в Python для одних возможностей используются методы (например, list.index()), а для других – функции (например, len(list))?](https://python-all.ru/3.4/faq/design.html#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list)3876    - [Почему join() – метод строки, а не списка или кортежа?](https://python-all.ru/3.4/faq/design.html#why-is-join-a-string-method-instead-of-a-list-or-tuple-method)3877    - [Насколько быстры исключения?](https://python-all.ru/3.4/faq/design.html#how-fast-are-exceptions)3878    - [Почему в Python нет оператора switch или case?](https://python-all.ru/3.4/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python)3879    - [Разве нельзя эмулировать потоки в интерпретаторе, вместо того чтобы полагаться на реализацию потоков, зависящую от ОС?](https://python-all.ru/3.4/faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation)3880    - [Почему лямбда-выражения не могут содержать инструкции?](https://python-all.ru/3.4/faq/design.html#why-can-t-lambda-expressions-contain-statements)3881    - [Можно ли скомпилировать Python в машинный код, C или другой язык?](https://python-all.ru/3.4/faq/design.html#can-python-be-compiled-to-machine-code-c-or-some-other-language)3882    - [Как Python управляет памятью?](https://python-all.ru/3.4/faq/design.html#how-does-python-manage-memory)3883    - [Почему CPython не использует более традиционную схему сборки мусора?](https://python-all.ru/3.4/faq/design.html#why-doesn-t-cpython-use-a-more-traditional-garbage-collection-scheme)3884    - [Почему при завершении CPython освобождается не вся память?](https://python-all.ru/3.4/faq/design.html#why-isn-t-all-memory-freed-when-cpython-exits)3885    - [Почему существуют отдельные типы данных кортеж и список?](https://python-all.ru/3.4/faq/design.html#why-are-there-separate-tuple-and-list-data-types)3886    - [Как реализованы списки?](https://python-all.ru/3.4/faq/design.html#how-are-lists-implemented)3887    - [Как реализованы словари?](https://python-all.ru/3.4/faq/design.html#how-are-dictionaries-implemented)3888    - [Почему ключи словаря должны быть неизменяемыми?](https://python-all.ru/3.4/faq/design.html#why-must-dictionary-keys-be-immutable)3889    - [Почему list.sort() не возвращает отсортированный список?](https://python-all.ru/3.4/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list)3890    - [Как задать и обеспечить соблюдение спецификации интерфейса в Python?](https://python-all.ru/3.4/faq/design.html#how-do-you-specify-and-enforce-an-interface-spec-in-python)3891    - [Почему нет goto?](https://python-all.ru/3.4/faq/design.html#why-is-there-no-goto)3892    - [Почему сырые строки (r-строки) не могут заканчиваться обратной косой чертой?](https://python-all.ru/3.4/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash)3893    - [Почему в Python нет оператора with для присваивания атрибутов?](https://python-all.ru/3.4/faq/design.html#why-doesn-t-python-have-a-with-statement-for-attribute-assignments)3894    - [Почему в операторах if/while/def/class требуется двоеточие?](https://python-all.ru/3.4/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements)3895    - [Почему Python разрешает запятые в конце списков и кортежей?](https://python-all.ru/3.4/faq/design.html#why-does-python-allow-commas-at-the-end-of-lists-and-tuples)3896  - [FAQ по библиотекам и расширениям](https://python-all.ru/3.4/faq/library.html)38973898    - [Общие вопросы по библиотекам](https://python-all.ru/3.4/faq/library.html#general-library-questions)3899    - [Типовые задачи](https://python-all.ru/3.4/faq/library.html#common-tasks)3900    - [Потоки](https://python-all.ru/3.4/faq/library.html#threads)3901    - [Ввод и вывод](https://python-all.ru/3.4/faq/library.html#input-and-output)3902    - [Сетевое и интернет-программирование](https://python-all.ru/3.4/faq/library.html#network-internet-programming)3903    - [Базы данных](https://python-all.ru/3.4/faq/library.html#databases)3904    - [Математика и численные методы](https://python-all.ru/3.4/faq/library.html#mathematics-and-numerics)3905  - [FAQ по расширению и встраиванию](https://python-all.ru/3.4/faq/extending.html)39063907    - [Можно ли создавать собственные функции на C?](https://python-all.ru/3.4/faq/extending.html#can-i-create-my-own-functions-in-c)3908    - [Можно ли создавать собственные функции на C++?](https://python-all.ru/3.4/faq/extending.html#id1)3909    - [Писать на C сложно; есть ли альтернативы?](https://python-all.ru/3.4/faq/extending.html#writing-c-is-hard-are-there-any-alternatives)3910    - [Как выполнить произвольные инструкции Python из C?](https://python-all.ru/3.4/faq/extending.html#how-can-i-execute-arbitrary-python-statements-from-c)3911    - [Как вычислить произвольное выражение Python из C?](https://python-all.ru/3.4/faq/extending.html#how-can-i-evaluate-an-arbitrary-python-expression-from-c)3912    - [Как извлечь значения C из объекта Python?](https://python-all.ru/3.4/faq/extending.html#how-do-i-extract-c-values-from-a-python-object)3913    - [Как использовать Py\_BuildValue() для создания кортежа произвольной длины?](https://python-all.ru/3.4/faq/extending.html#how-do-i-use-py-buildvalue-to-create-a-tuple-of-arbitrary-length)3914    - [Как вызвать метод объекта из C?](https://python-all.ru/3.4/faq/extending.html#how-do-i-call-an-object-s-method-from-c)3915    - [Как перехватить вывод PyErr\_Print() (или любого другого вывода в stdout/stderr)?](https://python-all.ru/3.4/faq/extending.html#how-do-i-catch-the-output-from-pyerr-print-or-anything-that-prints-to-stdout-stderr)3916    - [Как получить доступ к модулю, написанному на Python, из C?](https://python-all.ru/3.4/faq/extending.html#how-do-i-access-a-module-written-in-python-from-c)3917    - [Как организовать взаимодействие с объектами C++ из Python?](https://python-all.ru/3.4/faq/extending.html#how-do-i-interface-to-c-objects-from-python)3918    - [Почему make завершается ошибкой после добавления модуля через файл Setup?](https://python-all.ru/3.4/faq/extending.html#i-added-a-module-using-the-setup-file-and-the-make-fails-why)3919    - [Как отлаживать расширение?](https://python-all.ru/3.4/faq/extending.html#how-do-i-debug-an-extension)3920    - [Почему при компиляции модуля Python в Linux отсутствуют некоторые файлы?](https://python-all.ru/3.4/faq/extending.html#i-want-to-compile-a-python-module-on-my-linux-system-but-some-files-are-missing-why)3921    - [Что означает «SystemError: \_PyImport\_FixupExtension: module yourmodule not loaded»?](https://python-all.ru/3.4/faq/extending.html#what-does-systemerror-pyimport-fixupextension-module-yourmodule-not-loaded-mean)3922    - [Как отличить «неполный ввод» от «неверного ввода»?](https://python-all.ru/3.4/faq/extending.html#how-do-i-tell-incomplete-input-from-invalid-input)3923    - [Как найти неопределённые символы g++ \_\_builtin\_new или \_\_pure\_virtual?](https://python-all.ru/3.4/faq/extending.html#how-do-i-find-undefined-g-symbols-builtin-new-or-pure-virtual)3924    - [Можно ли создать класс объекта, в котором часть методов реализована на C, а часть – на Python (например, через наследование)?](https://python-all.ru/3.4/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance)3925  - [FAQ по Python в Windows](https://python-all.ru/3.4/faq/windows.html)39263927    - [Как запустить программу Python в Windows?](https://python-all.ru/3.4/faq/windows.html#how-do-i-run-a-python-program-under-windows)3928    - [Как сделать скрипты Python исполняемыми?](https://python-all.ru/3.4/faq/windows.html#how-do-i-make-python-scripts-executable)3929    - [Почему Python иногда так долго запускается?](https://python-all.ru/3.4/faq/windows.html#why-does-python-sometimes-take-so-long-to-start)3930    - [Как создать исполняемый файл из скрипта Python?](https://python-all.ru/3.4/faq/windows.html#how-do-i-make-an-executable-from-a-python-script)3931    - [Является ли файл `*.pyd` тем же самым, что и DLL?](https://python-all.ru/3.4/faq/windows.html#is-a-pyd-file-the-same-as-a-dll)3932    - [Как встроить Python в приложение Windows?](https://python-all.ru/3.4/faq/windows.html#how-can-i-embed-python-into-a-windows-application)3933    - [Как запретить редакторам вставлять табуляцию в исходный код Python?](https://python-all.ru/3.4/faq/windows.html#how-do-i-keep-editors-from-inserting-tabs-into-my-python-source)3934    - [Как проверить нажатие клавиши без блокировки?](https://python-all.ru/3.4/faq/windows.html#how-do-i-check-for-a-keypress-without-blocking)3935    - [Как эмулировать os.kill() в Windows?](https://python-all.ru/3.4/faq/windows.html#how-do-i-emulate-os-kill-in-windows)3936    - [Как извлечь загруженную документацию в Windows?](https://python-all.ru/3.4/faq/windows.html#how-do-i-extract-the-downloaded-documentation-on-windows)3937  - [Часто задаваемые вопросы о графическом интерфейсе пользователя](https://python-all.ru/3.4/faq/gui.html)39383939    - [Общие вопросы по GUI](https://python-all.ru/3.4/faq/gui.html#general-gui-questions)3940    - [Какие существуют кроссплатформенные GUI-инструментарии для Python?](https://python-all.ru/3.4/faq/gui.html#what-platform-independent-gui-toolkits-exist-for-python)3941    - [Какие существуют платформозависимые GUI-инструментарии для Python?](https://python-all.ru/3.4/faq/gui.html#what-platform-specific-gui-toolkits-exist-for-python)3942    - [Вопросы по Tkinter](https://python-all.ru/3.4/faq/gui.html#tkinter-questions)3943  - [FAQ «Почему Python установлен на моём компьютере?»](https://python-all.ru/3.4/faq/installed.html)39443945    - [Что такое Python?](https://python-all.ru/3.4/faq/installed.html#what-is-python)3946    - [Почему Python установлен на моём компьютере?](https://python-all.ru/3.4/faq/installed.html#why-is-python-installed-on-my-machine)3947    - [Можно ли удалить Python?](https://python-all.ru/3.4/faq/installed.html#can-i-delete-python)3948- [Глоссарий](https://python-all.ru/3.4/glossary.html)3949- [Об этих документах](https://python-all.ru/3.4/about.html)39503951  - [Участники документации Python](https://python-all.ru/3.4/about.html#contributors-to-the-python-documentation)3952- [Сообщение об ошибках](https://python-all.ru/3.4/bugs.html)39533954  - [Ошибки в документации](https://python-all.ru/3.4/bugs.html#documentation-bugs)3955  - [Использование трекера задач Python](https://python-all.ru/3.4/bugs.html#using-the-python-issue-tracker)3956  - [Начало работы: участие в разработке Python](https://python-all.ru/3.4/bugs.html#getting-started-contributing-to-python-yourself)3957- [Авторские права](https://python-all.ru/3.4/copyright.html)3958- [История и лицензия](https://python-all.ru/3.4/license.html)39593960  - [История программного обеспечения](https://python-all.ru/3.4/license.html#history-of-the-software)3961  - [Условия доступа и использования Python](https://python-all.ru/3.4/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python)3962  - [Лицензии и благодарности для включённого программного обеспечения](https://python-all.ru/3.4/license.html#licenses-and-acknowledgements-for-incorporated-software)39633964    - [Вихрь Мерсенна](https://python-all.ru/3.4/license.html#mersenne-twister)3965    - [Сокеты](https://python-all.ru/3.4/license.html#sockets)3966    - [Управление исключениями с плавающей точкой](https://python-all.ru/3.4/license.html#floating-point-exception-control)3967    - [Асинхронные службы сокетов](https://python-all.ru/3.4/license.html#asynchronous-socket-services)3968    - [Управление cookie](https://python-all.ru/3.4/license.html#cookie-management)3969    - [Трассировка выполнения](https://python-all.ru/3.4/license.html#execution-tracing)3970    - [Функции UUencode и UUdecode](https://python-all.ru/3.4/license.html#uuencode-and-uudecode-functions)3971    - [XML-вызовы удалённых процедур](https://python-all.ru/3.4/license.html#xml-remote-procedure-calls)3972    - [test\_epoll](https://python-all.ru/3.4/license.html#test-epoll)3973    - [Select kqueue](https://python-all.ru/3.4/license.html#select-kqueue)3974    - [SipHash24](https://python-all.ru/3.4/license.html#siphash24)3975    - [strtod and dtoa](https://python-all.ru/3.4/license.html#strtod-and-dtoa)3976    - [OpenSSL](https://python-all.ru/3.4/license.html#openssl)3977    - [expat](https://python-all.ru/3.4/license.html#expat)3978    - [libffi](https://python-all.ru/3.4/license.html#libffi)3979    - [zlib](https://python-all.ru/3.4/license.html#zlib)3980    - [cfuhash](https://python-all.ru/3.4/license.html#cfuhash)3981    - [libmpdec](https://python-all.ru/3.4/license.html#libmpdec)3982