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

contents.md

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

1> **Источник:** https://python-all.ru/3.5/contents.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Содержание документации Python89- [Что нового в Python](https://python-all.ru/3.5/whatsnew/index.html)1011  - [Что нового в Python 3.5](https://python-all.ru/3.5/whatsnew/3.5.html)1213    - [Сводка – основные моменты выпуска](https://python-all.ru/3.5/whatsnew/3.5.html#summary-release-highlights)14    - [Новые возможности](https://python-all.ru/3.5/whatsnew/3.5.html#new-features)1516      - [PEP 492 - Корутины с синтаксисом async и await](https://python-all.ru/3.5/whatsnew/3.5.html#pep-492-coroutines-with-async-and-await-syntax)17      - [PEP 465 - Специализированный инфиксный оператор для матричного умножения](https://python-all.ru/3.5/whatsnew/3.5.html#pep-465-a-dedicated-infix-operator-for-matrix-multiplication)18      - [PEP 448 - Дополнительные обобщения распаковки](https://python-all.ru/3.5/whatsnew/3.5.html#pep-448-additional-unpacking-generalizations)19      - [PEP 461 - Поддержка %-форматирования для bytes и bytearray](https://python-all.ru/3.5/whatsnew/3.5.html#pep-461-percent-formatting-support-for-bytes-and-bytearray)20      - [PEP 484 - Аннотации типов](https://python-all.ru/3.5/whatsnew/3.5.html#pep-484-type-hints)21      - [PEP 471 - os.scandir() – улучшенный и более быстрый итератор каталогов](https://python-all.ru/3.5/whatsnew/3.5.html#pep-471-os-scandir-function-a-better-and-faster-directory-iterator)22      - [PEP 475: Повтор системных вызовов, завершающихся с EINTR](https://python-all.ru/3.5/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr)23      - [PEP 479: Изменение обработки StopIteration внутри генераторов](https://python-all.ru/3.5/whatsnew/3.5.html#pep-479-change-stopiteration-handling-inside-generators)24      - [PEP 485: Функция для проверки приблизительного равенства](https://python-all.ru/3.5/whatsnew/3.5.html#pep-485-a-function-for-testing-approximate-equality)25      - [PEP 486: Информирование Python Launcher о виртуальных окружениях](https://python-all.ru/3.5/whatsnew/3.5.html#pep-486-make-the-python-launcher-aware-of-virtual-environments)26      - [PEP 488: Удаление PYO-файлов](https://python-all.ru/3.5/whatsnew/3.5.html#pep-488-elimination-of-pyo-files)27      - [PEP 489: Многофазная инициализация модулей расширения](https://python-all.ru/3.5/whatsnew/3.5.html#pep-489-multi-phase-extension-module-initialization)28    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/3.5.html#other-language-changes)29    - [Новые модули](https://python-all.ru/3.5/whatsnew/3.5.html#new-modules)3031      - [typing](https://python-all.ru/3.5/whatsnew/3.5.html#typing)32      - [zipapp](https://python-all.ru/3.5/whatsnew/3.5.html#zipapp)33    - [Улучшенные модули](https://python-all.ru/3.5/whatsnew/3.5.html#improved-modules)3435      - [argparse](https://python-all.ru/3.5/whatsnew/3.5.html#argparse)36      - [asyncio](https://python-all.ru/3.5/whatsnew/3.5.html#asyncio)37      - [bz2](https://python-all.ru/3.5/whatsnew/3.5.html#bz2)38      - [cgi](https://python-all.ru/3.5/whatsnew/3.5.html#cgi)39      - [cmath](https://python-all.ru/3.5/whatsnew/3.5.html#cmath)40      - [код](https://python-all.ru/3.5/whatsnew/3.5.html#code)41      - [collections](https://python-all.ru/3.5/whatsnew/3.5.html#collections)42      - [collections.abc](https://python-all.ru/3.5/whatsnew/3.5.html#collections-abc)43      - [compileall](https://python-all.ru/3.5/whatsnew/3.5.html#compileall)44      - [concurrent.futures](https://python-all.ru/3.5/whatsnew/3.5.html#concurrent-futures)45      - [configparser](https://python-all.ru/3.5/whatsnew/3.5.html#configparser)46      - [contextlib](https://python-all.ru/3.5/whatsnew/3.5.html#contextlib)47      - [csv](https://python-all.ru/3.5/whatsnew/3.5.html#csv)48      - [curses](https://python-all.ru/3.5/whatsnew/3.5.html#curses)49      - [dbm](https://python-all.ru/3.5/whatsnew/3.5.html#dbm)50      - [difflib](https://python-all.ru/3.5/whatsnew/3.5.html#difflib)51      - [distutils](https://python-all.ru/3.5/whatsnew/3.5.html#distutils)52      - [doctest](https://python-all.ru/3.5/whatsnew/3.5.html#doctest)53      - [email](https://python-all.ru/3.5/whatsnew/3.5.html#email)54      - [enum](https://python-all.ru/3.5/whatsnew/3.5.html#enum)55      - [faulthandler](https://python-all.ru/3.5/whatsnew/3.5.html#faulthandler)56      - [functools](https://python-all.ru/3.5/whatsnew/3.5.html#functools)57      - [glob](https://python-all.ru/3.5/whatsnew/3.5.html#glob)58      - [gzip](https://python-all.ru/3.5/whatsnew/3.5.html#gzip)59      - [heapq](https://python-all.ru/3.5/whatsnew/3.5.html#heapq)60      - [http](https://python-all.ru/3.5/whatsnew/3.5.html#http)61      - [http.client](https://python-all.ru/3.5/whatsnew/3.5.html#http-client)62      - [idlelib и IDLE](https://python-all.ru/3.5/whatsnew/3.5.html#idlelib-and-idle)63      - [imaplib](https://python-all.ru/3.5/whatsnew/3.5.html#imaplib)64      - [imghdr](https://python-all.ru/3.5/whatsnew/3.5.html#imghdr)65      - [importlib](https://python-all.ru/3.5/whatsnew/3.5.html#importlib)66      - [inspect](https://python-all.ru/3.5/whatsnew/3.5.html#inspect)67      - [io](https://python-all.ru/3.5/whatsnew/3.5.html#io)68      - [ipaddress](https://python-all.ru/3.5/whatsnew/3.5.html#ipaddress)69      - [json](https://python-all.ru/3.5/whatsnew/3.5.html#json)70      - [linecache](https://python-all.ru/3.5/whatsnew/3.5.html#linecache)71      - [locale](https://python-all.ru/3.5/whatsnew/3.5.html#locale)72      - [logging](https://python-all.ru/3.5/whatsnew/3.5.html#logging)73      - [lzma](https://python-all.ru/3.5/whatsnew/3.5.html#lzma)74      - [math](https://python-all.ru/3.5/whatsnew/3.5.html#math)75      - [multiprocessing](https://python-all.ru/3.5/whatsnew/3.5.html#multiprocessing)76      - [оператор](https://python-all.ru/3.5/whatsnew/3.5.html#operator)77      - [os](https://python-all.ru/3.5/whatsnew/3.5.html#os)78      - [pathlib](https://python-all.ru/3.5/whatsnew/3.5.html#pathlib)79      - [pickle](https://python-all.ru/3.5/whatsnew/3.5.html#pickle)80      - [poplib](https://python-all.ru/3.5/whatsnew/3.5.html#poplib)81      - [re](https://python-all.ru/3.5/whatsnew/3.5.html#re)82      - [readline](https://python-all.ru/3.5/whatsnew/3.5.html#readline)83      - [selectors](https://python-all.ru/3.5/whatsnew/3.5.html#selectors)84      - [shutil](https://python-all.ru/3.5/whatsnew/3.5.html#shutil)85      - [signal](https://python-all.ru/3.5/whatsnew/3.5.html#signal)86      - [smtpd](https://python-all.ru/3.5/whatsnew/3.5.html#smtpd)87      - [smtplib](https://python-all.ru/3.5/whatsnew/3.5.html#smtplib)88      - [sndhdr](https://python-all.ru/3.5/whatsnew/3.5.html#sndhdr)89      - [сокет](https://python-all.ru/3.5/whatsnew/3.5.html#socket)90      - [ssl](https://python-all.ru/3.5/whatsnew/3.5.html#ssl)9192        - [Поддержка Memory BIO](https://python-all.ru/3.5/whatsnew/3.5.html#memory-bio-support)93        - [Поддержка согласования протокола прикладного уровня](https://python-all.ru/3.5/whatsnew/3.5.html#application-layer-protocol-negotiation-support)94        - [Прочие изменения](https://python-all.ru/3.5/whatsnew/3.5.html#other-changes)95      - [sqlite3](https://python-all.ru/3.5/whatsnew/3.5.html#sqlite3)96      - [подпроцесс](https://python-all.ru/3.5/whatsnew/3.5.html#subprocess)97      - [sys](https://python-all.ru/3.5/whatsnew/3.5.html#sys)98      - [sysconfig](https://python-all.ru/3.5/whatsnew/3.5.html#sysconfig)99      - [tarfile](https://python-all.ru/3.5/whatsnew/3.5.html#tarfile)100      - [threading](https://python-all.ru/3.5/whatsnew/3.5.html#threading)101      - [time](https://python-all.ru/3.5/whatsnew/3.5.html#time)102      - [timeit](https://python-all.ru/3.5/whatsnew/3.5.html#timeit)103      - [tkinter](https://python-all.ru/3.5/whatsnew/3.5.html#tkinter)104      - [traceback](https://python-all.ru/3.5/whatsnew/3.5.html#traceback)105      - [типы](https://python-all.ru/3.5/whatsnew/3.5.html#types)106      - [unicodedata](https://python-all.ru/3.5/whatsnew/3.5.html#unicodedata)107      - [unittest](https://python-all.ru/3.5/whatsnew/3.5.html#unittest)108      - [unittest.mock](https://python-all.ru/3.5/whatsnew/3.5.html#unittest-mock)109      - [urllib](https://python-all.ru/3.5/whatsnew/3.5.html#urllib)110      - [wsgiref](https://python-all.ru/3.5/whatsnew/3.5.html#wsgiref)111      - [xmlrpc](https://python-all.ru/3.5/whatsnew/3.5.html#xmlrpc)112      - [xml.sax](https://python-all.ru/3.5/whatsnew/3.5.html#xml-sax)113      - [zipfile](https://python-all.ru/3.5/whatsnew/3.5.html#zipfile)114    - [Другие изменения на уровне модулей](https://python-all.ru/3.5/whatsnew/3.5.html#other-module-level-changes)115    - [Оптимизации](https://python-all.ru/3.5/whatsnew/3.5.html#optimizations)116    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/3.5.html#build-and-c-api-changes)117    - [Устарело](https://python-all.ru/3.5/whatsnew/3.5.html#deprecated)118119      - [Новые ключевые слова](https://python-all.ru/3.5/whatsnew/3.5.html#new-keywords)120      - [Устаревшее поведение Python](https://python-all.ru/3.5/whatsnew/3.5.html#deprecated-python-behavior)121      - [Неподдерживаемые операционные системы](https://python-all.ru/3.5/whatsnew/3.5.html#unsupported-operating-systems)122      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.5/whatsnew/3.5.html#deprecated-python-modules-functions-and-methods)123    - [Удалённое](https://python-all.ru/3.5/whatsnew/3.5.html#removed)124125      - [Удаление API и возможностей](https://python-all.ru/3.5/whatsnew/3.5.html#api-and-feature-removals)126    - [Переход на Python 3.5](https://python-all.ru/3.5/whatsnew/3.5.html#porting-to-python-3-5)127128      - [Изменения в поведении Python](https://python-all.ru/3.5/whatsnew/3.5.html#changes-in-python-behavior)129      - [Изменения в Python API](https://python-all.ru/3.5/whatsnew/3.5.html#changes-in-the-python-api)130      - [Изменения в C API](https://python-all.ru/3.5/whatsnew/3.5.html#changes-in-the-c-api)131  - [Что нового в Python 3.4](https://python-all.ru/3.5/whatsnew/3.4.html)132133    - [Сводка – основные моменты выпуска](https://python-all.ru/3.5/whatsnew/3.4.html#summary-release-highlights)134    - [Новые возможности](https://python-all.ru/3.5/whatsnew/3.4.html#new-features)135136      - [PEP 453: Явная начальная загрузка pip в установках Python](https://python-all.ru/3.5/whatsnew/3.4.html#pep-453-explicit-bootstrapping-of-pip-in-python-installations)137138        - [Автоматическая установка pip по умолчанию](https://python-all.ru/3.5/whatsnew/3.4.html#bootstrapping-pip-by-default)139        - [Изменения в документации](https://python-all.ru/3.5/whatsnew/3.4.html#documentation-changes)140      - [PEP 446: Вновь созданные файловые дескрипторы не наследуются](https://python-all.ru/3.5/whatsnew/3.4.html#pep-446-newly-created-file-descriptors-are-non-inheritable)141      - [Улучшения в обработке кодеков](https://python-all.ru/3.5/whatsnew/3.4.html#improvements-to-codec-handling)142      - [PEP 451: Тип ModuleSpec для системы импорта](https://python-all.ru/3.5/whatsnew/3.4.html#pep-451-a-modulespec-type-for-the-import-system)143      - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/3.4.html#other-language-changes)144    - [Новые модули](https://python-all.ru/3.5/whatsnew/3.4.html#new-modules)145146      - [asyncio](https://python-all.ru/3.5/whatsnew/3.4.html#asyncio)147      - [ensurepip](https://python-all.ru/3.5/whatsnew/3.4.html#ensurepip)148      - [enum](https://python-all.ru/3.5/whatsnew/3.4.html#enum)149      - [pathlib](https://python-all.ru/3.5/whatsnew/3.4.html#pathlib)150      - [selectors](https://python-all.ru/3.5/whatsnew/3.4.html#selectors)151      - [statistics](https://python-all.ru/3.5/whatsnew/3.4.html#statistics)152      - [tracemalloc](https://python-all.ru/3.5/whatsnew/3.4.html#tracemalloc)153    - [Улучшенные модули](https://python-all.ru/3.5/whatsnew/3.4.html#improved-modules)154155      - [abc](https://python-all.ru/3.5/whatsnew/3.4.html#abc)156      - [aifc](https://python-all.ru/3.5/whatsnew/3.4.html#aifc)157      - [argparse](https://python-all.ru/3.5/whatsnew/3.4.html#argparse)158      - [audioop](https://python-all.ru/3.5/whatsnew/3.4.html#audioop)159      - [base64](https://python-all.ru/3.5/whatsnew/3.4.html#base64)160      - [collections](https://python-all.ru/3.5/whatsnew/3.4.html#collections)161      - [colorsys](https://python-all.ru/3.5/whatsnew/3.4.html#colorsys)162      - [contextlib](https://python-all.ru/3.5/whatsnew/3.4.html#contextlib)163      - [dbm](https://python-all.ru/3.5/whatsnew/3.4.html#dbm)164      - [dis](https://python-all.ru/3.5/whatsnew/3.4.html#dis)165      - [doctest](https://python-all.ru/3.5/whatsnew/3.4.html#doctest)166      - [email](https://python-all.ru/3.5/whatsnew/3.4.html#email)167      - [filecmp](https://python-all.ru/3.5/whatsnew/3.4.html#filecmp)168      - [functools](https://python-all.ru/3.5/whatsnew/3.4.html#functools)169      - [gc](https://python-all.ru/3.5/whatsnew/3.4.html#gc)170      - [glob](https://python-all.ru/3.5/whatsnew/3.4.html#glob)171      - [hashlib](https://python-all.ru/3.5/whatsnew/3.4.html#hashlib)172      - [hmac](https://python-all.ru/3.5/whatsnew/3.4.html#hmac)173      - [html](https://python-all.ru/3.5/whatsnew/3.4.html#html)174      - [http](https://python-all.ru/3.5/whatsnew/3.4.html#http)175      - [idlelib и IDLE](https://python-all.ru/3.5/whatsnew/3.4.html#idlelib-and-idle)176      - [importlib](https://python-all.ru/3.5/whatsnew/3.4.html#importlib)177      - [inspect](https://python-all.ru/3.5/whatsnew/3.4.html#inspect)178      - [ipaddress](https://python-all.ru/3.5/whatsnew/3.4.html#ipaddress)179      - [logging](https://python-all.ru/3.5/whatsnew/3.4.html#logging)180      - [marshal](https://python-all.ru/3.5/whatsnew/3.4.html#marshal)181      - [mmap](https://python-all.ru/3.5/whatsnew/3.4.html#mmap)182      - [multiprocessing](https://python-all.ru/3.5/whatsnew/3.4.html#multiprocessing)183      - [оператор](https://python-all.ru/3.5/whatsnew/3.4.html#operator)184      - [os](https://python-all.ru/3.5/whatsnew/3.4.html#os)185      - [pdb](https://python-all.ru/3.5/whatsnew/3.4.html#pdb)186      - [pickle](https://python-all.ru/3.5/whatsnew/3.4.html#pickle)187      - [plistlib](https://python-all.ru/3.5/whatsnew/3.4.html#plistlib)188      - [poplib](https://python-all.ru/3.5/whatsnew/3.4.html#poplib)189      - [pprint](https://python-all.ru/3.5/whatsnew/3.4.html#pprint)190      - [pty](https://python-all.ru/3.5/whatsnew/3.4.html#pty)191      - [pydoc](https://python-all.ru/3.5/whatsnew/3.4.html#pydoc)192      - [re](https://python-all.ru/3.5/whatsnew/3.4.html#re)193      - [resource](https://python-all.ru/3.5/whatsnew/3.4.html#resource)194      - [select](https://python-all.ru/3.5/whatsnew/3.4.html#select)195      - [shelve](https://python-all.ru/3.5/whatsnew/3.4.html#shelve)196      - [shutil](https://python-all.ru/3.5/whatsnew/3.4.html#shutil)197      - [smtpd](https://python-all.ru/3.5/whatsnew/3.4.html#smtpd)198      - [smtplib](https://python-all.ru/3.5/whatsnew/3.4.html#smtplib)199      - [сокет](https://python-all.ru/3.5/whatsnew/3.4.html#socket)200      - [sqlite3](https://python-all.ru/3.5/whatsnew/3.4.html#sqlite3)201      - [ssl](https://python-all.ru/3.5/whatsnew/3.4.html#ssl)202      - [stat](https://python-all.ru/3.5/whatsnew/3.4.html#stat)203      - [struct](https://python-all.ru/3.5/whatsnew/3.4.html#struct)204      - [подпроцесс](https://python-all.ru/3.5/whatsnew/3.4.html#subprocess)205      - [sunau](https://python-all.ru/3.5/whatsnew/3.4.html#sunau)206      - [sys](https://python-all.ru/3.5/whatsnew/3.4.html#sys)207      - [tarfile](https://python-all.ru/3.5/whatsnew/3.4.html#tarfile)208      - [textwrap](https://python-all.ru/3.5/whatsnew/3.4.html#textwrap)209      - [threading](https://python-all.ru/3.5/whatsnew/3.4.html#threading)210      - [traceback](https://python-all.ru/3.5/whatsnew/3.4.html#traceback)211      - [типы](https://python-all.ru/3.5/whatsnew/3.4.html#types)212      - [urllib](https://python-all.ru/3.5/whatsnew/3.4.html#urllib)213      - [unittest](https://python-all.ru/3.5/whatsnew/3.4.html#unittest)214      - [venv](https://python-all.ru/3.5/whatsnew/3.4.html#venv)215      - [wave](https://python-all.ru/3.5/whatsnew/3.4.html#wave)216      - [weakref](https://python-all.ru/3.5/whatsnew/3.4.html#weakref)217      - [xml.etree](https://python-all.ru/3.5/whatsnew/3.4.html#xml-etree)218      - [zipfile](https://python-all.ru/3.5/whatsnew/3.4.html#zipfile)219    - [Изменения в реализации CPython](https://python-all.ru/3.5/whatsnew/3.4.html#cpython-implementation-changes)220221      - [PEP 445: Настройка аллокаторов памяти CPython](https://python-all.ru/3.5/whatsnew/3.4.html#pep-445-customization-of-cpython-memory-allocators)222      - [PEP 442: Безопасная финализация объектов](https://python-all.ru/3.5/whatsnew/3.4.html#pep-442-safe-object-finalization)223      - [PEP 456: Безопасный и взаимозаменяемый хеш-алгоритм](https://python-all.ru/3.5/whatsnew/3.4.html#pep-456-secure-and-interchangeable-hash-algorithm)224      - [PEP 436: Argument Clinic](https://python-all.ru/3.5/whatsnew/3.4.html#pep-436-argument-clinic)225      - [Прочие изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/3.4.html#other-build-and-c-api-changes)226      - [Прочие улучшения](https://python-all.ru/3.5/whatsnew/3.4.html#other-improvements)227      - [Значительные оптимизации](https://python-all.ru/3.5/whatsnew/3.4.html#significant-optimizations)228    - [Устарело](https://python-all.ru/3.5/whatsnew/3.4.html#deprecated)229230      - [Устаревшие возможности в Python API](https://python-all.ru/3.5/whatsnew/3.4.html#deprecations-in-the-python-api)231      - [Устаревшие возможности](https://python-all.ru/3.5/whatsnew/3.4.html#deprecated-features)232    - [Удалённое](https://python-all.ru/3.5/whatsnew/3.4.html#removed)233234      - [Операционные системы, больше не поддерживаемые](https://python-all.ru/3.5/whatsnew/3.4.html#operating-systems-no-longer-supported)235      - [Удаление API и возможностей](https://python-all.ru/3.5/whatsnew/3.4.html#api-and-feature-removals)236      - [Очистка кода](https://python-all.ru/3.5/whatsnew/3.4.html#code-cleanups)237    - [Перенос на Python 3.4](https://python-all.ru/3.5/whatsnew/3.4.html#porting-to-python-3-4)238239      - [Изменения в поведении команды python](https://python-all.ru/3.5/whatsnew/3.4.html#changes-in-python-command-behavior)240      - [Изменения в Python API](https://python-all.ru/3.5/whatsnew/3.4.html#changes-in-the-python-api)241      - [Изменения в C API](https://python-all.ru/3.5/whatsnew/3.4.html#changes-in-the-c-api)242    - [Изменено в 3.4.3](https://python-all.ru/3.5/whatsnew/3.4.html#changed-in-3-4-3)243244      - [PEP 476: Включение проверки сертификатов по умолчанию для http-клиентов стандартной библиотеки](https://python-all.ru/3.5/whatsnew/3.4.html#pep-476-enabling-certificate-verification-by-default-for-stdlib-http-clients)245  - [Что нового в Python 3.3](https://python-all.ru/3.5/whatsnew/3.3.html)246247    - [Сводка – основные моменты выпуска](https://python-all.ru/3.5/whatsnew/3.3.html#summary-release-highlights)248    - [PEP 405: Виртуальные окружения](https://python-all.ru/3.5/whatsnew/3.3.html#pep-405-virtual-environments)249    - [PEP 420: Неявные пакеты пространств имён](https://python-all.ru/3.5/whatsnew/3.3.html#pep-420-implicit-namespace-packages)250    - [PEP 3118: Новая реализация memoryview и документация протокола буферов](https://python-all.ru/3.5/whatsnew/3.3.html#pep-3118-new-memoryview-implementation-and-buffer-protocol-documentation)251252      - [Возможности](https://python-all.ru/3.5/whatsnew/3.3.html#features)253      - [Изменения API](https://python-all.ru/3.5/whatsnew/3.3.html#api-changes)254    - [PEP 393: Гибкое представление строк](https://python-all.ru/3.5/whatsnew/3.3.html#pep-393-flexible-string-representation)255256      - [Функциональность](https://python-all.ru/3.5/whatsnew/3.3.html#functionality)257      - [Производительность и потребление ресурсов](https://python-all.ru/3.5/whatsnew/3.3.html#performance-and-resource-usage)258    - [PEP 397: Средство запуска Python для Windows](https://python-all.ru/3.5/whatsnew/3.3.html#pep-397-python-launcher-for-windows)259    - [PEP 3151: Переработка иерархии исключений ОС и ввода-вывода](https://python-all.ru/3.5/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy)260    - [PEP 380: Синтаксис делегирования подгенератору](https://python-all.ru/3.5/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator)261    - [PEP 409: Подавление контекста исключения](https://python-all.ru/3.5/whatsnew/3.3.html#pep-409-suppressing-exception-context)262    - [PEP 414: Явные литералы Unicode](https://python-all.ru/3.5/whatsnew/3.3.html#pep-414-explicit-unicode-literals)263    - [PEP 3155: Квалифицированное имя для классов и функций](https://python-all.ru/3.5/whatsnew/3.3.html#pep-3155-qualified-name-for-classes-and-functions)264    - [PEP 412: Словарь с разделением ключей](https://python-all.ru/3.5/whatsnew/3.3.html#pep-412-key-sharing-dictionary)265    - [PEP 362: Объект сигнатуры функции](https://python-all.ru/3.5/whatsnew/3.3.html#pep-362-function-signature-object)266    - [PEP 421: Добавление sys.implementation](https://python-all.ru/3.5/whatsnew/3.3.html#pep-421-adding-sys-implementation)267268      - [SimpleNamespace](https://python-all.ru/3.5/whatsnew/3.3.html#simplenamespace)269    - [Использование importlib в качестве реализации импорта](https://python-all.ru/3.5/whatsnew/3.3.html#using-importlib-as-the-implementation-of-import)270271      - [Новые API](https://python-all.ru/3.5/whatsnew/3.3.html#new-apis)272      - [Заметные изменения](https://python-all.ru/3.5/whatsnew/3.3.html#visible-changes)273    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/3.3.html#other-language-changes)274    - [Более детальная блокировка импорта](https://python-all.ru/3.5/whatsnew/3.3.html#a-finer-grained-import-lock)275    - [Встроенные функции и типы](https://python-all.ru/3.5/whatsnew/3.3.html#builtin-functions-and-types)276    - [Новые модули](https://python-all.ru/3.5/whatsnew/3.3.html#new-modules)277278      - [faulthandler](https://python-all.ru/3.5/whatsnew/3.3.html#faulthandler)279      - [ipaddress](https://python-all.ru/3.5/whatsnew/3.3.html#ipaddress)280      - [lzma](https://python-all.ru/3.5/whatsnew/3.3.html#lzma)281    - [Улучшенные модули](https://python-all.ru/3.5/whatsnew/3.3.html#improved-modules)282283      - [abc](https://python-all.ru/3.5/whatsnew/3.3.html#abc)284      - [array](https://python-all.ru/3.5/whatsnew/3.3.html#array)285      - [base64](https://python-all.ru/3.5/whatsnew/3.3.html#base64)286      - [binascii](https://python-all.ru/3.5/whatsnew/3.3.html#binascii)287      - [bz2](https://python-all.ru/3.5/whatsnew/3.3.html#bz2)288      - [codecs](https://python-all.ru/3.5/whatsnew/3.3.html#codecs)289      - [collections](https://python-all.ru/3.5/whatsnew/3.3.html#collections)290      - [contextlib](https://python-all.ru/3.5/whatsnew/3.3.html#contextlib)291      - [crypt](https://python-all.ru/3.5/whatsnew/3.3.html#crypt)292      - [curses](https://python-all.ru/3.5/whatsnew/3.3.html#curses)293      - [datetime](https://python-all.ru/3.5/whatsnew/3.3.html#datetime)294      - [decimal](https://python-all.ru/3.5/whatsnew/3.3.html#decimal)295296        - [Возможности](https://python-all.ru/3.5/whatsnew/3.3.html#id1)297        - [Изменения API](https://python-all.ru/3.5/whatsnew/3.3.html#id2)298      - [email](https://python-all.ru/3.5/whatsnew/3.3.html#email)299300        - [Каркас политик](https://python-all.ru/3.5/whatsnew/3.3.html#policy-framework)301        - [Временная политика с новым API заголовков](https://python-all.ru/3.5/whatsnew/3.3.html#provisional-policy-with-new-header-api)302        - [Другие изменения API](https://python-all.ru/3.5/whatsnew/3.3.html#other-api-changes)303      - [ftplib](https://python-all.ru/3.5/whatsnew/3.3.html#ftplib)304      - [functools](https://python-all.ru/3.5/whatsnew/3.3.html#functools)305      - [gc](https://python-all.ru/3.5/whatsnew/3.3.html#gc)306      - [hmac](https://python-all.ru/3.5/whatsnew/3.3.html#hmac)307      - [http](https://python-all.ru/3.5/whatsnew/3.3.html#http)308      - [html](https://python-all.ru/3.5/whatsnew/3.3.html#html)309      - [imaplib](https://python-all.ru/3.5/whatsnew/3.3.html#imaplib)310      - [inspect](https://python-all.ru/3.5/whatsnew/3.3.html#inspect)311      - [io](https://python-all.ru/3.5/whatsnew/3.3.html#io)312      - [itertools](https://python-all.ru/3.5/whatsnew/3.3.html#itertools)313      - [logging](https://python-all.ru/3.5/whatsnew/3.3.html#logging)314      - [math](https://python-all.ru/3.5/whatsnew/3.3.html#math)315      - [mmap](https://python-all.ru/3.5/whatsnew/3.3.html#mmap)316      - [multiprocessing](https://python-all.ru/3.5/whatsnew/3.3.html#multiprocessing)317      - [nntplib](https://python-all.ru/3.5/whatsnew/3.3.html#nntplib)318      - [os](https://python-all.ru/3.5/whatsnew/3.3.html#os)319      - [pdb](https://python-all.ru/3.5/whatsnew/3.3.html#pdb)320      - [pickle](https://python-all.ru/3.5/whatsnew/3.3.html#pickle)321      - [pydoc](https://python-all.ru/3.5/whatsnew/3.3.html#pydoc)322      - [re](https://python-all.ru/3.5/whatsnew/3.3.html#re)323      - [sched](https://python-all.ru/3.5/whatsnew/3.3.html#sched)324      - [select](https://python-all.ru/3.5/whatsnew/3.3.html#select)325      - [shlex](https://python-all.ru/3.5/whatsnew/3.3.html#shlex)326      - [shutil](https://python-all.ru/3.5/whatsnew/3.3.html#shutil)327      - [signal](https://python-all.ru/3.5/whatsnew/3.3.html#signal)328      - [smtpd](https://python-all.ru/3.5/whatsnew/3.3.html#smtpd)329      - [smtplib](https://python-all.ru/3.5/whatsnew/3.3.html#smtplib)330      - [сокет](https://python-all.ru/3.5/whatsnew/3.3.html#socket)331      - [socketserver](https://python-all.ru/3.5/whatsnew/3.3.html#socketserver)332      - [sqlite3](https://python-all.ru/3.5/whatsnew/3.3.html#sqlite3)333      - [ssl](https://python-all.ru/3.5/whatsnew/3.3.html#ssl)334      - [stat](https://python-all.ru/3.5/whatsnew/3.3.html#stat)335      - [struct](https://python-all.ru/3.5/whatsnew/3.3.html#struct)336      - [подпроцесс](https://python-all.ru/3.5/whatsnew/3.3.html#subprocess)337      - [sys](https://python-all.ru/3.5/whatsnew/3.3.html#sys)338      - [tarfile](https://python-all.ru/3.5/whatsnew/3.3.html#tarfile)339      - [tempfile](https://python-all.ru/3.5/whatsnew/3.3.html#tempfile)340      - [textwrap](https://python-all.ru/3.5/whatsnew/3.3.html#textwrap)341      - [threading](https://python-all.ru/3.5/whatsnew/3.3.html#threading)342      - [time](https://python-all.ru/3.5/whatsnew/3.3.html#time)343      - [типы](https://python-all.ru/3.5/whatsnew/3.3.html#types)344      - [unittest](https://python-all.ru/3.5/whatsnew/3.3.html#unittest)345      - [urllib](https://python-all.ru/3.5/whatsnew/3.3.html#urllib)346      - [webbrowser](https://python-all.ru/3.5/whatsnew/3.3.html#webbrowser)347      - [xml.etree.ElementTree](https://python-all.ru/3.5/whatsnew/3.3.html#xml-etree-elementtree)348      - [zlib](https://python-all.ru/3.5/whatsnew/3.3.html#zlib)349    - [Оптимизации](https://python-all.ru/3.5/whatsnew/3.3.html#optimizations)350    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/3.3.html#build-and-c-api-changes)351    - [Устарело](https://python-all.ru/3.5/whatsnew/3.3.html#deprecated)352353      - [Неподдерживаемые операционные системы](https://python-all.ru/3.5/whatsnew/3.3.html#unsupported-operating-systems)354      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.5/whatsnew/3.3.html#deprecated-python-modules-functions-and-methods)355      - [Устаревшие функции и типы C API](https://python-all.ru/3.5/whatsnew/3.3.html#deprecated-functions-and-types-of-the-c-api)356      - [Устаревшие возможности](https://python-all.ru/3.5/whatsnew/3.3.html#deprecated-features)357    - [Портирование на Python 3.3](https://python-all.ru/3.5/whatsnew/3.3.html#porting-to-python-3-3)358359      - [Перенос кода Python](https://python-all.ru/3.5/whatsnew/3.3.html#porting-python-code)360      - [Перенос кода C](https://python-all.ru/3.5/whatsnew/3.3.html#porting-c-code)361      - [Сборка расширений на C](https://python-all.ru/3.5/whatsnew/3.3.html#building-c-extensions)362      - [Изменения параметров командной строки](https://python-all.ru/3.5/whatsnew/3.3.html#command-line-switch-changes)363  - [Что нового в Python 3.2](https://python-all.ru/3.5/whatsnew/3.2.html)364365    - [PEP 384: Определение стабильного ABI](https://python-all.ru/3.5/whatsnew/3.2.html#pep-384-defining-a-stable-abi)366    - [PEP 389: Модуль разбора командной строки argparse](https://python-all.ru/3.5/whatsnew/3.2.html#pep-389-argparse-command-line-parsing-module)367    - [PEP 391: Конфигурация логирования на основе словарей](https://python-all.ru/3.5/whatsnew/3.2.html#pep-391-dictionary-based-configuration-for-logging)368    - [PEP 3148: Модуль `concurrent.futures`](https://python-all.ru/3.5/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module)369    - [PEP 3147: Каталоги репозитория PYC](https://python-all.ru/3.5/whatsnew/3.2.html#pep-3147-pyc-repository-directories)370    - [PEP 3149: Файлы .so с тегом версии ABI](https://python-all.ru/3.5/whatsnew/3.2.html#pep-3149-abi-version-tagged-so-files)371    - [PEP 3333: Интерфейс шлюза веб-сервера Python v1.0.1](https://python-all.ru/3.5/whatsnew/3.2.html#pep-3333-python-web-server-gateway-interface-v1-0-1)372    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/3.2.html#other-language-changes)373    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.5/whatsnew/3.2.html#new-improved-and-deprecated-modules)374375      - [email](https://python-all.ru/3.5/whatsnew/3.2.html#email)376      - [elementtree](https://python-all.ru/3.5/whatsnew/3.2.html#elementtree)377      - [functools](https://python-all.ru/3.5/whatsnew/3.2.html#functools)378      - [itertools](https://python-all.ru/3.5/whatsnew/3.2.html#itertools)379      - [collections](https://python-all.ru/3.5/whatsnew/3.2.html#collections)380      - [threading](https://python-all.ru/3.5/whatsnew/3.2.html#threading)381      - [datetime и time](https://python-all.ru/3.5/whatsnew/3.2.html#datetime-and-time)382      - [math](https://python-all.ru/3.5/whatsnew/3.2.html#math)383      - [abc](https://python-all.ru/3.5/whatsnew/3.2.html#abc)384      - [io](https://python-all.ru/3.5/whatsnew/3.2.html#io)385      - [reprlib](https://python-all.ru/3.5/whatsnew/3.2.html#reprlib)386      - [logging](https://python-all.ru/3.5/whatsnew/3.2.html#logging)387      - [csv](https://python-all.ru/3.5/whatsnew/3.2.html#csv)388      - [contextlib](https://python-all.ru/3.5/whatsnew/3.2.html#contextlib)389      - [decimal и fractions](https://python-all.ru/3.5/whatsnew/3.2.html#decimal-and-fractions)390      - [ftp](https://python-all.ru/3.5/whatsnew/3.2.html#ftp)391      - [popen](https://python-all.ru/3.5/whatsnew/3.2.html#popen)392      - [select](https://python-all.ru/3.5/whatsnew/3.2.html#select)393      - [gzip и zipfile](https://python-all.ru/3.5/whatsnew/3.2.html#gzip-and-zipfile)394      - [tarfile](https://python-all.ru/3.5/whatsnew/3.2.html#tarfile)395      - [hashlib](https://python-all.ru/3.5/whatsnew/3.2.html#hashlib)396      - [ast](https://python-all.ru/3.5/whatsnew/3.2.html#ast)397      - [os](https://python-all.ru/3.5/whatsnew/3.2.html#os)398      - [shutil](https://python-all.ru/3.5/whatsnew/3.2.html#shutil)399      - [sqlite3](https://python-all.ru/3.5/whatsnew/3.2.html#sqlite3)400      - [html](https://python-all.ru/3.5/whatsnew/3.2.html#html)401      - [сокет](https://python-all.ru/3.5/whatsnew/3.2.html#socket)402      - [ssl](https://python-all.ru/3.5/whatsnew/3.2.html#ssl)403      - [nntp](https://python-all.ru/3.5/whatsnew/3.2.html#nntp)404      - [сертификаты](https://python-all.ru/3.5/whatsnew/3.2.html#certificates)405      - [imaplib](https://python-all.ru/3.5/whatsnew/3.2.html#imaplib)406      - [http.client](https://python-all.ru/3.5/whatsnew/3.2.html#http-client)407      - [unittest](https://python-all.ru/3.5/whatsnew/3.2.html#unittest)408      - [random](https://python-all.ru/3.5/whatsnew/3.2.html#random)409      - [poplib](https://python-all.ru/3.5/whatsnew/3.2.html#poplib)410      - [asyncore](https://python-all.ru/3.5/whatsnew/3.2.html#asyncore)411      - [tempfile](https://python-all.ru/3.5/whatsnew/3.2.html#tempfile)412      - [inspect](https://python-all.ru/3.5/whatsnew/3.2.html#inspect)413      - [pydoc](https://python-all.ru/3.5/whatsnew/3.2.html#pydoc)414      - [dis](https://python-all.ru/3.5/whatsnew/3.2.html#dis)415      - [dbm](https://python-all.ru/3.5/whatsnew/3.2.html#dbm)416      - [ctypes](https://python-all.ru/3.5/whatsnew/3.2.html#ctypes)417      - [site](https://python-all.ru/3.5/whatsnew/3.2.html#site)418      - [sysconfig](https://python-all.ru/3.5/whatsnew/3.2.html#sysconfig)419      - [pdb](https://python-all.ru/3.5/whatsnew/3.2.html#pdb)420      - [configparser](https://python-all.ru/3.5/whatsnew/3.2.html#configparser)421      - [urllib.parse](https://python-all.ru/3.5/whatsnew/3.2.html#urllib-parse)422      - [mailbox](https://python-all.ru/3.5/whatsnew/3.2.html#mailbox)423      - [turtledemo](https://python-all.ru/3.5/whatsnew/3.2.html#turtledemo)424    - [Многопоточность](https://python-all.ru/3.5/whatsnew/3.2.html#multi-threading)425    - [Оптимизации](https://python-all.ru/3.5/whatsnew/3.2.html#optimizations)426    - [Юникод](https://python-all.ru/3.5/whatsnew/3.2.html#unicode)427    - [Кодеки](https://python-all.ru/3.5/whatsnew/3.2.html#codecs)428    - [Документация](https://python-all.ru/3.5/whatsnew/3.2.html#documentation)429    - [IDLE](https://python-all.ru/3.5/whatsnew/3.2.html#idle)430    - [Репозиторий кода](https://python-all.ru/3.5/whatsnew/3.2.html#code-repository)431    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/3.2.html#build-and-c-api-changes)432    - [Переход на Python 3.2](https://python-all.ru/3.5/whatsnew/3.2.html#porting-to-python-3-2)433  - [Что нового в Python 3.1](https://python-all.ru/3.5/whatsnew/3.1.html)434435    - [PEP 372: Упорядоченные словари](https://python-all.ru/3.5/whatsnew/3.1.html#pep-372-ordered-dictionaries)436    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.5/whatsnew/3.1.html#pep-378-format-specifier-for-thousands-separator)437    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/3.1.html#other-language-changes)438    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.5/whatsnew/3.1.html#new-improved-and-deprecated-modules)439    - [Оптимизации](https://python-all.ru/3.5/whatsnew/3.1.html#optimizations)440    - [IDLE](https://python-all.ru/3.5/whatsnew/3.1.html#idle)441    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/3.1.html#build-and-c-api-changes)442    - [Переход на Python 3.1](https://python-all.ru/3.5/whatsnew/3.1.html#porting-to-python-3-1)443  - [Что нового в Python 3.0](https://python-all.ru/3.5/whatsnew/3.0.html)444445    - [Типичные трудности](https://python-all.ru/3.5/whatsnew/3.0.html#common-stumbling-blocks)446447      - [Print – это функция](https://python-all.ru/3.5/whatsnew/3.0.html#print-is-a-function)448      - [Представления и итераторы вместо списков](https://python-all.ru/3.5/whatsnew/3.0.html#views-and-iterators-instead-of-lists)449      - [Сравнение на упорядочивание](https://python-all.ru/3.5/whatsnew/3.0.html#ordering-comparisons)450      - [Целые числа](https://python-all.ru/3.5/whatsnew/3.0.html#integers)451      - [Текст против данных: вместо Unicode и 8-битных строк](https://python-all.ru/3.5/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit)452    - [Обзор изменений синтаксиса](https://python-all.ru/3.5/whatsnew/3.0.html#overview-of-syntax-changes)453454      - [Новый синтаксис](https://python-all.ru/3.5/whatsnew/3.0.html#new-syntax)455      - [Изменённый синтаксис](https://python-all.ru/3.5/whatsnew/3.0.html#changed-syntax)456      - [Удалённый синтаксис](https://python-all.ru/3.5/whatsnew/3.0.html#removed-syntax)457    - [Изменения, уже присутствовавшие в Python 2.6](https://python-all.ru/3.5/whatsnew/3.0.html#changes-already-present-in-python-2-6)458    - [Изменения в библиотеке](https://python-all.ru/3.5/whatsnew/3.0.html#library-changes)459    - [**PEP 3101**: Новый подход к форматированию строк](https://python-all.ru/3.5/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting)460    - [Изменения в исключениях](https://python-all.ru/3.5/whatsnew/3.0.html#changes-to-exceptions)461    - [Прочие изменения](https://python-all.ru/3.5/whatsnew/3.0.html#miscellaneous-other-changes)462463      - [Операторы и специальные методы](https://python-all.ru/3.5/whatsnew/3.0.html#operators-and-special-methods)464      - [Встроенные функции](https://python-all.ru/3.5/whatsnew/3.0.html#builtins)465    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/3.0.html#build-and-c-api-changes)466    - [Производительность](https://python-all.ru/3.5/whatsnew/3.0.html#performance)467    - [Переход на Python 3.0](https://python-all.ru/3.5/whatsnew/3.0.html#porting-to-python-3-0)468  - [Что нового в Python 2.7](https://python-all.ru/3.5/whatsnew/2.7.html)469470    - [Будущее Python 2.x](https://python-all.ru/3.5/whatsnew/2.7.html#the-future-for-python-2-x)471    - [Изменения в обработке предупреждений об устаревании](https://python-all.ru/3.5/whatsnew/2.7.html#changes-to-the-handling-of-deprecation-warnings)472    - [Возможности Python 3.1](https://python-all.ru/3.5/whatsnew/2.7.html#python-3-1-features)473    - [PEP 372: Добавление упорядоченного словаря в collections](https://python-all.ru/3.5/whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections)474    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.5/whatsnew/2.7.html#pep-378-format-specifier-for-thousands-separator)475    - [PEP 389: Модуль argparse для разбора командной строки](https://python-all.ru/3.5/whatsnew/2.7.html#pep-389-the-argparse-module-for-parsing-command-lines)476    - [PEP 391: Конфигурация логирования на основе словаря](https://python-all.ru/3.5/whatsnew/2.7.html#pep-391-dictionary-based-configuration-for-logging)477    - [PEP 3106: Представления словаря](https://python-all.ru/3.5/whatsnew/2.7.html#pep-3106-dictionary-views)478    - [PEP 3137: Объект memoryview](https://python-all.ru/3.5/whatsnew/2.7.html#pep-3137-the-memoryview-object)479    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/2.7.html#other-language-changes)480481      - [Изменения в интерпретаторе](https://python-all.ru/3.5/whatsnew/2.7.html#interpreter-changes)482      - [Оптимизации](https://python-all.ru/3.5/whatsnew/2.7.html#optimizations)483    - [Новые и улучшенные модули](https://python-all.ru/3.5/whatsnew/2.7.html#new-and-improved-modules)484485      - [Новый модуль: importlib](https://python-all.ru/3.5/whatsnew/2.7.html#new-module-importlib)486      - [Новый модуль: sysconfig](https://python-all.ru/3.5/whatsnew/2.7.html#new-module-sysconfig)487      - [ttk: Тематические виджеты для Tk](https://python-all.ru/3.5/whatsnew/2.7.html#ttk-themed-widgets-for-tk)488      - [Обновлённый модуль: unittest](https://python-all.ru/3.5/whatsnew/2.7.html#updated-module-unittest)489      - [Обновлённый модуль: ElementTree 1.3](https://python-all.ru/3.5/whatsnew/2.7.html#updated-module-elementtree-1-3)490    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/2.7.html#build-and-c-api-changes)491492      - [Капсулы](https://python-all.ru/3.5/whatsnew/2.7.html#capsules)493      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.5/whatsnew/2.7.html#port-specific-changes-windows)494      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.5/whatsnew/2.7.html#port-specific-changes-mac-os-x)495      - [Изменения для конкретной платформы: FreeBSD](https://python-all.ru/3.5/whatsnew/2.7.html#port-specific-changes-freebsd)496    - [Прочие изменения и исправления](https://python-all.ru/3.5/whatsnew/2.7.html#other-changes-and-fixes)497    - [Переход на Python 2.7](https://python-all.ru/3.5/whatsnew/2.7.html#porting-to-python-2-7)498    - [Новые возможности, добавленные в поддерживаемых выпусках Python 2.7](https://python-all.ru/3.5/whatsnew/2.7.html#new-features-added-to-python-2-7-maintenance-releases)499500      - [PEP 434: Исключение для улучшений IDLE во всех ветках](https://python-all.ru/3.5/whatsnew/2.7.html#pep-434-idle-enhancement-exception-for-all-branches)501      - [PEP 466: Улучшения сетевой безопасности для Python 2.7](https://python-all.ru/3.5/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7)502    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.7.html#acknowledgements)503  - [Что нового в Python 2.6](https://python-all.ru/3.5/whatsnew/2.6.html)504505    - [Python 3.0](https://python-all.ru/3.5/whatsnew/2.6.html#python-3-0)506    - [Изменения в процессе разработки](https://python-all.ru/3.5/whatsnew/2.6.html#changes-to-the-development-process)507508      - [Новый трекер ошибок: Roundup](https://python-all.ru/3.5/whatsnew/2.6.html#new-issue-tracker-roundup)509      - [Новый формат документации: reStructuredText с использованием Sphinx](https://python-all.ru/3.5/whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx)510    - [PEP 343: Оператор 'with'](https://python-all.ru/3.5/whatsnew/2.6.html#pep-343-the-with-statement)511512      - [Написание контекстных менеджеров](https://python-all.ru/3.5/whatsnew/2.6.html#writing-context-managers)513      - [Модуль contextlib](https://python-all.ru/3.5/whatsnew/2.6.html#the-contextlib-module)514    - [PEP 366: Явные относительные импорты из главного модуля](https://python-all.ru/3.5/whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module)515    - [PEP 370: Каталог `site-packages` для каждого пользователя](https://python-all.ru/3.5/whatsnew/2.6.html#pep-370-per-user-site-packages-directory)516    - [PEP 371: Пакет `multiprocessing`](https://python-all.ru/3.5/whatsnew/2.6.html#pep-371-the-multiprocessing-package)517    - [PEP 3101: Расширенное форматирование строк](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3101-advanced-string-formatting)518    - [PEP 3105: `print` как функция](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3105-print-as-a-function)519    - [PEP 3110: Изменения в обработке исключений](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3110-exception-handling-changes)520    - [PEP 3112: Байтовые литералы](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3112-byte-literals)521    - [PEP 3116: Новая библиотека ввода-вывода](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3116-new-i-o-library)522    - [PEP 3118: Пересмотренный протокол буферов](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3118-revised-buffer-protocol)523    - [PEP 3119: Абстрактные базовые классы](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3119-abstract-base-classes)524    - [PEP 3127: Поддержка и синтаксис целочисленных литералов](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax)525    - [PEP 3129: Декораторы классов](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3129-class-decorators)526    - [PEP 3141: Иерархия типов для чисел](https://python-all.ru/3.5/whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers)527528      - [Модуль `fractions`](https://python-all.ru/3.5/whatsnew/2.6.html#the-fractions-module)529    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/2.6.html#other-language-changes)530531      - [Оптимизации](https://python-all.ru/3.5/whatsnew/2.6.html#optimizations)532      - [Изменения в интерпретаторе](https://python-all.ru/3.5/whatsnew/2.6.html#interpreter-changes)533    - [Новые и улучшенные модули](https://python-all.ru/3.5/whatsnew/2.6.html#new-and-improved-modules)534535      - [Модуль `ast`](https://python-all.ru/3.5/whatsnew/2.6.html#the-ast-module)536      - [Модуль `future_builtins`](https://python-all.ru/3.5/whatsnew/2.6.html#the-future-builtins-module)537      - [Модуль `json`: JavaScript Object Notation](https://python-all.ru/3.5/whatsnew/2.6.html#the-json-module-javascript-object-notation)538      - [Модуль `plistlib`: парсер списков свойств](https://python-all.ru/3.5/whatsnew/2.6.html#the-plistlib-module-a-property-list-parser)539      - [Улучшения ctypes](https://python-all.ru/3.5/whatsnew/2.6.html#ctypes-enhancements)540      - [Улучшенная поддержка SSL](https://python-all.ru/3.5/whatsnew/2.6.html#improved-ssl-support)541    - [Устаревания и удаления](https://python-all.ru/3.5/whatsnew/2.6.html#deprecations-and-removals)542    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/2.6.html#build-and-c-api-changes)543544      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.5/whatsnew/2.6.html#port-specific-changes-windows)545      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.5/whatsnew/2.6.html#port-specific-changes-mac-os-x)546      - [Изменения для конкретных платформ: IRIX](https://python-all.ru/3.5/whatsnew/2.6.html#port-specific-changes-irix)547    - [Переход на Python 2.6](https://python-all.ru/3.5/whatsnew/2.6.html#porting-to-python-2-6)548    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.6.html#acknowledgements)549  - [Что нового в Python 2.5](https://python-all.ru/3.5/whatsnew/2.5.html)550551    - [PEP 308: Условные выражения](https://python-all.ru/3.5/whatsnew/2.5.html#pep-308-conditional-expressions)552    - [PEP 309: Частичное применение функций](https://python-all.ru/3.5/whatsnew/2.5.html#pep-309-partial-function-application)553    - [PEP 314: Метаданные для пакетов Python v1.1](https://python-all.ru/3.5/whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1)554    - [PEP 328: Абсолютные и относительные импорты](https://python-all.ru/3.5/whatsnew/2.5.html#pep-328-absolute-and-relative-imports)555    - [PEP 338: Выполнение модулей как сценариев](https://python-all.ru/3.5/whatsnew/2.5.html#pep-338-executing-modules-as-scripts)556    - [PEP 341: Единый try/except/finally](https://python-all.ru/3.5/whatsnew/2.5.html#pep-341-unified-try-except-finally)557    - [PEP 342: Новые возможности генераторов](https://python-all.ru/3.5/whatsnew/2.5.html#pep-342-new-generator-features)558    - [PEP 343: Оператор 'with'](https://python-all.ru/3.5/whatsnew/2.5.html#pep-343-the-with-statement)559560      - [Написание контекстных менеджеров](https://python-all.ru/3.5/whatsnew/2.5.html#writing-context-managers)561      - [Модуль contextlib](https://python-all.ru/3.5/whatsnew/2.5.html#the-contextlib-module)562    - [PEP 352: Исключения как классы нового стиля](https://python-all.ru/3.5/whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes)563    - [PEP 353: Использование ssize\_t в качестве типа индекса](https://python-all.ru/3.5/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type)564    - [PEP 357: Метод '\_\_index\_\_'](https://python-all.ru/3.5/whatsnew/2.5.html#pep-357-the-index-method)565    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/2.5.html#other-language-changes)566567      - [Изменения в интерактивном интерпретаторе](https://python-all.ru/3.5/whatsnew/2.5.html#interactive-interpreter-changes)568      - [Оптимизации](https://python-all.ru/3.5/whatsnew/2.5.html#optimizations)569    - [Новые, улучшенные и удалённые модули](https://python-all.ru/3.5/whatsnew/2.5.html#new-improved-and-removed-modules)570571      - [Пакет ctypes](https://python-all.ru/3.5/whatsnew/2.5.html#the-ctypes-package)572      - [Пакет ElementTree](https://python-all.ru/3.5/whatsnew/2.5.html#the-elementtree-package)573      - [Пакет hashlib](https://python-all.ru/3.5/whatsnew/2.5.html#the-hashlib-package)574      - [Пакет sqlite3](https://python-all.ru/3.5/whatsnew/2.5.html#the-sqlite3-package)575      - [Пакет wsgiref](https://python-all.ru/3.5/whatsnew/2.5.html#the-wsgiref-package)576    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/2.5.html#build-and-c-api-changes)577578      - [Изменения для конкретных платформ](https://python-all.ru/3.5/whatsnew/2.5.html#port-specific-changes)579    - [Перенос на Python 2.5](https://python-all.ru/3.5/whatsnew/2.5.html#porting-to-python-2-5)580    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.5.html#acknowledgements)581  - [Что нового в Python 2.4](https://python-all.ru/3.5/whatsnew/2.4.html)582583    - [PEP 218: Встроенные объекты множеств](https://python-all.ru/3.5/whatsnew/2.4.html#pep-218-built-in-set-objects)584    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.5/whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers)585    - [PEP 289: Генераторные выражения](https://python-all.ru/3.5/whatsnew/2.4.html#pep-289-generator-expressions)586    - [PEP 292: Упрощённая подстановка строк](https://python-all.ru/3.5/whatsnew/2.4.html#pep-292-simpler-string-substitutions)587    - [PEP 318: Декораторы для функций и методов](https://python-all.ru/3.5/whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods)588    - [PEP 322: Обратная итерация](https://python-all.ru/3.5/whatsnew/2.4.html#pep-322-reverse-iteration)589    - [PEP 324: Новый модуль подпроцесса](https://python-all.ru/3.5/whatsnew/2.4.html#pep-324-new-subprocess-module)590    - [PEP 327: Тип данных Decimal](https://python-all.ru/3.5/whatsnew/2.4.html#pep-327-decimal-data-type)591592      - [Зачем нужен Decimal?](https://python-all.ru/3.5/whatsnew/2.4.html#why-is-decimal-needed)593      - [Тип `Decimal`](https://python-all.ru/3.5/whatsnew/2.4.html#the-decimal-type)594      - [Тип `Context`](https://python-all.ru/3.5/whatsnew/2.4.html#the-context-type)595    - [PEP 328: Многострочные импорты](https://python-all.ru/3.5/whatsnew/2.4.html#pep-328-multi-line-imports)596    - [PEP 331: Независящие от локали преобразования float/строк](https://python-all.ru/3.5/whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions)597    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/2.4.html#other-language-changes)598599      - [Оптимизации](https://python-all.ru/3.5/whatsnew/2.4.html#optimizations)600    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.5/whatsnew/2.4.html#new-improved-and-deprecated-modules)601602      - [cookielib](https://python-all.ru/3.5/whatsnew/2.4.html#cookielib)603      - [doctest](https://python-all.ru/3.5/whatsnew/2.4.html#doctest)604    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/2.4.html#build-and-c-api-changes)605606      - [Изменения для конкретных платформ](https://python-all.ru/3.5/whatsnew/2.4.html#port-specific-changes)607    - [Перенос на Python 2.4](https://python-all.ru/3.5/whatsnew/2.4.html#porting-to-python-2-4)608    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.4.html#acknowledgements)609  - [Что нового в Python 2.3](https://python-all.ru/3.5/whatsnew/2.3.html)610611    - [PEP 218: Стандартный тип set](https://python-all.ru/3.5/whatsnew/2.3.html#pep-218-a-standard-set-datatype)612    - [PEP 255: простые генераторы](https://python-all.ru/3.5/whatsnew/2.3.html#pep-255-simple-generators)613    - [PEP 263: Кодировки исходного кода](https://python-all.ru/3.5/whatsnew/2.3.html#pep-263-source-code-encodings)614    - [PEP 273: Импорт модулей из ZIP-архивов](https://python-all.ru/3.5/whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives)615    - [PEP 277: Поддержка имён файлов в Unicode для Windows NT](https://python-all.ru/3.5/whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt)616    - [PEP 278: Универсальная поддержка символов новой строки](https://python-all.ru/3.5/whatsnew/2.3.html#pep-278-universal-newline-support)617    - [PEP 279: enumerate()](https://python-all.ru/3.5/whatsnew/2.3.html#pep-279-enumerate)618    - [PEP 282: Пакет logging](https://python-all.ru/3.5/whatsnew/2.3.html#pep-282-the-logging-package)619    - [PEP 285: Булев тип](https://python-all.ru/3.5/whatsnew/2.3.html#pep-285-a-boolean-type)620    - [PEP 293: Колбэки обработки ошибок кодеков](https://python-all.ru/3.5/whatsnew/2.3.html#pep-293-codec-error-handling-callbacks)621    - [PEP 301: Индекс пакетов и метаданные для Distutils](https://python-all.ru/3.5/whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils)622    - [PEP 302: Новые хуки импорта](https://python-all.ru/3.5/whatsnew/2.3.html#pep-302-new-import-hooks)623    - [PEP 305: Файлы с разделителями-запятыми](https://python-all.ru/3.5/whatsnew/2.3.html#pep-305-comma-separated-files)624    - [PEP 307: Улучшения pickle](https://python-all.ru/3.5/whatsnew/2.3.html#pep-307-pickle-enhancements)625    - [Расширенные срезы](https://python-all.ru/3.5/whatsnew/2.3.html#extended-slices)626    - [Прочие изменения языка](https://python-all.ru/3.5/whatsnew/2.3.html#other-language-changes)627628      - [Изменения в строках](https://python-all.ru/3.5/whatsnew/2.3.html#string-changes)629      - [Оптимизации](https://python-all.ru/3.5/whatsnew/2.3.html#optimizations)630    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.5/whatsnew/2.3.html#new-improved-and-deprecated-modules)631632      - [Тип даты/времени](https://python-all.ru/3.5/whatsnew/2.3.html#date-time-type)633      - [Модуль optparse](https://python-all.ru/3.5/whatsnew/2.3.html#the-optparse-module)634    - [Pymalloc: Специализированный аллокатор объектов](https://python-all.ru/3.5/whatsnew/2.3.html#pymalloc-a-specialized-object-allocator)635    - [Изменения в сборке и C API](https://python-all.ru/3.5/whatsnew/2.3.html#build-and-c-api-changes)636637      - [Изменения для конкретных платформ](https://python-all.ru/3.5/whatsnew/2.3.html#port-specific-changes)638    - [Прочие изменения и исправления](https://python-all.ru/3.5/whatsnew/2.3.html#other-changes-and-fixes)639    - [Перенос на Python 2.3](https://python-all.ru/3.5/whatsnew/2.3.html#porting-to-python-2-3)640    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.3.html#acknowledgements)641  - [Что нового в Python 2.2](https://python-all.ru/3.5/whatsnew/2.2.html)642643    - [Введение](https://python-all.ru/3.5/whatsnew/2.2.html#introduction)644    - [PEP 252 и 253: изменения типов и классов](https://python-all.ru/3.5/whatsnew/2.2.html#peps-252-and-253-type-and-class-changes)645646      - [Старые и новые классы](https://python-all.ru/3.5/whatsnew/2.2.html#old-and-new-classes)647      - [Дескрипторы](https://python-all.ru/3.5/whatsnew/2.2.html#descriptors)648      - [Множественное наследование: правило ромба](https://python-all.ru/3.5/whatsnew/2.2.html#multiple-inheritance-the-diamond-rule)649      - [Доступ к атрибутам](https://python-all.ru/3.5/whatsnew/2.2.html#attribute-access)650      - [Связанные ссылки](https://python-all.ru/3.5/whatsnew/2.2.html#related-links)651    - [PEP 234: итераторы](https://python-all.ru/3.5/whatsnew/2.2.html#pep-234-iterators)652    - [PEP 255: простые генераторы](https://python-all.ru/3.5/whatsnew/2.2.html#pep-255-simple-generators)653    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.5/whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers)654    - [PEP 238: изменение оператора деления](https://python-all.ru/3.5/whatsnew/2.2.html#pep-238-changing-the-division-operator)655    - [Изменения в Unicode](https://python-all.ru/3.5/whatsnew/2.2.html#unicode-changes)656    - [PEP 227: вложенные области видимости](https://python-all.ru/3.5/whatsnew/2.2.html#pep-227-nested-scopes)657    - [Новые и улучшенные модули](https://python-all.ru/3.5/whatsnew/2.2.html#new-and-improved-modules)658    - [Изменения и исправления интерпретатора](https://python-all.ru/3.5/whatsnew/2.2.html#interpreter-changes-and-fixes)659    - [Прочие изменения и исправления](https://python-all.ru/3.5/whatsnew/2.2.html#other-changes-and-fixes)660    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.2.html#acknowledgements)661  - [Что нового в Python 2.1](https://python-all.ru/3.5/whatsnew/2.1.html)662663    - [Введение](https://python-all.ru/3.5/whatsnew/2.1.html#introduction)664    - [PEP 227: вложенные области видимости](https://python-all.ru/3.5/whatsnew/2.1.html#pep-227-nested-scopes)665    - [PEP 236: директивы \_\_future\_\_](https://python-all.ru/3.5/whatsnew/2.1.html#pep-236-future-directives)666    - [PEP 207: расширенные сравнения](https://python-all.ru/3.5/whatsnew/2.1.html#pep-207-rich-comparisons)667    - [PEP 230: инфраструктура предупреждений](https://python-all.ru/3.5/whatsnew/2.1.html#pep-230-warning-framework)668    - [PEP 229: новая система сборки](https://python-all.ru/3.5/whatsnew/2.1.html#pep-229-new-build-system)669    - [PEP 205: слабые ссылки](https://python-all.ru/3.5/whatsnew/2.1.html#pep-205-weak-references)670    - [PEP 232: атрибуты функций](https://python-all.ru/3.5/whatsnew/2.1.html#pep-232-function-attributes)671    - [PEP 235: импорт модулей на платформах, нечувствительных к регистру](https://python-all.ru/3.5/whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms)672    - [PEP 217: интерактивный перехватчик вывода](https://python-all.ru/3.5/whatsnew/2.1.html#pep-217-interactive-display-hook)673    - [PEP 208: новая модель приведения типов](https://python-all.ru/3.5/whatsnew/2.1.html#pep-208-new-coercion-model)674    - [PEP 241: метаданные в пакетах Python](https://python-all.ru/3.5/whatsnew/2.1.html#pep-241-metadata-in-python-packages)675    - [Новые и улучшенные модули](https://python-all.ru/3.5/whatsnew/2.1.html#new-and-improved-modules)676    - [Прочие изменения и исправления](https://python-all.ru/3.5/whatsnew/2.1.html#other-changes-and-fixes)677    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.1.html#acknowledgements)678  - [Что нового в Python 2.0](https://python-all.ru/3.5/whatsnew/2.0.html)679680    - [Введение](https://python-all.ru/3.5/whatsnew/2.0.html#introduction)681    - [А что насчёт Python 1.6?](https://python-all.ru/3.5/whatsnew/2.0.html#what-about-python-1-6)682    - [Новый процесс разработки](https://python-all.ru/3.5/whatsnew/2.0.html#new-development-process)683    - [Юникод](https://python-all.ru/3.5/whatsnew/2.0.html#unicode)684    - [Списковые включения](https://python-all.ru/3.5/whatsnew/2.0.html#list-comprehensions)685    - [Расширенное присваивание](https://python-all.ru/3.5/whatsnew/2.0.html#augmented-assignment)686    - [Методы строк](https://python-all.ru/3.5/whatsnew/2.0.html#string-methods)687    - [Сборка мусора циклических ссылок](https://python-all.ru/3.5/whatsnew/2.0.html#garbage-collection-of-cycles)688    - [Другие изменения ядра](https://python-all.ru/3.5/whatsnew/2.0.html#other-core-changes)689690      - [Мелкие изменения языка](https://python-all.ru/3.5/whatsnew/2.0.html#minor-language-changes)691      - [Изменения встроенных функций](https://python-all.ru/3.5/whatsnew/2.0.html#changes-to-built-in-functions)692    - [Перенос на 2.0](https://python-all.ru/3.5/whatsnew/2.0.html#porting-to-2-0)693    - [Изменения в расширении/встраивании](https://python-all.ru/3.5/whatsnew/2.0.html#extending-embedding-changes)694    - [Distutils: упрощение установки модулей](https://python-all.ru/3.5/whatsnew/2.0.html#distutils-making-modules-easy-to-install)695    - [Модули XML](https://python-all.ru/3.5/whatsnew/2.0.html#xml-modules)696697      - [Поддержка SAX2](https://python-all.ru/3.5/whatsnew/2.0.html#sax2-support)698      - [Поддержка DOM](https://python-all.ru/3.5/whatsnew/2.0.html#dom-support)699      - [Связь с PyXML](https://python-all.ru/3.5/whatsnew/2.0.html#relationship-to-pyxml)700    - [Изменения модулей](https://python-all.ru/3.5/whatsnew/2.0.html#module-changes)701    - [Новые модули](https://python-all.ru/3.5/whatsnew/2.0.html#new-modules)702    - [Улучшения IDLE](https://python-all.ru/3.5/whatsnew/2.0.html#idle-improvements)703    - [Удалённые и устаревшие модули](https://python-all.ru/3.5/whatsnew/2.0.html#deleted-and-deprecated-modules)704    - [Благодарности](https://python-all.ru/3.5/whatsnew/2.0.html#acknowledgements)705  - [Журнал изменений](https://python-all.ru/3.5/whatsnew/changelog.html)706707    - [Python 3.5.10 final](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-10-final)708709      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#security)710    - [Python 3.5.10 release candidate 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-10-release-candidate-1)711712      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id2)713      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#library)714    - [Python 3.5.9 final](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-9-final)715    - [Python 3.5.8 final](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-8-final)716717      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id3)718    - [Python 3.5.8 release candidate 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-8-release-candidate-2)719720      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id4)721      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id5)722    - [Python 3.5.8 release candidate 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-8-release-candidate-1)723724      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id6)725      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#tests)726      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#build)727    - [Python 3.5.7 final](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-7-final)728729      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id7)730      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id8)731    - [Python 3.5.7 release candidate 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-7-release-candidate-1)732733      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id9)734      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id10)735    - [Python 3.5.6 final](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-6-final)736    - [Python 3.5.6 release candidate 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-6-release-candidate-1)737738      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id11)739      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#documentation)740    - [Python 3.5.5 финальный](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-5-final)741    - [Python 3.5.5 кандидат в релизы 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-5-release-candidate-1)742743      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id12)744      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#core-and-builtins)745      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id13)746    - [Python 3.5.4 финальный](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-4-final)747748      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id14)749    - [Python 3.5.4 кандидат в релизы 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-4-release-candidate-1)750751      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id15)752      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id16)753      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id17)754      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id18)755      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id19)756      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id20)757      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#windows)758      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#c-api)759    - [Python 3.5.3 финальный](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-3-final)760    - [Python 3.5.3 кандидат в релизы 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-3-release-candidate-1)761762      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id21)763      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id22)764      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id23)765      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id24)766      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id25)767      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id26)768      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#idle)769      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id27)770      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id28)771      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id29)772      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#tools-demos)773      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id30)774      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id31)775    - [Python 3.5.2, финальная версия](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-2-final)776777      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id32)778      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id33)779      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id34)780    - [Python 3.5.2, релиз-кандидат 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-2-release-candidate-1)781782      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id35)783      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id36)784      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id37)785      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id38)786      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id39)787      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id40)788      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id41)789      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id42)790      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id43)791      - [Безопасность](https://python-all.ru/3.5/whatsnew/changelog.html#id44)792      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id45)793      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id46)794      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id47)795      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id48)796      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id49)797      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id50)798      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id51)799      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id52)800    - [Python 3.5.1, финальная версия](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-1-final)801802      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id53)803      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id54)804    - [Python 3.5.1, релиз-кандидат 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-1-release-candidate-1)805806      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id55)807      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id56)808      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id57)809      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id58)810      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id59)811      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id60)812      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id61)813      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id62)814    - [Python 3.5.0, финальная версия](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-final)815816      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id63)817    - [Python 3.5.0, релиз-кандидат 4](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-release-candidate-4)818819      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id64)820      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id65)821    - [Python 3.5.0, релиз-кандидат 3](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-release-candidate-3)822823      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id66)824      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id67)825    - [Python 3.5.0 кандидат в релизы 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-release-candidate-2)826827      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id68)828      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id69)829    - [Python 3.5.0 кандидат в релизы 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-release-candidate-1)830831      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id70)832      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id71)833      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id72)834      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id73)835      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id74)836    - [Python 3.5.0 бета 4](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-beta-4)837838      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id75)839      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id76)840      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id77)841    - [Python 3.5.0 бета 3](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-beta-3)842843      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id78)844      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id79)845      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id80)846      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id81)847      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id82)848    - [Python 3.5.0 бета 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-beta-2)849850      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id83)851      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id84)852    - [Python 3.5.0 бета 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-beta-1)853854      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id85)855      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id86)856      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id87)857      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id88)858      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id89)859      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id90)860    - [Python 3.5.0 альфа 4](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-alpha-4)861862      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id91)863      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id92)864      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id93)865      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id94)866      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id95)867      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id96)868    - [Python 3.5.0 альфа 3](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-alpha-3)869870      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id97)871      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id98)872      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id99)873      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id100)874      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id101)875    - [Python 3.5.0 альфа 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-alpha-2)876877      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id102)878      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id103)879      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id104)880      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id105)881      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id106)882    - [Python 3.5.0 альфа 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-5-0-alpha-1)883884      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id107)885      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id108)886      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id109)887      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id110)888      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id111)889      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id112)890      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id113)891      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id114)892      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id115)893    - [Python 3.4.0 финальная версия](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-final)894895      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id116)896      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id117)897    - [Python 3.4.0 релиз-кандидат 3](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-release-candidate-3)898899      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id118)900      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id119)901      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id120)902    - [Python 3.4.0 релиз-кандидат 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-release-candidate-2)903904      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id121)905      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id122)906      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id123)907    - [Python 3.4.0 релиз-кандидат 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-release-candidate-1)908909      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id124)910      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id125)911      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id126)912      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id127)913      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id128)914      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id129)915      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id130)916      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id131)917    - [Python 3.4.0 бета 3](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-beta-3)918919      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id132)920      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id133)921      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id134)922      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id135)923      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id136)924      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id137)925    - [Python 3.4.0 бета 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-beta-2)926927      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id138)928      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id139)929      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id140)930      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id141)931      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id142)932      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id143)933      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id144)934    - [Python 3.4.0 бета 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-beta-1)935936      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id145)937      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id146)938      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id147)939      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id148)940      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id149)941      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id150)942    - [Python 3.4.0 альфа 4](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-alpha-4)943944      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id151)945      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id152)946      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id153)947      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id154)948      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id155)949      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id156)950    - [Python 3.4.0 альфа 3](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-alpha-3)951952      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id157)953      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id158)954      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id159)955      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id160)956      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id161)957      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id162)958      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id163)959    - [Python 3.4.0 альфа 2](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-alpha-2)960961      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id164)962      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id165)963      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id166)964      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id167)965      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id168)966      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id169)967      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id170)968    - [Python 3.4.0 альфа 1](https://python-all.ru/3.5/whatsnew/changelog.html#python-3-4-0-alpha-1)969970      - [Ядро и встроенные модули](https://python-all.ru/3.5/whatsnew/changelog.html#id171)971      - [Библиотека](https://python-all.ru/3.5/whatsnew/changelog.html#id172)972      - [IDLE](https://python-all.ru/3.5/whatsnew/changelog.html#id173)973      - [Тесты](https://python-all.ru/3.5/whatsnew/changelog.html#id174)974      - [Сборка](https://python-all.ru/3.5/whatsnew/changelog.html#id175)975      - [C API](https://python-all.ru/3.5/whatsnew/changelog.html#id176)976      - [Документация](https://python-all.ru/3.5/whatsnew/changelog.html#id177)977      - [Инструменты/Демонстрации](https://python-all.ru/3.5/whatsnew/changelog.html#id178)978      - [Windows](https://python-all.ru/3.5/whatsnew/changelog.html#id179)979- [Учебник Python](https://python-all.ru/3.5/tutorial/index.html)980981  - [1. Введение](https://python-all.ru/3.5/tutorial/appetite.html)982  - [2. Использование интерпретатора Python](https://python-all.ru/3.5/tutorial/interpreter.html)983984    - [2.1. Запуск интерпретатора](https://python-all.ru/3.5/tutorial/interpreter.html#invoking-the-interpreter)985986      - [2.1.1. Передача аргументов](https://python-all.ru/3.5/tutorial/interpreter.html#argument-passing)987      - [2.1.2. Интерактивный режим](https://python-all.ru/3.5/tutorial/interpreter.html#interactive-mode)988    - [2.2. Интерпретатор и его окружение](https://python-all.ru/3.5/tutorial/interpreter.html#the-interpreter-and-its-environment)989990      - [2.2.1. Кодировка исходного кода](https://python-all.ru/3.5/tutorial/interpreter.html#source-code-encoding)991  - [3. Неформальное введение в Python](https://python-all.ru/3.5/tutorial/introduction.html)992993    - [3.1. Использование Python в качестве калькулятора](https://python-all.ru/3.5/tutorial/introduction.html#using-python-as-a-calculator)994995      - [3.1.1. Числа](https://python-all.ru/3.5/tutorial/introduction.html#numbers)996      - [3.1.2. Строки](https://python-all.ru/3.5/tutorial/introduction.html#strings)997      - [3.1.3. Списки](https://python-all.ru/3.5/tutorial/introduction.html#lists)998    - [3.2. Первые шаги к программированию](https://python-all.ru/3.5/tutorial/introduction.html#first-steps-towards-programming)999  - [4. Дополнительные средства управления потоком](https://python-all.ru/3.5/tutorial/controlflow.html)10001001    - [4.1. `if` Инструкции](https://python-all.ru/3.5/tutorial/controlflow.html#if-statements)1002    - [4.2. `for` Инструкции](https://python-all.ru/3.5/tutorial/controlflow.html#for-statements)1003    - [4.3. Функция `range()`](https://python-all.ru/3.5/tutorial/controlflow.html#the-range-function)1004    - [4.4. Инструкции `break` и `continue`, а также предложения `else` в циклах](https://python-all.ru/3.5/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)1005    - [4.5. Инструкции `pass`](https://python-all.ru/3.5/tutorial/controlflow.html#pass-statements)1006    - [4.6. Определение функций](https://python-all.ru/3.5/tutorial/controlflow.html#defining-functions)1007    - [4.7. Подробнее об определении функций](https://python-all.ru/3.5/tutorial/controlflow.html#more-on-defining-functions)10081009      - [4.7.1. Значения аргументов по умолчанию](https://python-all.ru/3.5/tutorial/controlflow.html#default-argument-values)1010      - [4.7.2. Именованные аргументы](https://python-all.ru/3.5/tutorial/controlflow.html#keyword-arguments)1011      - [4.7.3. Произвольные списки аргументов](https://python-all.ru/3.5/tutorial/controlflow.html#arbitrary-argument-lists)1012      - [4.7.4. Распаковка списков аргументов](https://python-all.ru/3.5/tutorial/controlflow.html#unpacking-argument-lists)1013      - [4.7.5. Лямбда-выражения](https://python-all.ru/3.5/tutorial/controlflow.html#lambda-expressions)1014      - [4.7.6. Строки документации](https://python-all.ru/3.5/tutorial/controlflow.html#documentation-strings)1015      - [4.7.7. Аннотации функций](https://python-all.ru/3.5/tutorial/controlflow.html#function-annotations)1016    - [4.8. Интермеццо: стиль кодирования](https://python-all.ru/3.5/tutorial/controlflow.html#intermezzo-coding-style)1017  - [5. Структуры данных](https://python-all.ru/3.5/tutorial/datastructures.html)10181019    - [5.1. Подробнее о списках](https://python-all.ru/3.5/tutorial/datastructures.html#more-on-lists)10201021      - [5.1.1. Использование списков как стеков](https://python-all.ru/3.5/tutorial/datastructures.html#using-lists-as-stacks)1022      - [5.1.2. Использование списков как очередей](https://python-all.ru/3.5/tutorial/datastructures.html#using-lists-as-queues)1023      - [5.1.3. Списковые включения](https://python-all.ru/3.5/tutorial/datastructures.html#list-comprehensions)1024      - [5.1.4. Вложенные списковые включения](https://python-all.ru/3.5/tutorial/datastructures.html#nested-list-comprehensions)1025    - [5.2. Инструкция `del`](https://python-all.ru/3.5/tutorial/datastructures.html#the-del-statement)1026    - [5.3. Кортежи и последовательности](https://python-all.ru/3.5/tutorial/datastructures.html#tuples-and-sequences)1027    - [5.4. Множества](https://python-all.ru/3.5/tutorial/datastructures.html#sets)1028    - [5.5. Словари](https://python-all.ru/3.5/tutorial/datastructures.html#dictionaries)1029    - [5.6. Приёмы работы с циклами](https://python-all.ru/3.5/tutorial/datastructures.html#looping-techniques)1030    - [5.7. Подробнее об условиях](https://python-all.ru/3.5/tutorial/datastructures.html#more-on-conditions)1031    - [5.8. Сравнение последовательностей и других типов](https://python-all.ru/3.5/tutorial/datastructures.html#comparing-sequences-and-other-types)1032  - [6. Модули](https://python-all.ru/3.5/tutorial/modules.html)10331034    - [6.1. Подробнее о модулях](https://python-all.ru/3.5/tutorial/modules.html#more-on-modules)10351036      - [6.1.1. Запуск модулей как скриптов](https://python-all.ru/3.5/tutorial/modules.html#executing-modules-as-scripts)1037      - [6.1.2. Путь поиска модулей](https://python-all.ru/3.5/tutorial/modules.html#the-module-search-path)1038      - [6.1.3. «Скомпилированные» файлы Python](https://python-all.ru/3.5/tutorial/modules.html#compiled-python-files)1039    - [6.2. Стандартные модули](https://python-all.ru/3.5/tutorial/modules.html#standard-modules)1040    - [6.3. Функция `dir()`](https://python-all.ru/3.5/tutorial/modules.html#the-dir-function)1041    - [6.4. Пакеты](https://python-all.ru/3.5/tutorial/modules.html#packages)10421043      - [6.4.1. Импорт \* из пакета](https://python-all.ru/3.5/tutorial/modules.html#importing-from-a-package)1044      - [6.4.2. Ссылки внутри пакета](https://python-all.ru/3.5/tutorial/modules.html#intra-package-references)1045      - [6.4.3. Пакеты в нескольких каталогах](https://python-all.ru/3.5/tutorial/modules.html#packages-in-multiple-directories)1046  - [7. Ввод и вывод](https://python-all.ru/3.5/tutorial/inputoutput.html)10471048    - [7.1. Более сложное форматирование вывода](https://python-all.ru/3.5/tutorial/inputoutput.html#fancier-output-formatting)10491050      - [7.1.1. Старое форматирование строк](https://python-all.ru/3.5/tutorial/inputoutput.html#old-string-formatting)1051    - [7.2. Чтение и запись файлов](https://python-all.ru/3.5/tutorial/inputoutput.html#reading-and-writing-files)10521053      - [7.2.1. Методы файловых объектов](https://python-all.ru/3.5/tutorial/inputoutput.html#methods-of-file-objects)1054      - [7.2.2. Сохранение структурированных данных с помощью `json`](https://python-all.ru/3.5/tutorial/inputoutput.html#saving-structured-data-with-json)1055  - [8. Ошибки и исключения](https://python-all.ru/3.5/tutorial/errors.html)10561057    - [8.1. Синтаксические ошибки](https://python-all.ru/3.5/tutorial/errors.html#syntax-errors)1058    - [8.2. Исключения](https://python-all.ru/3.5/tutorial/errors.html#exceptions)1059    - [8.3. Обработка исключений](https://python-all.ru/3.5/tutorial/errors.html#handling-exceptions)1060    - [8.4. Возбуждение исключений](https://python-all.ru/3.5/tutorial/errors.html#raising-exceptions)1061    - [8.5. Пользовательские исключения](https://python-all.ru/3.5/tutorial/errors.html#user-defined-exceptions)1062    - [8.6. Определение действий по очистке](https://python-all.ru/3.5/tutorial/errors.html#defining-clean-up-actions)1063    - [8.7. Предопределённые действия по очистке](https://python-all.ru/3.5/tutorial/errors.html#predefined-clean-up-actions)1064  - [9. Классы](https://python-all.ru/3.5/tutorial/classes.html)10651066    - [9.1. Несколько слов об именах и объектах](https://python-all.ru/3.5/tutorial/classes.html#a-word-about-names-and-objects)1067    - [9.2. Области видимости и пространства имён Python](https://python-all.ru/3.5/tutorial/classes.html#python-scopes-and-namespaces)10681069      - [9.2.1. Пример областей видимости и пространств имён](https://python-all.ru/3.5/tutorial/classes.html#scopes-and-namespaces-example)1070    - [9.3. Первое знакомство с классами](https://python-all.ru/3.5/tutorial/classes.html#a-first-look-at-classes)10711072      - [9.3.1. Синтаксис определения класса](https://python-all.ru/3.5/tutorial/classes.html#class-definition-syntax)1073      - [9.3.2. Объекты классов](https://python-all.ru/3.5/tutorial/classes.html#class-objects)1074      - [9.3.3. Объекты экземпляров](https://python-all.ru/3.5/tutorial/classes.html#instance-objects)1075      - [9.3.4. Объекты методов](https://python-all.ru/3.5/tutorial/classes.html#method-objects)1076      - [9.3.5. Переменные класса и экземпляра](https://python-all.ru/3.5/tutorial/classes.html#class-and-instance-variables)1077    - [9.4. Разные замечания](https://python-all.ru/3.5/tutorial/classes.html#random-remarks)1078    - [9.5. Наследование](https://python-all.ru/3.5/tutorial/classes.html#inheritance)10791080      - [9.5.1. Множественное наследование](https://python-all.ru/3.5/tutorial/classes.html#multiple-inheritance)1081    - [9.6. Приватные переменные](https://python-all.ru/3.5/tutorial/classes.html#private-variables)1082    - [9.7. Разное](https://python-all.ru/3.5/tutorial/classes.html#odds-and-ends)1083    - [9.8. Итераторы](https://python-all.ru/3.5/tutorial/classes.html#iterators)1084    - [9.9. Генераторы](https://python-all.ru/3.5/tutorial/classes.html#generators)1085    - [9.10. Генераторные выражения](https://python-all.ru/3.5/tutorial/classes.html#generator-expressions)1086  - [10. Краткий обзор стандартной библиотеки](https://python-all.ru/3.5/tutorial/stdlib.html)10871088    - [10.1. Интерфейс операционной системы](https://python-all.ru/3.5/tutorial/stdlib.html#operating-system-interface)1089    - [10.2. Файловые шаблоны](https://python-all.ru/3.5/tutorial/stdlib.html#file-wildcards)1090    - [10.3. Аргументы командной строки](https://python-all.ru/3.5/tutorial/stdlib.html#command-line-arguments)1091    - [10.4. Перенаправление вывода ошибок и завершение программы](https://python-all.ru/3.5/tutorial/stdlib.html#error-output-redirection-and-program-termination)1092    - [10.5. Поиск по шаблону в строках](https://python-all.ru/3.5/tutorial/stdlib.html#string-pattern-matching)1093    - [10.6. Математика](https://python-all.ru/3.5/tutorial/stdlib.html#mathematics)1094    - [10.7. Доступ в Интернет](https://python-all.ru/3.5/tutorial/stdlib.html#internet-access)1095    - [10.8. Даты и время](https://python-all.ru/3.5/tutorial/stdlib.html#dates-and-times)1096    - [10.9. Сжатие данных](https://python-all.ru/3.5/tutorial/stdlib.html#data-compression)1097    - [10.10. Измерение производительности](https://python-all.ru/3.5/tutorial/stdlib.html#performance-measurement)1098    - [10.11. Контроль качества](https://python-all.ru/3.5/tutorial/stdlib.html#quality-control)1099    - [10.12. Батарейки в комплекте](https://python-all.ru/3.5/tutorial/stdlib.html#batteries-included)1100  - [11. Краткий обзор стандартной библиотеки – Часть II](https://python-all.ru/3.5/tutorial/stdlib2.html)11011102    - [11.1. Форматирование вывода](https://python-all.ru/3.5/tutorial/stdlib2.html#output-formatting)1103    - [11.2. Шаблоны](https://python-all.ru/3.5/tutorial/stdlib2.html#templating)1104    - [11.3. Работа с двоичными данными и структурами записей](https://python-all.ru/3.5/tutorial/stdlib2.html#working-with-binary-data-record-layouts)1105    - [11.4. Многопоточность](https://python-all.ru/3.5/tutorial/stdlib2.html#multi-threading)1106    - [11.5. Логирование](https://python-all.ru/3.5/tutorial/stdlib2.html#logging)1107    - [11.6. Слабые ссылки](https://python-all.ru/3.5/tutorial/stdlib2.html#weak-references)1108    - [11.7. Инструменты для работы со списками](https://python-all.ru/3.5/tutorial/stdlib2.html#tools-for-working-with-lists)1109    - [11.8. Десятичная арифметика с плавающей запятой](https://python-all.ru/3.5/tutorial/stdlib2.html#decimal-floating-point-arithmetic)1110  - [12. Виртуальные окружения и пакеты](https://python-all.ru/3.5/tutorial/venv.html)11111112    - [12.1. Введение](https://python-all.ru/3.5/tutorial/venv.html#introduction)1113    - [12.2. Создание виртуальных окружений](https://python-all.ru/3.5/tutorial/venv.html#creating-virtual-environments)1114    - [12.3. Управление пакетами с помощью pip](https://python-all.ru/3.5/tutorial/venv.html#managing-packages-with-pip)1115  - [13. Что дальше?](https://python-all.ru/3.5/tutorial/whatnow.html)1116  - [14. Интерактивное редактирование ввода и подстановка истории](https://python-all.ru/3.5/tutorial/interactive.html)11171118    - [14.1. Автодополнение по табуляции и редактирование истории](https://python-all.ru/3.5/tutorial/interactive.html#tab-completion-and-history-editing)1119    - [14.2. Альтернативы интерактивному интерпретатору](https://python-all.ru/3.5/tutorial/interactive.html#alternatives-to-the-interactive-interpreter)1120  - [15. Арифметика с плавающей запятой: проблемы и ограничения](https://python-all.ru/3.5/tutorial/floatingpoint.html)11211122    - [15.1. Ошибка представления](https://python-all.ru/3.5/tutorial/floatingpoint.html#representation-error)1123  - [16. Приложение](https://python-all.ru/3.5/tutorial/appendix.html)11241125    - [16.1. Интерактивный режим](https://python-all.ru/3.5/tutorial/appendix.html#interactive-mode)11261127      - [16.1.1. Обработка ошибок](https://python-all.ru/3.5/tutorial/appendix.html#error-handling)1128      - [16.1.2. Исполняемые скрипты Python](https://python-all.ru/3.5/tutorial/appendix.html#executable-python-scripts)1129      - [16.1.3. Файл автозагрузки интерактивного режима](https://python-all.ru/3.5/tutorial/appendix.html#the-interactive-startup-file)1130      - [16.1.4. Модули настройки](https://python-all.ru/3.5/tutorial/appendix.html#the-customization-modules)1131- [Настройка и использование Python](https://python-all.ru/3.5/using/index.html)11321133  - [1. Командная строка и окружение](https://python-all.ru/3.5/using/cmdline.html)11341135    - [1.1. Командная строка](https://python-all.ru/3.5/using/cmdline.html#command-line)11361137      - [1.1.1. Параметры интерфейса](https://python-all.ru/3.5/using/cmdline.html#interface-options)1138      - [1.1.2. Общие параметры](https://python-all.ru/3.5/using/cmdline.html#generic-options)1139      - [1.1.3. Прочие параметры](https://python-all.ru/3.5/using/cmdline.html#miscellaneous-options)1140      - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.5/using/cmdline.html#options-you-shouldn-t-use)1141    - [1.2. Переменные окружения](https://python-all.ru/3.5/using/cmdline.html#environment-variables)11421143      - [1.2.1. Переменные режима отладки](https://python-all.ru/3.5/using/cmdline.html#debug-mode-variables)1144  - [2. Использование Python на платформах Unix](https://python-all.ru/3.5/using/unix.html)11451146    - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.5/using/unix.html#getting-and-installing-the-latest-version-of-python)11471148      - [2.1.1. В Linux](https://python-all.ru/3.5/using/unix.html#on-linux)1149      - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.5/using/unix.html#on-freebsd-and-openbsd)1150      - [2.1.3. В OpenSolaris](https://python-all.ru/3.5/using/unix.html#on-opensolaris)1151    - [2.2. Сборка Python](https://python-all.ru/3.5/using/unix.html#building-python)1152    - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.5/using/unix.html#python-related-paths-and-files)1153    - [2.4. Прочее](https://python-all.ru/3.5/using/unix.html#miscellaneous)1154    - [2.5. Редакторы](https://python-all.ru/3.5/using/unix.html#editors)1155  - [3. Использование Python в Windows](https://python-all.ru/3.5/using/windows.html)11561157    - [3.1. Установка Python](https://python-all.ru/3.5/using/windows.html#installing-python)11581159      - [3.1.1. Поддерживаемые версии](https://python-all.ru/3.5/using/windows.html#supported-versions)1160      - [3.1.2. Шаги установки](https://python-all.ru/3.5/using/windows.html#installation-steps)1161      - [3.1.3. Установка без интерфейса](https://python-all.ru/3.5/using/windows.html#installing-without-ui)1162      - [3.1.4. Установка без загрузки](https://python-all.ru/3.5/using/windows.html#installing-without-downloading)1163      - [3.1.5. Изменение установки](https://python-all.ru/3.5/using/windows.html#modifying-an-install)1164      - [3.1.6. Другие платформы](https://python-all.ru/3.5/using/windows.html#other-platforms)1165    - [3.2. Альтернативные сборки](https://python-all.ru/3.5/using/windows.html#alternative-bundles)1166    - [3.3. Настройка Python](https://python-all.ru/3.5/using/windows.html#configuring-python)11671168      - [3.3.1. Экскурс: Установка переменных окружения](https://python-all.ru/3.5/using/windows.html#excursus-setting-environment-variables)1169      - [3.3.2. Поиск исполняемого файла Python](https://python-all.ru/3.5/using/windows.html#finding-the-python-executable)1170    - [3.4. Запускатор Python для Windows](https://python-all.ru/3.5/using/windows.html#python-launcher-for-windows)11711172      - [3.4.1. Начало работы](https://python-all.ru/3.5/using/windows.html#getting-started)11731174        - [3.4.1.1. Из командной строки](https://python-all.ru/3.5/using/windows.html#from-the-command-line)1175        - [3.4.1.2. Виртуальные окружения](https://python-all.ru/3.5/using/windows.html#virtual-environments)1176        - [3.4.1.3. Из скрипта](https://python-all.ru/3.5/using/windows.html#from-a-script)1177        - [3.4.1.4. Из ассоциаций файлов](https://python-all.ru/3.5/using/windows.html#from-file-associations)1178      - [3.4.2. Строки shebang](https://python-all.ru/3.5/using/windows.html#shebang-lines)1179      - [3.4.3. Аргументы в shebang-строках](https://python-all.ru/3.5/using/windows.html#arguments-in-shebang-lines)1180      - [3.4.4. Настройка](https://python-all.ru/3.5/using/windows.html#customization)11811182        - [3.4.4.1. Настройка через INI-файлы](https://python-all.ru/3.5/using/windows.html#customization-via-ini-files)1183        - [3.4.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.5/using/windows.html#customizing-default-python-versions)1184      - [3.4.5. Диагностика](https://python-all.ru/3.5/using/windows.html#diagnostics)1185    - [3.5. Поиск модулей](https://python-all.ru/3.5/using/windows.html#finding-modules)1186    - [3.6. Дополнительные модули](https://python-all.ru/3.5/using/windows.html#additional-modules)11871188      - [3.6.1. PyWin32](https://python-all.ru/3.5/using/windows.html#pywin32)1189      - [3.6.2. cx\_Freeze](https://python-all.ru/3.5/using/windows.html#cx-freeze)1190      - [3.6.3. WConio](https://python-all.ru/3.5/using/windows.html#wconio)1191    - [3.7. Компиляция Python в Windows](https://python-all.ru/3.5/using/windows.html#compiling-python-on-windows)1192    - [3.8. Встраиваемый дистрибутив](https://python-all.ru/3.5/using/windows.html#embedded-distribution)11931194      - [3.8.1. Python-приложение](https://python-all.ru/3.5/using/windows.html#python-application)1195      - [3.8.2. Встраивание Python](https://python-all.ru/3.5/using/windows.html#embedding-python)1196    - [3.9. Другие ресурсы](https://python-all.ru/3.5/using/windows.html#other-resources)1197  - [4. Использование Python на Macintosh](https://python-all.ru/3.5/using/mac.html)11981199    - [4.1. Получение и установка MacPython](https://python-all.ru/3.5/using/mac.html#getting-and-installing-macpython)12001201      - [4.1.1. Как запустить скрипт Python](https://python-all.ru/3.5/using/mac.html#how-to-run-a-python-script)1202      - [4.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.5/using/mac.html#running-scripts-with-a-gui)1203      - [4.1.3. Конфигурация](https://python-all.ru/3.5/using/mac.html#configuration)1204    - [4.2. IDE](https://python-all.ru/3.5/using/mac.html#the-ide)1205    - [4.3. Установка дополнительных пакетов Python](https://python-all.ru/3.5/using/mac.html#installing-additional-python-packages)1206    - [4.4. Программирование графического интерфейса на Mac](https://python-all.ru/3.5/using/mac.html#gui-programming-on-the-mac)1207    - [4.5. Распространение приложений Python на Mac](https://python-all.ru/3.5/using/mac.html#distributing-python-applications-on-the-mac)1208    - [4.6. Прочие ресурсы](https://python-all.ru/3.5/using/mac.html#other-resources)1209  - [5. Дополнительные инструменты и сценарии](https://python-all.ru/3.5/using/scripts.html)12101211    - [5.1. pyvenv - Создание виртуальных окружений](https://python-all.ru/3.5/using/scripts.html#pyvenv-creating-virtual-environments)1212- [Справочник по языку Python](https://python-all.ru/3.5/reference/index.html)12131214  - [1. Введение](https://python-all.ru/3.5/reference/introduction.html)12151216    - [1.1. Альтернативные реализации](https://python-all.ru/3.5/reference/introduction.html#alternate-implementations)1217    - [1.2. Обозначения](https://python-all.ru/3.5/reference/introduction.html#notation)1218  - [2. Лексический анализ](https://python-all.ru/3.5/reference/lexical_analysis.html)12191220    - [2.1. Структура строк](https://python-all.ru/3.5/reference/lexical_analysis.html#line-structure)12211222      - [2.1.1. Логические строки](https://python-all.ru/3.5/reference/lexical_analysis.html#logical-lines)1223      - [2.1.2. Физические строки](https://python-all.ru/3.5/reference/lexical_analysis.html#physical-lines)1224      - [2.1.3. Комментарии](https://python-all.ru/3.5/reference/lexical_analysis.html#comments)1225      - [2.1.4. Объявление кодировки](https://python-all.ru/3.5/reference/lexical_analysis.html#encoding-declarations)1226      - [2.1.5. Явное объединение строк](https://python-all.ru/3.5/reference/lexical_analysis.html#explicit-line-joining)1227      - [2.1.6. Неявное объединение строк](https://python-all.ru/3.5/reference/lexical_analysis.html#implicit-line-joining)1228      - [2.1.7. Пустые строки](https://python-all.ru/3.5/reference/lexical_analysis.html#blank-lines)1229      - [2.1.8. Отступы](https://python-all.ru/3.5/reference/lexical_analysis.html#indentation)1230      - [2.1.9. Пробелы между токенами](https://python-all.ru/3.5/reference/lexical_analysis.html#whitespace-between-tokens)1231    - [2.2. Другие токены](https://python-all.ru/3.5/reference/lexical_analysis.html#other-tokens)1232    - [2.3. Идентификаторы и ключевые слова](https://python-all.ru/3.5/reference/lexical_analysis.html#identifiers)12331234      - [2.3.1. Ключевые слова](https://python-all.ru/3.5/reference/lexical_analysis.html#keywords)1235      - [2.3.2. Зарезервированные классы идентификаторов](https://python-all.ru/3.5/reference/lexical_analysis.html#reserved-classes-of-identifiers)1236    - [2.4. Литералы](https://python-all.ru/3.5/reference/lexical_analysis.html#literals)12371238      - [2.4.1. Строковые и байтовые литералы](https://python-all.ru/3.5/reference/lexical_analysis.html#string-and-bytes-literals)1239      - [2.4.2. Конкатенация строковых литералов](https://python-all.ru/3.5/reference/lexical_analysis.html#string-literal-concatenation)1240      - [2.4.3. Числовые литералы](https://python-all.ru/3.5/reference/lexical_analysis.html#numeric-literals)1241      - [2.4.4. Целочисленные литералы](https://python-all.ru/3.5/reference/lexical_analysis.html#integer-literals)1242      - [2.4.5. Литералы с плавающей точкой](https://python-all.ru/3.5/reference/lexical_analysis.html#floating-point-literals)1243      - [2.4.6. Литералы мнимых чисел](https://python-all.ru/3.5/reference/lexical_analysis.html#imaginary-literals)1244    - [2.5. Операторы](https://python-all.ru/3.5/reference/lexical_analysis.html#operators)1245    - [2.6. Разделители](https://python-all.ru/3.5/reference/lexical_analysis.html#delimiters)1246  - [3. Модель данных](https://python-all.ru/3.5/reference/datamodel.html)12471248    - [3.1. Объекты, значения и типы](https://python-all.ru/3.5/reference/datamodel.html#objects-values-and-types)1249    - [3.2. Стандартная иерархия типов](https://python-all.ru/3.5/reference/datamodel.html#the-standard-type-hierarchy)1250    - [3.3. Имена специальных методов](https://python-all.ru/3.5/reference/datamodel.html#special-method-names)12511252      - [3.3.1. Базовая настройка](https://python-all.ru/3.5/reference/datamodel.html#basic-customization)1253      - [3.3.2. Настройка доступа к атрибутам](https://python-all.ru/3.5/reference/datamodel.html#customizing-attribute-access)12541255        - [3.3.2.1. Реализация дескрипторов](https://python-all.ru/3.5/reference/datamodel.html#implementing-descriptors)1256        - [3.3.2.2. Вызов дескрипторов](https://python-all.ru/3.5/reference/datamodel.html#invoking-descriptors)1257        - [3.3.2.3. \_\_slots\_\_](https://python-all.ru/3.5/reference/datamodel.html#slots)12581259          - [3.3.2.3.1. Примечания по использованию *\_\_slots\_\_*](https://python-all.ru/3.5/reference/datamodel.html#notes-on-using-slots)1260      - [3.3.3. Настройка создания классов](https://python-all.ru/3.5/reference/datamodel.html#customizing-class-creation)12611262        - [3.3.3.1. Определение подходящего метакласса](https://python-all.ru/3.5/reference/datamodel.html#determining-the-appropriate-metaclass)1263        - [3.3.3.2. Подготовка пространства имён класса](https://python-all.ru/3.5/reference/datamodel.html#preparing-the-class-namespace)1264        - [3.3.3.3. Выполнение тела класса](https://python-all.ru/3.5/reference/datamodel.html#executing-the-class-body)1265        - [3.3.3.4. Создание объекта класса](https://python-all.ru/3.5/reference/datamodel.html#creating-the-class-object)1266        - [3.3.3.5. Пример метакласса](https://python-all.ru/3.5/reference/datamodel.html#metaclass-example)1267      - [3.3.4. Настройка проверок принадлежности экземплярам и подклассам](https://python-all.ru/3.5/reference/datamodel.html#customizing-instance-and-subclass-checks)1268      - [3.3.5. Эмуляция вызываемых объектов](https://python-all.ru/3.5/reference/datamodel.html#emulating-callable-objects)1269      - [3.3.6. Эмуляция контейнерных типов](https://python-all.ru/3.5/reference/datamodel.html#emulating-container-types)1270      - [3.3.7. Эмуляция числовых типов](https://python-all.ru/3.5/reference/datamodel.html#emulating-numeric-types)1271      - [3.3.8. Контекстные менеджеры with](https://python-all.ru/3.5/reference/datamodel.html#with-statement-context-managers)1272      - [3.3.9. Поиск специальных методов](https://python-all.ru/3.5/reference/datamodel.html#special-method-lookup)1273    - [3.4. Корутины](https://python-all.ru/3.5/reference/datamodel.html#coroutines)12741275      - [3.4.1. Ожидаемые объекты](https://python-all.ru/3.5/reference/datamodel.html#awaitable-objects)1276      - [3.4.2. Объекты корутин](https://python-all.ru/3.5/reference/datamodel.html#coroutine-objects)1277      - [3.4.3. Асинхронные итераторы](https://python-all.ru/3.5/reference/datamodel.html#asynchronous-iterators)1278      - [3.4.4. Асинхронные контекстные менеджеры](https://python-all.ru/3.5/reference/datamodel.html#asynchronous-context-managers)1279  - [4. Модель выполнения](https://python-all.ru/3.5/reference/executionmodel.html)12801281    - [4.1. Структура программы](https://python-all.ru/3.5/reference/executionmodel.html#structure-of-a-program)1282    - [4.2. Имена и связывание](https://python-all.ru/3.5/reference/executionmodel.html#naming-and-binding)12831284      - [4.2.1. Связывание имён](https://python-all.ru/3.5/reference/executionmodel.html#binding-of-names)1285      - [4.2.2. Разрешение имён](https://python-all.ru/3.5/reference/executionmodel.html#resolution-of-names)1286      - [4.2.3. Встроенные функции и ограниченное выполнение](https://python-all.ru/3.5/reference/executionmodel.html#builtins-and-restricted-execution)1287      - [4.2.4. Взаимодействие с динамическими возможностями](https://python-all.ru/3.5/reference/executionmodel.html#interaction-with-dynamic-features)1288    - [4.3. Исключения](https://python-all.ru/3.5/reference/executionmodel.html#exceptions)1289  - [5. Система импорта](https://python-all.ru/3.5/reference/import.html)12901291    - [5.1. `importlib`](https://python-all.ru/3.5/reference/import.html#importlib)1292    - [5.2. Пакеты](https://python-all.ru/3.5/reference/import.html#packages)12931294      - [5.2.1. Обычные пакеты](https://python-all.ru/3.5/reference/import.html#regular-packages)1295      - [5.2.2. Пакеты пространства имён](https://python-all.ru/3.5/reference/import.html#namespace-packages)1296    - [5.3. Поиск](https://python-all.ru/3.5/reference/import.html#searching)12971298      - [5.3.1. Кеш модулей](https://python-all.ru/3.5/reference/import.html#the-module-cache)1299      - [5.3.2. Искатели и загрузчики](https://python-all.ru/3.5/reference/import.html#finders-and-loaders)1300      - [5.3.3. Хуки импорта](https://python-all.ru/3.5/reference/import.html#import-hooks)1301      - [5.3.4. Метапуть](https://python-all.ru/3.5/reference/import.html#the-meta-path)1302    - [5.4. Загрузка](https://python-all.ru/3.5/reference/import.html#loading)13031304      - [5.4.1. Загрузчики](https://python-all.ru/3.5/reference/import.html#loaders)1305      - [5.4.2. Подмодули](https://python-all.ru/3.5/reference/import.html#submodules)1306      - [5.4.3. Спецификация модуля](https://python-all.ru/3.5/reference/import.html#module-spec)1307      - [5.4.4. Атрибуты модуля, связанные с импортом](https://python-all.ru/3.5/reference/import.html#import-related-module-attributes)1308      - [5.4.5. module.\_\_path\_\_](https://python-all.ru/3.5/reference/import.html#module-path)1309      - [5.4.6. Представления модулей](https://python-all.ru/3.5/reference/import.html#module-reprs)1310    - [5.5. Искатель на основе путей](https://python-all.ru/3.5/reference/import.html#the-path-based-finder)13111312      - [5.5.1. Искатели записей путей](https://python-all.ru/3.5/reference/import.html#path-entry-finders)1313      - [5.5.2. Протокол искателя записей путей](https://python-all.ru/3.5/reference/import.html#path-entry-finder-protocol)1314    - [5.6. Замена стандартной системы импорта](https://python-all.ru/3.5/reference/import.html#replacing-the-standard-import-system)1315    - [5.7. Особые соображения для \_\_main\_\_](https://python-all.ru/3.5/reference/import.html#special-considerations-for-main)13161317      - [5.7.1. \_\_main\_\_.\_\_spec\_\_](https://python-all.ru/3.5/reference/import.html#main-spec)1318    - [5.8. Открытые вопросы](https://python-all.ru/3.5/reference/import.html#open-issues)1319    - [5.9. Ссылки](https://python-all.ru/3.5/reference/import.html#references)1320  - [6. Выражения](https://python-all.ru/3.5/reference/expressions.html)13211322    - [6.1. Арифметические преобразования](https://python-all.ru/3.5/reference/expressions.html#arithmetic-conversions)1323    - [6.2. Атомы](https://python-all.ru/3.5/reference/expressions.html#atoms)13241325      - [6.2.1. Идентификаторы (имена)](https://python-all.ru/3.5/reference/expressions.html#atom-identifiers)1326      - [6.2.2. Литералы](https://python-all.ru/3.5/reference/expressions.html#literals)1327      - [6.2.3. Выражения в скобках](https://python-all.ru/3.5/reference/expressions.html#parenthesized-forms)1328      - [6.2.4. Отображения для списков, множеств и словарей](https://python-all.ru/3.5/reference/expressions.html#displays-for-lists-sets-and-dictionaries)1329      - [6.2.5. Отображения списков](https://python-all.ru/3.5/reference/expressions.html#list-displays)1330      - [6.2.6. Отображения множеств](https://python-all.ru/3.5/reference/expressions.html#set-displays)1331      - [6.2.7. Отображения словарей](https://python-all.ru/3.5/reference/expressions.html#dictionary-displays)1332      - [6.2.8. Генераторные выражения](https://python-all.ru/3.5/reference/expressions.html#generator-expressions)1333      - [6.2.9. Выражения yield](https://python-all.ru/3.5/reference/expressions.html#yield-expressions)13341335        - [6.2.9.1. Методы генератор-итератора](https://python-all.ru/3.5/reference/expressions.html#generator-iterator-methods)1336        - [6.2.9.2. Примеры](https://python-all.ru/3.5/reference/expressions.html#examples)1337    - [6.3. Первичные выражения](https://python-all.ru/3.5/reference/expressions.html#primaries)13381339      - [6.3.1. Ссылки на атрибуты](https://python-all.ru/3.5/reference/expressions.html#attribute-references)1340      - [6.3.2. Подписки](https://python-all.ru/3.5/reference/expressions.html#subscriptions)1341      - [6.3.3. Срезы](https://python-all.ru/3.5/reference/expressions.html#slicings)1342      - [6.3.4. Вызовы](https://python-all.ru/3.5/reference/expressions.html#calls)1343    - [6.4. Выражение await](https://python-all.ru/3.5/reference/expressions.html#await-expression)1344    - [6.5. Оператор возведения в степень](https://python-all.ru/3.5/reference/expressions.html#the-power-operator)1345    - [6.6. Унарные арифметические и битовые операции](https://python-all.ru/3.5/reference/expressions.html#unary-arithmetic-and-bitwise-operations)1346    - [6.7. Бинарные арифметические операции](https://python-all.ru/3.5/reference/expressions.html#binary-arithmetic-operations)1347    - [6.8. Операции сдвига](https://python-all.ru/3.5/reference/expressions.html#shifting-operations)1348    - [6.9. Двоичные поразрядные операции](https://python-all.ru/3.5/reference/expressions.html#binary-bitwise-operations)1349    - [6.10. Сравнения](https://python-all.ru/3.5/reference/expressions.html#comparisons)13501351      - [6.10.1. Сравнения значений](https://python-all.ru/3.5/reference/expressions.html#value-comparisons)1352      - [6.10.2. Операции проверки принадлежности](https://python-all.ru/3.5/reference/expressions.html#membership-test-operations)1353      - [6.10.3. Сравнения идентичности](https://python-all.ru/3.5/reference/expressions.html#is-not)1354    - [6.11. Булевы операции](https://python-all.ru/3.5/reference/expressions.html#boolean-operations)1355    - [6.12. Условные выражения](https://python-all.ru/3.5/reference/expressions.html#conditional-expressions)1356    - [6.13. Лямбды](https://python-all.ru/3.5/reference/expressions.html#lambda)1357    - [6.14. Списки выражений](https://python-all.ru/3.5/reference/expressions.html#expression-lists)1358    - [6.15. Порядок вычислений](https://python-all.ru/3.5/reference/expressions.html#evaluation-order)1359    - [6.16. Приоритет операторов](https://python-all.ru/3.5/reference/expressions.html#operator-precedence)1360  - [7. Простые инструкции](https://python-all.ru/3.5/reference/simple_stmts.html)13611362    - [7.1. Инструкции-выражения](https://python-all.ru/3.5/reference/simple_stmts.html#expression-statements)1363    - [7.2. Инструкции присваивания](https://python-all.ru/3.5/reference/simple_stmts.html#assignment-statements)13641365      - [7.2.1. Совмещённые инструкции присваивания](https://python-all.ru/3.5/reference/simple_stmts.html#augmented-assignment-statements)1366    - [7.3. Инструкция `assert`](https://python-all.ru/3.5/reference/simple_stmts.html#the-assert-statement)1367    - [7.4. Инструкция `pass`](https://python-all.ru/3.5/reference/simple_stmts.html#the-pass-statement)1368    - [7.5. Инструкция `del`](https://python-all.ru/3.5/reference/simple_stmts.html#the-del-statement)1369    - [7.6. Инструкция `return`](https://python-all.ru/3.5/reference/simple_stmts.html#the-return-statement)1370    - [7.7. Инструкция `yield`](https://python-all.ru/3.5/reference/simple_stmts.html#the-yield-statement)1371    - [7.8. Инструкция `raise`](https://python-all.ru/3.5/reference/simple_stmts.html#the-raise-statement)1372    - [7.9. Инструкция `break`](https://python-all.ru/3.5/reference/simple_stmts.html#the-break-statement)1373    - [7.10. Инструкция `continue`](https://python-all.ru/3.5/reference/simple_stmts.html#the-continue-statement)1374    - [7.11. Инструкция `import`](https://python-all.ru/3.5/reference/simple_stmts.html#the-import-statement)13751376      - [7.11.1. Инструкции future](https://python-all.ru/3.5/reference/simple_stmts.html#future-statements)1377    - [7.12. Инструкция `global`](https://python-all.ru/3.5/reference/simple_stmts.html#the-global-statement)1378    - [7.13. Инструкция `nonlocal`](https://python-all.ru/3.5/reference/simple_stmts.html#the-nonlocal-statement)1379  - [8. Составные инструкции](https://python-all.ru/3.5/reference/compound_stmts.html)13801381    - [8.1. Инструкция `if`](https://python-all.ru/3.5/reference/compound_stmts.html#the-if-statement)1382    - [8.2. Инструкция `while`](https://python-all.ru/3.5/reference/compound_stmts.html#the-while-statement)1383    - [8.3. Инструкция `for`](https://python-all.ru/3.5/reference/compound_stmts.html#the-for-statement)1384    - [8.4. Инструкция `try`](https://python-all.ru/3.5/reference/compound_stmts.html#the-try-statement)1385    - [8.5. Инструкция `with`](https://python-all.ru/3.5/reference/compound_stmts.html#the-with-statement)1386    - [8.6. Определения функций](https://python-all.ru/3.5/reference/compound_stmts.html#function-definitions)1387    - [8.7. Определения классов](https://python-all.ru/3.5/reference/compound_stmts.html#class-definitions)1388    - [8.8. Корутины](https://python-all.ru/3.5/reference/compound_stmts.html#coroutines)13891390      - [8.8.1. Определение корутинной функции](https://python-all.ru/3.5/reference/compound_stmts.html#coroutine-function-definition)1391      - [8.8.2. Оператор `async for`](https://python-all.ru/3.5/reference/compound_stmts.html#the-async-for-statement)1392      - [8.8.3. Оператор `async with`](https://python-all.ru/3.5/reference/compound_stmts.html#the-async-with-statement)1393  - [9. Компоненты верхнего уровня](https://python-all.ru/3.5/reference/toplevel_components.html)13941395    - [9.1. Полные программы на Python](https://python-all.ru/3.5/reference/toplevel_components.html#complete-python-programs)1396    - [9.2. Ввод из файла](https://python-all.ru/3.5/reference/toplevel_components.html#file-input)1397    - [9.3. Интерактивный ввод](https://python-all.ru/3.5/reference/toplevel_components.html#interactive-input)1398    - [9.4. Ввод выражений](https://python-all.ru/3.5/reference/toplevel_components.html#expression-input)1399  - [10. Полная спецификация грамматики](https://python-all.ru/3.5/reference/grammar.html)1400- [Стандартная библиотека Python](https://python-all.ru/3.5/library/index.html)14011402  - [1. Введение](https://python-all.ru/3.5/library/intro.html)1403  - [2. Встроенные функции](https://python-all.ru/3.5/library/functions.html)1404  - [3. Встроенные константы](https://python-all.ru/3.5/library/constants.html)14051406    - [3.1. Константы, добавленные модулем `site`](https://python-all.ru/3.5/library/constants.html#constants-added-by-the-site-module)1407  - [4. Встроенные типы](https://python-all.ru/3.5/library/stdtypes.html)14081409    - [4.1. Проверка истинности](https://python-all.ru/3.5/library/stdtypes.html#truth-value-testing)1410    - [4.2. Логические операции – `and`, `or`, `not`](https://python-all.ru/3.5/library/stdtypes.html#boolean-operations-and-or-not)1411    - [4.3. Сравнения](https://python-all.ru/3.5/library/stdtypes.html#comparisons)1412    - [4.4. Числовые типы – `int`, `float`, `complex`](https://python-all.ru/3.5/library/stdtypes.html#numeric-types-int-float-complex)14131414      - [4.4.1. Побитовые операции над целыми типами](https://python-all.ru/3.5/library/stdtypes.html#bitwise-operations-on-integer-types)1415      - [4.4.2. Дополнительные методы целых типов](https://python-all.ru/3.5/library/stdtypes.html#additional-methods-on-integer-types)1416      - [4.4.3. Дополнительные методы Float](https://python-all.ru/3.5/library/stdtypes.html#additional-methods-on-float)1417      - [4.4.4. Хеширование числовых типов](https://python-all.ru/3.5/library/stdtypes.html#hashing-of-numeric-types)1418    - [4.5. Типы итераторов](https://python-all.ru/3.5/library/stdtypes.html#iterator-types)14191420      - [4.5.1. Типы генераторов](https://python-all.ru/3.5/library/stdtypes.html#generator-types)1421    - [4.6. Типы последовательностей – `list`, `tuple`, `range`](https://python-all.ru/3.5/library/stdtypes.html#sequence-types-list-tuple-range)14221423      - [4.6.1. Общие операции с последовательностями](https://python-all.ru/3.5/library/stdtypes.html#common-sequence-operations)1424      - [4.6.2. Неизменяемые типы последовательностей](https://python-all.ru/3.5/library/stdtypes.html#immutable-sequence-types)1425      - [4.6.3. Изменяемые типы последовательностей](https://python-all.ru/3.5/library/stdtypes.html#mutable-sequence-types)1426      - [4.6.4. Списки](https://python-all.ru/3.5/library/stdtypes.html#lists)1427      - [4.6.5. Кортежи](https://python-all.ru/3.5/library/stdtypes.html#tuples)1428      - [4.6.6. Диапазоны](https://python-all.ru/3.5/library/stdtypes.html#ranges)1429    - [4.7. Тип текстовой последовательности – `str`](https://python-all.ru/3.5/library/stdtypes.html#text-sequence-type-str)14301431      - [4.7.1. Методы строк](https://python-all.ru/3.5/library/stdtypes.html#string-methods)1432      - [4.7.2. Форматирование строк в стиле `printf`](https://python-all.ru/3.5/library/stdtypes.html#printf-style-string-formatting)1433    - [4.8. Двоичные типы последовательностей – `bytes`, `bytearray`, `memoryview`](https://python-all.ru/3.5/library/stdtypes.html#binary-sequence-types-bytes-bytearray-memoryview)14341435      - [4.8.1. Байты](https://python-all.ru/3.5/library/stdtypes.html#bytes)1436      - [4.8.2. Объекты bytearray](https://python-all.ru/3.5/library/stdtypes.html#bytearray-objects)1437      - [4.8.3. Операции с bytes и bytearray](https://python-all.ru/3.5/library/stdtypes.html#bytes-and-bytearray-operations)1438      - [4.8.4. Форматирование bytes в стиле `printf`](https://python-all.ru/3.5/library/stdtypes.html#printf-style-bytes-formatting)1439      - [4.8.5. Представления памяти](https://python-all.ru/3.5/library/stdtypes.html#memory-views)1440    - [4.9. Типы множеств – `set`, `frozenset`](https://python-all.ru/3.5/library/stdtypes.html#set-types-set-frozenset)1441    - [4.10. Типы отображений – `dict`](https://python-all.ru/3.5/library/stdtypes.html#mapping-types-dict)14421443      - [4.10.1. Объекты-представления словаря](https://python-all.ru/3.5/library/stdtypes.html#dictionary-view-objects)1444    - [4.11. Типы менеджеров контекста](https://python-all.ru/3.5/library/stdtypes.html#context-manager-types)1445    - [4.12. Прочие встроенные типы](https://python-all.ru/3.5/library/stdtypes.html#other-built-in-types)14461447      - [4.12.1. Модули](https://python-all.ru/3.5/library/stdtypes.html#modules)1448      - [4.12.2. Классы и экземпляры классов](https://python-all.ru/3.5/library/stdtypes.html#classes-and-class-instances)1449      - [4.12.3. Функции](https://python-all.ru/3.5/library/stdtypes.html#functions)1450      - [4.12.4. Методы](https://python-all.ru/3.5/library/stdtypes.html#methods)1451      - [4.12.5. Объекты кода](https://python-all.ru/3.5/library/stdtypes.html#code-objects)1452      - [4.12.6. Объекты типов](https://python-all.ru/3.5/library/stdtypes.html#type-objects)1453      - [4.12.7. Объект None](https://python-all.ru/3.5/library/stdtypes.html#the-null-object)1454      - [4.12.8. Объект Ellipsis](https://python-all.ru/3.5/library/stdtypes.html#the-ellipsis-object)1455      - [4.12.9. Объект NotImplemented](https://python-all.ru/3.5/library/stdtypes.html#the-notimplemented-object)1456      - [4.12.10. Логические значения](https://python-all.ru/3.5/library/stdtypes.html#boolean-values)1457      - [4.12.11. Внутренние объекты](https://python-all.ru/3.5/library/stdtypes.html#internal-objects)1458    - [4.13. Специальные атрибуты](https://python-all.ru/3.5/library/stdtypes.html#special-attributes)1459  - [5. Встроенные исключения](https://python-all.ru/3.5/library/exceptions.html)14601461    - [5.1. Базовые классы](https://python-all.ru/3.5/library/exceptions.html#base-classes)1462    - [5.2. Конкретные исключения](https://python-all.ru/3.5/library/exceptions.html#concrete-exceptions)14631464      - [5.2.1. Исключения ОС](https://python-all.ru/3.5/library/exceptions.html#os-exceptions)1465    - [5.3. Предупреждения](https://python-all.ru/3.5/library/exceptions.html#warnings)1466    - [5.4. Иерархия исключений](https://python-all.ru/3.5/library/exceptions.html#exception-hierarchy)1467  - [6. Службы обработки текста](https://python-all.ru/3.5/library/text.html)14681469    - [6.1. `string` – Стандартные операции со строками](https://python-all.ru/3.5/library/string.html)14701471      - [6.1.1. Константы строк](https://python-all.ru/3.5/library/string.html#string-constants)1472      - [6.1.2. Пользовательское форматирование строк](https://python-all.ru/3.5/library/string.html#custom-string-formatting)1473      - [6.1.3. Синтаксис форматной строки](https://python-all.ru/3.5/library/string.html#format-string-syntax)14741475        - [6.1.3.1. Мини-язык спецификаций формата](https://python-all.ru/3.5/library/string.html#format-specification-mini-language)1476        - [6.1.3.2. Примеры форматирования](https://python-all.ru/3.5/library/string.html#format-examples)1477      - [6.1.4. Шаблонные строки](https://python-all.ru/3.5/library/string.html#template-strings)1478      - [6.1.5. Вспомогательные функции](https://python-all.ru/3.5/library/string.html#helper-functions)1479    - [6.2. `re` – Операции с регулярными выражениями](https://python-all.ru/3.5/library/re.html)14801481      - [6.2.1. Синтаксис регулярных выражений](https://python-all.ru/3.5/library/re.html#regular-expression-syntax)1482      - [6.2.2. Содержимое модуля](https://python-all.ru/3.5/library/re.html#module-contents)1483      - [6.2.3. Объекты регулярных выражений](https://python-all.ru/3.5/library/re.html#regular-expression-objects)1484      - [6.2.4. Объекты сопоставления](https://python-all.ru/3.5/library/re.html#match-objects)1485      - [6.2.5. Примеры регулярных выражений](https://python-all.ru/3.5/library/re.html#regular-expression-examples)14861487        - [6.2.5.1. Проверка на пару](https://python-all.ru/3.5/library/re.html#checking-for-a-pair)1488        - [6.2.5.2. Имитация scanf()](https://python-all.ru/3.5/library/re.html#simulating-scanf)1489        - [6.2.5.3. search() против match()](https://python-all.ru/3.5/library/re.html#search-vs-match)1490        - [6.2.5.4. Создание телефонной книги](https://python-all.ru/3.5/library/re.html#making-a-phonebook)1491        - [6.2.5.5. Обработка текста](https://python-all.ru/3.5/library/re.html#text-munging)1492        - [6.2.5.6. Поиск всех наречий](https://python-all.ru/3.5/library/re.html#finding-all-adverbs)1493        - [6.2.5.7. Поиск всех наречий и их позиций](https://python-all.ru/3.5/library/re.html#finding-all-adverbs-and-their-positions)1494        - [6.2.5.8. Сырые строки](https://python-all.ru/3.5/library/re.html#raw-string-notation)1495        - [6.2.5.9. Написание токенизатора](https://python-all.ru/3.5/library/re.html#writing-a-tokenizer)1496    - [6.3. `difflib` – Вспомогательные функции для вычисления дельт](https://python-all.ru/3.5/library/difflib.html)14971498      - [6.3.1. Объекты SequenceMatcher](https://python-all.ru/3.5/library/difflib.html#sequencematcher-objects)1499      - [6.3.2. Примеры SequenceMatcher](https://python-all.ru/3.5/library/difflib.html#sequencematcher-examples)1500      - [6.3.3. Объекты Differ](https://python-all.ru/3.5/library/difflib.html#differ-objects)1501      - [6.3.4. Пример Differ](https://python-all.ru/3.5/library/difflib.html#differ-example)1502      - [6.3.5. Интерфейс командной строки для difflib](https://python-all.ru/3.5/library/difflib.html#a-command-line-interface-to-difflib)1503    - [6.4. `textwrap` – Перенос строк и заполнение текста](https://python-all.ru/3.5/library/textwrap.html)1504    - [6.5. `unicodedata` – База данных Unicode](https://python-all.ru/3.5/library/unicodedata.html)1505    - [6.6. `stringprep` – Подготовка интернет-строк](https://python-all.ru/3.5/library/stringprep.html)1506    - [6.7. `readline` – Интерфейс GNU readline](https://python-all.ru/3.5/library/readline.html)15071508      - [6.7.1. Файл инициализации](https://python-all.ru/3.5/library/readline.html#init-file)1509      - [6.7.2. Буфер строки](https://python-all.ru/3.5/library/readline.html#line-buffer)1510      - [6.7.3. Файл истории](https://python-all.ru/3.5/library/readline.html#history-file)1511      - [6.7.4. Список истории](https://python-all.ru/3.5/library/readline.html#history-list)1512      - [6.7.5. Хуки запуска](https://python-all.ru/3.5/library/readline.html#startup-hooks)1513      - [6.7.6. Автодополнение](https://python-all.ru/3.5/library/readline.html#completion)1514      - [6.7.7. Пример](https://python-all.ru/3.5/library/readline.html#example)1515    - [6.8. `rlcompleter` – Функция автодополнения для GNU readline](https://python-all.ru/3.5/library/rlcompleter.html)15161517      - [6.8.1. Объекты Completer](https://python-all.ru/3.5/library/rlcompleter.html#completer-objects)1518  - [7. Службы двоичных данных](https://python-all.ru/3.5/library/binary.html)15191520    - [7.1. `struct` – Интерпретация байтов как упакованных двоичных данных](https://python-all.ru/3.5/library/struct.html)15211522      - [7.1.1. Функции и исключения](https://python-all.ru/3.5/library/struct.html#functions-and-exceptions)1523      - [7.1.2. Строки формата](https://python-all.ru/3.5/library/struct.html#format-strings)15241525        - [7.1.2.1. Порядок байтов, размер и выравнивание](https://python-all.ru/3.5/library/struct.html#byte-order-size-and-alignment)1526        - [7.1.2.2. Символы формата](https://python-all.ru/3.5/library/struct.html#format-characters)1527        - [7.1.2.3. Примеры](https://python-all.ru/3.5/library/struct.html#examples)1528      - [7.1.3. Классы](https://python-all.ru/3.5/library/struct.html#classes)1529    - [7.2. `codecs` – Реестр кодеков и базовые классы](https://python-all.ru/3.5/library/codecs.html)15301531      - [7.2.1. Базовые классы кодеков](https://python-all.ru/3.5/library/codecs.html#codec-base-classes)15321533        - [7.2.1.1. Обработчики ошибок](https://python-all.ru/3.5/library/codecs.html#error-handlers)1534        - [7.2.1.2. Кодирование и декодирование без состояния](https://python-all.ru/3.5/library/codecs.html#stateless-encoding-and-decoding)1535        - [7.2.1.3. Инкрементальное кодирование и декодирование](https://python-all.ru/3.5/library/codecs.html#incremental-encoding-and-decoding)15361537          - [7.2.1.3.1. Объекты IncrementalEncoder](https://python-all.ru/3.5/library/codecs.html#incrementalencoder-objects)1538          - [7.2.1.3.2. Объекты IncrementalDecoder](https://python-all.ru/3.5/library/codecs.html#incrementaldecoder-objects)1539        - [7.2.1.4. Потоковое кодирование и декодирование](https://python-all.ru/3.5/library/codecs.html#stream-encoding-and-decoding)15401541          - [7.2.1.4.1. Объекты StreamWriter](https://python-all.ru/3.5/library/codecs.html#streamwriter-objects)1542          - [7.2.1.4.2. Объекты StreamReader](https://python-all.ru/3.5/library/codecs.html#streamreader-objects)1543          - [7.2.1.4.3. Объекты StreamReaderWriter](https://python-all.ru/3.5/library/codecs.html#streamreaderwriter-objects)1544          - [7.2.1.4.4. Объекты StreamRecoder](https://python-all.ru/3.5/library/codecs.html#streamrecoder-objects)1545      - [7.2.2. Кодировки и Юникод](https://python-all.ru/3.5/library/codecs.html#encodings-and-unicode)1546      - [7.2.3. Стандартные кодировки](https://python-all.ru/3.5/library/codecs.html#standard-encodings)1547      - [7.2.4. Кодировки, специфичные для Python](https://python-all.ru/3.5/library/codecs.html#python-specific-encodings)15481549        - [7.2.4.1. Текстовые кодировки](https://python-all.ru/3.5/library/codecs.html#text-encodings)1550        - [7.2.4.2. Двоичные преобразования](https://python-all.ru/3.5/library/codecs.html#binary-transforms)1551        - [7.2.4.3. Текстовые преобразования](https://python-all.ru/3.5/library/codecs.html#text-transforms)1552      - [7.2.5. `encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/3.5/library/codecs.html#module-encodings.idna)1553      - [7.2.6. `encodings.mbcs` – Кодовая страница Windows ANSI](https://python-all.ru/3.5/library/codecs.html#module-encodings.mbcs)1554      - [7.2.7. `encodings.utf_8_sig` – Кодек UTF-8 с сигнатурой BOM](https://python-all.ru/3.5/library/codecs.html#module-encodings.utf_8_sig)1555  - [8. Типы данных](https://python-all.ru/3.5/library/datatypes.html)15561557    - [8.1. `datetime` – Базовые типы даты и времени](https://python-all.ru/3.5/library/datetime.html)15581559      - [8.1.1. Доступные типы](https://python-all.ru/3.5/library/datetime.html#available-types)1560      - [8.1.2. `timedelta` Объекты](https://python-all.ru/3.5/library/datetime.html#timedelta-objects)1561      - [8.1.3. `date` Объекты](https://python-all.ru/3.5/library/datetime.html#date-objects)1562      - [8.1.4. `datetime` Объекты](https://python-all.ru/3.5/library/datetime.html#datetime-objects)1563      - [8.1.5. `time` Объекты](https://python-all.ru/3.5/library/datetime.html#time-objects)1564      - [8.1.6. `tzinfo` Объекты](https://python-all.ru/3.5/library/datetime.html#tzinfo-objects)1565      - [8.1.7. `timezone` Объекты](https://python-all.ru/3.5/library/datetime.html#timezone-objects)1566      - [8.1.8. `strftime()` и `strptime()` Поведение](https://python-all.ru/3.5/library/datetime.html#strftime-and-strptime-behavior)1567    - [8.2. `calendar` – Общие функции, связанные с календарём](https://python-all.ru/3.5/library/calendar.html)1568    - [8.3. `collections` – Типы данных-контейнеры](https://python-all.ru/3.5/library/collections.html)15691570      - [8.3.1. `ChainMap` объекты](https://python-all.ru/3.5/library/collections.html#chainmap-objects)15711572        - [8.3.1.1. `ChainMap` Примеры и рецепты](https://python-all.ru/3.5/library/collections.html#chainmap-examples-and-recipes)1573      - [8.3.2. `Counter` объекты](https://python-all.ru/3.5/library/collections.html#counter-objects)1574      - [8.3.3. `deque` объекты](https://python-all.ru/3.5/library/collections.html#deque-objects)15751576        - [8.3.3.1. `deque` Рецепты](https://python-all.ru/3.5/library/collections.html#deque-recipes)1577      - [8.3.4. `defaultdict` объекты](https://python-all.ru/3.5/library/collections.html#defaultdict-objects)15781579        - [8.3.4.1. `defaultdict` Примеры](https://python-all.ru/3.5/library/collections.html#defaultdict-examples)1580      - [8.3.5. `namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/3.5/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)1581      - [8.3.6. `OrderedDict` объекты](https://python-all.ru/3.5/library/collections.html#ordereddict-objects)15821583        - [8.3.6.1. `OrderedDict` Примеры и рецепты](https://python-all.ru/3.5/library/collections.html#ordereddict-examples-and-recipes)1584      - [8.3.7. `UserDict` объекты](https://python-all.ru/3.5/library/collections.html#userdict-objects)1585      - [8.3.8. `UserList` объекты](https://python-all.ru/3.5/library/collections.html#userlist-objects)1586      - [8.3.9. `UserString` объекты](https://python-all.ru/3.5/library/collections.html#userstring-objects)1587    - [8.4. `collections.abc` – Абстрактные базовые классы для контейнеров](https://python-all.ru/3.5/library/collections.abc.html)15881589      - [8.4.1. Абстрактные базовые классы коллекций](https://python-all.ru/3.5/library/collections.abc.html#collections-abstract-base-classes)1590    - [8.5. `heapq` – Алгоритм пирамидальной очереди](https://python-all.ru/3.5/library/heapq.html)15911592      - [8.5.1. Простые примеры](https://python-all.ru/3.5/library/heapq.html#basic-examples)1593      - [8.5.2. Примечания по реализации очереди с приоритетом](https://python-all.ru/3.5/library/heapq.html#priority-queue-implementation-notes)1594      - [8.5.3. Теория](https://python-all.ru/3.5/library/heapq.html#theory)1595    - [8.6. `bisect` – Алгоритм бинарного поиска в массиве](https://python-all.ru/3.5/library/bisect.html)15961597      - [8.6.1. Поиск в отсортированных списках](https://python-all.ru/3.5/library/bisect.html#searching-sorted-lists)1598      - [8.6.2. Другие примеры](https://python-all.ru/3.5/library/bisect.html#other-examples)1599    - [8.7. `array` – эффективные массивы числовых значений](https://python-all.ru/3.5/library/array.html)1600    - [8.8. `weakref` – слабые ссылки](https://python-all.ru/3.5/library/weakref.html)16011602      - [8.8.1. Объекты слабых ссылок](https://python-all.ru/3.5/library/weakref.html#weak-reference-objects)1603      - [8.8.2. Пример](https://python-all.ru/3.5/library/weakref.html#example)1604      - [8.8.3. Объекты финализаторов](https://python-all.ru/3.5/library/weakref.html#finalizer-objects)1605      - [8.8.4. Сравнение финализаторов с `__del__()` методами](https://python-all.ru/3.5/library/weakref.html#comparing-finalizers-with-del-methods)1606    - [8.9. `types` – динамическое создание типов и имена для встроенных типов](https://python-all.ru/3.5/library/types.html)16071608      - [8.9.1. Динамическое создание типов](https://python-all.ru/3.5/library/types.html#dynamic-type-creation)1609      - [8.9.2. Стандартные типы интерпретатора](https://python-all.ru/3.5/library/types.html#standard-interpreter-types)1610      - [8.9.3. Дополнительные служебные классы и функции](https://python-all.ru/3.5/library/types.html#additional-utility-classes-and-functions)1611      - [8.9.4. Служебные функции для корутин](https://python-all.ru/3.5/library/types.html#coroutine-utility-functions)1612    - [8.10. `copy` – операции поверхностного и глубокого копирования](https://python-all.ru/3.5/library/copy.html)1613    - [8.11. `pprint` – форматированный вывод данных](https://python-all.ru/3.5/library/pprint.html)16141615      - [8.11.1. Объекты PrettyPrinter](https://python-all.ru/3.5/library/pprint.html#prettyprinter-objects)1616      - [8.11.2. Пример](https://python-all.ru/3.5/library/pprint.html#example)1617    - [8.12. `reprlib` – альтернативная реализация `repr()`](https://python-all.ru/3.5/library/reprlib.html)16181619      - [8.12.1. Объекты Repr](https://python-all.ru/3.5/library/reprlib.html#repr-objects)1620      - [8.12.2. Создание подклассов объектов Repr](https://python-all.ru/3.5/library/reprlib.html#subclassing-repr-objects)1621    - [8.13. `enum` – поддержка перечислений](https://python-all.ru/3.5/library/enum.html)16221623      - [8.13.1. Содержимое модуля](https://python-all.ru/3.5/library/enum.html#module-contents)1624      - [8.13.2. Создание перечисления](https://python-all.ru/3.5/library/enum.html#creating-an-enum)1625      - [8.13.3. Программный доступ к членам перечисления и их атрибутам](https://python-all.ru/3.5/library/enum.html#programmatic-access-to-enumeration-members-and-their-attributes)1626      - [8.13.4. Дублирование членов и значений перечисления](https://python-all.ru/3.5/library/enum.html#duplicating-enum-members-and-values)1627      - [8.13.5. Обеспечение уникальности значений перечисления](https://python-all.ru/3.5/library/enum.html#ensuring-unique-enumeration-values)1628      - [8.13.6. Итерация](https://python-all.ru/3.5/library/enum.html#iteration)1629      - [8.13.7. Сравнения](https://python-all.ru/3.5/library/enum.html#comparisons)1630      - [8.13.8. Допустимые члены и атрибуты перечислений](https://python-all.ru/3.5/library/enum.html#allowed-members-and-attributes-of-enumerations)1631      - [8.13.9. Ограниченное создание подклассов перечислений](https://python-all.ru/3.5/library/enum.html#restricted-subclassing-of-enumerations)1632      - [8.13.10. Pickling](https://python-all.ru/3.5/library/enum.html#pickling)1633      - [8.13.11. Функциональный API](https://python-all.ru/3.5/library/enum.html#functional-api)1634      - [8.13.12. Производные перечисления](https://python-all.ru/3.5/library/enum.html#derived-enumerations)16351636        - [8.13.12.1. IntEnum](https://python-all.ru/3.5/library/enum.html#intenum)1637        - [8.13.12.2. Другие](https://python-all.ru/3.5/library/enum.html#others)1638      - [8.13.13. Интересные примеры](https://python-all.ru/3.5/library/enum.html#interesting-examples)16391640        - [8.13.13.1. AutoNumber](https://python-all.ru/3.5/library/enum.html#autonumber)1641        - [8.13.13.2. OrderedEnum](https://python-all.ru/3.5/library/enum.html#orderedenum)1642        - [8.13.13.3. DuplicateFreeEnum](https://python-all.ru/3.5/library/enum.html#duplicatefreeenum)1643        - [8.13.13.4. Planet](https://python-all.ru/3.5/library/enum.html#planet)1644      - [8.13.14. Чем отличаются перечисления?](https://python-all.ru/3.5/library/enum.html#how-are-enums-different)16451646        - [8.13.14.1. Классы перечислений](https://python-all.ru/3.5/library/enum.html#enum-classes)1647        - [8.13.14.2. Члены перечисления (экземпляры)](https://python-all.ru/3.5/library/enum.html#enum-members-aka-instances)1648        - [8.13.14.3. Тонкости](https://python-all.ru/3.5/library/enum.html#finer-points)1649  - [9. Модули числовых и математических функций](https://python-all.ru/3.5/library/numeric.html)16501651    - [9.1. `numbers` – Числовые абстрактные базовые классы](https://python-all.ru/3.5/library/numbers.html)16521653      - [9.1.1. Числовая иерархия](https://python-all.ru/3.5/library/numbers.html#the-numeric-tower)1654      - [9.1.2. Замечания для разработчиков типов](https://python-all.ru/3.5/library/numbers.html#notes-for-type-implementors)16551656        - [9.1.2.1. Добавление других числовых ABC](https://python-all.ru/3.5/library/numbers.html#adding-more-numeric-abcs)1657        - [9.1.2.2. Реализация арифметических операций](https://python-all.ru/3.5/library/numbers.html#implementing-the-arithmetic-operations)1658    - [9.2. `math` – Математические функции](https://python-all.ru/3.5/library/math.html)16591660      - [9.2.1. Теоретико-числовые функции и функции представления](https://python-all.ru/3.5/library/math.html#number-theoretic-and-representation-functions)1661      - [9.2.2. Степенные и логарифмические функции](https://python-all.ru/3.5/library/math.html#power-and-logarithmic-functions)1662      - [9.2.3. Тригонометрические функции](https://python-all.ru/3.5/library/math.html#trigonometric-functions)1663      - [9.2.4. Преобразование углов](https://python-all.ru/3.5/library/math.html#angular-conversion)1664      - [9.2.5. Гиперболические функции](https://python-all.ru/3.5/library/math.html#hyperbolic-functions)1665      - [9.2.6. Специальные функции](https://python-all.ru/3.5/library/math.html#special-functions)1666      - [9.2.7. Константы](https://python-all.ru/3.5/library/math.html#constants)1667    - [9.3. `cmath` – Математические функции для комплексных чисел](https://python-all.ru/3.5/library/cmath.html)16681669      - [9.3.1. Преобразование в полярные координаты и обратно](https://python-all.ru/3.5/library/cmath.html#conversions-to-and-from-polar-coordinates)1670      - [9.3.2. Степенные и логарифмические функции](https://python-all.ru/3.5/library/cmath.html#power-and-logarithmic-functions)1671      - [9.3.3. Тригонометрические функции](https://python-all.ru/3.5/library/cmath.html#trigonometric-functions)1672      - [9.3.4. Гиперболические функции](https://python-all.ru/3.5/library/cmath.html#hyperbolic-functions)1673      - [9.3.5. Функции классификации](https://python-all.ru/3.5/library/cmath.html#classification-functions)1674      - [9.3.6. Константы](https://python-all.ru/3.5/library/cmath.html#constants)1675    - [9.4. `decimal` – Десятичная арифметика с фиксированной и плавающей точкой](https://python-all.ru/3.5/library/decimal.html)16761677      - [9.4.1. Краткое руководство](https://python-all.ru/3.5/library/decimal.html#quick-start-tutorial)1678      - [9.4.2. Объекты Decimal](https://python-all.ru/3.5/library/decimal.html#decimal-objects)16791680        - [9.4.2.1. Логические операнды](https://python-all.ru/3.5/library/decimal.html#logical-operands)1681      - [9.4.3. Объекты контекста](https://python-all.ru/3.5/library/decimal.html#context-objects)1682      - [9.4.4. Константы](https://python-all.ru/3.5/library/decimal.html#constants)1683      - [9.4.5. Режимы округления](https://python-all.ru/3.5/library/decimal.html#rounding-modes)1684      - [9.4.6. Сигналы](https://python-all.ru/3.5/library/decimal.html#signals)1685      - [9.4.7. Замечания о числах с плавающей точкой](https://python-all.ru/3.5/library/decimal.html#floating-point-notes)16861687        - [9.4.7.1. Уменьшение ошибки округления за счёт повышенной точности](https://python-all.ru/3.5/library/decimal.html#mitigating-round-off-error-with-increased-precision)1688        - [9.4.7.2. Специальные значения](https://python-all.ru/3.5/library/decimal.html#special-values)1689      - [9.4.8. Работа с потоками](https://python-all.ru/3.5/library/decimal.html#working-with-threads)1690      - [9.4.9. Рецепты](https://python-all.ru/3.5/library/decimal.html#recipes)1691      - [9.4.10. Часто задаваемые вопросы о Decimal](https://python-all.ru/3.5/library/decimal.html#decimal-faq)1692    - [9.5. `fractions` – Рациональные числа](https://python-all.ru/3.5/library/fractions.html)1693    - [9.6. `random` – Генерация псевдослучайных чисел](https://python-all.ru/3.5/library/random.html)16941695      - [9.6.1. Замечания о воспроизводимости](https://python-all.ru/3.5/library/random.html#notes-on-reproducibility)1696      - [9.6.2. Примеры и рецепты](https://python-all.ru/3.5/library/random.html#examples-and-recipes)1697    - [9.7. `statistics` – Функции математической статистики](https://python-all.ru/3.5/library/statistics.html)16981699      - [9.7.1. Средние значения и меры центральной тенденции](https://python-all.ru/3.5/library/statistics.html#averages-and-measures-of-central-location)1700      - [9.7.2. Меры разброса](https://python-all.ru/3.5/library/statistics.html#measures-of-spread)1701      - [9.7.3. Описание функций](https://python-all.ru/3.5/library/statistics.html#function-details)1702      - [9.7.4. Исключения](https://python-all.ru/3.5/library/statistics.html#exceptions)1703  - [10. Модули функционального программирования](https://python-all.ru/3.5/library/functional.html)17041705    - [10.1. `itertools` – Функции, создающие итераторы для эффективного циклического перебора](https://python-all.ru/3.5/library/itertools.html)17061707      - [10.1.1. Функции модуля itertools](https://python-all.ru/3.5/library/itertools.html#itertool-functions)1708      - [10.1.2. Рецепты itertools](https://python-all.ru/3.5/library/itertools.html#itertools-recipes)1709    - [10.2. `functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/3.5/library/functools.html)17101711      - [10.2.1. Объекты `partial`](https://python-all.ru/3.5/library/functools.html#partial-objects)1712    - [10.3. `operator` – Стандартные операторы как функции](https://python-all.ru/3.5/library/operator.html)17131714      - [10.3.1. Отображение операторов на функции](https://python-all.ru/3.5/library/operator.html#mapping-operators-to-functions)1715      - [10.3.2. Операторы на месте](https://python-all.ru/3.5/library/operator.html#inplace-operators)1716  - [11. Доступ к файлам и каталогам](https://python-all.ru/3.5/library/filesys.html)17171718    - [11.1. `pathlib` – Объектно-ориентированные пути файловой системы](https://python-all.ru/3.5/library/pathlib.html)17191720      - [11.1.1. Основное использование](https://python-all.ru/3.5/library/pathlib.html#basic-use)1721      - [11.1.2. Абстрактные пути](https://python-all.ru/3.5/library/pathlib.html#pure-paths)17221723        - [11.1.2.1. Общие свойства](https://python-all.ru/3.5/library/pathlib.html#general-properties)1724        - [11.1.2.2. Операторы](https://python-all.ru/3.5/library/pathlib.html#operators)1725        - [11.1.2.3. Доступ к отдельным частям](https://python-all.ru/3.5/library/pathlib.html#accessing-individual-parts)1726        - [11.1.2.4. Методы и свойства](https://python-all.ru/3.5/library/pathlib.html#methods-and-properties)1727      - [11.1.3. Конкретные пути](https://python-all.ru/3.5/library/pathlib.html#concrete-paths)17281729        - [11.1.3.1. Методы](https://python-all.ru/3.5/library/pathlib.html#methods)1730    - [11.2. `os.path` – Типичные манипуляции с именами путей](https://python-all.ru/3.5/library/os.path.html)1731    - [11.3. `fileinput` – Итерация по строкам из нескольких входных потоков](https://python-all.ru/3.5/library/fileinput.html)1732    - [11.4. `stat` – Интерпретация результатов `stat()`](https://python-all.ru/3.5/library/stat.html)1733    - [11.5. `filecmp` – Сравнение файлов и каталогов](https://python-all.ru/3.5/library/filecmp.html)17341735      - [11.5.1. Класс `dircmp`](https://python-all.ru/3.5/library/filecmp.html#the-dircmp-class)1736    - [11.6. `tempfile` – Генерация временных файлов и каталогов](https://python-all.ru/3.5/library/tempfile.html)17371738      - [11.6.1. Примеры](https://python-all.ru/3.5/library/tempfile.html#examples)1739      - [11.6.2. Устаревшие функции и переменные](https://python-all.ru/3.5/library/tempfile.html#deprecated-functions-and-variables)1740    - [11.7. `glob` – Расширение шаблонов путей в стиле Unix](https://python-all.ru/3.5/library/glob.html)1741    - [11.8. `fnmatch` – Сопоставление имён файлов с шаблоном в стиле Unix](https://python-all.ru/3.5/library/fnmatch.html)1742    - [11.9. `linecache` – Произвольный доступ к строкам текста](https://python-all.ru/3.5/library/linecache.html)1743    - [11.10. `shutil` – Высокоуровневые операции с файлами](https://python-all.ru/3.5/library/shutil.html)17441745      - [11.10.1. Операции с каталогами и файлами](https://python-all.ru/3.5/library/shutil.html#directory-and-files-operations)17461747        - [11.10.1.1. Пример copytree](https://python-all.ru/3.5/library/shutil.html#copytree-example)1748        - [11.10.1.2. Пример rmtree](https://python-all.ru/3.5/library/shutil.html#rmtree-example)1749      - [11.10.2. Операции архивации](https://python-all.ru/3.5/library/shutil.html#archiving-operations)17501751        - [11.10.2.1. Пример архивации](https://python-all.ru/3.5/library/shutil.html#archiving-example)1752      - [11.10.3. Определение размера выходного терминала](https://python-all.ru/3.5/library/shutil.html#querying-the-size-of-the-output-terminal)1753    - [11.11. `macpath` – Функции для работы с путями Mac OS 9](https://python-all.ru/3.5/library/macpath.html)1754  - [12. Сохранение данных](https://python-all.ru/3.5/library/persistence.html)17551756    - [12.1. `pickle` – Сериализация объектов Python](https://python-all.ru/3.5/library/pickle.html)17571758      - [12.1.1. Взаимосвязь с другими модулями Python](https://python-all.ru/3.5/library/pickle.html#relationship-to-other-python-modules)17591760        - [12.1.1.1. Сравнение с `marshal`](https://python-all.ru/3.5/library/pickle.html#comparison-with-marshal)1761        - [12.1.1.2. Сравнение с `json`](https://python-all.ru/3.5/library/pickle.html#comparison-with-json)1762      - [12.1.2. Формат потока данных](https://python-all.ru/3.5/library/pickle.html#data-stream-format)1763      - [12.1.3. Интерфейс модуля](https://python-all.ru/3.5/library/pickle.html#module-interface)1764      - [12.1.4. Что можно сериализовать и десериализовать?](https://python-all.ru/3.5/library/pickle.html#what-can-be-pickled-and-unpickled)1765      - [12.1.5. Сериализация экземпляров классов](https://python-all.ru/3.5/library/pickle.html#pickling-class-instances)17661767        - [12.1.5.1. Сохранение внешних объектов](https://python-all.ru/3.5/library/pickle.html#persistence-of-external-objects)1768        - [12.1.5.2. Диспетчерские таблицы](https://python-all.ru/3.5/library/pickle.html#dispatch-tables)1769        - [12.1.5.3. Работа с объектами с состоянием](https://python-all.ru/3.5/library/pickle.html#handling-stateful-objects)1770      - [12.1.6. Ограничение глобальных объектов](https://python-all.ru/3.5/library/pickle.html#restricting-globals)1771      - [12.1.7. Производительность](https://python-all.ru/3.5/library/pickle.html#performance)1772      - [12.1.8. Примеры](https://python-all.ru/3.5/library/pickle.html#examples)1773    - [12.2. `copyreg` – Функции поддержки регистрации `pickle`](https://python-all.ru/3.5/library/copyreg.html)17741775      - [12.2.1. Пример](https://python-all.ru/3.5/library/copyreg.html#example)1776    - [12.3. `shelve` – Сохранение объектов Python](https://python-all.ru/3.5/library/shelve.html)17771778      - [12.3.1. Ограничения](https://python-all.ru/3.5/library/shelve.html#restrictions)1779      - [12.3.2. Пример](https://python-all.ru/3.5/library/shelve.html#example)1780    - [12.4. `marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/3.5/library/marshal.html)1781    - [12.5. `dbm` – Интерфейсы к базам данных Unix](https://python-all.ru/3.5/library/dbm.html)17821783      - [12.5.1. `dbm.gnu` – Переосмысление dbm от GNU](https://python-all.ru/3.5/library/dbm.html#module-dbm.gnu)1784      - [12.5.2. `dbm.ndbm` – Интерфейс на основе ndbm](https://python-all.ru/3.5/library/dbm.html#module-dbm.ndbm)1785      - [12.5.3. `dbm.dumb` – Переносимая реализация DBM](https://python-all.ru/3.5/library/dbm.html#module-dbm.dumb)1786    - [12.6. `sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/3.5/library/sqlite3.html)17871788      - [12.6.1. Функции и константы модуля](https://python-all.ru/3.5/library/sqlite3.html#module-functions-and-constants)1789      - [12.6.2. Объекты соединения](https://python-all.ru/3.5/library/sqlite3.html#connection-objects)1790      - [12.6.3. Объекты курсора](https://python-all.ru/3.5/library/sqlite3.html#cursor-objects)1791      - [12.6.4. Объекты строки](https://python-all.ru/3.5/library/sqlite3.html#row-objects)1792      - [12.6.5. Исключения](https://python-all.ru/3.5/library/sqlite3.html#exceptions)1793      - [12.6.6. Типы SQLite и Python](https://python-all.ru/3.5/library/sqlite3.html#sqlite-and-python-types)17941795        - [12.6.6.1. Введение](https://python-all.ru/3.5/library/sqlite3.html#introduction)1796        - [12.6.6.2. Использование адаптеров для хранения дополнительных типов Python в базах SQLite](https://python-all.ru/3.5/library/sqlite3.html#using-adapters-to-store-additional-python-types-in-sqlite-databases)17971798          - [12.6.6.2.1. Адаптация объекта самостоятельно](https://python-all.ru/3.5/library/sqlite3.html#letting-your-object-adapt-itself)1799          - [12.6.6.2.2. Регистрация вызываемого адаптера](https://python-all.ru/3.5/library/sqlite3.html#registering-an-adapter-callable)1800        - [12.6.6.3. Преобразование значений SQLite в пользовательские типы Python](https://python-all.ru/3.5/library/sqlite3.html#converting-sqlite-values-to-custom-python-types)1801        - [12.6.6.4. Адаптеры и конвертеры по умолчанию](https://python-all.ru/3.5/library/sqlite3.html#default-adapters-and-converters)1802      - [12.6.7. Управление транзакциями](https://python-all.ru/3.5/library/sqlite3.html#controlling-transactions)1803      - [12.6.8. Эффективное использование `sqlite3`](https://python-all.ru/3.5/library/sqlite3.html#using-sqlite3-efficiently)18041805        - [12.6.8.1. Использование быстрых методов](https://python-all.ru/3.5/library/sqlite3.html#using-shortcut-methods)1806        - [12.6.8.2. Доступ к столбцам по имени, а не по индексу](https://python-all.ru/3.5/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)1807        - [12.6.8.3. Использование соединения как менеджера контекста](https://python-all.ru/3.5/library/sqlite3.html#using-the-connection-as-a-context-manager)1808      - [12.6.9. Часто встречающиеся проблемы](https://python-all.ru/3.5/library/sqlite3.html#common-issues)18091810        - [12.6.9.1. Многопоточность](https://python-all.ru/3.5/library/sqlite3.html#multithreading)1811  - [13. Сжатие данных и архивирование](https://python-all.ru/3.5/library/archiving.html)18121813    - [13.1. `zlib` – Сжатие, совместимое с **gzip**](https://python-all.ru/3.5/library/zlib.html)1814    - [13.2. `gzip` – Поддержка файлов **gzip**](https://python-all.ru/3.5/library/gzip.html)18151816      - [13.2.1. Примеры использования](https://python-all.ru/3.5/library/gzip.html#examples-of-usage)1817    - [13.3. `bz2` – Поддержка сжатия **bzip2**](https://python-all.ru/3.5/library/bz2.html)18181819      - [13.3.1. (Де)сжатие файлов](https://python-all.ru/3.5/library/bz2.html#de-compression-of-files)1820      - [13.3.2. Инкрементальное (де)сжатие](https://python-all.ru/3.5/library/bz2.html#incremental-de-compression)1821      - [13.3.3. Одноэтапное (де)сжатие](https://python-all.ru/3.5/library/bz2.html#one-shot-de-compression)1822    - [13.4. `lzma` – Сжатие с использованием алгоритма LZMA](https://python-all.ru/3.5/library/lzma.html)18231824      - [13.4.1. Чтение и запись сжатых файлов](https://python-all.ru/3.5/library/lzma.html#reading-and-writing-compressed-files)1825      - [13.4.2. Сжатие и разжатие данных в памяти](https://python-all.ru/3.5/library/lzma.html#compressing-and-decompressing-data-in-memory)1826      - [13.4.3. Разное](https://python-all.ru/3.5/library/lzma.html#miscellaneous)1827      - [13.4.4. Задание пользовательских цепочек фильтров](https://python-all.ru/3.5/library/lzma.html#specifying-custom-filter-chains)1828      - [13.4.5. Примеры](https://python-all.ru/3.5/library/lzma.html#examples)1829    - [13.5. `zipfile` – Работа с ZIP-архивами](https://python-all.ru/3.5/library/zipfile.html)18301831      - [13.5.1. Объекты ZipFile](https://python-all.ru/3.5/library/zipfile.html#zipfile-objects)1832      - [13.5.2. Объекты PyZipFile](https://python-all.ru/3.5/library/zipfile.html#pyzipfile-objects)1833      - [13.5.3. Объекты ZipInfo](https://python-all.ru/3.5/library/zipfile.html#zipinfo-objects)1834      - [13.5.4. Интерфейс командной строки](https://python-all.ru/3.5/library/zipfile.html#command-line-interface)18351836        - [13.5.4.1. Параметры командной строки](https://python-all.ru/3.5/library/zipfile.html#command-line-options)1837    - [13.6. `tarfile` – Чтение и запись tar-архивов](https://python-all.ru/3.5/library/tarfile.html)18381839      - [13.6.1. Объекты TarFile](https://python-all.ru/3.5/library/tarfile.html#tarfile-objects)1840      - [13.6.2. Объекты TarInfo](https://python-all.ru/3.5/library/tarfile.html#tarinfo-objects)1841      - [13.6.3. Интерфейс командной строки](https://python-all.ru/3.5/library/tarfile.html#command-line-interface)18421843        - [13.6.3.1. Параметры командной строки](https://python-all.ru/3.5/library/tarfile.html#command-line-options)1844      - [13.6.4. Примеры](https://python-all.ru/3.5/library/tarfile.html#examples)1845      - [13.6.5. Поддерживаемые форматы tar](https://python-all.ru/3.5/library/tarfile.html#supported-tar-formats)1846      - [13.6.6. Вопросы Unicode](https://python-all.ru/3.5/library/tarfile.html#unicode-issues)1847  - [14. Форматы файлов](https://python-all.ru/3.5/library/fileformats.html)18481849    - [14.1. `csv` – Чтение и запись CSV-файлов](https://python-all.ru/3.5/library/csv.html)18501851      - [14.1.1. Содержимое модуля](https://python-all.ru/3.5/library/csv.html#module-contents)1852      - [14.1.2. Диалекты и параметры форматирования](https://python-all.ru/3.5/library/csv.html#dialects-and-formatting-parameters)1853      - [14.1.3. Объекты Reader](https://python-all.ru/3.5/library/csv.html#reader-objects)1854      - [14.1.4. Объекты Writer](https://python-all.ru/3.5/library/csv.html#writer-objects)1855      - [14.1.5. Примеры](https://python-all.ru/3.5/library/csv.html#examples)1856    - [14.2. `configparser` – Парсер конфигурационных файлов](https://python-all.ru/3.5/library/configparser.html)18571858      - [14.2.1. Быстрый старт](https://python-all.ru/3.5/library/configparser.html#quick-start)1859      - [14.2.2. Поддерживаемые типы данных](https://python-all.ru/3.5/library/configparser.html#supported-datatypes)1860      - [14.2.3. Резервные значения](https://python-all.ru/3.5/library/configparser.html#fallback-values)1861      - [14.2.4. Поддерживаемая структура INI-файла](https://python-all.ru/3.5/library/configparser.html#supported-ini-file-structure)1862      - [14.2.5. Интерполяция значений](https://python-all.ru/3.5/library/configparser.html#interpolation-of-values)1863      - [14.2.6. Доступ через протокол отображения](https://python-all.ru/3.5/library/configparser.html#mapping-protocol-access)1864      - [14.2.7. Настройка поведения парсера](https://python-all.ru/3.5/library/configparser.html#customizing-parser-behaviour)1865      - [14.2.8. Примеры устаревшего API](https://python-all.ru/3.5/library/configparser.html#legacy-api-examples)1866      - [14.2.9. Объекты ConfigParser](https://python-all.ru/3.5/library/configparser.html#configparser-objects)1867      - [14.2.10. Объекты RawConfigParser](https://python-all.ru/3.5/library/configparser.html#rawconfigparser-objects)1868      - [14.2.11. Исключения](https://python-all.ru/3.5/library/configparser.html#exceptions)1869    - [14.3. `netrc` – Обработка файлов netrc](https://python-all.ru/3.5/library/netrc.html)18701871      - [14.3.1. Объекты netrc](https://python-all.ru/3.5/library/netrc.html#netrc-objects)1872    - [14.4. `xdrlib` – Кодирование и декодирование данных XDR](https://python-all.ru/3.5/library/xdrlib.html)18731874      - [14.4.1. Объекты Packer](https://python-all.ru/3.5/library/xdrlib.html#packer-objects)1875      - [14.4.2. Объекты Unpacker](https://python-all.ru/3.5/library/xdrlib.html#unpacker-objects)1876      - [14.4.3. Исключения](https://python-all.ru/3.5/library/xdrlib.html#exceptions)1877    - [14.5. `plistlib` – Генерация и разбор файлов `.plist` Mac OS X](https://python-all.ru/3.5/library/plistlib.html)18781879      - [14.5.1. Примеры](https://python-all.ru/3.5/library/plistlib.html#examples)1880  - [15. Криптографические службы](https://python-all.ru/3.5/library/crypto.html)18811882    - [15.1. `hashlib` – Безопасные хеши и дайджесты сообщений](https://python-all.ru/3.5/library/hashlib.html)18831884      - [15.1.1. Алгоритмы хеширования](https://python-all.ru/3.5/library/hashlib.html#hash-algorithms)1885      - [15.1.2. Вывод ключей](https://python-all.ru/3.5/library/hashlib.html#key-derivation)1886    - [15.2. `hmac` – Ключевое хеширование для аутентификации сообщений](https://python-all.ru/3.5/library/hmac.html)1887  - [16. Общие службы операционной системы](https://python-all.ru/3.5/library/allos.html)18881889    - [16.1. `os` – Разные интерфейсы операционной системы](https://python-all.ru/3.5/library/os.html)18901891      - [16.1.1. Имена файлов, аргументы командной строки и переменные окружения](https://python-all.ru/3.5/library/os.html#file-names-command-line-arguments-and-environment-variables)1892      - [16.1.2. Параметры процесса](https://python-all.ru/3.5/library/os.html#process-parameters)1893      - [16.1.3. Создание файловых объектов](https://python-all.ru/3.5/library/os.html#file-object-creation)1894      - [16.1.4. Операции с файловыми дескрипторами](https://python-all.ru/3.5/library/os.html#file-descriptor-operations)18951896        - [16.1.4.1. Запрос размера терминала](https://python-all.ru/3.5/library/os.html#querying-the-size-of-a-terminal)1897        - [16.1.4.2. Наследование файловых дескрипторов](https://python-all.ru/3.5/library/os.html#inheritance-of-file-descriptors)1898      - [16.1.5. Файлы и каталоги](https://python-all.ru/3.5/library/os.html#files-and-directories)18991900        - [16.1.5.1. Расширенные атрибуты Linux](https://python-all.ru/3.5/library/os.html#linux-extended-attributes)1901      - [16.1.6. Управление процессами](https://python-all.ru/3.5/library/os.html#process-management)1902      - [16.1.7. Интерфейс к планировщику](https://python-all.ru/3.5/library/os.html#interface-to-the-scheduler)1903      - [16.1.8. Разная системная информация](https://python-all.ru/3.5/library/os.html#miscellaneous-system-information)1904      - [16.1.9. Прочие функции](https://python-all.ru/3.5/library/os.html#miscellaneous-functions)1905    - [16.2. `io` – Основные инструменты для работы с потоками](https://python-all.ru/3.5/library/io.html)19061907      - [16.2.1. Обзор](https://python-all.ru/3.5/library/io.html#overview)19081909        - [16.2.1.1. Текстовый ввод-вывод](https://python-all.ru/3.5/library/io.html#text-i-o)1910        - [16.2.1.2. Двоичный ввод-вывод](https://python-all.ru/3.5/library/io.html#binary-i-o)1911        - [16.2.1.3. Необработанный ввод-вывод](https://python-all.ru/3.5/library/io.html#raw-i-o)1912      - [16.2.2. Интерфейс модуля высокого уровня](https://python-all.ru/3.5/library/io.html#high-level-module-interface)19131914        - [16.2.2.1. Потоки в памяти](https://python-all.ru/3.5/library/io.html#in-memory-streams)1915      - [16.2.3. Иерархия классов](https://python-all.ru/3.5/library/io.html#class-hierarchy)19161917        - [16.2.3.1. Базовые классы ввода-вывода](https://python-all.ru/3.5/library/io.html#i-o-base-classes)1918        - [16.2.3.2. Сырой файловый ввод-вывод](https://python-all.ru/3.5/library/io.html#raw-file-i-o)1919        - [16.2.3.3. Буферизированные потоки данных](https://python-all.ru/3.5/library/io.html#buffered-streams)1920        - [16.2.3.4. Текстовый ввод-вывод](https://python-all.ru/3.5/library/io.html#id1)1921      - [16.2.4. Производительность](https://python-all.ru/3.5/library/io.html#performance)19221923        - [16.2.4.1. Двоичный ввод-вывод](https://python-all.ru/3.5/library/io.html#id2)1924        - [16.2.4.2. Текстовый ввод-вывод](https://python-all.ru/3.5/library/io.html#id3)1925        - [16.2.4.3. Многопоточность](https://python-all.ru/3.5/library/io.html#multi-threading)1926        - [16.2.4.4. Реентерабельность](https://python-all.ru/3.5/library/io.html#reentrancy)1927    - [16.3. `time` – Доступ ко времени и преобразования](https://python-all.ru/3.5/library/time.html)1928    - [16.4. `argparse` – Парсер для параметров командной строки, аргументов и подкоманд](https://python-all.ru/3.5/library/argparse.html)19291930      - [16.4.1. Пример](https://python-all.ru/3.5/library/argparse.html#example)19311932        - [16.4.1.1. Создание парсера](https://python-all.ru/3.5/library/argparse.html#creating-a-parser)1933        - [16.4.1.2. Добавление аргументов](https://python-all.ru/3.5/library/argparse.html#adding-arguments)1934        - [16.4.1.3. Разбор аргументов](https://python-all.ru/3.5/library/argparse.html#parsing-arguments)1935      - [16.4.2. Объекты ArgumentParser](https://python-all.ru/3.5/library/argparse.html#argumentparser-objects)19361937        - [16.4.2.1. prog](https://python-all.ru/3.5/library/argparse.html#prog)1938        - [16.4.2.2. usage](https://python-all.ru/3.5/library/argparse.html#usage)1939        - [16.4.2.3. description](https://python-all.ru/3.5/library/argparse.html#description)1940        - [16.4.2.4. epilog](https://python-all.ru/3.5/library/argparse.html#epilog)1941        - [16.4.2.5. parents](https://python-all.ru/3.5/library/argparse.html#parents)1942        - [16.4.2.6. formatter\_class](https://python-all.ru/3.5/library/argparse.html#formatter-class)1943        - [16.4.2.7. prefix\_chars](https://python-all.ru/3.5/library/argparse.html#prefix-chars)1944        - [16.4.2.8. fromfile\_prefix\_chars](https://python-all.ru/3.5/library/argparse.html#fromfile-prefix-chars)1945        - [16.4.2.9. argument\_default](https://python-all.ru/3.5/library/argparse.html#argument-default)1946        - [16.4.2.10. allow\_abbrev](https://python-all.ru/3.5/library/argparse.html#allow-abbrev)1947        - [16.4.2.11. conflict\_handler](https://python-all.ru/3.5/library/argparse.html#conflict-handler)1948        - [16.4.2.12. add\_help](https://python-all.ru/3.5/library/argparse.html#add-help)1949      - [16.4.3. Метод add\_argument()](https://python-all.ru/3.5/library/argparse.html#the-add-argument-method)19501951        - [16.4.3.1. Имя или флаги](https://python-all.ru/3.5/library/argparse.html#name-or-flags)1952        - [16.4.3.2. action](https://python-all.ru/3.5/library/argparse.html#action)1953        - [16.4.3.3. nargs](https://python-all.ru/3.5/library/argparse.html#nargs)1954        - [16.4.3.4. const](https://python-all.ru/3.5/library/argparse.html#const)1955        - [16.4.3.5. default](https://python-all.ru/3.5/library/argparse.html#default)1956        - [16.4.3.6. type](https://python-all.ru/3.5/library/argparse.html#type)1957        - [16.4.3.7. choices](https://python-all.ru/3.5/library/argparse.html#choices)1958        - [16.4.3.8. required](https://python-all.ru/3.5/library/argparse.html#required)1959        - [16.4.3.9. help](https://python-all.ru/3.5/library/argparse.html#help)1960        - [16.4.3.10. metavar](https://python-all.ru/3.5/library/argparse.html#metavar)1961        - [16.4.3.11. dest](https://python-all.ru/3.5/library/argparse.html#dest)1962        - [16.4.3.12. Классы Action](https://python-all.ru/3.5/library/argparse.html#action-classes)1963      - [16.4.4. Метод parse\_args()](https://python-all.ru/3.5/library/argparse.html#the-parse-args-method)19641965        - [16.4.4.1. Синтаксис значений параметров](https://python-all.ru/3.5/library/argparse.html#option-value-syntax)1966        - [16.4.4.2. Недопустимые аргументы](https://python-all.ru/3.5/library/argparse.html#invalid-arguments)1967        - [16.4.4.3. Аргументы, содержащие `-`](https://python-all.ru/3.5/library/argparse.html#arguments-containing)1968        - [16.4.4.4. Сокращения аргументов (сопоставление по префиксу)](https://python-all.ru/3.5/library/argparse.html#argument-abbreviations-prefix-matching)1969        - [16.4.4.5. За пределами `sys.argv`](https://python-all.ru/3.5/library/argparse.html#beyond-sys-argv)1970        - [16.4.4.6. Объект Namespace](https://python-all.ru/3.5/library/argparse.html#the-namespace-object)1971      - [16.4.5. Другие утилиты](https://python-all.ru/3.5/library/argparse.html#other-utilities)19721973        - [16.4.5.1. Подкоманды](https://python-all.ru/3.5/library/argparse.html#sub-commands)1974        - [16.4.5.2. Объекты FileType](https://python-all.ru/3.5/library/argparse.html#filetype-objects)1975        - [16.4.5.3. Группы аргументов](https://python-all.ru/3.5/library/argparse.html#argument-groups)1976        - [16.4.5.4. Взаимное исключение](https://python-all.ru/3.5/library/argparse.html#mutual-exclusion)1977        - [16.4.5.5. Значения парсера по умолчанию](https://python-all.ru/3.5/library/argparse.html#parser-defaults)1978        - [16.4.5.6. Вывод справки](https://python-all.ru/3.5/library/argparse.html#printing-help)1979        - [16.4.5.7. Частичный разбор](https://python-all.ru/3.5/library/argparse.html#partial-parsing)1980        - [16.4.5.8. Настройка разбора файлов](https://python-all.ru/3.5/library/argparse.html#customizing-file-parsing)1981        - [16.4.5.9. Методы выхода](https://python-all.ru/3.5/library/argparse.html#exiting-methods)1982      - [16.4.6. Обновление кода optparse](https://python-all.ru/3.5/library/argparse.html#upgrading-optparse-code)1983    - [16.5. `getopt` – Парсер в стиле C для параметров командной строки](https://python-all.ru/3.5/library/getopt.html)1984    - [16.6. `logging` – Средство логирования для Python](https://python-all.ru/3.5/library/logging.html)19851986      - [16.6.1. Объекты Logger](https://python-all.ru/3.5/library/logging.html#logger-objects)1987      - [16.6.2. Уровни логирования](https://python-all.ru/3.5/library/logging.html#logging-levels)1988      - [16.6.3. Объекты-обработчики](https://python-all.ru/3.5/library/logging.html#handler-objects)1989      - [16.6.4. Объекты-форматтеры](https://python-all.ru/3.5/library/logging.html#formatter-objects)1990      - [16.6.5. Объекты-фильтры](https://python-all.ru/3.5/library/logging.html#filter-objects)1991      - [16.6.6. Объекты LogRecord](https://python-all.ru/3.5/library/logging.html#logrecord-objects)1992      - [16.6.7. Атрибуты LogRecord](https://python-all.ru/3.5/library/logging.html#logrecord-attributes)1993      - [16.6.8. Объекты LoggerAdapter](https://python-all.ru/3.5/library/logging.html#loggeradapter-objects)1994      - [16.6.9. Потокобезопасность](https://python-all.ru/3.5/library/logging.html#thread-safety)1995      - [16.6.10. Функции уровня модуля](https://python-all.ru/3.5/library/logging.html#module-level-functions)1996      - [16.6.11. Атрибуты уровня модуля](https://python-all.ru/3.5/library/logging.html#module-level-attributes)1997      - [16.6.12. Интеграция с модулем warnings](https://python-all.ru/3.5/library/logging.html#integration-with-the-warnings-module)1998    - [16.7. `logging.config` – Конфигурация логирования](https://python-all.ru/3.5/library/logging.config.html)19992000      - [16.7.1. Функции конфигурации](https://python-all.ru/3.5/library/logging.config.html#configuration-functions)2001      - [16.7.2. Схема словаря конфигурации](https://python-all.ru/3.5/library/logging.config.html#configuration-dictionary-schema)20022003        - [16.7.2.1. Детали схемы словаря](https://python-all.ru/3.5/library/logging.config.html#dictionary-schema-details)2004        - [16.7.2.2. Инкрементальная конфигурация](https://python-all.ru/3.5/library/logging.config.html#incremental-configuration)2005        - [16.7.2.3. Связи объектов](https://python-all.ru/3.5/library/logging.config.html#object-connections)2006        - [16.7.2.4. Пользовательские объекты](https://python-all.ru/3.5/library/logging.config.html#user-defined-objects)2007        - [16.7.2.5. Доступ к внешним объектам](https://python-all.ru/3.5/library/logging.config.html#access-to-external-objects)2008        - [16.7.2.6. Доступ к внутренним объектам](https://python-all.ru/3.5/library/logging.config.html#access-to-internal-objects)2009        - [16.7.2.7. Разрешение импорта и пользовательские импортёры](https://python-all.ru/3.5/library/logging.config.html#import-resolution-and-custom-importers)2010      - [16.7.3. Формат файла конфигурации](https://python-all.ru/3.5/library/logging.config.html#configuration-file-format)2011    - [16.8. `logging.handlers` – Обработчики логирования](https://python-all.ru/3.5/library/logging.handlers.html)20122013      - [16.8.1. StreamHandler](https://python-all.ru/3.5/library/logging.handlers.html#streamhandler)2014      - [16.8.2. FileHandler](https://python-all.ru/3.5/library/logging.handlers.html#filehandler)2015      - [16.8.3. NullHandler](https://python-all.ru/3.5/library/logging.handlers.html#nullhandler)2016      - [16.8.4. WatchedFileHandler](https://python-all.ru/3.5/library/logging.handlers.html#watchedfilehandler)2017      - [16.8.5. BaseRotatingHandler](https://python-all.ru/3.5/library/logging.handlers.html#baserotatinghandler)2018      - [16.8.6. RotatingFileHandler](https://python-all.ru/3.5/library/logging.handlers.html#rotatingfilehandler)2019      - [16.8.7. TimedRotatingFileHandler](https://python-all.ru/3.5/library/logging.handlers.html#timedrotatingfilehandler)2020      - [16.8.8. SocketHandler](https://python-all.ru/3.5/library/logging.handlers.html#sockethandler)2021      - [16.8.9. DatagramHandler](https://python-all.ru/3.5/library/logging.handlers.html#datagramhandler)2022      - [16.8.10. SysLogHandler](https://python-all.ru/3.5/library/logging.handlers.html#sysloghandler)2023      - [16.8.11. NTEventLogHandler](https://python-all.ru/3.5/library/logging.handlers.html#nteventloghandler)2024      - [16.8.12. SMTPHandler](https://python-all.ru/3.5/library/logging.handlers.html#smtphandler)2025      - [16.8.13. MemoryHandler](https://python-all.ru/3.5/library/logging.handlers.html#memoryhandler)2026      - [16.8.14. HTTPHandler](https://python-all.ru/3.5/library/logging.handlers.html#httphandler)2027      - [16.8.15. QueueHandler](https://python-all.ru/3.5/library/logging.handlers.html#queuehandler)2028      - [16.8.16. QueueListener](https://python-all.ru/3.5/library/logging.handlers.html#queuelistener)2029    - [16.9. `getpass` – Portable password input](https://python-all.ru/3.5/library/getpass.html)2030    - [16.10. `curses` – Terminal handling for character-cell displays](https://python-all.ru/3.5/library/curses.html)20312032      - [16.10.1. Functions](https://python-all.ru/3.5/library/curses.html#functions)2033      - [16.10.2. Window Objects](https://python-all.ru/3.5/library/curses.html#window-objects)2034      - [16.10.3. Constants](https://python-all.ru/3.5/library/curses.html#constants)2035    - [16.11. `curses.textpad` – Text input widget for curses programs](https://python-all.ru/3.5/library/curses.html#module-curses.textpad)20362037      - [16.11.1. Textbox objects](https://python-all.ru/3.5/library/curses.html#textbox-objects)2038    - [16.12. `curses.ascii` – Utilities for ASCII characters](https://python-all.ru/3.5/library/curses.ascii.html)2039    - [16.13. `curses.panel` – A panel stack extension for curses](https://python-all.ru/3.5/library/curses.panel.html)20402041      - [16.13.1. Functions](https://python-all.ru/3.5/library/curses.panel.html#functions)2042      - [16.13.2. Panel Objects](https://python-all.ru/3.5/library/curses.panel.html#panel-objects)2043    - [16.14. `platform` – Access to underlying platform’s identifying data](https://python-all.ru/3.5/library/platform.html)20442045      - [16.14.1. Cross Platform](https://python-all.ru/3.5/library/platform.html#cross-platform)2046      - [16.14.2. Java Platform](https://python-all.ru/3.5/library/platform.html#java-platform)2047      - [16.14.3. Windows Platform](https://python-all.ru/3.5/library/platform.html#windows-platform)20482049        - [16.14.3.1. Win95/98 specific](https://python-all.ru/3.5/library/platform.html#win95-98-specific)2050      - [16.14.4. Mac OS Platform](https://python-all.ru/3.5/library/platform.html#mac-os-platform)2051      - [16.14.5. Unix Platforms](https://python-all.ru/3.5/library/platform.html#unix-platforms)2052    - [16.15. `errno` – Standard errno system symbols](https://python-all.ru/3.5/library/errno.html)2053    - [16.16. `ctypes` – A foreign function library for Python](https://python-all.ru/3.5/library/ctypes.html)20542055      - [16.16.1. ctypes tutorial](https://python-all.ru/3.5/library/ctypes.html#ctypes-tutorial)20562057        - [16.16.1.1. Loading dynamic link libraries](https://python-all.ru/3.5/library/ctypes.html#loading-dynamic-link-libraries)2058        - [16.16.1.2. Accessing functions from loaded dlls](https://python-all.ru/3.5/library/ctypes.html#accessing-functions-from-loaded-dlls)2059        - [16.16.1.3. Calling functions](https://python-all.ru/3.5/library/ctypes.html#calling-functions)2060        - [16.16.1.4. Fundamental data types](https://python-all.ru/3.5/library/ctypes.html#fundamental-data-types)2061        - [16.16.1.5. Вызов функций, продолжение](https://python-all.ru/3.5/library/ctypes.html#calling-functions-continued)2062        - [16.16.1.6. Вызов функций с пользовательскими типами данных](https://python-all.ru/3.5/library/ctypes.html#calling-functions-with-your-own-custom-data-types)2063        - [16.16.1.7. Указание типов обязательных аргументов (прототипы функций)](https://python-all.ru/3.5/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)2064        - [16.16.1.8. Типы возвращаемых значений](https://python-all.ru/3.5/library/ctypes.html#return-types)2065        - [16.16.1.9. Передача указателей (или передача параметров по ссылке)](https://python-all.ru/3.5/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)2066        - [16.16.1.10. Структуры и объединения](https://python-all.ru/3.5/library/ctypes.html#structures-and-unions)2067        - [16.16.1.11. Выравнивание структур и объединений и порядок байтов](https://python-all.ru/3.5/library/ctypes.html#structure-union-alignment-and-byte-order)2068        - [16.16.1.12. Битовые поля в структурах и объединениях](https://python-all.ru/3.5/library/ctypes.html#bit-fields-in-structures-and-unions)2069        - [16.16.1.13. Массивы](https://python-all.ru/3.5/library/ctypes.html#arrays)2070        - [16.16.1.14. Указатели](https://python-all.ru/3.5/library/ctypes.html#pointers)2071        - [16.16.1.15. Преобразования типов](https://python-all.ru/3.5/library/ctypes.html#type-conversions)2072        - [16.16.1.16. Неполные типы](https://python-all.ru/3.5/library/ctypes.html#incomplete-types)2073        - [16.16.1.17. Колбэк-функции](https://python-all.ru/3.5/library/ctypes.html#callback-functions)2074        - [16.16.1.18. Доступ к значениям, экспортируемым из DLL](https://python-all.ru/3.5/library/ctypes.html#accessing-values-exported-from-dlls)2075        - [16.16.1.19. Неожиданности](https://python-all.ru/3.5/library/ctypes.html#surprises)2076        - [16.16.1.20. Типы данных переменного размера](https://python-all.ru/3.5/library/ctypes.html#variable-sized-data-types)2077      - [16.16.2. Справочник по ctypes](https://python-all.ru/3.5/library/ctypes.html#ctypes-reference)20782079        - [16.16.2.1. Поиск разделяемых библиотек](https://python-all.ru/3.5/library/ctypes.html#finding-shared-libraries)2080        - [16.16.2.2. Загрузка разделяемых библиотек](https://python-all.ru/3.5/library/ctypes.html#loading-shared-libraries)2081        - [16.16.2.3. Внешние функции](https://python-all.ru/3.5/library/ctypes.html#foreign-functions)2082        - [16.16.2.4. Прототипы функций](https://python-all.ru/3.5/library/ctypes.html#function-prototypes)2083        - [16.16.2.5. Вспомогательные функции](https://python-all.ru/3.5/library/ctypes.html#utility-functions)2084        - [16.16.2.6. Типы данных](https://python-all.ru/3.5/library/ctypes.html#data-types)2085        - [16.16.2.7. Фундаментальные типы данных](https://python-all.ru/3.5/library/ctypes.html#ctypes-fundamental-data-types-2)2086        - [16.16.2.8. Структурированные типы данных](https://python-all.ru/3.5/library/ctypes.html#structured-data-types)2087        - [16.16.2.9. Массивы и указатели](https://python-all.ru/3.5/library/ctypes.html#arrays-and-pointers)2088  - [17. Параллельное выполнение](https://python-all.ru/3.5/library/concurrency.html)20892090    - [17.1. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.5/library/threading.html)20912092      - [17.1.1. Потоково-локальные данные](https://python-all.ru/3.5/library/threading.html#thread-local-data)2093      - [17.1.2. Объекты потоков](https://python-all.ru/3.5/library/threading.html#thread-objects)2094      - [17.1.3. Объекты блокировок](https://python-all.ru/3.5/library/threading.html#lock-objects)2095      - [17.1.4. Объекты RLock](https://python-all.ru/3.5/library/threading.html#rlock-objects)2096      - [17.1.5. Объекты Condition](https://python-all.ru/3.5/library/threading.html#condition-objects)2097      - [17.1.6. Объекты Semaphore](https://python-all.ru/3.5/library/threading.html#semaphore-objects)20982099        - [17.1.6.1. `Semaphore` Пример](https://python-all.ru/3.5/library/threading.html#semaphore-example)2100      - [17.1.7. Объекты Event](https://python-all.ru/3.5/library/threading.html#event-objects)2101      - [17.1.8. Объекты Timer](https://python-all.ru/3.5/library/threading.html#timer-objects)2102      - [17.1.9. Объекты Barrier](https://python-all.ru/3.5/library/threading.html#barrier-objects)2103      - [17.1.10. Использование блокировок, условных объектов и семафоров в операторе `with`](https://python-all.ru/3.5/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)2104    - [17.2. `multiprocessing` – параллелизм на основе процессов](https://python-all.ru/3.5/library/multiprocessing.html)21052106      - [17.2.1. Введение](https://python-all.ru/3.5/library/multiprocessing.html#introduction)21072108        - [17.2.1.1. Класс `Process`](https://python-all.ru/3.5/library/multiprocessing.html#the-process-class)2109        - [17.2.1.2. Контексты и методы запуска](https://python-all.ru/3.5/library/multiprocessing.html#contexts-and-start-methods)2110        - [17.2.1.3. Обмен объектами между процессами](https://python-all.ru/3.5/library/multiprocessing.html#exchanging-objects-between-processes)2111        - [17.2.1.4. Синхронизация между процессами](https://python-all.ru/3.5/library/multiprocessing.html#synchronization-between-processes)2112        - [17.2.1.5. Совместное использование состояния между процессами](https://python-all.ru/3.5/library/multiprocessing.html#sharing-state-between-processes)2113        - [17.2.1.6. Использование пула рабочих процессов](https://python-all.ru/3.5/library/multiprocessing.html#using-a-pool-of-workers)2114      - [17.2.2. Справочная информация](https://python-all.ru/3.5/library/multiprocessing.html#reference)21152116        - [17.2.2.1. `Process` и исключения](https://python-all.ru/3.5/library/multiprocessing.html#process-and-exceptions)2117        - [17.2.2.2. Каналы и очереди](https://python-all.ru/3.5/library/multiprocessing.html#pipes-and-queues)2118        - [17.2.2.3. Разное](https://python-all.ru/3.5/library/multiprocessing.html#miscellaneous)2119        - [17.2.2.4. Объекты Connection](https://python-all.ru/3.5/library/multiprocessing.html#connection-objects)2120        - [17.2.2.5. Примитивы синхронизации](https://python-all.ru/3.5/library/multiprocessing.html#synchronization-primitives)2121        - [17.2.2.6. Разделяемые объекты `ctypes`](https://python-all.ru/3.5/library/multiprocessing.html#shared-ctypes-objects)21222123          - [17.2.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.5/library/multiprocessing.html#module-multiprocessing.sharedctypes)2124        - [17.2.2.7. Менеджеры](https://python-all.ru/3.5/library/multiprocessing.html#managers)21252126          - [17.2.2.7.1. Настраиваемые менеджеры](https://python-all.ru/3.5/library/multiprocessing.html#customized-managers)2127          - [17.2.2.7.2. Использование удалённого менеджера](https://python-all.ru/3.5/library/multiprocessing.html#using-a-remote-manager)2128        - [17.2.2.8. Объекты-прокси](https://python-all.ru/3.5/library/multiprocessing.html#proxy-objects)21292130          - [17.2.2.8.1. Очистка](https://python-all.ru/3.5/library/multiprocessing.html#cleanup)2131        - [17.2.2.9. Пулы процессов](https://python-all.ru/3.5/library/multiprocessing.html#module-multiprocessing.pool)2132        - [17.2.2.10. Слушатели и клиенты](https://python-all.ru/3.5/library/multiprocessing.html#module-multiprocessing.connection)21332134          - [17.2.2.10.1. Форматы адресов](https://python-all.ru/3.5/library/multiprocessing.html#address-formats)2135        - [17.2.2.11. Ключи аутентификации](https://python-all.ru/3.5/library/multiprocessing.html#authentication-keys)2136        - [17.2.2.12. Логирование](https://python-all.ru/3.5/library/multiprocessing.html#logging)2137        - [17.2.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.5/library/multiprocessing.html#module-multiprocessing.dummy)2138      - [17.2.3. Рекомендации по программированию](https://python-all.ru/3.5/library/multiprocessing.html#programming-guidelines)21392140        - [17.2.3.1. Все методы запуска](https://python-all.ru/3.5/library/multiprocessing.html#all-start-methods)2141        - [17.2.3.2. Методы запуска *spawn* и *forkserver*](https://python-all.ru/3.5/library/multiprocessing.html#the-spawn-and-forkserver-start-methods)2142      - [17.2.4. Примеры](https://python-all.ru/3.5/library/multiprocessing.html#examples)2143    - [17.3. Пакет `concurrent`](https://python-all.ru/3.5/library/concurrent.html)2144    - [17.4. `concurrent.futures` – Запуск параллельных задач](https://python-all.ru/3.5/library/concurrent.futures.html)21452146      - [17.4.1. Объекты-исполнители](https://python-all.ru/3.5/library/concurrent.futures.html#executor-objects)2147      - [17.4.2. ThreadPoolExecutor](https://python-all.ru/3.5/library/concurrent.futures.html#threadpoolexecutor)21482149        - [17.4.2.1. Пример ThreadPoolExecutor](https://python-all.ru/3.5/library/concurrent.futures.html#threadpoolexecutor-example)2150      - [17.4.3. ProcessPoolExecutor](https://python-all.ru/3.5/library/concurrent.futures.html#processpoolexecutor)21512152        - [17.4.3.1. Пример ProcessPoolExecutor](https://python-all.ru/3.5/library/concurrent.futures.html#processpoolexecutor-example)2153      - [17.4.4. Объекты Future](https://python-all.ru/3.5/library/concurrent.futures.html#future-objects)2154      - [17.4.5. Функции модуля](https://python-all.ru/3.5/library/concurrent.futures.html#module-functions)2155      - [17.4.6. Классы исключений](https://python-all.ru/3.5/library/concurrent.futures.html#exception-classes)2156    - [17.5. `subprocess` – Управление подпроцессами](https://python-all.ru/3.5/library/subprocess.html)21572158      - [17.5.1. Использование модуля `subprocess`](https://python-all.ru/3.5/library/subprocess.html#using-the-subprocess-module)21592160        - [17.5.1.1. Часто используемые аргументы](https://python-all.ru/3.5/library/subprocess.html#frequently-used-arguments)2161        - [17.5.1.2. Конструктор Popen](https://python-all.ru/3.5/library/subprocess.html#popen-constructor)2162        - [17.5.1.3. Исключения](https://python-all.ru/3.5/library/subprocess.html#exceptions)2163      - [17.5.2. Вопросы безопасности](https://python-all.ru/3.5/library/subprocess.html#security-considerations)2164      - [17.5.3. Объекты Popen](https://python-all.ru/3.5/library/subprocess.html#popen-objects)2165      - [17.5.4. Вспомогательные средства Popen для Windows](https://python-all.ru/3.5/library/subprocess.html#windows-popen-helpers)21662167        - [17.5.4.1. Константы](https://python-all.ru/3.5/library/subprocess.html#constants)2168      - [17.5.5. Старый высокоуровневый API](https://python-all.ru/3.5/library/subprocess.html#older-high-level-api)2169      - [17.5.6. Замена старых функций модулем `subprocess`](https://python-all.ru/3.5/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)21702171        - [17.5.6.1. Замена обратных кавычек оболочки /bin/sh](https://python-all.ru/3.5/library/subprocess.html#replacing-bin-sh-shell-backquote)2172        - [17.5.6.2. Замена конвейера оболочки](https://python-all.ru/3.5/library/subprocess.html#replacing-shell-pipeline)2173        - [17.5.6.3. Замена `os.system()`](https://python-all.ru/3.5/library/subprocess.html#replacing-os-system)2174        - [17.5.6.4. Замена семейства `os.spawn`](https://python-all.ru/3.5/library/subprocess.html#replacing-the-os-spawn-family)2175        - [17.5.6.5. Замена `os.popen()`, `os.popen2()`, `os.popen3()`](https://python-all.ru/3.5/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3)2176        - [17.5.6.6. Замена функций модуля `popen2`](https://python-all.ru/3.5/library/subprocess.html#replacing-functions-from-the-popen2-module)2177      - [17.5.7. Устаревшие функции вызова оболочки](https://python-all.ru/3.5/library/subprocess.html#legacy-shell-invocation-functions)2178      - [17.5.8. Примечания](https://python-all.ru/3.5/library/subprocess.html#notes)21792180        - [17.5.8.1. Преобразование последовательности аргументов в строку в Windows](https://python-all.ru/3.5/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows)2181    - [17.6. `sched` – Планировщик событий](https://python-all.ru/3.5/library/sched.html)21822183      - [17.6.1. Объекты планировщика](https://python-all.ru/3.5/library/sched.html#scheduler-objects)2184    - [17.7. `queue` – Синхронизированный класс очереди](https://python-all.ru/3.5/library/queue.html)21852186      - [17.7.1. Объекты очереди](https://python-all.ru/3.5/library/queue.html#queue-objects)2187    - [17.8. `dummy_threading` – Замена для модуля `threading`](https://python-all.ru/3.5/library/dummy_threading.html)2188    - [17.9. `_thread` – Низкоуровневый API потоков](https://python-all.ru/3.5/library/_thread.html)2189    - [17.10. `_dummy_thread` – Замена для модуля `_thread`](https://python-all.ru/3.5/library/_dummy_thread.html)2190  - [18. Межпроцессное взаимодействие и сеть](https://python-all.ru/3.5/library/ipc.html)21912192    - [18.1. `socket` – Низкоуровневый сетевой интерфейс](https://python-all.ru/3.5/library/socket.html)21932194      - [18.1.1. Семейства сокетов](https://python-all.ru/3.5/library/socket.html#socket-families)2195      - [18.1.2. Содержимое модуля](https://python-all.ru/3.5/library/socket.html#module-contents)21962197        - [18.1.2.1. Исключения](https://python-all.ru/3.5/library/socket.html#exceptions)2198        - [18.1.2.2. Константы](https://python-all.ru/3.5/library/socket.html#constants)2199        - [18.1.2.3. Функции](https://python-all.ru/3.5/library/socket.html#functions)22002201          - [18.1.2.3.1. Создание сокетов](https://python-all.ru/3.5/library/socket.html#creating-sockets)2202          - [18.1.2.3.2. Прочие функции](https://python-all.ru/3.5/library/socket.html#other-functions)2203      - [18.1.3. Объекты сокетов](https://python-all.ru/3.5/library/socket.html#socket-objects)2204      - [18.1.4. Примечания о тайм-аутах сокетов](https://python-all.ru/3.5/library/socket.html#notes-on-socket-timeouts)22052206        - [18.1.4.1. Тайм-ауты и метод `connect`](https://python-all.ru/3.5/library/socket.html#timeouts-and-the-connect-method)2207        - [18.1.4.2. Тайм-ауты и метод `accept`](https://python-all.ru/3.5/library/socket.html#timeouts-and-the-accept-method)2208      - [18.1.5. Пример](https://python-all.ru/3.5/library/socket.html#example)2209    - [18.2. `ssl` – Обёртка TLS/SSL для объектов сокетов](https://python-all.ru/3.5/library/ssl.html)22102211      - [18.2.1. Функции, константы и исключения](https://python-all.ru/3.5/library/ssl.html#functions-constants-and-exceptions)22122213        - [18.2.1.1. Создание сокетов](https://python-all.ru/3.5/library/ssl.html#socket-creation)2214        - [18.2.1.2. Создание контекста](https://python-all.ru/3.5/library/ssl.html#context-creation)2215        - [18.2.1.3. Генерация случайных чисел](https://python-all.ru/3.5/library/ssl.html#random-generation)2216        - [18.2.1.4. Обработка сертификатов](https://python-all.ru/3.5/library/ssl.html#certificate-handling)2217        - [18.2.1.5. Константы](https://python-all.ru/3.5/library/ssl.html#constants)2218      - [18.2.2. SSL-сокеты](https://python-all.ru/3.5/library/ssl.html#ssl-sockets)2219      - [18.2.3. SSL-контексты](https://python-all.ru/3.5/library/ssl.html#ssl-contexts)2220      - [18.2.4. Сертификаты](https://python-all.ru/3.5/library/ssl.html#certificates)22212222        - [18.2.4.1. Цепочки сертификатов](https://python-all.ru/3.5/library/ssl.html#certificate-chains)2223        - [18.2.4.2. Сертификаты удостоверяющих центров](https://python-all.ru/3.5/library/ssl.html#ca-certificates)2224        - [18.2.4.3. Совмещённый ключ и сертификат](https://python-all.ru/3.5/library/ssl.html#combined-key-and-certificate)2225        - [18.2.4.4. Самоподписанные сертификаты](https://python-all.ru/3.5/library/ssl.html#self-signed-certificates)2226      - [18.2.5. Примеры](https://python-all.ru/3.5/library/ssl.html#examples)22272228        - [18.2.5.1. Проверка поддержки SSL](https://python-all.ru/3.5/library/ssl.html#testing-for-ssl-support)2229        - [18.2.5.2. Работа на стороне клиента](https://python-all.ru/3.5/library/ssl.html#client-side-operation)2230        - [18.2.5.3. Работа на стороне сервера](https://python-all.ru/3.5/library/ssl.html#server-side-operation)2231      - [18.2.6. Замечания о неблокирующих сокетах](https://python-all.ru/3.5/library/ssl.html#notes-on-non-blocking-sockets)2232      - [18.2.7. Поддержка Memory BIO](https://python-all.ru/3.5/library/ssl.html#memory-bio-support)2233      - [18.2.8. Вопросы безопасности](https://python-all.ru/3.5/library/ssl.html#security-considerations)22342235        - [18.2.8.1. Лучшие настройки по умолчанию](https://python-all.ru/3.5/library/ssl.html#best-defaults)2236        - [18.2.8.2. Ручные настройки](https://python-all.ru/3.5/library/ssl.html#manual-settings)22372238          - [18.2.8.2.1. Проверка сертификатов](https://python-all.ru/3.5/library/ssl.html#verifying-certificates)2239          - [18.2.8.2.2. Версии протоколов](https://python-all.ru/3.5/library/ssl.html#protocol-versions)2240          - [18.2.8.2.3. Выбор шифров](https://python-all.ru/3.5/library/ssl.html#cipher-selection)2241        - [18.2.8.3. Многопроцессорность](https://python-all.ru/3.5/library/ssl.html#multi-processing)2242    - [18.3. `select` – Ожидание завершения ввода-вывода](https://python-all.ru/3.5/library/select.html)22432244      - [18.3.1. Объекты опроса `/dev/poll`](https://python-all.ru/3.5/library/select.html#dev-poll-polling-objects)2245      - [18.3.2. Объекты опроса по границе и уровню (epoll)](https://python-all.ru/3.5/library/select.html#edge-and-level-trigger-polling-epoll-objects)2246      - [18.3.3. Объекты опроса](https://python-all.ru/3.5/library/select.html#polling-objects)2247      - [18.3.4. Объекты Kqueue](https://python-all.ru/3.5/library/select.html#kqueue-objects)2248      - [18.3.5. Объекты Kevent](https://python-all.ru/3.5/library/select.html#kevent-objects)2249    - [18.4. `selectors` – Высокоуровневый мультиплексирование ввода-вывода](https://python-all.ru/3.5/library/selectors.html)22502251      - [18.4.1. Введение](https://python-all.ru/3.5/library/selectors.html#introduction)2252      - [18.4.2. Классы](https://python-all.ru/3.5/library/selectors.html#classes)2253      - [18.4.3. Примеры](https://python-all.ru/3.5/library/selectors.html#examples)2254    - [18.5. `asyncio` – Асинхронный ввод-вывод, цикл событий, корутины и задачи](https://python-all.ru/3.5/library/asyncio.html)22552256      - [18.5.1. Базовый цикл событий](https://python-all.ru/3.5/library/asyncio-eventloop.html)22572258        - [18.5.1.1. Запуск цикла событий](https://python-all.ru/3.5/library/asyncio-eventloop.html#run-an-event-loop)2259        - [18.5.1.2. Вызовы](https://python-all.ru/3.5/library/asyncio-eventloop.html#calls)2260        - [18.5.1.3. Отложенные вызовы](https://python-all.ru/3.5/library/asyncio-eventloop.html#delayed-calls)2261        - [18.5.1.4. Future](https://python-all.ru/3.5/library/asyncio-eventloop.html#futures)2262        - [18.5.1.5. Задачи](https://python-all.ru/3.5/library/asyncio-eventloop.html#tasks)2263        - [18.5.1.6. Создание подключений](https://python-all.ru/3.5/library/asyncio-eventloop.html#creating-connections)2264        - [18.5.1.7. Создание прослушивающих подключений](https://python-all.ru/3.5/library/asyncio-eventloop.html#creating-listening-connections)2265        - [18.5.1.8. Наблюдение за файловыми дескрипторами](https://python-all.ru/3.5/library/asyncio-eventloop.html#watch-file-descriptors)2266        - [18.5.1.9. Низкоуровневые операции с сокетами](https://python-all.ru/3.5/library/asyncio-eventloop.html#low-level-socket-operations)2267        - [18.5.1.10. Разрешение имени хоста](https://python-all.ru/3.5/library/asyncio-eventloop.html#resolve-host-name)2268        - [18.5.1.11. Подключение каналов](https://python-all.ru/3.5/library/asyncio-eventloop.html#connect-pipes)2269        - [18.5.1.12. Сигналы UNIX](https://python-all.ru/3.5/library/asyncio-eventloop.html#unix-signals)2270        - [18.5.1.13. Исполнитель](https://python-all.ru/3.5/library/asyncio-eventloop.html#executor)2271        - [18.5.1.14. API обработки ошибок](https://python-all.ru/3.5/library/asyncio-eventloop.html#error-handling-api)2272        - [18.5.1.15. Режим отладки](https://python-all.ru/3.5/library/asyncio-eventloop.html#debug-mode)2273        - [18.5.1.16. Сервер](https://python-all.ru/3.5/library/asyncio-eventloop.html#server)2274        - [18.5.1.17. Handle](https://python-all.ru/3.5/library/asyncio-eventloop.html#handle)2275        - [18.5.1.18. Примеры циклов событий](https://python-all.ru/3.5/library/asyncio-eventloop.html#event-loop-examples)22762277          - [18.5.1.18.1. Hello World с call\_soon()](https://python-all.ru/3.5/library/asyncio-eventloop.html#hello-world-with-call-soon)2278          - [18.5.1.18.2. Отображение текущей даты с call\_later()](https://python-all.ru/3.5/library/asyncio-eventloop.html#display-the-current-date-with-call-later)2279          - [18.5.1.18.3. Наблюдение за файловым дескриптором на события чтения](https://python-all.ru/3.5/library/asyncio-eventloop.html#watch-a-file-descriptor-for-read-events)2280          - [18.5.1.18.4. Установка обработчиков сигналов SIGINT и SIGTERM](https://python-all.ru/3.5/library/asyncio-eventloop.html#set-signal-handlers-for-sigint-and-sigterm)2281      - [18.5.2. Циклы событий](https://python-all.ru/3.5/library/asyncio-eventloops.html)22822283        - [18.5.2.1. Функции цикла событий](https://python-all.ru/3.5/library/asyncio-eventloops.html#event-loop-functions)2284        - [18.5.2.2. Доступные циклы событий](https://python-all.ru/3.5/library/asyncio-eventloops.html#available-event-loops)2285        - [18.5.2.3. Поддержка платформ](https://python-all.ru/3.5/library/asyncio-eventloops.html#platform-support)22862287          - [18.5.2.3.1. Windows](https://python-all.ru/3.5/library/asyncio-eventloops.html#windows)2288          - [18.5.2.3.2. Mac OS X](https://python-all.ru/3.5/library/asyncio-eventloops.html#mac-os-x)2289        - [18.5.2.4. Политики цикла событий и политика по умолчанию](https://python-all.ru/3.5/library/asyncio-eventloops.html#event-loop-policies-and-the-default-policy)2290        - [18.5.2.5. Интерфейс политики цикла событий](https://python-all.ru/3.5/library/asyncio-eventloops.html#event-loop-policy-interface)2291        - [18.5.2.6. Доступ к глобальной политике цикла событий](https://python-all.ru/3.5/library/asyncio-eventloops.html#access-to-the-global-loop-policy)2292      - [18.5.3. Задачи и корутины](https://python-all.ru/3.5/library/asyncio-task.html)22932294        - [18.5.3.1. Корутины](https://python-all.ru/3.5/library/asyncio-task.html#coroutines)22952296          - [18.5.3.1.1. Пример: корутина «Hello World»](https://python-all.ru/3.5/library/asyncio-task.html#example-hello-world-coroutine)2297          - [18.5.3.1.2. Пример: корутина, отображающая текущую дату](https://python-all.ru/3.5/library/asyncio-task.html#example-coroutine-displaying-the-current-date)2298          - [18.5.3.1.3. Пример: цепочка корутин](https://python-all.ru/3.5/library/asyncio-task.html#example-chain-coroutines)2299        - [18.5.3.2. InvalidStateError](https://python-all.ru/3.5/library/asyncio-task.html#invalidstateerror)2300        - [18.5.3.3. TimeoutError](https://python-all.ru/3.5/library/asyncio-task.html#timeouterror)2301        - [18.5.3.4. Future](https://python-all.ru/3.5/library/asyncio-task.html#future)23022303          - [18.5.3.4.1. Пример: Future с run\_until\_complete()](https://python-all.ru/3.5/library/asyncio-task.html#example-future-with-run-until-complete)2304          - [18.5.3.4.2. Пример: Future с run\_forever()](https://python-all.ru/3.5/library/asyncio-task.html#example-future-with-run-forever)2305        - [18.5.3.5. Задача](https://python-all.ru/3.5/library/asyncio-task.html#task)23062307          - [18.5.3.5.1. Пример: параллельное выполнение задач](https://python-all.ru/3.5/library/asyncio-task.html#example-parallel-execution-of-tasks)2308        - [18.5.3.6. Функции задач](https://python-all.ru/3.5/library/asyncio-task.html#task-functions)2309      - [18.5.4. Транспорты и протоколы (API на основе колбэков)](https://python-all.ru/3.5/library/asyncio-protocol.html)23102311        - [18.5.4.1. Транспорты](https://python-all.ru/3.5/library/asyncio-protocol.html#transports)23122313          - [18.5.4.1.1. BaseTransport](https://python-all.ru/3.5/library/asyncio-protocol.html#basetransport)2314          - [18.5.4.1.2. ReadTransport](https://python-all.ru/3.5/library/asyncio-protocol.html#readtransport)2315          - [18.5.4.1.3. WriteTransport](https://python-all.ru/3.5/library/asyncio-protocol.html#writetransport)2316          - [18.5.4.1.4. DatagramTransport](https://python-all.ru/3.5/library/asyncio-protocol.html#datagramtransport)2317          - [18.5.4.1.5. BaseSubprocessTransport](https://python-all.ru/3.5/library/asyncio-protocol.html#basesubprocesstransport)2318        - [18.5.4.2. Протоколы](https://python-all.ru/3.5/library/asyncio-protocol.html#protocols)23192320          - [18.5.4.2.1. Классы протоколов](https://python-all.ru/3.5/library/asyncio-protocol.html#protocol-classes)2321          - [18.5.4.2.2. Колбэки соединения](https://python-all.ru/3.5/library/asyncio-protocol.html#connection-callbacks)2322          - [18.5.4.2.3. Потоковые протоколы](https://python-all.ru/3.5/library/asyncio-protocol.html#streaming-protocols)2323          - [18.5.4.2.4. Протоколы датаграмм](https://python-all.ru/3.5/library/asyncio-protocol.html#datagram-protocols)2324          - [18.5.4.2.5. Колбэки управления потоком](https://python-all.ru/3.5/library/asyncio-protocol.html#flow-control-callbacks)2325          - [18.5.4.2.6. Корутины и протоколы](https://python-all.ru/3.5/library/asyncio-protocol.html#coroutines-and-protocols)2326        - [18.5.4.3. Примеры протоколов](https://python-all.ru/3.5/library/asyncio-protocol.html#protocol-examples)23272328          - [18.5.4.3.1. Протокол TCP-эхо-клиента](https://python-all.ru/3.5/library/asyncio-protocol.html#tcp-echo-client-protocol)2329          - [18.5.4.3.2. Протокол TCP-эхо-сервера](https://python-all.ru/3.5/library/asyncio-protocol.html#tcp-echo-server-protocol)2330          - [18.5.4.3.3. Протокол UDP-эхо-клиента](https://python-all.ru/3.5/library/asyncio-protocol.html#udp-echo-client-protocol)2331          - [18.5.4.3.4. Протокол UDP-эхо-сервера](https://python-all.ru/3.5/library/asyncio-protocol.html#udp-echo-server-protocol)2332          - [18.5.4.3.5. Регистрация открытого сокета для ожидания данных через протокол](https://python-all.ru/3.5/library/asyncio-protocol.html#register-an-open-socket-to-wait-for-data-using-a-protocol)2333      - [18.5.5. Потоки данных (API на корутинах)](https://python-all.ru/3.5/library/asyncio-stream.html)23342335        - [18.5.5.1. Функции потоков данных](https://python-all.ru/3.5/library/asyncio-stream.html#stream-functions)2336        - [18.5.5.2. StreamReader](https://python-all.ru/3.5/library/asyncio-stream.html#streamreader)2337        - [18.5.5.3. StreamWriter](https://python-all.ru/3.5/library/asyncio-stream.html#streamwriter)2338        - [18.5.5.4. StreamReaderProtocol](https://python-all.ru/3.5/library/asyncio-stream.html#streamreaderprotocol)2339        - [18.5.5.5. IncompleteReadError](https://python-all.ru/3.5/library/asyncio-stream.html#incompletereaderror)2340        - [18.5.5.6. LimitOverrunError](https://python-all.ru/3.5/library/asyncio-stream.html#limitoverrunerror)2341        - [18.5.5.7. Примеры с потоками данных](https://python-all.ru/3.5/library/asyncio-stream.html#stream-examples)23422343          - [18.5.5.7.1. TCP-эхо-клиент с использованием потоков данных](https://python-all.ru/3.5/library/asyncio-stream.html#tcp-echo-client-using-streams)2344          - [18.5.5.7.2. TCP-эхо-сервер с использованием потоков данных](https://python-all.ru/3.5/library/asyncio-stream.html#tcp-echo-server-using-streams)2345          - [18.5.5.7.3. Получение HTTP-заголовков](https://python-all.ru/3.5/library/asyncio-stream.html#get-http-headers)2346          - [18.5.5.7.4. Регистрация открытого сокета для ожидания данных через потоки данных](https://python-all.ru/3.5/library/asyncio-stream.html#register-an-open-socket-to-wait-for-data-using-streams)2347      - [18.5.6. Подпроцессы](https://python-all.ru/3.5/library/asyncio-subprocess.html)23482349        - [18.5.6.1. Цикл событий Windows](https://python-all.ru/3.5/library/asyncio-subprocess.html#windows-event-loop)2350        - [18.5.6.2. Создание подпроцесса: высокоуровневый API с использованием процесса](https://python-all.ru/3.5/library/asyncio-subprocess.html#create-a-subprocess-high-level-api-using-process)2351        - [18.5.6.3. Создание подпроцесса: низкоуровневый API с использованием subprocess.Popen](https://python-all.ru/3.5/library/asyncio-subprocess.html#create-a-subprocess-low-level-api-using-subprocess-popen)2352        - [18.5.6.4. Константы](https://python-all.ru/3.5/library/asyncio-subprocess.html#constants)2353        - [18.5.6.5. Процесс](https://python-all.ru/3.5/library/asyncio-subprocess.html#process)2354        - [18.5.6.6. Подпроцессы и потоки](https://python-all.ru/3.5/library/asyncio-subprocess.html#subprocess-and-threads)2355        - [18.5.6.7. Примеры с подпроцессами](https://python-all.ru/3.5/library/asyncio-subprocess.html#subprocess-examples)23562357          - [18.5.6.7.1. Подпроцесс с использованием транспорта и протокола](https://python-all.ru/3.5/library/asyncio-subprocess.html#subprocess-using-transport-and-protocol)2358          - [18.5.6.7.2. Подпроцесс с использованием потоков данных](https://python-all.ru/3.5/library/asyncio-subprocess.html#subprocess-using-streams)2359      - [18.5.7. Примитивы синхронизации](https://python-all.ru/3.5/library/asyncio-sync.html)23602361        - [18.5.7.1. Блокировки](https://python-all.ru/3.5/library/asyncio-sync.html#locks)23622363          - [18.5.7.1.1. Блокировка](https://python-all.ru/3.5/library/asyncio-sync.html#lock)2364          - [18.5.7.1.2. Event](https://python-all.ru/3.5/library/asyncio-sync.html#event)2365          - [18.5.7.1.3. Condition](https://python-all.ru/3.5/library/asyncio-sync.html#condition)2366        - [18.5.7.2. Семафоры](https://python-all.ru/3.5/library/asyncio-sync.html#semaphores)23672368          - [18.5.7.2.1. Semaphore](https://python-all.ru/3.5/library/asyncio-sync.html#semaphore)2369          - [18.5.7.2.2. BoundedSemaphore](https://python-all.ru/3.5/library/asyncio-sync.html#boundedsemaphore)2370      - [18.5.8. Очереди](https://python-all.ru/3.5/library/asyncio-queue.html)23712372        - [18.5.8.1. Очередь](https://python-all.ru/3.5/library/asyncio-queue.html#queue)2373        - [18.5.8.2. PriorityQueue](https://python-all.ru/3.5/library/asyncio-queue.html#priorityqueue)2374        - [18.5.8.3. LifoQueue](https://python-all.ru/3.5/library/asyncio-queue.html#lifoqueue)23752376          - [18.5.8.3.1. Исключения](https://python-all.ru/3.5/library/asyncio-queue.html#exceptions)2377      - [18.5.9. Разработка с asyncio](https://python-all.ru/3.5/library/asyncio-dev.html)23782379        - [18.5.9.1. Режим отладки asyncio](https://python-all.ru/3.5/library/asyncio-dev.html#debug-mode-of-asyncio)2380        - [18.5.9.2. Отмена](https://python-all.ru/3.5/library/asyncio-dev.html#cancellation)2381        - [18.5.9.3. Конкурентность и многопоточность](https://python-all.ru/3.5/library/asyncio-dev.html#concurrency-and-multithreading)2382        - [18.5.9.4. Корректная обработка блокирующих функций](https://python-all.ru/3.5/library/asyncio-dev.html#handle-blocking-functions-correctly)2383        - [18.5.9.5. Логирование](https://python-all.ru/3.5/library/asyncio-dev.html#logging)2384        - [18.5.9.6. Обнаружение объектов корутин, которые никогда не были запланированы](https://python-all.ru/3.5/library/asyncio-dev.html#detect-coroutine-objects-never-scheduled)2385        - [18.5.9.7. Обнаружение необработанных исключений](https://python-all.ru/3.5/library/asyncio-dev.html#detect-exceptions-never-consumed)2386        - [18.5.9.8. Правильное связывание корутин](https://python-all.ru/3.5/library/asyncio-dev.html#chain-coroutines-correctly)2387        - [18.5.9.9. Уничтожение ожидающих задач](https://python-all.ru/3.5/library/asyncio-dev.html#pending-task-destroyed)2388        - [18.5.9.10. Закрытие транспортов и циклов событий](https://python-all.ru/3.5/library/asyncio-dev.html#close-transports-and-event-loops)2389    - [18.6. `asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/3.5/library/asyncore.html)23902391      - [18.6.1. Пример asyncore: базовый HTTP-клиент](https://python-all.ru/3.5/library/asyncore.html#asyncore-example-basic-http-client)2392      - [18.6.2. Пример asyncore: базовый эхо-сервер](https://python-all.ru/3.5/library/asyncore.html#asyncore-example-basic-echo-server)2393    - [18.7. `asynchat` – Асинхронный обработчик команд/ответов через сокеты](https://python-all.ru/3.5/library/asynchat.html)23942395      - [18.7.1. Пример asynchat](https://python-all.ru/3.5/library/asynchat.html#asynchat-example)2396    - [18.8. `signal` – Установка обработчиков для асинхронных событий](https://python-all.ru/3.5/library/signal.html)23972398      - [18.8.1. Общие правила](https://python-all.ru/3.5/library/signal.html#general-rules)23992400        - [18.8.1.1. Выполнение обработчиков сигналов Python](https://python-all.ru/3.5/library/signal.html#execution-of-python-signal-handlers)2401        - [18.8.1.2. Сигналы и потоки](https://python-all.ru/3.5/library/signal.html#signals-and-threads)2402      - [18.8.2. Содержимое модуля](https://python-all.ru/3.5/library/signal.html#module-contents)2403      - [18.8.3. Пример](https://python-all.ru/3.5/library/signal.html#example)2404    - [18.9. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/3.5/library/mmap.html)2405  - [19. Обработка интернет-данных](https://python-all.ru/3.5/library/netdata.html)24062407    - [19.1. `email` – Пакет для обработки email и MIME](https://python-all.ru/3.5/library/email.html)24082409      - [19.1.1. `email.message`: Представление email-сообщения](https://python-all.ru/3.5/library/email.message.html)2410      - [19.1.2. `email.parser`: Разбор email-сообщений](https://python-all.ru/3.5/library/email.parser.html)24112412        - [19.1.2.1. FeedParser API](https://python-all.ru/3.5/library/email.parser.html#feedparser-api)2413        - [19.1.2.2. Parser class API](https://python-all.ru/3.5/library/email.parser.html#parser-class-api)2414        - [19.1.2.3. Дополнительные примечания](https://python-all.ru/3.5/library/email.parser.html#additional-notes)2415      - [19.1.3. `email.generator`: Генерация MIME-документов](https://python-all.ru/3.5/library/email.generator.html)2416      - [19.1.4. `email.policy`: Объекты политик](https://python-all.ru/3.5/library/email.policy.html)2417      - [19.1.5. `email.headerregistry`: Пользовательские объекты заголовков](https://python-all.ru/3.5/library/email.headerregistry.html)2418      - [19.1.6. `email.contentmanager`: Управление MIME-содержимым](https://python-all.ru/3.5/library/email.contentmanager.html)24192420        - [19.1.6.1. Экземпляры диспетчера содержимого](https://python-all.ru/3.5/library/email.contentmanager.html#content-manager-instances)2421      - [19.1.7. `email.mime`: Создание email- и MIME-объектов с нуля](https://python-all.ru/3.5/library/email.mime.html)2422      - [19.1.8. `email.header`: Интернационализированные заголовки](https://python-all.ru/3.5/library/email.header.html)2423      - [19.1.9. `email.charset`: Представление кодировок](https://python-all.ru/3.5/library/email.charset.html)2424      - [19.1.10. `email.encoders`: Кодировщики](https://python-all.ru/3.5/library/email.encoders.html)2425      - [19.1.11. `email.errors`: Классы исключений и дефектов](https://python-all.ru/3.5/library/email.errors.html)2426      - [19.1.12. `email.utils`: Различные утилиты](https://python-all.ru/3.5/library/email.util.html)2427      - [19.1.13. `email.iterators`: Итераторы](https://python-all.ru/3.5/library/email.iterators.html)2428      - [19.1.14. `email`: Примеры](https://python-all.ru/3.5/library/email-examples.html)24292430        - [19.1.14.1. Примеры использования временного API](https://python-all.ru/3.5/library/email-examples.html#examples-using-the-provisional-api)2431      - [19.1.15. История пакета](https://python-all.ru/3.5/library/email.html#package-history)2432      - [19.1.16. Отличия от `mimelib`](https://python-all.ru/3.5/library/email.html#differences-from-mimelib)2433    - [19.2. `json` – Кодировщик и декодировщик JSON](https://python-all.ru/3.5/library/json.html)24342435      - [19.2.1. Базовое использование](https://python-all.ru/3.5/library/json.html#basic-usage)2436      - [19.2.2. Кодировщики и декодировщики](https://python-all.ru/3.5/library/json.html#encoders-and-decoders)2437      - [19.2.3. Исключения](https://python-all.ru/3.5/library/json.html#exceptions)2438      - [19.2.4. Соответствие стандартам и совместимость](https://python-all.ru/3.5/library/json.html#standard-compliance-and-interoperability)24392440        - [19.2.4.1. Кодировки символов](https://python-all.ru/3.5/library/json.html#character-encodings)2441        - [19.2.4.2. Бесконечные значения и NaN](https://python-all.ru/3.5/library/json.html#infinite-and-nan-number-values)2442        - [19.2.4.3. Повторяющиеся имена в объекте](https://python-all.ru/3.5/library/json.html#repeated-names-within-an-object)2443        - [19.2.4.4. Значения верхнего уровня, не являющиеся объектом или массивом](https://python-all.ru/3.5/library/json.html#top-level-non-object-non-array-values)2444        - [19.2.4.5. Ограничения реализации](https://python-all.ru/3.5/library/json.html#implementation-limitations)2445      - [19.2.5. Интерфейс командной строки](https://python-all.ru/3.5/library/json.html#module-json.tool)24462447        - [19.2.5.1. Параметры командной строки](https://python-all.ru/3.5/library/json.html#command-line-options)2448    - [19.3. `mailcap` – Обработка файлов Mailcap](https://python-all.ru/3.5/library/mailcap.html)2449    - [19.4. `mailbox` – Работа с почтовыми ящиками в различных форматах](https://python-all.ru/3.5/library/mailbox.html)24502451      - [19.4.1. `Mailbox` объекты](https://python-all.ru/3.5/library/mailbox.html#mailbox-objects)24522453        - [19.4.1.1. `Maildir`](https://python-all.ru/3.5/library/mailbox.html#maildir)2454        - [19.4.1.2. `mbox`](https://python-all.ru/3.5/library/mailbox.html#mbox)2455        - [19.4.1.3. `MH`](https://python-all.ru/3.5/library/mailbox.html#mh)2456        - [19.4.1.4. `Babyl`](https://python-all.ru/3.5/library/mailbox.html#babyl)2457        - [19.4.1.5. `MMDF`](https://python-all.ru/3.5/library/mailbox.html#mmdf)2458      - [19.4.2. `Message` объекты](https://python-all.ru/3.5/library/mailbox.html#message-objects)24592460        - [19.4.2.1. `MaildirMessage`](https://python-all.ru/3.5/library/mailbox.html#maildirmessage)2461        - [19.4.2.2. `mboxMessage`](https://python-all.ru/3.5/library/mailbox.html#mboxmessage)2462        - [19.4.2.3. `MHMessage`](https://python-all.ru/3.5/library/mailbox.html#mhmessage)2463        - [19.4.2.4. `BabylMessage`](https://python-all.ru/3.5/library/mailbox.html#babylmessage)2464        - [19.4.2.5. `MMDFMessage`](https://python-all.ru/3.5/library/mailbox.html#mmdfmessage)2465      - [19.4.3. Исключения](https://python-all.ru/3.5/library/mailbox.html#exceptions)2466      - [19.4.4. Примеры](https://python-all.ru/3.5/library/mailbox.html#examples)2467    - [19.5. `mimetypes` – Сопоставление имён файлов с MIME-типами](https://python-all.ru/3.5/library/mimetypes.html)24682469      - [19.5.1. Объекты MimeTypes](https://python-all.ru/3.5/library/mimetypes.html#mimetypes-objects)2470    - [19.6. `base64` – Кодирование данных Base16, Base32, Base64, Base85](https://python-all.ru/3.5/library/base64.html)2471    - [19.7. `binhex` – Кодирование и декодирование файлов binhex4](https://python-all.ru/3.5/library/binhex.html)24722473      - [19.7.1. Примечания](https://python-all.ru/3.5/library/binhex.html#notes)2474    - [19.8. `binascii` – Преобразование между двоичным и ASCII](https://python-all.ru/3.5/library/binascii.html)2475    - [19.9. `quopri` – Кодирование и декодирование данных MIME в формате quoted-printable](https://python-all.ru/3.5/library/quopri.html)2476    - [19.10. `uu` – Кодирование и декодирование файлов uuencode](https://python-all.ru/3.5/library/uu.html)2477  - [20. Инструменты обработки структурированной разметки](https://python-all.ru/3.5/library/markup.html)24782479    - [20.1. `html` – Поддержка языка гипертекстовой разметки](https://python-all.ru/3.5/library/html.html)2480    - [20.2. `html.parser` – Простой парсер HTML и XHTML](https://python-all.ru/3.5/library/html.parser.html)24812482      - [20.2.1. Пример приложения парсера HTML](https://python-all.ru/3.5/library/html.parser.html#example-html-parser-application)2483      - [20.2.2. `HTMLParser` Методы](https://python-all.ru/3.5/library/html.parser.html#htmlparser-methods)2484      - [20.2.3. Примеры](https://python-all.ru/3.5/library/html.parser.html#examples)2485    - [20.3. `html.entities` – Определения общих сущностей HTML](https://python-all.ru/3.5/library/html.entities.html)2486    - [20.4. Модули обработки XML](https://python-all.ru/3.5/library/xml.html)24872488      - [20.4.1. Уязвимости XML](https://python-all.ru/3.5/library/xml.html#xml-vulnerabilities)2489      - [20.4.2. Пакеты `defusedxml` и `defusedexpat`](https://python-all.ru/3.5/library/xml.html#the-defusedxml-and-defusedexpat-packages)2490    - [20.5. `xml.etree.ElementTree` – XML API ElementTree](https://python-all.ru/3.5/library/xml.etree.elementtree.html)24912492      - [20.5.1. Учебник](https://python-all.ru/3.5/library/xml.etree.elementtree.html#tutorial)24932494        - [20.5.1.1. XML-дерево и элементы](https://python-all.ru/3.5/library/xml.etree.elementtree.html#xml-tree-and-elements)2495        - [20.5.1.2. Разбор XML](https://python-all.ru/3.5/library/xml.etree.elementtree.html#parsing-xml)2496        - [20.5.1.3. Pull-API для неблокирующего разбора](https://python-all.ru/3.5/library/xml.etree.elementtree.html#pull-api-for-non-blocking-parsing)2497        - [20.5.1.4. Поиск интересующих элементов](https://python-all.ru/3.5/library/xml.etree.elementtree.html#finding-interesting-elements)2498        - [20.5.1.5. Изменение XML-файла](https://python-all.ru/3.5/library/xml.etree.elementtree.html#modifying-an-xml-file)2499        - [20.5.1.6. Построение XML-документов](https://python-all.ru/3.5/library/xml.etree.elementtree.html#building-xml-documents)2500        - [20.5.1.7. Разбор XML с пространствами имён](https://python-all.ru/3.5/library/xml.etree.elementtree.html#parsing-xml-with-namespaces)2501        - [20.5.1.8. Дополнительные ресурсы](https://python-all.ru/3.5/library/xml.etree.elementtree.html#additional-resources)2502      - [20.5.2. Поддержка XPath](https://python-all.ru/3.5/library/xml.etree.elementtree.html#xpath-support)25032504        - [20.5.2.1. Пример](https://python-all.ru/3.5/library/xml.etree.elementtree.html#example)2505        - [20.5.2.2. Поддерживаемый синтаксис XPath](https://python-all.ru/3.5/library/xml.etree.elementtree.html#supported-xpath-syntax)2506      - [20.5.3. Справочник](https://python-all.ru/3.5/library/xml.etree.elementtree.html#reference)25072508        - [20.5.3.1. Функции](https://python-all.ru/3.5/library/xml.etree.elementtree.html#functions)2509        - [20.5.3.2. Объекты Element](https://python-all.ru/3.5/library/xml.etree.elementtree.html#element-objects)2510        - [20.5.3.3. Объекты ElementTree](https://python-all.ru/3.5/library/xml.etree.elementtree.html#elementtree-objects)2511        - [20.5.3.4. Объекты QName](https://python-all.ru/3.5/library/xml.etree.elementtree.html#qname-objects)2512        - [20.5.3.5. Объекты TreeBuilder](https://python-all.ru/3.5/library/xml.etree.elementtree.html#treebuilder-objects)2513        - [20.5.3.6. Объекты XMLParser](https://python-all.ru/3.5/library/xml.etree.elementtree.html#xmlparser-objects)2514        - [20.5.3.7. Объекты XMLPullParser](https://python-all.ru/3.5/library/xml.etree.elementtree.html#xmlpullparser-objects)2515        - [20.5.3.8. Исключения](https://python-all.ru/3.5/library/xml.etree.elementtree.html#exceptions)2516    - [20.6. `xml.dom` – API объектной модели документа](https://python-all.ru/3.5/library/xml.dom.html)25172518      - [20.6.1. Содержимое модуля](https://python-all.ru/3.5/library/xml.dom.html#module-contents)2519      - [20.6.2. Объекты в DOM](https://python-all.ru/3.5/library/xml.dom.html#objects-in-the-dom)25202521        - [20.6.2.1. Объекты DOMImplementation](https://python-all.ru/3.5/library/xml.dom.html#domimplementation-objects)2522        - [20.6.2.2. Объекты Node](https://python-all.ru/3.5/library/xml.dom.html#node-objects)2523        - [20.6.2.3. Объекты NodeList](https://python-all.ru/3.5/library/xml.dom.html#nodelist-objects)2524        - [20.6.2.4. Объекты DocumentType](https://python-all.ru/3.5/library/xml.dom.html#documenttype-objects)2525        - [20.6.2.5. Объекты Document](https://python-all.ru/3.5/library/xml.dom.html#document-objects)2526        - [20.6.2.6. Объекты Element](https://python-all.ru/3.5/library/xml.dom.html#element-objects)2527        - [20.6.2.7. Объекты Attr](https://python-all.ru/3.5/library/xml.dom.html#attr-objects)2528        - [20.6.2.8. Объекты NamedNodeMap](https://python-all.ru/3.5/library/xml.dom.html#namednodemap-objects)2529        - [20.6.2.9. Объекты Comment](https://python-all.ru/3.5/library/xml.dom.html#comment-objects)2530        - [20.6.2.10. Объекты Text и CDATASection](https://python-all.ru/3.5/library/xml.dom.html#text-and-cdatasection-objects)2531        - [20.6.2.11. Объекты ProcessingInstruction](https://python-all.ru/3.5/library/xml.dom.html#processinginstruction-objects)2532        - [20.6.2.12. Исключения](https://python-all.ru/3.5/library/xml.dom.html#exceptions)2533      - [20.6.3. Соответствие](https://python-all.ru/3.5/library/xml.dom.html#conformance)25342535        - [20.6.3.1. Сопоставление типов](https://python-all.ru/3.5/library/xml.dom.html#type-mapping)2536        - [20.6.3.2. Методы доступа](https://python-all.ru/3.5/library/xml.dom.html#accessor-methods)2537    - [20.7. `xml.dom.minidom` – Минимальная реализация DOM](https://python-all.ru/3.5/library/xml.dom.minidom.html)25382539      - [20.7.1. Объекты DOM](https://python-all.ru/3.5/library/xml.dom.minidom.html#dom-objects)2540      - [20.7.2. Пример DOM](https://python-all.ru/3.5/library/xml.dom.minidom.html#dom-example)2541      - [20.7.3. minidom и стандарт DOM](https://python-all.ru/3.5/library/xml.dom.minidom.html#minidom-and-the-dom-standard)2542    - [20.8. `xml.dom.pulldom` – Поддержка построения частичных деревьев DOM](https://python-all.ru/3.5/library/xml.dom.pulldom.html)25432544      - [20.8.1. Объекты DOMEventStream](https://python-all.ru/3.5/library/xml.dom.pulldom.html#domeventstream-objects)2545    - [20.9. `xml.sax` – Поддержка парсеров SAX2](https://python-all.ru/3.5/library/xml.sax.html)25462547      - [20.9.1. Объекты SAXException](https://python-all.ru/3.5/library/xml.sax.html#saxexception-objects)2548    - [20.10. `xml.sax.handler` – Базовые классы для обработчиков SAX](https://python-all.ru/3.5/library/xml.sax.handler.html)25492550      - [20.10.1. Объекты ContentHandler](https://python-all.ru/3.5/library/xml.sax.handler.html#contenthandler-objects)2551      - [20.10.2. Объекты DTDHandler](https://python-all.ru/3.5/library/xml.sax.handler.html#dtdhandler-objects)2552      - [20.10.3. Объекты EntityResolver](https://python-all.ru/3.5/library/xml.sax.handler.html#entityresolver-objects)2553      - [20.10.4. Объекты ErrorHandler](https://python-all.ru/3.5/library/xml.sax.handler.html#errorhandler-objects)2554    - [20.11. `xml.sax.saxutils` – Утилиты SAX](https://python-all.ru/3.5/library/xml.sax.utils.html)2555    - [20.12. `xml.sax.xmlreader` – Интерфейс для парсеров XML](https://python-all.ru/3.5/library/xml.sax.reader.html)25562557      - [20.12.1. Объекты XMLReader](https://python-all.ru/3.5/library/xml.sax.reader.html#xmlreader-objects)2558      - [20.12.2. Объекты IncrementalParser](https://python-all.ru/3.5/library/xml.sax.reader.html#incrementalparser-objects)2559      - [20.12.3. Объекты Locator](https://python-all.ru/3.5/library/xml.sax.reader.html#locator-objects)2560      - [20.12.4. Объекты InputSource](https://python-all.ru/3.5/library/xml.sax.reader.html#inputsource-objects)2561      - [20.12.5. Интерфейс `Attributes`](https://python-all.ru/3.5/library/xml.sax.reader.html#the-attributes-interface)2562      - [20.12.6. Интерфейс `AttributesNS`](https://python-all.ru/3.5/library/xml.sax.reader.html#the-attributesns-interface)2563    - [20.13. `xml.parsers.expat` – Быстрый разбор XML с помощью Expat](https://python-all.ru/3.5/library/pyexpat.html)25642565      - [20.13.1. Объекты XMLParser](https://python-all.ru/3.5/library/pyexpat.html#xmlparser-objects)2566      - [20.13.2. Исключения ExpatError](https://python-all.ru/3.5/library/pyexpat.html#expaterror-exceptions)2567      - [20.13.3. Пример](https://python-all.ru/3.5/library/pyexpat.html#example)2568      - [20.13.4. Описания моделей содержимого](https://python-all.ru/3.5/library/pyexpat.html#module-xml.parsers.expat.model)2569      - [20.13.5. Константы ошибок Expat](https://python-all.ru/3.5/library/pyexpat.html#module-xml.parsers.expat.errors)2570  - [21. Интернет-протоколы и поддержка](https://python-all.ru/3.5/library/internet.html)25712572    - [21.1. `webbrowser` – Удобный контроллер веб-браузера](https://python-all.ru/3.5/library/webbrowser.html)25732574      - [21.1.1. Объекты контроллера браузера](https://python-all.ru/3.5/library/webbrowser.html#browser-controller-objects)2575    - [21.2. `cgi` – Поддержка общего шлюзового интерфейса (CGI)](https://python-all.ru/3.5/library/cgi.html)25762577      - [21.2.1. Введение](https://python-all.ru/3.5/library/cgi.html#introduction)2578      - [21.2.2. Использование модуля cgi](https://python-all.ru/3.5/library/cgi.html#using-the-cgi-module)2579      - [21.2.3. Интерфейс более высокого уровня](https://python-all.ru/3.5/library/cgi.html#higher-level-interface)2580      - [21.2.4. Функции](https://python-all.ru/3.5/library/cgi.html#functions)2581      - [21.2.5. Вопросы безопасности](https://python-all.ru/3.5/library/cgi.html#caring-about-security)2582      - [21.2.6. Установка CGI-сценария в системе Unix](https://python-all.ru/3.5/library/cgi.html#installing-your-cgi-script-on-a-unix-system)2583      - [21.2.7. Тестирование CGI-сценария](https://python-all.ru/3.5/library/cgi.html#testing-your-cgi-script)2584      - [21.2.8. Отладка CGI-сценариев](https://python-all.ru/3.5/library/cgi.html#debugging-cgi-scripts)2585      - [21.2.9. Типичные проблемы и их решения](https://python-all.ru/3.5/library/cgi.html#common-problems-and-solutions)2586    - [21.3. `cgitb` – менеджер трассировки для CGI-сценариев](https://python-all.ru/3.5/library/cgitb.html)2587    - [21.4. `wsgiref` – утилиты WSGI и эталонная реализация](https://python-all.ru/3.5/library/wsgiref.html)25882589      - [21.4.1. `wsgiref.util` – утилиты окружения WSGI](https://python-all.ru/3.5/library/wsgiref.html#module-wsgiref.util)2590      - [21.4.2. `wsgiref.headers` – инструменты для заголовков ответов WSGI](https://python-all.ru/3.5/library/wsgiref.html#module-wsgiref.headers)2591      - [21.4.3. `wsgiref.simple_server` – простой HTTP-сервер WSGI](https://python-all.ru/3.5/library/wsgiref.html#module-wsgiref.simple_server)2592      - [21.4.4. `wsgiref.validate` – проверка соответствия WSGI](https://python-all.ru/3.5/library/wsgiref.html#module-wsgiref.validate)2593      - [21.4.5. `wsgiref.handlers` – базовые классы сервера и шлюза](https://python-all.ru/3.5/library/wsgiref.html#module-wsgiref.handlers)2594      - [21.4.6. Примеры](https://python-all.ru/3.5/library/wsgiref.html#examples)2595    - [21.5. `urllib` – модули для работы с URL](https://python-all.ru/3.5/library/urllib.html)2596    - [21.6. `urllib.request` – расширяемая библиотека для открытия URL](https://python-all.ru/3.5/library/urllib.request.html)25972598      - [21.6.1. Объекты Request](https://python-all.ru/3.5/library/urllib.request.html#request-objects)2599      - [21.6.2. Объекты OpenerDirector](https://python-all.ru/3.5/library/urllib.request.html#openerdirector-objects)2600      - [21.6.3. Объекты BaseHandler](https://python-all.ru/3.5/library/urllib.request.html#basehandler-objects)2601      - [21.6.4. Объекты HTTPRedirectHandler](https://python-all.ru/3.5/library/urllib.request.html#httpredirecthandler-objects)2602      - [21.6.5. Объекты HTTPCookieProcessor](https://python-all.ru/3.5/library/urllib.request.html#httpcookieprocessor-objects)2603      - [21.6.6. Объекты ProxyHandler](https://python-all.ru/3.5/library/urllib.request.html#proxyhandler-objects)2604      - [21.6.7. Объекты HTTPPasswordMgr](https://python-all.ru/3.5/library/urllib.request.html#httppasswordmgr-objects)2605      - [21.6.8. Объекты HTTPPasswordMgrWithPriorAuth](https://python-all.ru/3.5/library/urllib.request.html#httppasswordmgrwithpriorauth-objects)2606      - [21.6.9. Объекты AbstractBasicAuthHandler](https://python-all.ru/3.5/library/urllib.request.html#abstractbasicauthhandler-objects)2607      - [21.6.10. Объекты HTTPBasicAuthHandler](https://python-all.ru/3.5/library/urllib.request.html#httpbasicauthhandler-objects)2608      - [21.6.11. Объекты ProxyBasicAuthHandler](https://python-all.ru/3.5/library/urllib.request.html#proxybasicauthhandler-objects)2609      - [21.6.12. Объекты AbstractDigestAuthHandler](https://python-all.ru/3.5/library/urllib.request.html#abstractdigestauthhandler-objects)2610      - [21.6.13. Объекты HTTPDigestAuthHandler](https://python-all.ru/3.5/library/urllib.request.html#httpdigestauthhandler-objects)2611      - [21.6.14. Объекты ProxyDigestAuthHandler](https://python-all.ru/3.5/library/urllib.request.html#proxydigestauthhandler-objects)2612      - [21.6.15. Объекты HTTPHandler](https://python-all.ru/3.5/library/urllib.request.html#httphandler-objects)2613      - [21.6.16. Объекты HTTPSHandler](https://python-all.ru/3.5/library/urllib.request.html#httpshandler-objects)2614      - [21.6.17. Объекты FileHandler](https://python-all.ru/3.5/library/urllib.request.html#filehandler-objects)2615      - [21.6.18. Объекты DataHandler](https://python-all.ru/3.5/library/urllib.request.html#datahandler-objects)2616      - [21.6.19. Объекты FTPHandler](https://python-all.ru/3.5/library/urllib.request.html#ftphandler-objects)2617      - [21.6.20. Объекты CacheFTPHandler](https://python-all.ru/3.5/library/urllib.request.html#cacheftphandler-objects)2618      - [21.6.21. Объекты UnknownHandler](https://python-all.ru/3.5/library/urllib.request.html#unknownhandler-objects)2619      - [21.6.22. Объекты HTTPErrorProcessor](https://python-all.ru/3.5/library/urllib.request.html#httperrorprocessor-objects)2620      - [21.6.23. Примеры](https://python-all.ru/3.5/library/urllib.request.html#examples)2621      - [21.6.24. Устаревший интерфейс](https://python-all.ru/3.5/library/urllib.request.html#legacy-interface)2622      - [21.6.25. `urllib.request` Ограничения](https://python-all.ru/3.5/library/urllib.request.html#urllib-request-restrictions)2623    - [21.7. `urllib.response` – Классы ответов, используемые urllib](https://python-all.ru/3.5/library/urllib.request.html#module-urllib.response)2624    - [21.8. `urllib.parse` – Разбор URL на компоненты](https://python-all.ru/3.5/library/urllib.parse.html)26252626      - [21.8.1. Разбор URL](https://python-all.ru/3.5/library/urllib.parse.html#url-parsing)2627      - [21.8.2. Разбор ASCII-кодированных байт](https://python-all.ru/3.5/library/urllib.parse.html#parsing-ascii-encoded-bytes)2628      - [21.8.3. Структурированные результаты разбора](https://python-all.ru/3.5/library/urllib.parse.html#structured-parse-results)2629      - [21.8.4. Квотирование URL](https://python-all.ru/3.5/library/urllib.parse.html#url-quoting)2630    - [21.9. `urllib.error` – Классы исключений, вызываемые urllib.request](https://python-all.ru/3.5/library/urllib.error.html)2631    - [21.10. `urllib.robotparser` – Парсер для robots.txt](https://python-all.ru/3.5/library/urllib.robotparser.html)2632    - [21.11. `http` – Модули HTTP](https://python-all.ru/3.5/library/http.html)26332634      - [21.11.1. Коды состояния HTTP](https://python-all.ru/3.5/library/http.html#http-status-codes)2635    - [21.12. `http.client` – Клиент протокола HTTP](https://python-all.ru/3.5/library/http.client.html)26362637      - [21.12.1. Объекты HTTPConnection](https://python-all.ru/3.5/library/http.client.html#httpconnection-objects)2638      - [21.12.2. Объекты HTTPResponse](https://python-all.ru/3.5/library/http.client.html#httpresponse-objects)2639      - [21.12.3. Примеры](https://python-all.ru/3.5/library/http.client.html#examples)2640      - [21.12.4. Объекты HTTPMessage](https://python-all.ru/3.5/library/http.client.html#httpmessage-objects)2641    - [21.13. `ftplib` – Клиент протокола FTP](https://python-all.ru/3.5/library/ftplib.html)26422643      - [21.13.1. Объекты FTP](https://python-all.ru/3.5/library/ftplib.html#ftp-objects)2644      - [21.13.2. Объекты FTP\_TLS](https://python-all.ru/3.5/library/ftplib.html#ftp-tls-objects)2645    - [21.14. `poplib` – Клиент протокола POP3](https://python-all.ru/3.5/library/poplib.html)26462647      - [21.14.1. Объекты POP3](https://python-all.ru/3.5/library/poplib.html#pop3-objects)2648      - [21.14.2. Пример POP3](https://python-all.ru/3.5/library/poplib.html#pop3-example)2649    - [21.15. `imaplib` – Клиент протокола IMAP4](https://python-all.ru/3.5/library/imaplib.html)26502651      - [21.15.1. Объекты IMAP4](https://python-all.ru/3.5/library/imaplib.html#imap4-objects)2652      - [21.15.2. Пример IMAP4](https://python-all.ru/3.5/library/imaplib.html#imap4-example)2653    - [21.16. `nntplib` – клиент протокола NNTP](https://python-all.ru/3.5/library/nntplib.html)26542655      - [21.16.1. Объекты NNTP](https://python-all.ru/3.5/library/nntplib.html#nntp-objects)26562657        - [21.16.1.1. Атрибуты](https://python-all.ru/3.5/library/nntplib.html#attributes)2658        - [21.16.1.2. Методы](https://python-all.ru/3.5/library/nntplib.html#methods)2659      - [21.16.2. Вспомогательные функции](https://python-all.ru/3.5/library/nntplib.html#utility-functions)2660    - [21.17. `smtplib` – клиент протокола SMTP](https://python-all.ru/3.5/library/smtplib.html)26612662      - [21.17.1. Объекты SMTP](https://python-all.ru/3.5/library/smtplib.html#smtp-objects)2663      - [21.17.2. Пример SMTP](https://python-all.ru/3.5/library/smtplib.html#smtp-example)2664    - [21.18. `smtpd` – SMTP-сервер](https://python-all.ru/3.5/library/smtpd.html)26652666      - [21.18.1. Объекты SMTPServer](https://python-all.ru/3.5/library/smtpd.html#smtpserver-objects)2667      - [21.18.2. Объекты DebuggingServer](https://python-all.ru/3.5/library/smtpd.html#debuggingserver-objects)2668      - [21.18.3. Объекты PureProxy](https://python-all.ru/3.5/library/smtpd.html#pureproxy-objects)2669      - [21.18.4. Объекты MailmanProxy](https://python-all.ru/3.5/library/smtpd.html#mailmanproxy-objects)2670      - [21.18.5. Объекты SMTPChannel](https://python-all.ru/3.5/library/smtpd.html#smtpchannel-objects)2671    - [21.19. `telnetlib` – Telnet-клиент](https://python-all.ru/3.5/library/telnetlib.html)26722673      - [21.19.1. Объекты Telnet](https://python-all.ru/3.5/library/telnetlib.html#telnet-objects)2674      - [21.19.2. Пример Telnet](https://python-all.ru/3.5/library/telnetlib.html#telnet-example)2675    - [21.20. `uuid` – Объекты UUID по RFC 4122](https://python-all.ru/3.5/library/uuid.html)26762677      - [21.20.1. Пример](https://python-all.ru/3.5/library/uuid.html#example)2678    - [21.21. `socketserver` – фреймворк для сетевых серверов](https://python-all.ru/3.5/library/socketserver.html)26792680      - [21.21.1. Примечания по созданию сервера](https://python-all.ru/3.5/library/socketserver.html#server-creation-notes)2681      - [21.21.2. Объекты сервера](https://python-all.ru/3.5/library/socketserver.html#server-objects)2682      - [21.21.3. Объекты обработчика запросов](https://python-all.ru/3.5/library/socketserver.html#request-handler-objects)2683      - [21.21.4. Примеры](https://python-all.ru/3.5/library/socketserver.html#examples)26842685        - [21.21.4.1. `socketserver.TCPServer` Пример](https://python-all.ru/3.5/library/socketserver.html#socketserver-tcpserver-example)2686        - [21.21.4.2. `socketserver.UDPServer` Пример](https://python-all.ru/3.5/library/socketserver.html#socketserver-udpserver-example)2687        - [21.21.4.3. Асинхронные миксины](https://python-all.ru/3.5/library/socketserver.html#asynchronous-mixins)2688    - [21.22. `http.server` – HTTP-серверы](https://python-all.ru/3.5/library/http.server.html)2689    - [21.23. `http.cookies` – управление состоянием HTTP](https://python-all.ru/3.5/library/http.cookies.html)26902691      - [21.23.1. Объекты Cookie](https://python-all.ru/3.5/library/http.cookies.html#cookie-objects)2692      - [21.23.2. Объекты Morsel](https://python-all.ru/3.5/library/http.cookies.html#morsel-objects)2693      - [21.23.3. Пример](https://python-all.ru/3.5/library/http.cookies.html#example)2694    - [21.24. `http.cookiejar` – Обработка cookie для HTTP-клиентов](https://python-all.ru/3.5/library/http.cookiejar.html)26952696      - [21.24.1. Объекты CookieJar и FileCookieJar](https://python-all.ru/3.5/library/http.cookiejar.html#cookiejar-and-filecookiejar-objects)2697      - [21.24.2. Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/3.5/library/http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)2698      - [21.24.3. Объекты CookiePolicy](https://python-all.ru/3.5/library/http.cookiejar.html#cookiepolicy-objects)2699      - [21.24.4. Объекты DefaultCookiePolicy](https://python-all.ru/3.5/library/http.cookiejar.html#defaultcookiepolicy-objects)2700      - [21.24.5. Объекты Cookie](https://python-all.ru/3.5/library/http.cookiejar.html#cookie-objects)2701      - [21.24.6. Примеры](https://python-all.ru/3.5/library/http.cookiejar.html#examples)2702    - [21.25. `xmlrpc` – Модули сервера и клиента XML-RPC](https://python-all.ru/3.5/library/xmlrpc.html)2703    - [21.26. `xmlrpc.client` – Доступ клиента XML-RPC](https://python-all.ru/3.5/library/xmlrpc.client.html)27042705      - [21.26.1. Объекты ServerProxy](https://python-all.ru/3.5/library/xmlrpc.client.html#serverproxy-objects)2706      - [21.26.2. Объекты DateTime](https://python-all.ru/3.5/library/xmlrpc.client.html#datetime-objects)2707      - [21.26.3. Объекты Binary](https://python-all.ru/3.5/library/xmlrpc.client.html#binary-objects)2708      - [21.26.4. Объекты Fault](https://python-all.ru/3.5/library/xmlrpc.client.html#fault-objects)2709      - [21.26.5. Объекты ProtocolError](https://python-all.ru/3.5/library/xmlrpc.client.html#protocolerror-objects)2710      - [21.26.6. Объекты MultiCall](https://python-all.ru/3.5/library/xmlrpc.client.html#multicall-objects)2711      - [21.26.7. Вспомогательные функции](https://python-all.ru/3.5/library/xmlrpc.client.html#convenience-functions)2712      - [21.26.8. Пример использования клиента](https://python-all.ru/3.5/library/xmlrpc.client.html#example-of-client-usage)2713      - [21.26.9. Пример использования клиента и сервера](https://python-all.ru/3.5/library/xmlrpc.client.html#example-of-client-and-server-usage)2714    - [21.27. `xmlrpc.server` – Базовые серверы XML-RPC](https://python-all.ru/3.5/library/xmlrpc.server.html)27152716      - [21.27.1. Объекты SimpleXMLRPCServer](https://python-all.ru/3.5/library/xmlrpc.server.html#simplexmlrpcserver-objects)27172718        - [21.27.1.1. Пример SimpleXMLRPCServer](https://python-all.ru/3.5/library/xmlrpc.server.html#simplexmlrpcserver-example)2719      - [21.27.2. CGIXMLRPCRequestHandler](https://python-all.ru/3.5/library/xmlrpc.server.html#cgixmlrpcrequesthandler)2720      - [21.27.3. Документирование сервера XMLRPC](https://python-all.ru/3.5/library/xmlrpc.server.html#documenting-xmlrpc-server)2721      - [21.27.4. Объекты DocXMLRPCServer](https://python-all.ru/3.5/library/xmlrpc.server.html#docxmlrpcserver-objects)2722      - [21.27.5. DocCGIXMLRPCRequestHandler](https://python-all.ru/3.5/library/xmlrpc.server.html#doccgixmlrpcrequesthandler)2723    - [21.28. `ipaddress` – Библиотека для работы с IPv4/IPv6](https://python-all.ru/3.5/library/ipaddress.html)27242725      - [21.28.1. Вспомогательные фабричные функции](https://python-all.ru/3.5/library/ipaddress.html#convenience-factory-functions)2726      - [21.28.2. IP-адреса](https://python-all.ru/3.5/library/ipaddress.html#ip-addresses)27272728        - [21.28.2.1. Объекты адресов](https://python-all.ru/3.5/library/ipaddress.html#address-objects)2729        - [21.28.2.2. Преобразование в строки и целые числа](https://python-all.ru/3.5/library/ipaddress.html#conversion-to-strings-and-integers)2730        - [21.28.2.3. Операторы](https://python-all.ru/3.5/library/ipaddress.html#operators)27312732          - [21.28.2.3.1. Операторы сравнения](https://python-all.ru/3.5/library/ipaddress.html#comparison-operators)2733          - [21.28.2.3.2. Арифметические операторы](https://python-all.ru/3.5/library/ipaddress.html#arithmetic-operators)2734      - [21.28.3. Определения IP-сети](https://python-all.ru/3.5/library/ipaddress.html#ip-network-definitions)27352736        - [21.28.3.1. Префикс, маска сети и маска узла](https://python-all.ru/3.5/library/ipaddress.html#prefix-net-mask-and-host-mask)2737        - [21.28.3.2. Сетевые объекты](https://python-all.ru/3.5/library/ipaddress.html#network-objects)2738        - [21.28.3.3. Операторы](https://python-all.ru/3.5/library/ipaddress.html#id1)27392740          - [21.28.3.3.1. Логические операторы](https://python-all.ru/3.5/library/ipaddress.html#logical-operators)2741          - [21.28.3.3.2. Итерация](https://python-all.ru/3.5/library/ipaddress.html#iteration)2742          - [21.28.3.3.3. Сети как контейнеры адресов](https://python-all.ru/3.5/library/ipaddress.html#networks-as-containers-of-addresses)2743      - [21.28.4. Объекты интерфейса](https://python-all.ru/3.5/library/ipaddress.html#interface-objects)2744      - [21.28.5. Прочие функции уровня модуля](https://python-all.ru/3.5/library/ipaddress.html#other-module-level-functions)2745      - [21.28.6. Пользовательские исключения](https://python-all.ru/3.5/library/ipaddress.html#custom-exceptions)2746  - [22. Мультимедийные службы](https://python-all.ru/3.5/library/mm.html)27472748    - [22.1. `audioop` – Обработка сырых аудиоданных](https://python-all.ru/3.5/library/audioop.html)2749    - [22.2. `aifc` – Чтение и запись файлов AIFF и AIFC](https://python-all.ru/3.5/library/aifc.html)2750    - [22.3. `sunau` – Чтение и запись файлов Sun AU](https://python-all.ru/3.5/library/sunau.html)27512752      - [22.3.1. AU\_read Objects](https://python-all.ru/3.5/library/sunau.html#au-read-objects)2753      - [22.3.2. AU\_write Objects](https://python-all.ru/3.5/library/sunau.html#au-write-objects)2754    - [22.4. `wave` – Чтение и запись WAV-файлов](https://python-all.ru/3.5/library/wave.html)27552756      - [22.4.1. Wave\_read Objects](https://python-all.ru/3.5/library/wave.html#wave-read-objects)2757      - [22.4.2. Wave\_write Objects](https://python-all.ru/3.5/library/wave.html#wave-write-objects)2758    - [22.5. `chunk` – Чтение IFF-данных чанками](https://python-all.ru/3.5/library/chunk.html)2759    - [22.6. `colorsys` – Преобразования между цветовыми системами](https://python-all.ru/3.5/library/colorsys.html)2760    - [22.7. `imghdr` – Определение типа изображения](https://python-all.ru/3.5/library/imghdr.html)2761    - [22.8. `sndhdr` – Определение типа звукового файла](https://python-all.ru/3.5/library/sndhdr.html)2762    - [22.9. `ossaudiodev` – Доступ к аудиоустройствам, совместимым с OSS](https://python-all.ru/3.5/library/ossaudiodev.html)27632764      - [22.9.1. Объекты аудиоустройств](https://python-all.ru/3.5/library/ossaudiodev.html#audio-device-objects)2765      - [22.9.2. Объекты микшера](https://python-all.ru/3.5/library/ossaudiodev.html#mixer-device-objects)2766  - [23. Интернационализация](https://python-all.ru/3.5/library/i18n.html)27672768    - [23.1. `gettext` – Многоязычные службы интернационализации](https://python-all.ru/3.5/library/gettext.html)27692770      - [23.1.1. GNU **gettext** API](https://python-all.ru/3.5/library/gettext.html#gnu-gettext-api)2771      - [23.1.2. API на основе классов](https://python-all.ru/3.5/library/gettext.html#class-based-api)27722773        - [23.1.2.1. Класс `NullTranslations`](https://python-all.ru/3.5/library/gettext.html#the-nulltranslations-class)2774        - [23.1.2.2. Класс `GNUTranslations`](https://python-all.ru/3.5/library/gettext.html#the-gnutranslations-class)2775        - [23.1.2.3. Поддержка каталогов сообщений Solaris](https://python-all.ru/3.5/library/gettext.html#solaris-message-catalog-support)2776        - [23.1.2.4. Конструктор Catalog](https://python-all.ru/3.5/library/gettext.html#the-catalog-constructor)2777      - [23.1.3. Интернационализация программ и модулей](https://python-all.ru/3.5/library/gettext.html#internationalizing-your-programs-and-modules)27782779        - [23.1.3.1. Локализация модуля](https://python-all.ru/3.5/library/gettext.html#localizing-your-module)2780        - [23.1.3.2. Локализация приложения](https://python-all.ru/3.5/library/gettext.html#localizing-your-application)2781        - [23.1.3.3. Смена языка на лету](https://python-all.ru/3.5/library/gettext.html#changing-languages-on-the-fly)2782        - [23.1.3.4. Отложенные переводы](https://python-all.ru/3.5/library/gettext.html#deferred-translations)2783      - [23.1.4. Благодарности](https://python-all.ru/3.5/library/gettext.html#acknowledgements)2784    - [23.2. `locale` – Службы интернационализации](https://python-all.ru/3.5/library/locale.html)27852786      - [23.2.1. Предыстория, детали, подсказки, советы и предостережения](https://python-all.ru/3.5/library/locale.html#background-details-hints-tips-and-caveats)2787      - [23.2.2. Для разработчиков расширений и программ, встраивающих Python](https://python-all.ru/3.5/library/locale.html#for-extension-writers-and-programs-that-embed-python)2788      - [23.2.3. Доступ к каталогам сообщений](https://python-all.ru/3.5/library/locale.html#access-to-message-catalogs)2789  - [24. Программные каркасы](https://python-all.ru/3.5/library/frameworks.html)27902791    - [24.1. `turtle` – Черепашья графика](https://python-all.ru/3.5/library/turtle.html)27922793      - [24.1.1. Введение](https://python-all.ru/3.5/library/turtle.html#introduction)2794      - [24.1.2. Обзор доступных методов Turtle и Screen](https://python-all.ru/3.5/library/turtle.html#overview-of-available-turtle-and-screen-methods)27952796        - [24.1.2.1. Методы Turtle](https://python-all.ru/3.5/library/turtle.html#turtle-methods)2797        - [24.1.2.2. Методы TurtleScreen/Screen](https://python-all.ru/3.5/library/turtle.html#methods-of-turtlescreen-screen)2798      - [24.1.3. Методы RawTurtle/Turtle и соответствующие функции](https://python-all.ru/3.5/library/turtle.html#methods-of-rawturtle-turtle-and-corresponding-functions)27992800        - [24.1.3.1. Движение черепахи](https://python-all.ru/3.5/library/turtle.html#turtle-motion)2801        - [24.1.3.2. Состояние черепахи](https://python-all.ru/3.5/library/turtle.html#tell-turtle-s-state)2802        - [24.1.3.3. Настройки измерения](https://python-all.ru/3.5/library/turtle.html#settings-for-measurement)2803        - [24.1.3.4. Управление пером](https://python-all.ru/3.5/library/turtle.html#pen-control)28042805          - [24.1.3.4.1. Состояние рисования](https://python-all.ru/3.5/library/turtle.html#drawing-state)2806          - [24.1.3.4.2. Управление цветом](https://python-all.ru/3.5/library/turtle.html#color-control)2807          - [24.1.3.4.3. Заливка](https://python-all.ru/3.5/library/turtle.html#filling)2808          - [24.1.3.4.4. Дополнительное управление рисованием](https://python-all.ru/3.5/library/turtle.html#more-drawing-control)2809        - [24.1.3.5. Состояние черепахи](https://python-all.ru/3.5/library/turtle.html#turtle-state)28102811          - [24.1.3.5.1. Видимость](https://python-all.ru/3.5/library/turtle.html#visibility)2812          - [24.1.3.5.2. Внешний вид](https://python-all.ru/3.5/library/turtle.html#appearance)2813        - [24.1.3.6. Использование событий](https://python-all.ru/3.5/library/turtle.html#using-events)2814        - [24.1.3.7. Специальные методы Turtle](https://python-all.ru/3.5/library/turtle.html#special-turtle-methods)2815        - [24.1.3.8. Составные фигуры](https://python-all.ru/3.5/library/turtle.html#compound-shapes)2816      - [24.1.4. Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/3.5/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)28172818        - [24.1.4.1. Управление окном](https://python-all.ru/3.5/library/turtle.html#window-control)2819        - [24.1.4.2. Управление анимацией](https://python-all.ru/3.5/library/turtle.html#animation-control)2820        - [24.1.4.3. Использование событий экрана](https://python-all.ru/3.5/library/turtle.html#using-screen-events)2821        - [24.1.4.4. Методы ввода](https://python-all.ru/3.5/library/turtle.html#input-methods)2822        - [24.1.4.5. Настройки и специальные методы](https://python-all.ru/3.5/library/turtle.html#settings-and-special-methods)2823        - [24.1.4.6. Методы, специфичные для Screen, не унаследованные от TurtleScreen](https://python-all.ru/3.5/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)2824      - [24.1.5. Общедоступные классы](https://python-all.ru/3.5/library/turtle.html#public-classes)2825      - [24.1.6. Справка и настройка](https://python-all.ru/3.5/library/turtle.html#help-and-configuration)28262827        - [24.1.6.1. Как пользоваться справкой](https://python-all.ru/3.5/library/turtle.html#how-to-use-help)2828        - [24.1.6.2. Перевод строк документации на разные языки](https://python-all.ru/3.5/library/turtle.html#translation-of-docstrings-into-different-languages)2829        - [24.1.6.3. Как настроить Screen и Turtles](https://python-all.ru/3.5/library/turtle.html#how-to-configure-screen-and-turtles)2830      - [24.1.7. `turtledemo` – Демонстрационные скрипты](https://python-all.ru/3.5/library/turtle.html#module-turtledemo)2831      - [24.1.8. Изменения начиная с Python 2.6](https://python-all.ru/3.5/library/turtle.html#changes-since-python-2-6)2832      - [24.1.9. Изменения начиная с Python 3.0](https://python-all.ru/3.5/library/turtle.html#changes-since-python-3-0)2833    - [24.2. `cmd` – Поддержка интерпретаторов команд, ориентированных на строки](https://python-all.ru/3.5/library/cmd.html)28342835      - [24.2.1. Объекты Cmd](https://python-all.ru/3.5/library/cmd.html#cmd-objects)2836      - [24.2.2. Пример Cmd](https://python-all.ru/3.5/library/cmd.html#cmd-example)2837    - [24.3. `shlex` – Простой лексический анализ](https://python-all.ru/3.5/library/shlex.html)28382839      - [24.3.1. Объекты shlex](https://python-all.ru/3.5/library/shlex.html#shlex-objects)2840      - [24.3.2. Правила синтаксического анализа](https://python-all.ru/3.5/library/shlex.html#parsing-rules)2841  - [25. Графические интерфейсы пользователя с Tk](https://python-all.ru/3.5/library/tk.html)28422843    - [25.1. `tkinter` – Интерфейс Python к Tcl/Tk](https://python-all.ru/3.5/library/tkinter.html)28442845      - [25.1.1. Модули Tkinter](https://python-all.ru/3.5/library/tkinter.html#tkinter-modules)2846      - [25.1.2. Tkinter: спасательный круг](https://python-all.ru/3.5/library/tkinter.html#tkinter-life-preserver)28472848        - [25.1.2.1. Как использовать этот раздел](https://python-all.ru/3.5/library/tkinter.html#how-to-use-this-section)2849        - [25.1.2.2. Простой пример программы «Hello World»](https://python-all.ru/3.5/library/tkinter.html#a-simple-hello-world-program)2850      - [25.1.3. Краткий обзор Tcl/Tk](https://python-all.ru/3.5/library/tkinter.html#a-very-quick-look-at-tcl-tk)2851      - [25.1.4. Отображение базового Tk в Tkinter](https://python-all.ru/3.5/library/tkinter.html#mapping-basic-tk-into-tkinter)2852      - [25.1.5. Как связаны Tk и Tkinter](https://python-all.ru/3.5/library/tkinter.html#how-tk-and-tkinter-are-related)2853      - [25.1.6. Удобный справочник](https://python-all.ru/3.5/library/tkinter.html#handy-reference)28542855        - [25.1.6.1. Настройка параметров](https://python-all.ru/3.5/library/tkinter.html#setting-options)2856        - [25.1.6.2. Упаковщик](https://python-all.ru/3.5/library/tkinter.html#the-packer)2857        - [25.1.6.3. Параметры упаковщика](https://python-all.ru/3.5/library/tkinter.html#packer-options)2858        - [25.1.6.4. Привязка переменных виджетов](https://python-all.ru/3.5/library/tkinter.html#coupling-widget-variables)2859        - [25.1.6.5. Менеджер окон](https://python-all.ru/3.5/library/tkinter.html#the-window-manager)2860        - [25.1.6.6. Типы данных параметров Tk](https://python-all.ru/3.5/library/tkinter.html#tk-option-data-types)2861        - [25.1.6.7. Привязки и события](https://python-all.ru/3.5/library/tkinter.html#bindings-and-events)2862        - [25.1.6.8. Параметр index](https://python-all.ru/3.5/library/tkinter.html#the-index-parameter)2863        - [25.1.6.9. Изображения](https://python-all.ru/3.5/library/tkinter.html#images)2864      - [25.1.7. Обработчики файлов](https://python-all.ru/3.5/library/tkinter.html#file-handlers)2865    - [25.2. `tkinter.ttk` – Tk темизированные виджеты](https://python-all.ru/3.5/library/tkinter.ttk.html)28662867      - [25.2.1. Использование Ttk](https://python-all.ru/3.5/library/tkinter.ttk.html#using-ttk)2868      - [25.2.2. Виджеты Ttk](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-widgets)2869      - [25.2.3. Виджет](https://python-all.ru/3.5/library/tkinter.ttk.html#widget)28702871        - [25.2.3.1. Стандартные параметры](https://python-all.ru/3.5/library/tkinter.ttk.html#standard-options)2872        - [25.2.3.2. Параметры прокручиваемого виджета](https://python-all.ru/3.5/library/tkinter.ttk.html#scrollable-widget-options)2873        - [25.2.3.3. Параметры метки](https://python-all.ru/3.5/library/tkinter.ttk.html#label-options)2874        - [25.2.3.4. Параметры совместимости](https://python-all.ru/3.5/library/tkinter.ttk.html#compatibility-options)2875        - [25.2.3.5. Состояния виджета](https://python-all.ru/3.5/library/tkinter.ttk.html#widget-states)2876        - [25.2.3.6. ttk.Widget](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-widget)2877      - [25.2.4. Combobox](https://python-all.ru/3.5/library/tkinter.ttk.html#combobox)28782879        - [25.2.4.1. Параметры](https://python-all.ru/3.5/library/tkinter.ttk.html#options)2880        - [25.2.4.2. Виртуальные события](https://python-all.ru/3.5/library/tkinter.ttk.html#virtual-events)2881        - [25.2.4.3. ttk.Combobox](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-combobox)2882      - [25.2.5. Notebook](https://python-all.ru/3.5/library/tkinter.ttk.html#notebook)28832884        - [25.2.5.1. Параметры](https://python-all.ru/3.5/library/tkinter.ttk.html#id1)2885        - [25.2.5.2. Параметры вкладок](https://python-all.ru/3.5/library/tkinter.ttk.html#tab-options)2886        - [25.2.5.3. Идентификаторы вкладок](https://python-all.ru/3.5/library/tkinter.ttk.html#tab-identifiers)2887        - [25.2.5.4. Виртуальные события](https://python-all.ru/3.5/library/tkinter.ttk.html#id2)2888        - [25.2.5.5. ttk.Notebook](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-notebook)2889      - [25.2.6. Progressbar](https://python-all.ru/3.5/library/tkinter.ttk.html#progressbar)28902891        - [25.2.6.1. Опции](https://python-all.ru/3.5/library/tkinter.ttk.html#id3)2892        - [25.2.6.2. ttk.Progressbar](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-progressbar)2893      - [25.2.7. Separator](https://python-all.ru/3.5/library/tkinter.ttk.html#separator)28942895        - [25.2.7.1. Опции](https://python-all.ru/3.5/library/tkinter.ttk.html#id4)2896      - [25.2.8. Sizegrip](https://python-all.ru/3.5/library/tkinter.ttk.html#sizegrip)28972898        - [25.2.8.1. Замечания по платформам](https://python-all.ru/3.5/library/tkinter.ttk.html#platform-specific-notes)2899        - [25.2.8.2. Ошибки](https://python-all.ru/3.5/library/tkinter.ttk.html#bugs)2900      - [25.2.9. Treeview](https://python-all.ru/3.5/library/tkinter.ttk.html#treeview)29012902        - [25.2.9.1. Опции](https://python-all.ru/3.5/library/tkinter.ttk.html#id5)2903        - [25.2.9.2. Опции элементов](https://python-all.ru/3.5/library/tkinter.ttk.html#item-options)2904        - [25.2.9.3. Опции тегов](https://python-all.ru/3.5/library/tkinter.ttk.html#tag-options)2905        - [25.2.9.4. Идентификаторы столбцов](https://python-all.ru/3.5/library/tkinter.ttk.html#column-identifiers)2906        - [25.2.9.5. Виртуальные события](https://python-all.ru/3.5/library/tkinter.ttk.html#id6)2907        - [25.2.9.6. ttk.Treeview](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-treeview)2908      - [25.2.10. Стилизация ttk](https://python-all.ru/3.5/library/tkinter.ttk.html#ttk-styling)29092910        - [25.2.10.1. Макеты](https://python-all.ru/3.5/library/tkinter.ttk.html#layouts)2911    - [25.3. `tkinter.tix` – Расширенные виджеты для Tk](https://python-all.ru/3.5/library/tkinter.tix.html)29122913      - [25.3.1. Использование Tix](https://python-all.ru/3.5/library/tkinter.tix.html#using-tix)2914      - [25.3.2. Виджеты Tix](https://python-all.ru/3.5/library/tkinter.tix.html#tix-widgets)29152916        - [25.3.2.1. Базовые виджеты](https://python-all.ru/3.5/library/tkinter.tix.html#basic-widgets)2917        - [25.3.2.2. Выбор файлов](https://python-all.ru/3.5/library/tkinter.tix.html#file-selectors)2918        - [25.3.2.3. Иерархический список](https://python-all.ru/3.5/library/tkinter.tix.html#hierarchical-listbox)2919        - [25.3.2.4. Табличный список](https://python-all.ru/3.5/library/tkinter.tix.html#tabular-listbox)2920        - [25.3.2.5. Виджеты-менеджеры](https://python-all.ru/3.5/library/tkinter.tix.html#manager-widgets)2921        - [25.3.2.6. Типы изображений](https://python-all.ru/3.5/library/tkinter.tix.html#image-types)2922        - [25.3.2.7. Прочие виджеты](https://python-all.ru/3.5/library/tkinter.tix.html#miscellaneous-widgets)2923        - [25.3.2.8. Менеджер геометрии Form](https://python-all.ru/3.5/library/tkinter.tix.html#form-geometry-manager)2924      - [25.3.3. Команды Tix](https://python-all.ru/3.5/library/tkinter.tix.html#tix-commands)2925    - [25.4. `tkinter.scrolledtext` – Виджет прокручиваемого текста](https://python-all.ru/3.5/library/tkinter.scrolledtext.html)2926    - [25.5. IDLE](https://python-all.ru/3.5/library/idle.html)29272928      - [25.5.1. Меню](https://python-all.ru/3.5/library/idle.html#menus)29292930        - [25.5.1.1. Меню «Файл» (Shell и редактор)](https://python-all.ru/3.5/library/idle.html#file-menu-shell-and-editor)2931        - [25.5.1.2. Меню «Правка» (Shell и редактор)](https://python-all.ru/3.5/library/idle.html#edit-menu-shell-and-editor)2932        - [25.5.1.3. Меню «Формат» (только в окне редактора)](https://python-all.ru/3.5/library/idle.html#format-menu-editor-window-only)2933        - [25.5.1.4. Меню «Выполнить» (только в окне редактора)](https://python-all.ru/3.5/library/idle.html#run-menu-editor-window-only)2934        - [25.5.1.5. Меню «Shell» (только в окне Shell)](https://python-all.ru/3.5/library/idle.html#shell-menu-shell-window-only)2935        - [25.5.1.6. Меню «Отладка» (только в окне Shell)](https://python-all.ru/3.5/library/idle.html#debug-menu-shell-window-only)2936        - [25.5.1.7. Меню «Параметры» (Shell и редактор)](https://python-all.ru/3.5/library/idle.html#options-menu-shell-and-editor)2937        - [25.5.1.8. Меню «Окно» (Shell и редактор)](https://python-all.ru/3.5/library/idle.html#window-menu-shell-and-editor)2938        - [25.5.1.9. Меню «Справка» (Shell и редактор)](https://python-all.ru/3.5/library/idle.html#help-menu-shell-and-editor)2939        - [25.5.1.10. Контекстные меню](https://python-all.ru/3.5/library/idle.html#context-menus)2940      - [25.5.2. Редактирование и навигация](https://python-all.ru/3.5/library/idle.html#editing-and-navigation)29412942        - [25.5.2.1. Автоматический отступ](https://python-all.ru/3.5/library/idle.html#automatic-indentation)2943        - [25.5.2.2. Автодополнение](https://python-all.ru/3.5/library/idle.html#completions)2944        - [25.5.2.3. Подсказки вызова](https://python-all.ru/3.5/library/idle.html#calltips)2945        - [25.5.2.4. Окно оболочки Python](https://python-all.ru/3.5/library/idle.html#python-shell-window)2946        - [25.5.2.5. Цвета текста](https://python-all.ru/3.5/library/idle.html#text-colors)2947      - [25.5.3. Запуск и выполнение кода](https://python-all.ru/3.5/library/idle.html#startup-and-code-execution)29482949        - [25.5.3.1. Использование командной строки](https://python-all.ru/3.5/library/idle.html#command-line-usage)2950        - [25.5.3.2. Отличия IDLE от консоли](https://python-all.ru/3.5/library/idle.html#idle-console-differences)2951        - [25.5.3.3. Запуск без подпроцесса](https://python-all.ru/3.5/library/idle.html#running-without-a-subprocess)2952      - [25.5.4. Справка и настройки](https://python-all.ru/3.5/library/idle.html#help-and-preferences)29532954        - [25.5.4.1. Дополнительные источники справки](https://python-all.ru/3.5/library/idle.html#additional-help-sources)2955        - [25.5.4.2. Настройка параметров](https://python-all.ru/3.5/library/idle.html#setting-preferences)2956        - [25.5.4.3. Расширения](https://python-all.ru/3.5/library/idle.html#extensions)2957    - [25.6. Другие пакеты графического интерфейса пользователя](https://python-all.ru/3.5/library/othergui.html)2958  - [26. Инструменты разработки](https://python-all.ru/3.5/library/development.html)29592960    - [26.1. `typing` – Поддержка подсказок типов](https://python-all.ru/3.5/library/typing.html)29612962      - [26.1.1. Псевдонимы типов](https://python-all.ru/3.5/library/typing.html#type-aliases)2963      - [26.1.2. NewType](https://python-all.ru/3.5/library/typing.html#newtype)2964      - [26.1.3. Callable](https://python-all.ru/3.5/library/typing.html#callable)2965      - [26.1.4. Дженерики](https://python-all.ru/3.5/library/typing.html#generics)2966      - [26.1.5. Пользовательские дженерик-типы](https://python-all.ru/3.5/library/typing.html#user-defined-generic-types)2967      - [26.1.6. Тип `Any`](https://python-all.ru/3.5/library/typing.html#the-any-type)2968      - [26.1.7. Классы, функции и декораторы](https://python-all.ru/3.5/library/typing.html#classes-functions-and-decorators)2969    - [26.2. `pydoc` – Генератор документации и встроенная справочная система](https://python-all.ru/3.5/library/pydoc.html)2970    - [26.3. `doctest` – Тестирование интерактивных примеров Python](https://python-all.ru/3.5/library/doctest.html)29712972      - [26.3.1. Простое использование: проверка примеров в строках документации](https://python-all.ru/3.5/library/doctest.html#simple-usage-checking-examples-in-docstrings)2973      - [26.3.2. Простое использование: проверка примеров в текстовом файле](https://python-all.ru/3.5/library/doctest.html#simple-usage-checking-examples-in-a-text-file)2974      - [26.3.3. Принцип работы](https://python-all.ru/3.5/library/doctest.html#how-it-works)29752976        - [26.3.3.1. Какие строки документации проверяются?](https://python-all.ru/3.5/library/doctest.html#which-docstrings-are-examined)2977        - [26.3.3.2. Как распознаются примеры из строк документации?](https://python-all.ru/3.5/library/doctest.html#how-are-docstring-examples-recognized)2978        - [26.3.3.3. Каков контекст выполнения?](https://python-all.ru/3.5/library/doctest.html#what-s-the-execution-context)2979        - [26.3.3.4. Что насчёт исключений?](https://python-all.ru/3.5/library/doctest.html#what-about-exceptions)2980        - [26.3.3.5. Флаги опций](https://python-all.ru/3.5/library/doctest.html#option-flags)2981        - [26.3.3.6. Директивы](https://python-all.ru/3.5/library/doctest.html#directives)2982        - [26.3.3.7. Предупреждения](https://python-all.ru/3.5/library/doctest.html#warnings)2983      - [26.3.4. Базовый API](https://python-all.ru/3.5/library/doctest.html#basic-api)2984      - [26.3.5. API модуля unittest](https://python-all.ru/3.5/library/doctest.html#unittest-api)2985      - [26.3.6. Продвинутый API](https://python-all.ru/3.5/library/doctest.html#advanced-api)29862987        - [26.3.6.1. Объекты DocTest](https://python-all.ru/3.5/library/doctest.html#doctest-objects)2988        - [26.3.6.2. Объекты Example](https://python-all.ru/3.5/library/doctest.html#example-objects)2989        - [26.3.6.3. Объекты DocTestFinder](https://python-all.ru/3.5/library/doctest.html#doctestfinder-objects)2990        - [26.3.6.4. Объекты DocTestParser](https://python-all.ru/3.5/library/doctest.html#doctestparser-objects)2991        - [26.3.6.5. Объекты DocTestRunner](https://python-all.ru/3.5/library/doctest.html#doctestrunner-objects)2992        - [26.3.6.6. Объекты OutputChecker](https://python-all.ru/3.5/library/doctest.html#outputchecker-objects)2993      - [26.3.7. Отладка](https://python-all.ru/3.5/library/doctest.html#debugging)2994      - [26.3.8. Проповедь](https://python-all.ru/3.5/library/doctest.html#soapbox)2995    - [26.4. `unittest` – фреймворк для модульного тестирования](https://python-all.ru/3.5/library/unittest.html)29962997      - [26.4.1. Простой пример](https://python-all.ru/3.5/library/unittest.html#basic-example)2998      - [26.4.2. Интерфейс командной строки](https://python-all.ru/3.5/library/unittest.html#command-line-interface)29993000        - [26.4.2.1. Параметры командной строки](https://python-all.ru/3.5/library/unittest.html#command-line-options)3001      - [26.4.3. Обнаружение тестов](https://python-all.ru/3.5/library/unittest.html#test-discovery)3002      - [26.4.4. Организация тестового кода](https://python-all.ru/3.5/library/unittest.html#organizing-test-code)3003      - [26.4.5. Повторное использование старого тестового кода](https://python-all.ru/3.5/library/unittest.html#re-using-old-test-code)3004      - [26.4.6. Пропуск тестов и ожидаемые сбои](https://python-all.ru/3.5/library/unittest.html#skipping-tests-and-expected-failures)3005      - [26.4.7. Различение итераций тестов с помощью подтестов](https://python-all.ru/3.5/library/unittest.html#distinguishing-test-iterations-using-subtests)3006      - [26.4.8. Классы и функции](https://python-all.ru/3.5/library/unittest.html#classes-and-functions)30073008        - [26.4.8.1. Тестовые случаи](https://python-all.ru/3.5/library/unittest.html#test-cases)30093010          - [26.4.8.1.1. Устаревшие псевдонимы](https://python-all.ru/3.5/library/unittest.html#deprecated-aliases)3011        - [26.4.8.2. Группировка тестов](https://python-all.ru/3.5/library/unittest.html#grouping-tests)3012        - [26.4.8.3. Загрузка и запуск тестов](https://python-all.ru/3.5/library/unittest.html#loading-and-running-tests)30133014          - [26.4.8.3.1. Протокол load\_tests](https://python-all.ru/3.5/library/unittest.html#load-tests-protocol)3015      - [26.4.9. Фикстуры классов и модулей](https://python-all.ru/3.5/library/unittest.html#class-and-module-fixtures)30163017        - [26.4.9.1. setUpClass и tearDownClass](https://python-all.ru/3.5/library/unittest.html#setupclass-and-teardownclass)3018        - [26.4.9.2. setUpModule и tearDownModule](https://python-all.ru/3.5/library/unittest.html#setupmodule-and-teardownmodule)3019      - [26.4.10. Обработка сигналов](https://python-all.ru/3.5/library/unittest.html#signal-handling)3020    - [26.5. `unittest.mock` – библиотека mock-объектов](https://python-all.ru/3.5/library/unittest.mock.html)30213022      - [26.5.1. Краткое руководство](https://python-all.ru/3.5/library/unittest.mock.html#quick-guide)3023      - [26.5.2. Класс Mock](https://python-all.ru/3.5/library/unittest.mock.html#the-mock-class)30243025        - [26.5.2.1. Вызов](https://python-all.ru/3.5/library/unittest.mock.html#calling)3026        - [26.5.2.2. Удаление атрибутов](https://python-all.ru/3.5/library/unittest.mock.html#deleting-attributes)3027        - [26.5.2.3. Имена Mock и атрибут name](https://python-all.ru/3.5/library/unittest.mock.html#mock-names-and-the-name-attribute)3028        - [26.5.2.4. Присоединение макетов как атрибутов](https://python-all.ru/3.5/library/unittest.mock.html#attaching-mocks-as-attributes)3029      - [26.5.3. Патчеры](https://python-all.ru/3.5/library/unittest.mock.html#the-patchers)30303031        - [26.5.3.1. patch](https://python-all.ru/3.5/library/unittest.mock.html#patch)3032        - [26.5.3.2. patch.object](https://python-all.ru/3.5/library/unittest.mock.html#patch-object)3033        - [26.5.3.3. patch.dict](https://python-all.ru/3.5/library/unittest.mock.html#patch-dict)3034        - [26.5.3.4. patch.multiple](https://python-all.ru/3.5/library/unittest.mock.html#patch-multiple)3035        - [26.5.3.5. Методы patch: start и stop](https://python-all.ru/3.5/library/unittest.mock.html#patch-methods-start-and-stop)3036        - [26.5.3.6. patch builtins](https://python-all.ru/3.5/library/unittest.mock.html#patch-builtins)3037        - [26.5.3.7. TEST\_PREFIX](https://python-all.ru/3.5/library/unittest.mock.html#test-prefix)3038        - [26.5.3.8. Вложение декораторов patch](https://python-all.ru/3.5/library/unittest.mock.html#nesting-patch-decorators)3039        - [26.5.3.9. Где применять patch](https://python-all.ru/3.5/library/unittest.mock.html#where-to-patch)3040        - [26.5.3.10. Патчинг дескрипторов и прокси-объектов](https://python-all.ru/3.5/library/unittest.mock.html#patching-descriptors-and-proxy-objects)3041      - [26.5.4. MagicMock и поддержка магических методов](https://python-all.ru/3.5/library/unittest.mock.html#magicmock-and-magic-method-support)30423043        - [26.5.4.1. Мокирование магических методов](https://python-all.ru/3.5/library/unittest.mock.html#mocking-magic-methods)3044        - [26.5.4.2. Magic Mock](https://python-all.ru/3.5/library/unittest.mock.html#magic-mock)3045      - [26.5.5. Вспомогательные средства](https://python-all.ru/3.5/library/unittest.mock.html#helpers)30463047        - [26.5.5.1. sentinel](https://python-all.ru/3.5/library/unittest.mock.html#sentinel)3048        - [26.5.5.2. DEFAULT](https://python-all.ru/3.5/library/unittest.mock.html#default)3049        - [26.5.5.3. call](https://python-all.ru/3.5/library/unittest.mock.html#call)3050        - [26.5.5.4. create\_autospec](https://python-all.ru/3.5/library/unittest.mock.html#create-autospec)3051        - [26.5.5.5. ANY](https://python-all.ru/3.5/library/unittest.mock.html#any)3052        - [26.5.5.6. FILTER\_DIR](https://python-all.ru/3.5/library/unittest.mock.html#filter-dir)3053        - [26.5.5.7. mock\_open](https://python-all.ru/3.5/library/unittest.mock.html#mock-open)3054        - [26.5.5.8. Autospeccing](https://python-all.ru/3.5/library/unittest.mock.html#autospeccing)3055    - [26.6. `unittest.mock` – начало работы](https://python-all.ru/3.5/library/unittest.mock-examples.html)30563057      - [26.6.1. Использование Mock](https://python-all.ru/3.5/library/unittest.mock-examples.html#using-mock)30583059        - [26.6.1.1. Подмена методов в Mock](https://python-all.ru/3.5/library/unittest.mock-examples.html#mock-patching-methods)3060        - [26.6.1.2. Mock для вызовов методов объекта](https://python-all.ru/3.5/library/unittest.mock-examples.html#mock-for-method-calls-on-an-object)3061        - [26.6.1.3. Мокирование классов](https://python-all.ru/3.5/library/unittest.mock-examples.html#mocking-classes)3062        - [26.6.1.4. Именование моков](https://python-all.ru/3.5/library/unittest.mock-examples.html#naming-your-mocks)3063        - [26.6.1.5. Отслеживание всех вызовов](https://python-all.ru/3.5/library/unittest.mock-examples.html#tracking-all-calls)3064        - [26.6.1.6. Установка возвращаемых значений и атрибутов](https://python-all.ru/3.5/library/unittest.mock-examples.html#setting-return-values-and-attributes)3065        - [26.6.1.7. Генерация исключений с помощью моков](https://python-all.ru/3.5/library/unittest.mock-examples.html#raising-exceptions-with-mocks)3066        - [26.6.1.8. Функции и итераторы побочных эффектов](https://python-all.ru/3.5/library/unittest.mock-examples.html#side-effect-functions-and-iterables)3067        - [26.6.1.9. Создание Mock на основе существующего объекта](https://python-all.ru/3.5/library/unittest.mock-examples.html#creating-a-mock-from-an-existing-object)3068      - [26.6.2. Декораторы patch](https://python-all.ru/3.5/library/unittest.mock-examples.html#patch-decorators)3069      - [26.6.3. Дополнительные примеры](https://python-all.ru/3.5/library/unittest.mock-examples.html#further-examples)30703071        - [26.6.3.1. Мокирование цепочек вызовов](https://python-all.ru/3.5/library/unittest.mock-examples.html#mocking-chained-calls)3072        - [26.6.3.2. Частичное мокирование](https://python-all.ru/3.5/library/unittest.mock-examples.html#partial-mocking)3073        - [26.6.3.3. Мокирование метода-генератора](https://python-all.ru/3.5/library/unittest.mock-examples.html#mocking-a-generator-method)3074        - [26.6.3.4. Применение одного патча ко всем тестовым методам](https://python-all.ru/3.5/library/unittest.mock-examples.html#applying-the-same-patch-to-every-test-method)3075        - [26.6.3.5. Мокирование несвязанных методов](https://python-all.ru/3.5/library/unittest.mock-examples.html#mocking-unbound-methods)3076        - [26.6.3.6. Проверка множественных вызовов с помощью mock](https://python-all.ru/3.5/library/unittest.mock-examples.html#checking-multiple-calls-with-mock)3077        - [26.6.3.7. Работа с изменяемыми аргументами](https://python-all.ru/3.5/library/unittest.mock-examples.html#coping-with-mutable-arguments)3078        - [26.6.3.8. Вложенные патчи](https://python-all.ru/3.5/library/unittest.mock-examples.html#nesting-patches)3079        - [26.6.3.9. Мокирование словаря с помощью MagicMock](https://python-all.ru/3.5/library/unittest.mock-examples.html#mocking-a-dictionary-with-magicmock)3080        - [26.6.3.10. Моки подклассов и их атрибутов](https://python-all.ru/3.5/library/unittest.mock-examples.html#mock-subclasses-and-their-attributes)3081        - [26.6.3.11. Мокирование импортов с помощью patch.dict](https://python-all.ru/3.5/library/unittest.mock-examples.html#mocking-imports-with-patch-dict)3082        - [26.6.3.12. Отслеживание порядка вызовов и менее многословные проверки вызовов](https://python-all.ru/3.5/library/unittest.mock-examples.html#tracking-order-of-calls-and-less-verbose-call-assertions)3083        - [26.6.3.13. Более сложное сопоставление аргументов](https://python-all.ru/3.5/library/unittest.mock-examples.html#more-complex-argument-matching)3084    - [26.7. 2to3 – автоматизированная трансляция кода Python 2 в Python 3](https://python-all.ru/3.5/library/2to3.html)30853086      - [26.7.1. Использование 2to3](https://python-all.ru/3.5/library/2to3.html#using-2to3)3087      - [26.7.2. Фиксаторы](https://python-all.ru/3.5/library/2to3.html#fixers)3088      - [26.7.3. `lib2to3` – библиотека 2to3](https://python-all.ru/3.5/library/2to3.html#module-lib2to3)3089    - [26.8. `test` – Пакет регрессионного тестирования для Python](https://python-all.ru/3.5/library/test.html)30903091      - [26.8.1. Написание модульных тестов для пакета `test`](https://python-all.ru/3.5/library/test.html#writing-unit-tests-for-the-test-package)3092      - [26.8.2. Запуск тестов через интерфейс командной строки](https://python-all.ru/3.5/library/test.html#running-tests-using-the-command-line-interface)3093    - [26.9. `test.support` – Утилиты для набора тестов Python](https://python-all.ru/3.5/library/test.html#module-test.support)3094  - [27. Отладка и профилирование](https://python-all.ru/3.5/library/debug.html)30953096    - [27.1. `bdb` – Фреймворк отладчика](https://python-all.ru/3.5/library/bdb.html)3097    - [27.2. `faulthandler` – Дамп трассировки Python](https://python-all.ru/3.5/library/faulthandler.html)30983099      - [27.2.1. Дамп трассировки](https://python-all.ru/3.5/library/faulthandler.html#dumping-the-traceback)3100      - [27.2.2. Состояние обработчика сбоев](https://python-all.ru/3.5/library/faulthandler.html#fault-handler-state)3101      - [27.2.3. Дамп трассировок после тайм-аута](https://python-all.ru/3.5/library/faulthandler.html#dumping-the-tracebacks-after-a-timeout)3102      - [27.2.4. Дамп трассировки по пользовательскому сигналу](https://python-all.ru/3.5/library/faulthandler.html#dumping-the-traceback-on-a-user-signal)3103      - [27.2.5. Проблема с файловыми дескрипторами](https://python-all.ru/3.5/library/faulthandler.html#issue-with-file-descriptors)3104      - [27.2.6. Пример](https://python-all.ru/3.5/library/faulthandler.html#example)3105    - [27.3. `pdb` – Отладчик Python](https://python-all.ru/3.5/library/pdb.html)31063107      - [27.3.1. Команды отладчика](https://python-all.ru/3.5/library/pdb.html#debugger-commands)3108    - [27.4. Профилировщики Python](https://python-all.ru/3.5/library/profile.html)31093110      - [27.4.1. Введение в профилировщики](https://python-all.ru/3.5/library/profile.html#introduction-to-the-profilers)3111      - [27.4.2. Краткое руководство пользователя](https://python-all.ru/3.5/library/profile.html#instant-user-s-manual)3112      - [27.4.3. Справочник по модулям `profile` и `cProfile`](https://python-all.ru/3.5/library/profile.html#module-cProfile)3113      - [27.4.4. Класс `Stats`](https://python-all.ru/3.5/library/profile.html#the-stats-class)3114      - [27.4.5. Что такое детерминированное профилирование?](https://python-all.ru/3.5/library/profile.html#what-is-deterministic-profiling)3115      - [27.4.6. Ограничения](https://python-all.ru/3.5/library/profile.html#limitations)3116      - [27.4.7. Калибровка](https://python-all.ru/3.5/library/profile.html#calibration)3117      - [27.4.8. Использование пользовательского таймера](https://python-all.ru/3.5/library/profile.html#using-a-custom-timer)3118    - [27.5. `timeit` – Измерение времени выполнения небольших фрагментов кода](https://python-all.ru/3.5/library/timeit.html)31193120      - [27.5.1. Основные примеры](https://python-all.ru/3.5/library/timeit.html#basic-examples)3121      - [27.5.2. Интерфейс Python](https://python-all.ru/3.5/library/timeit.html#python-interface)3122      - [27.5.3. Интерфейс командной строки](https://python-all.ru/3.5/library/timeit.html#command-line-interface)3123      - [27.5.4. Примеры](https://python-all.ru/3.5/library/timeit.html#examples)3124    - [27.6. `trace` – Трассировка или отслеживание выполнения инструкций Python](https://python-all.ru/3.5/library/trace.html)31253126      - [27.6.1. Использование командной строки](https://python-all.ru/3.5/library/trace.html#command-line-usage)31273128        - [27.6.1.1. Основные параметры](https://python-all.ru/3.5/library/trace.html#main-options)3129        - [27.6.1.2. Модификаторы](https://python-all.ru/3.5/library/trace.html#modifiers)3130        - [27.6.1.3. Фильтры](https://python-all.ru/3.5/library/trace.html#filters)3131      - [27.6.2. Программный интерфейс](https://python-all.ru/3.5/library/trace.html#programmatic-interface)3132    - [27.7. `tracemalloc` – Трассировка выделений памяти](https://python-all.ru/3.5/library/tracemalloc.html)31333134      - [27.7.1. Примеры](https://python-all.ru/3.5/library/tracemalloc.html#examples)31353136        - [27.7.1.1. Отображение топ-10](https://python-all.ru/3.5/library/tracemalloc.html#display-the-top-10)3137        - [27.7.1.2. Вычисление различий](https://python-all.ru/3.5/library/tracemalloc.html#compute-differences)3138        - [27.7.1.3. Получение трассировки блока памяти](https://python-all.ru/3.5/library/tracemalloc.html#get-the-traceback-of-a-memory-block)3139        - [27.7.1.4. Удобный топ](https://python-all.ru/3.5/library/tracemalloc.html#pretty-top)3140      - [27.7.2. API](https://python-all.ru/3.5/library/tracemalloc.html#api)31413142        - [27.7.2.1. Функции](https://python-all.ru/3.5/library/tracemalloc.html#functions)3143        - [27.7.2.2. Filter](https://python-all.ru/3.5/library/tracemalloc.html#filter)3144        - [27.7.2.3. Frame](https://python-all.ru/3.5/library/tracemalloc.html#frame)3145        - [27.7.2.4. Snapshot](https://python-all.ru/3.5/library/tracemalloc.html#snapshot)3146        - [27.7.2.5. Statistic](https://python-all.ru/3.5/library/tracemalloc.html#statistic)3147        - [27.7.2.6. StatisticDiff](https://python-all.ru/3.5/library/tracemalloc.html#statisticdiff)3148        - [27.7.2.7. Trace](https://python-all.ru/3.5/library/tracemalloc.html#trace)3149        - [27.7.2.8. Traceback](https://python-all.ru/3.5/library/tracemalloc.html#traceback)3150  - [28. Упаковка и распространение программного обеспечения](https://python-all.ru/3.5/library/distribution.html)31513152    - [28.1. `distutils` – Сборка и установка модулей Python](https://python-all.ru/3.5/library/distutils.html)3153    - [28.2. `ensurepip` – Загрузка установщика `pip`](https://python-all.ru/3.5/library/ensurepip.html)31543155      - [28.2.1. Интерфейс командной строки](https://python-all.ru/3.5/library/ensurepip.html#command-line-interface)3156      - [28.2.2. API модуля](https://python-all.ru/3.5/library/ensurepip.html#module-api)3157    - [28.3. `venv` – Создание виртуальных окружений](https://python-all.ru/3.5/library/venv.html)31583159      - [28.3.1. Создание виртуальных окружений](https://python-all.ru/3.5/library/venv.html#creating-virtual-environments)3160      - [28.3.2. API](https://python-all.ru/3.5/library/venv.html#api)3161      - [28.3.3. Пример расширения `EnvBuilder`](https://python-all.ru/3.5/library/venv.html#an-example-of-extending-envbuilder)3162    - [28.4. `zipapp` – Управление исполняемыми zip-архивами Python](https://python-all.ru/3.5/library/zipapp.html)31633164      - [28.4.1. Простой пример](https://python-all.ru/3.5/library/zipapp.html#basic-example)3165      - [28.4.2. Интерфейс командной строки](https://python-all.ru/3.5/library/zipapp.html#command-line-interface)3166      - [28.4.3. Python API](https://python-all.ru/3.5/library/zipapp.html#python-api)3167      - [28.4.4. Примеры](https://python-all.ru/3.5/library/zipapp.html#examples)3168      - [28.4.5. Формат архива приложений Python Zip](https://python-all.ru/3.5/library/zipapp.html#the-python-zip-application-archive-format)3169  - [29. Службы времени выполнения Python](https://python-all.ru/3.5/library/python.html)31703171    - [29.1. `sys` – Системно-зависимые параметры и функции](https://python-all.ru/3.5/library/sys.html)3172    - [29.2. `sysconfig` – Предоставление доступа к информации о конфигурации Python](https://python-all.ru/3.5/library/sysconfig.html)31733174      - [29.2.1. Переменные конфигурации](https://python-all.ru/3.5/library/sysconfig.html#configuration-variables)3175      - [29.2.2. Пути установки](https://python-all.ru/3.5/library/sysconfig.html#installation-paths)3176      - [29.2.3. Другие функции](https://python-all.ru/3.5/library/sysconfig.html#other-functions)3177      - [29.2.4. Использование `sysconfig` в качестве скрипта](https://python-all.ru/3.5/library/sysconfig.html#using-sysconfig-as-a-script)3178    - [29.3. `builtins` – Встроенные объекты](https://python-all.ru/3.5/library/builtins.html)3179    - [29.4. `__main__` – Окружение скрипта верхнего уровня](https://python-all.ru/3.5/library/__main__.html)3180    - [29.5. `warnings` – Управление предупреждениями](https://python-all.ru/3.5/library/warnings.html)31813182      - [29.5.1. Категории предупреждений](https://python-all.ru/3.5/library/warnings.html#warning-categories)3183      - [29.5.2. Фильтр предупреждений](https://python-all.ru/3.5/library/warnings.html#the-warnings-filter)31843185        - [29.5.2.1. Фильтры предупреждений по умолчанию](https://python-all.ru/3.5/library/warnings.html#default-warning-filters)3186      - [29.5.3. Временное подавление предупреждений](https://python-all.ru/3.5/library/warnings.html#temporarily-suppressing-warnings)3187      - [29.5.4. Тестирование предупреждений](https://python-all.ru/3.5/library/warnings.html#testing-warnings)3188      - [29.5.5. Обновление кода для новых версий Python](https://python-all.ru/3.5/library/warnings.html#updating-code-for-new-versions-of-python)3189      - [29.5.6. Доступные функции](https://python-all.ru/3.5/library/warnings.html#available-functions)3190      - [29.5.7. Доступные менеджеры контекста](https://python-all.ru/3.5/library/warnings.html#available-context-managers)3191    - [29.6. `contextlib` – Утилиты для контекстов оператора `with`](https://python-all.ru/3.5/library/contextlib.html)31923193      - [29.6.1. Утилиты](https://python-all.ru/3.5/library/contextlib.html#utilities)3194      - [29.6.2. Примеры и рецепты](https://python-all.ru/3.5/library/contextlib.html#examples-and-recipes)31953196        - [29.6.2.1. Поддержка переменного числа менеджеров контекста](https://python-all.ru/3.5/library/contextlib.html#supporting-a-variable-number-of-context-managers)3197        - [29.6.2.2. Упрощение поддержки одного необязательного менеджера контекста](https://python-all.ru/3.5/library/contextlib.html#simplifying-support-for-single-optional-context-managers)3198        - [29.6.2.3. Перехват исключений из методов `__enter__`](https://python-all.ru/3.5/library/contextlib.html#catching-exceptions-from-enter-methods)3199        - [29.6.2.4. Очистка в реализации `__enter__`](https://python-all.ru/3.5/library/contextlib.html#cleaning-up-in-an-enter-implementation)3200        - [29.6.2.5. Замена любого использования `try-finally` и флаговых переменных](https://python-all.ru/3.5/library/contextlib.html#replacing-any-use-of-try-finally-and-flag-variables)3201        - [29.6.2.6. Использование менеджера контекста в качестве декоратора функции](https://python-all.ru/3.5/library/contextlib.html#using-a-context-manager-as-a-function-decorator)3202      - [29.6.3. Менеджеры контекста однократного использования, многократного использования и повторно входимые](https://python-all.ru/3.5/library/contextlib.html#single-use-reusable-and-reentrant-context-managers)32033204        - [29.6.3.1. Повторно входимые менеджеры контекста](https://python-all.ru/3.5/library/contextlib.html#reentrant-context-managers)3205        - [29.6.3.2. Менеджеры контекста многократного использования](https://python-all.ru/3.5/library/contextlib.html#reusable-context-managers)3206    - [29.7. `abc` – Абстрактные базовые классы](https://python-all.ru/3.5/library/abc.html)3207    - [29.8. `atexit` – Обработчики выхода](https://python-all.ru/3.5/library/atexit.html)32083209      - [29.8.1. Пример использования `atexit`](https://python-all.ru/3.5/library/atexit.html#atexit-example)3210    - [29.9. `traceback` – Вывод или получение трассировки стека](https://python-all.ru/3.5/library/traceback.html)32113212      - [29.9.1. Объекты `TracebackException`](https://python-all.ru/3.5/library/traceback.html#tracebackexception-objects)3213      - [29.9.2. Объекты `StackSummary`](https://python-all.ru/3.5/library/traceback.html#stacksummary-objects)3214      - [29.9.3. Объекты `FrameSummary`](https://python-all.ru/3.5/library/traceback.html#framesummary-objects)3215      - [29.9.4. Примеры трассировки](https://python-all.ru/3.5/library/traceback.html#traceback-examples)3216    - [29.10. `__future__` – Определения операторов future](https://python-all.ru/3.5/library/__future__.html)3217    - [29.11. `gc` – Интерфейс сборщика мусора](https://python-all.ru/3.5/library/gc.html)3218    - [29.12. `inspect` – Инспекция активных объектов](https://python-all.ru/3.5/library/inspect.html)32193220      - [29.12.1. Типы и члены](https://python-all.ru/3.5/library/inspect.html#types-and-members)3221      - [29.12.2. Получение исходного кода](https://python-all.ru/3.5/library/inspect.html#retrieving-source-code)3222      - [29.12.3. Интроспекция вызываемых объектов с помощью объекта Signature](https://python-all.ru/3.5/library/inspect.html#introspecting-callables-with-the-signature-object)3223      - [29.12.4. Классы и функции](https://python-all.ru/3.5/library/inspect.html#classes-and-functions)3224      - [29.12.5. Стек интерпретатора](https://python-all.ru/3.5/library/inspect.html#the-interpreter-stack)3225      - [29.12.6. Статическое получение атрибутов](https://python-all.ru/3.5/library/inspect.html#fetching-attributes-statically)3226      - [29.12.7. Текущее состояние генераторов и корутин](https://python-all.ru/3.5/library/inspect.html#current-state-of-generators-and-coroutines)3227      - [29.12.8. Битовые флаги объектов кода](https://python-all.ru/3.5/library/inspect.html#code-objects-bit-flags)3228      - [29.12.9. Интерфейс командной строки](https://python-all.ru/3.5/library/inspect.html#command-line-interface)3229    - [29.13. `site` – Хук конфигурации для конкретного сайта](https://python-all.ru/3.5/library/site.html)32303231      - [29.13.1. Конфигурация Readline](https://python-all.ru/3.5/library/site.html#readline-configuration)3232      - [29.13.2. Содержимое модуля](https://python-all.ru/3.5/library/site.html#module-contents)3233    - [29.14. `fpectl` – Управление исключениями с плавающей точкой](https://python-all.ru/3.5/library/fpectl.html)32343235      - [29.14.1. Пример](https://python-all.ru/3.5/library/fpectl.html#example)3236      - [29.14.2. Ограничения и прочие замечания](https://python-all.ru/3.5/library/fpectl.html#limitations-and-other-considerations)3237  - [30. Пользовательские интерпретаторы Python](https://python-all.ru/3.5/library/custominterp.html)32383239    - [30.1. `code` – Базовые классы интерпретатора](https://python-all.ru/3.5/library/code.html)32403241      - [30.1.1. Объекты интерактивного интерпретатора](https://python-all.ru/3.5/library/code.html#interactive-interpreter-objects)3242      - [30.1.2. Объекты интерактивной консоли](https://python-all.ru/3.5/library/code.html#interactive-console-objects)3243    - [30.2. `codeop` – Компиляция кода Python](https://python-all.ru/3.5/library/codeop.html)3244  - [31. Импорт модулей](https://python-all.ru/3.5/library/modules.html)32453246    - [31.1. `zipimport` – Импорт модулей из Zip-архивов](https://python-all.ru/3.5/library/zipimport.html)32473248      - [31.1.1. Объекты zipimporter](https://python-all.ru/3.5/library/zipimport.html#zipimporter-objects)3249      - [31.1.2. Примеры](https://python-all.ru/3.5/library/zipimport.html#examples)3250    - [31.2. `pkgutil` – Утилита расширения пакетов](https://python-all.ru/3.5/library/pkgutil.html)3251    - [31.3. `modulefinder` – Поиск модулей, используемых скриптом](https://python-all.ru/3.5/library/modulefinder.html)32523253      - [31.3.1. Пример использования `ModuleFinder`](https://python-all.ru/3.5/library/modulefinder.html#example-usage-of-modulefinder)3254    - [31.4. `runpy` – Поиск и выполнение модулей Python](https://python-all.ru/3.5/library/runpy.html)3255    - [31.5. `importlib` – Реализация `import`](https://python-all.ru/3.5/library/importlib.html)32563257      - [31.5.1. Введение](https://python-all.ru/3.5/library/importlib.html#introduction)3258      - [31.5.2. Функции](https://python-all.ru/3.5/library/importlib.html#functions)3259      - [31.5.3. `importlib.abc` – Абстрактные базовые классы, связанные с импортом](https://python-all.ru/3.5/library/importlib.html#module-importlib.abc)3260      - [31.5.4. `importlib.machinery` – Импортёры и перехватчики путей](https://python-all.ru/3.5/library/importlib.html#module-importlib.machinery)3261      - [31.5.5. `importlib.util` – Вспомогательный код для импортёров](https://python-all.ru/3.5/library/importlib.html#module-importlib.util)3262  - [32. Службы языка Python](https://python-all.ru/3.5/library/language.html)32633264    - [32.1. `parser` – Доступ к деревьям разбора Python](https://python-all.ru/3.5/library/parser.html)32653266      - [32.1.1. Создание объектов ST](https://python-all.ru/3.5/library/parser.html#creating-st-objects)3267      - [32.1.2. Преобразование объектов ST](https://python-all.ru/3.5/library/parser.html#converting-st-objects)3268      - [32.1.3. Запросы к объектам ST](https://python-all.ru/3.5/library/parser.html#queries-on-st-objects)3269      - [32.1.4. Исключения и обработка ошибок](https://python-all.ru/3.5/library/parser.html#exceptions-and-error-handling)3270      - [32.1.5. Объекты ST](https://python-all.ru/3.5/library/parser.html#st-objects)3271      - [32.1.6. Пример: эмуляция `compile()`](https://python-all.ru/3.5/library/parser.html#example-emulation-of-compile)3272    - [32.2. `ast` – Абстрактные синтаксические деревья](https://python-all.ru/3.5/library/ast.html)32733274      - [32.2.1. Классы узлов](https://python-all.ru/3.5/library/ast.html#node-classes)3275      - [32.2.2. Абстрактная грамматика](https://python-all.ru/3.5/library/ast.html#abstract-grammar)3276      - [32.2.3. Вспомогательные функции `ast`](https://python-all.ru/3.5/library/ast.html#ast-helpers)3277    - [32.3. `symtable` – Доступ к таблицам символов компилятора](https://python-all.ru/3.5/library/symtable.html)32783279      - [32.3.1. Генерация таблиц символов](https://python-all.ru/3.5/library/symtable.html#generating-symbol-tables)3280      - [32.3.2. Анализ таблиц символов](https://python-all.ru/3.5/library/symtable.html#examining-symbol-tables)3281    - [32.4. `symbol` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.5/library/symbol.html)3282    - [32.5. `token` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.5/library/token.html)3283    - [32.6. `keyword` – Проверка ключевых слов Python](https://python-all.ru/3.5/library/keyword.html)3284    - [32.7. `tokenize` – Токенизатор исходного кода Python](https://python-all.ru/3.5/library/tokenize.html)32853286      - [32.7.1. Токенизация ввода](https://python-all.ru/3.5/library/tokenize.html#tokenizing-input)3287      - [32.7.2. Использование из командной строки](https://python-all.ru/3.5/library/tokenize.html#command-line-usage)3288      - [32.7.3. Примеры](https://python-all.ru/3.5/library/tokenize.html#examples)3289    - [32.8. `tabnanny` – Обнаружение неоднозначных отступов](https://python-all.ru/3.5/library/tabnanny.html)3290    - [32.9. `pyclbr` – Поддержка браузера классов Python](https://python-all.ru/3.5/library/pyclbr.html)32913292      - [32.9.1. Объекты классов](https://python-all.ru/3.5/library/pyclbr.html#class-objects)3293      - [32.9.2. Объекты функций](https://python-all.ru/3.5/library/pyclbr.html#function-objects)3294    - [32.10. `py_compile` – Компиляция исходных файлов Python](https://python-all.ru/3.5/library/py_compile.html)3295    - [32.11. `compileall` – Байт-компиляция библиотек Python](https://python-all.ru/3.5/library/compileall.html)32963297      - [32.11.1. Использование командной строки](https://python-all.ru/3.5/library/compileall.html#command-line-use)3298      - [32.11.2. Публичные функции](https://python-all.ru/3.5/library/compileall.html#public-functions)3299    - [32.12. `dis` – Дизассемблер байт-кода Python](https://python-all.ru/3.5/library/dis.html)33003301      - [32.12.1. Анализ байт-кода](https://python-all.ru/3.5/library/dis.html#bytecode-analysis)3302      - [32.12.2. Функции анализа](https://python-all.ru/3.5/library/dis.html#analysis-functions)3303      - [32.12.3. Инструкции байт-кода Python](https://python-all.ru/3.5/library/dis.html#python-bytecode-instructions)3304      - [32.12.4. Коллекции опкодов](https://python-all.ru/3.5/library/dis.html#opcode-collections)3305    - [32.13. `pickletools` – Инструменты для разработчиков pickle](https://python-all.ru/3.5/library/pickletools.html)33063307      - [32.13.1. Использование командной строки](https://python-all.ru/3.5/library/pickletools.html#command-line-usage)33083309        - [32.13.1.1. Параметры командной строки](https://python-all.ru/3.5/library/pickletools.html#command-line-options)3310      - [32.13.2. Программный интерфейс](https://python-all.ru/3.5/library/pickletools.html#programmatic-interface)3311  - [33. Прочие службы](https://python-all.ru/3.5/library/misc.html)33123313    - [33.1. `formatter` – Общее форматирование вывода](https://python-all.ru/3.5/library/formatter.html)33143315      - [33.1.1. Интерфейс форматировщика](https://python-all.ru/3.5/library/formatter.html#the-formatter-interface)3316      - [33.1.2. Реализации форматировщиков](https://python-all.ru/3.5/library/formatter.html#formatter-implementations)3317      - [33.1.3. Интерфейс записи](https://python-all.ru/3.5/library/formatter.html#the-writer-interface)3318      - [33.1.4. Реализации записывающих объектов](https://python-all.ru/3.5/library/formatter.html#writer-implementations)3319  - [34. Службы для MS Windows](https://python-all.ru/3.5/library/windows.html)33203321    - [34.1. `msilib` – Чтение и запись файлов установщика Microsoft](https://python-all.ru/3.5/library/msilib.html)33223323      - [34.1.1. Объекты базы данных](https://python-all.ru/3.5/library/msilib.html#database-objects)3324      - [34.1.2. Объекты представлений](https://python-all.ru/3.5/library/msilib.html#view-objects)3325      - [34.1.3. Объекты сводной информации](https://python-all.ru/3.5/library/msilib.html#summary-information-objects)3326      - [34.1.4. Объекты записей](https://python-all.ru/3.5/library/msilib.html#record-objects)3327      - [34.1.5. Ошибки](https://python-all.ru/3.5/library/msilib.html#errors)3328      - [34.1.6. Объекты CAB](https://python-all.ru/3.5/library/msilib.html#cab-objects)3329      - [34.1.7. Объекты каталогов](https://python-all.ru/3.5/library/msilib.html#directory-objects)3330      - [34.1.8. Возможности](https://python-all.ru/3.5/library/msilib.html#features)3331      - [34.1.9. Классы GUI](https://python-all.ru/3.5/library/msilib.html#gui-classes)3332      - [34.1.10. Предварительно вычисленные таблицы](https://python-all.ru/3.5/library/msilib.html#precomputed-tables)3333    - [34.2. `msvcrt` – Полезные процедуры из среды выполнения MS VC++](https://python-all.ru/3.5/library/msvcrt.html)33343335      - [34.2.1. Операции с файлами](https://python-all.ru/3.5/library/msvcrt.html#file-operations)3336      - [34.2.2. Консольный ввод/вывод](https://python-all.ru/3.5/library/msvcrt.html#console-i-o)3337      - [34.2.3. Прочие функции](https://python-all.ru/3.5/library/msvcrt.html#other-functions)3338    - [34.3. `winreg` – Доступ к реестру Windows](https://python-all.ru/3.5/library/winreg.html)33393340      - [34.3.1. Функции](https://python-all.ru/3.5/library/winreg.html#functions)3341      - [34.3.2. Константы](https://python-all.ru/3.5/library/winreg.html#constants)33423343        - [34.3.2.1. Константы HKEY\_\*](https://python-all.ru/3.5/library/winreg.html#hkey-constants)3344        - [34.3.2.2. Права доступа](https://python-all.ru/3.5/library/winreg.html#access-rights)33453346          - [34.3.2.2.1. Особенности для 64-разрядных систем](https://python-all.ru/3.5/library/winreg.html#bit-specific)3347        - [34.3.2.3. Типы значений](https://python-all.ru/3.5/library/winreg.html#value-types)3348      - [34.3.3. Объекты дескрипторов реестра](https://python-all.ru/3.5/library/winreg.html#registry-handle-objects)3349    - [34.4. `winsound` – Интерфейс воспроизведения звука для Windows](https://python-all.ru/3.5/library/winsound.html)3350  - [35. Специфичные для Unix службы](https://python-all.ru/3.5/library/unix.html)33513352    - [35.1. `posix` – Наиболее распространённые системные вызовы POSIX](https://python-all.ru/3.5/library/posix.html)33533354      - [35.1.1. Поддержка больших файлов](https://python-all.ru/3.5/library/posix.html#large-file-support)3355      - [35.1.2. Примечательные возможности модуля](https://python-all.ru/3.5/library/posix.html#notable-module-contents)3356    - [35.2. `pwd` – База данных паролей](https://python-all.ru/3.5/library/pwd.html)3357    - [35.3. `spwd` – База данных теневых паролей](https://python-all.ru/3.5/library/spwd.html)3358    - [35.4. `grp` – База данных групп](https://python-all.ru/3.5/library/grp.html)3359    - [35.5. `crypt` – Функция проверки паролей Unix](https://python-all.ru/3.5/library/crypt.html)33603361      - [35.5.1. Методы хеширования](https://python-all.ru/3.5/library/crypt.html#hashing-methods)3362      - [35.5.2. Атрибуты модуля](https://python-all.ru/3.5/library/crypt.html#module-attributes)3363      - [35.5.3. Функции модуля](https://python-all.ru/3.5/library/crypt.html#module-functions)3364      - [35.5.4. Примеры](https://python-all.ru/3.5/library/crypt.html#examples)3365    - [35.6. `termios` – Управление терминалом в стиле POSIX](https://python-all.ru/3.5/library/termios.html)33663367      - [35.6.1. Пример](https://python-all.ru/3.5/library/termios.html#example)3368    - [35.7. `tty` – Функции управления терминалом](https://python-all.ru/3.5/library/tty.html)3369    - [35.8. `pty` – Утилиты псевдотерминалов](https://python-all.ru/3.5/library/pty.html)33703371      - [35.8.1. Пример](https://python-all.ru/3.5/library/pty.html#example)3372    - [35.9. `fcntl` – Системные вызовы `fcntl` и `ioctl`](https://python-all.ru/3.5/library/fcntl.html)3373    - [35.10. `pipes` – Интерфейс к конвейерам оболочки](https://python-all.ru/3.5/library/pipes.html)33743375      - [35.10.1. Шаблонные объекты](https://python-all.ru/3.5/library/pipes.html#template-objects)3376    - [35.11. `resource` – Информация об использовании ресурсов](https://python-all.ru/3.5/library/resource.html)33773378      - [35.11.1. Ограничения ресурсов](https://python-all.ru/3.5/library/resource.html#resource-limits)3379      - [35.11.2. Использование ресурсов](https://python-all.ru/3.5/library/resource.html#resource-usage)3380    - [35.12. `nis` – Интерфейс к NIS (Yellow Pages) от Sun](https://python-all.ru/3.5/library/nis.html)3381    - [35.13. `syslog` – Библиотечные функции syslog в Unix](https://python-all.ru/3.5/library/syslog.html)33823383      - [35.13.1. Примеры](https://python-all.ru/3.5/library/syslog.html#examples)33843385        - [35.13.1.1. Простой пример](https://python-all.ru/3.5/library/syslog.html#simple-example)3386  - [36. Замещённые модули](https://python-all.ru/3.5/library/superseded.html)33873388    - [36.1. `optparse` – Парсер аргументов командной строки](https://python-all.ru/3.5/library/optparse.html)33893390      - [36.1.1. Предыстория](https://python-all.ru/3.5/library/optparse.html#background)33913392        - [36.1.1.1. Терминология](https://python-all.ru/3.5/library/optparse.html#terminology)3393        - [36.1.1.2. Для чего нужны опции?](https://python-all.ru/3.5/library/optparse.html#what-are-options-for)3394        - [36.1.1.3. Для чего нужны позиционные аргументы?](https://python-all.ru/3.5/library/optparse.html#what-are-positional-arguments-for)3395      - [36.1.2. Учебное пособие](https://python-all.ru/3.5/library/optparse.html#tutorial)33963397        - [36.1.2.1. Понимание действий опций](https://python-all.ru/3.5/library/optparse.html#understanding-option-actions)3398        - [36.1.2.2. Действие store](https://python-all.ru/3.5/library/optparse.html#the-store-action)3399        - [36.1.2.3. Обработка булевых (флаговых) опций](https://python-all.ru/3.5/library/optparse.html#handling-boolean-flag-options)3400        - [36.1.2.4. Другие действия](https://python-all.ru/3.5/library/optparse.html#other-actions)3401        - [36.1.2.5. Значения по умолчанию](https://python-all.ru/3.5/library/optparse.html#default-values)3402        - [36.1.2.6. Генерация справки](https://python-all.ru/3.5/library/optparse.html#generating-help)34033404          - [36.1.2.6.1. Группировка опций](https://python-all.ru/3.5/library/optparse.html#grouping-options)3405        - [36.1.2.7. Вывод строки версии](https://python-all.ru/3.5/library/optparse.html#printing-a-version-string)3406        - [36.1.2.8. Как `optparse` обрабатывает ошибки](https://python-all.ru/3.5/library/optparse.html#how-optparse-handles-errors)3407        - [36.1.2.9. Собираем всё вместе](https://python-all.ru/3.5/library/optparse.html#putting-it-all-together)3408      - [36.1.3. Справочное руководство](https://python-all.ru/3.5/library/optparse.html#reference-guide)34093410        - [36.1.3.1. Создание парсера](https://python-all.ru/3.5/library/optparse.html#creating-the-parser)3411        - [36.1.3.2. Наполнение парсера](https://python-all.ru/3.5/library/optparse.html#populating-the-parser)3412        - [36.1.3.3. Определение опций](https://python-all.ru/3.5/library/optparse.html#defining-options)3413        - [36.1.3.4. Атрибуты опций](https://python-all.ru/3.5/library/optparse.html#option-attributes)3414        - [36.1.3.5. Стандартные действия опций](https://python-all.ru/3.5/library/optparse.html#standard-option-actions)3415        - [36.1.3.6. Стандартные типы опций](https://python-all.ru/3.5/library/optparse.html#standard-option-types)3416        - [36.1.3.7. Разбор аргументов](https://python-all.ru/3.5/library/optparse.html#parsing-arguments)3417        - [36.1.3.8. Запросы и управление парсером опций](https://python-all.ru/3.5/library/optparse.html#querying-and-manipulating-your-option-parser)3418        - [36.1.3.9. Конфликты между опциями](https://python-all.ru/3.5/library/optparse.html#conflicts-between-options)3419        - [36.1.3.10. Очистка](https://python-all.ru/3.5/library/optparse.html#cleanup)3420        - [36.1.3.11. Другие методы](https://python-all.ru/3.5/library/optparse.html#other-methods)3421      - [36.1.4. Колбэки опций](https://python-all.ru/3.5/library/optparse.html#option-callbacks)34223423        - [36.1.4.1. Определение опции с колбэком](https://python-all.ru/3.5/library/optparse.html#defining-a-callback-option)3424        - [36.1.4.2. Как вызываются колбэки](https://python-all.ru/3.5/library/optparse.html#how-callbacks-are-called)3425        - [36.1.4.3. Возбуждение ошибок в колбэке](https://python-all.ru/3.5/library/optparse.html#raising-errors-in-a-callback)3426        - [36.1.4.4. Пример колбэка 1: тривиальный колбэк](https://python-all.ru/3.5/library/optparse.html#callback-example-1-trivial-callback)3427        - [36.1.4.5. Пример колбэка 2: проверка порядка опций](https://python-all.ru/3.5/library/optparse.html#callback-example-2-check-option-order)3428        - [36.1.4.6. Пример колбэка 3: проверка порядка опций (обобщённая)](https://python-all.ru/3.5/library/optparse.html#callback-example-3-check-option-order-generalized)3429        - [36.1.4.7. Пример колбэка 4: проверка произвольного условия](https://python-all.ru/3.5/library/optparse.html#callback-example-4-check-arbitrary-condition)3430        - [36.1.4.8. Пример колбэка 5: фиксированные аргументы](https://python-all.ru/3.5/library/optparse.html#callback-example-5-fixed-arguments)3431        - [36.1.4.9. Пример колбэка 6: переменное число аргументов](https://python-all.ru/3.5/library/optparse.html#callback-example-6-variable-arguments)3432      - [36.1.5. Расширение `optparse`](https://python-all.ru/3.5/library/optparse.html#extending-optparse)34333434        - [36.1.5.1. Добавление новых типов](https://python-all.ru/3.5/library/optparse.html#adding-new-types)3435        - [36.1.5.2. Добавление новых действий](https://python-all.ru/3.5/library/optparse.html#adding-new-actions)3436    - [36.2. `imp` – Доступ к внутренним механизмам `import`](https://python-all.ru/3.5/library/imp.html)34373438      - [36.2.1. Примеры](https://python-all.ru/3.5/library/imp.html#examples)3439  - [37. Незадокументированные модули](https://python-all.ru/3.5/library/undoc.html)34403441    - [37.1. Платформозависимые модули](https://python-all.ru/3.5/library/undoc.html#platform-specific-modules)3442- [Расширение и встраивание интерпретатора Python](https://python-all.ru/3.5/extending/index.html)34433444  - [Рекомендуемые сторонние инструменты](https://python-all.ru/3.5/extending/index.html#recommended-third-party-tools)3445  - [Создание расширений без сторонних инструментов](https://python-all.ru/3.5/extending/index.html#creating-extensions-without-third-party-tools)34463447    - [1. Расширение Python с помощью C или C++](https://python-all.ru/3.5/extending/extending.html)34483449      - [1.1. Простой пример](https://python-all.ru/3.5/extending/extending.html#a-simple-example)3450      - [1.2. Интермеццо: ошибки и исключения](https://python-all.ru/3.5/extending/extending.html#intermezzo-errors-and-exceptions)3451      - [1.3. Возвращение к примеру](https://python-all.ru/3.5/extending/extending.html#back-to-the-example)3452      - [1.4. Таблица методов модуля и функция инициализации](https://python-all.ru/3.5/extending/extending.html#the-module-s-method-table-and-initialization-function)3453      - [1.5. Компиляция и компоновка](https://python-all.ru/3.5/extending/extending.html#compilation-and-linkage)3454      - [1.6. Вызов функций Python из C](https://python-all.ru/3.5/extending/extending.html#calling-python-functions-from-c)3455      - [1.7. Извлечение параметров в функциях расширения](https://python-all.ru/3.5/extending/extending.html#extracting-parameters-in-extension-functions)3456      - [1.8. Именованные параметры для функций расширения](https://python-all.ru/3.5/extending/extending.html#keyword-parameters-for-extension-functions)3457      - [1.9. Построение произвольных значений](https://python-all.ru/3.5/extending/extending.html#building-arbitrary-values)3458      - [1.10. Счетчики ссылок](https://python-all.ru/3.5/extending/extending.html#reference-counts)34593460        - [1.10.1. Подсчёт ссылок в Python](https://python-all.ru/3.5/extending/extending.html#reference-counting-in-python)3461        - [1.10.2. Правила владения](https://python-all.ru/3.5/extending/extending.html#ownership-rules)3462        - [1.10.3. Тонкий лёд](https://python-all.ru/3.5/extending/extending.html#thin-ice)3463        - [1.10.4. Указатели NULL](https://python-all.ru/3.5/extending/extending.html#null-pointers)3464      - [1.11. Написание расширений на C++](https://python-all.ru/3.5/extending/extending.html#writing-extensions-in-c)3465      - [1.12. Предоставление C API для модуля расширения](https://python-all.ru/3.5/extending/extending.html#providing-a-c-api-for-an-extension-module)3466    - [2. Определение новых типов](https://python-all.ru/3.5/extending/newtypes.html)34673468      - [2.1. Основы](https://python-all.ru/3.5/extending/newtypes.html#the-basics)34693470        - [2.1.1. Добавление данных и методов в базовый пример](https://python-all.ru/3.5/extending/newtypes.html#adding-data-and-methods-to-the-basic-example)3471        - [2.1.2. Обеспечение более точного контроля над атрибутами данных](https://python-all.ru/3.5/extending/newtypes.html#providing-finer-control-over-data-attributes)3472        - [2.1.3. Поддержка циклической сборки мусора](https://python-all.ru/3.5/extending/newtypes.html#supporting-cyclic-garbage-collection)3473        - [2.1.4. Наследование от других типов](https://python-all.ru/3.5/extending/newtypes.html#subclassing-other-types)3474      - [2.2. Методы типа](https://python-all.ru/3.5/extending/newtypes.html#type-methods)34753476        - [2.2.1. Завершение и освобождение](https://python-all.ru/3.5/extending/newtypes.html#finalization-and-de-allocation)3477        - [2.2.2. Представление объекта](https://python-all.ru/3.5/extending/newtypes.html#object-presentation)3478        - [2.2.3. Управление атрибутами](https://python-all.ru/3.5/extending/newtypes.html#attribute-management)34793480          - [2.2.3.1. Общее управление атрибутами](https://python-all.ru/3.5/extending/newtypes.html#generic-attribute-management)3481          - [2.2.3.2. Специфическое для типа управление атрибутами](https://python-all.ru/3.5/extending/newtypes.html#type-specific-attribute-management)3482        - [2.2.4. Сравнение объектов](https://python-all.ru/3.5/extending/newtypes.html#object-comparison)3483        - [2.2.5. Поддержка абстрактных протоколов](https://python-all.ru/3.5/extending/newtypes.html#abstract-protocol-support)3484        - [2.2.6. Поддержка слабых ссылок](https://python-all.ru/3.5/extending/newtypes.html#weak-reference-support)3485        - [2.2.7. Дополнительные предложения](https://python-all.ru/3.5/extending/newtypes.html#more-suggestions)3486    - [3. Построение расширений на C и C++](https://python-all.ru/3.5/extending/building.html)34873488      - [3.1. Построение расширений на C и C++ с помощью distutils](https://python-all.ru/3.5/extending/building.html#building-c-and-c-extensions-with-distutils)3489      - [3.2. Распространение модулей-расширений](https://python-all.ru/3.5/extending/building.html#distributing-your-extension-modules)3490    - [4. Построение расширений на C и C++ в Windows](https://python-all.ru/3.5/extending/windows.html)34913492      - [4.1. Рецептурный подход](https://python-all.ru/3.5/extending/windows.html#a-cookbook-approach)3493      - [4.2. Различия между Unix и Windows](https://python-all.ru/3.5/extending/windows.html#differences-between-unix-and-windows)3494      - [4.3. Использование DLL на практике](https://python-all.ru/3.5/extending/windows.html#using-dlls-in-practice)3495  - [Встраивание среды выполнения CPython в более крупное приложение](https://python-all.ru/3.5/extending/index.html#embedding-the-cpython-runtime-in-a-larger-application)34963497    - [1. Встраивание Python в другое приложение](https://python-all.ru/3.5/extending/embedding.html)34983499      - [1.1. Встраивание на очень высоком уровне](https://python-all.ru/3.5/extending/embedding.html#very-high-level-embedding)3500      - [1.2. За пределами встраивания на очень высоком уровне: обзор](https://python-all.ru/3.5/extending/embedding.html#beyond-very-high-level-embedding-an-overview)3501      - [1.3. Чистое встраивание](https://python-all.ru/3.5/extending/embedding.html#pure-embedding)3502      - [1.4. Расширение встроенного Python](https://python-all.ru/3.5/extending/embedding.html#extending-embedded-python)3503      - [1.5. Встраивание Python в C++](https://python-all.ru/3.5/extending/embedding.html#embedding-python-in-c)3504      - [1.6. Компиляция и компоновка в Unix-подобных системах](https://python-all.ru/3.5/extending/embedding.html#compiling-and-linking-under-unix-like-systems)3505- [Справочное руководство по Python/C API](https://python-all.ru/3.5/c-api/index.html)35063507  - [Введение](https://python-all.ru/3.5/c-api/intro.html)35083509    - [Заголовочные файлы](https://python-all.ru/3.5/c-api/intro.html#include-files)3510    - [Объекты, типы и счетчики ссылок](https://python-all.ru/3.5/c-api/intro.html#objects-types-and-reference-counts)35113512      - [Счётчики ссылок](https://python-all.ru/3.5/c-api/intro.html#reference-counts)35133514        - [Подробности подсчёта ссылок](https://python-all.ru/3.5/c-api/intro.html#reference-count-details)3515      - [Типы](https://python-all.ru/3.5/c-api/intro.html#types)3516    - [Исключения](https://python-all.ru/3.5/c-api/intro.html#exceptions)3517    - [Встраивание Python](https://python-all.ru/3.5/c-api/intro.html#embedding-python)3518    - [Отладочные сборки](https://python-all.ru/3.5/c-api/intro.html#debugging-builds)3519  - [Стабильный ABI](https://python-all.ru/3.5/c-api/stable.html)3520  - [Очень высокоуровневый слой](https://python-all.ru/3.5/c-api/veryhigh.html)3521  - [Подсчёт ссылок](https://python-all.ru/3.5/c-api/refcounting.html)3522  - [Обработка исключений](https://python-all.ru/3.5/c-api/exceptions.html)35233524    - [Вывод и очистка](https://python-all.ru/3.5/c-api/exceptions.html#printing-and-clearing)3525    - [Возбуждение исключений](https://python-all.ru/3.5/c-api/exceptions.html#raising-exceptions)3526    - [Выдача предупреждений](https://python-all.ru/3.5/c-api/exceptions.html#issuing-warnings)3527    - [Запрос индикатора ошибки](https://python-all.ru/3.5/c-api/exceptions.html#querying-the-error-indicator)3528    - [Обработка сигналов](https://python-all.ru/3.5/c-api/exceptions.html#signal-handling)3529    - [Классы исключений](https://python-all.ru/3.5/c-api/exceptions.html#exception-classes)3530    - [Объекты исключений](https://python-all.ru/3.5/c-api/exceptions.html#exception-objects)3531    - [Объекты исключений Unicode](https://python-all.ru/3.5/c-api/exceptions.html#unicode-exception-objects)3532    - [Управление рекурсией](https://python-all.ru/3.5/c-api/exceptions.html#recursion-control)3533    - [Стандартные исключения](https://python-all.ru/3.5/c-api/exceptions.html#standard-exceptions)3534    - [Стандартные категории предупреждений](https://python-all.ru/3.5/c-api/exceptions.html#standard-warning-categories)3535  - [Утилиты](https://python-all.ru/3.5/c-api/utilities.html)35363537    - [Утилиты операционной системы](https://python-all.ru/3.5/c-api/sys.html)3538    - [Системные функции](https://python-all.ru/3.5/c-api/sys.html#system-functions)3539    - [Управление процессами](https://python-all.ru/3.5/c-api/sys.html#process-control)3540    - [Импорт модулей](https://python-all.ru/3.5/c-api/import.html)3541    - [Поддержка маршалинга данных](https://python-all.ru/3.5/c-api/marshal.html)3542    - [Разбор аргументов и сборка значений](https://python-all.ru/3.5/c-api/arg.html)35433544      - [Разбор аргументов](https://python-all.ru/3.5/c-api/arg.html#parsing-arguments)35453546        - [Строки и буферы](https://python-all.ru/3.5/c-api/arg.html#strings-and-buffers)3547        - [Числа](https://python-all.ru/3.5/c-api/arg.html#numbers)3548        - [Другие объекты](https://python-all.ru/3.5/c-api/arg.html#other-objects)3549        - [Функции API](https://python-all.ru/3.5/c-api/arg.html#api-functions)3550      - [Сборка значений](https://python-all.ru/3.5/c-api/arg.html#building-values)3551    - [Преобразование и форматирование строк](https://python-all.ru/3.5/c-api/conversion.html)3552    - [Рефлексия](https://python-all.ru/3.5/c-api/reflection.html)3553    - [Реестр кодировок и вспомогательные функции](https://python-all.ru/3.5/c-api/codec.html)35543555      - [API поиска кодировок](https://python-all.ru/3.5/c-api/codec.html#codec-lookup-api)3556      - [API реестра обработчиков ошибок кодирования Unicode](https://python-all.ru/3.5/c-api/codec.html#registry-api-for-unicode-encoding-error-handlers)3557  - [Слой абстрактных объектов](https://python-all.ru/3.5/c-api/abstract.html)35583559    - [Протокол объекта](https://python-all.ru/3.5/c-api/object.html)3560    - [Протокол чисел](https://python-all.ru/3.5/c-api/number.html)3561    - [Протокол последовательностей](https://python-all.ru/3.5/c-api/sequence.html)3562    - [Протокол отображений](https://python-all.ru/3.5/c-api/mapping.html)3563    - [Протокол итератора](https://python-all.ru/3.5/c-api/iter.html)3564    - [Протокол буфера](https://python-all.ru/3.5/c-api/buffer.html)35653566      - [Структура буфера](https://python-all.ru/3.5/c-api/buffer.html#buffer-structure)3567      - [Типы запросов буфера](https://python-all.ru/3.5/c-api/buffer.html#buffer-request-types)35683569        - [поля, не зависящие от запроса](https://python-all.ru/3.5/c-api/buffer.html#request-independent-fields)3570        - [только для чтения, формат](https://python-all.ru/3.5/c-api/buffer.html#readonly-format)3571        - [форма, шаги, подсмещения](https://python-all.ru/3.5/c-api/buffer.html#shape-strides-suboffsets)3572        - [запросы непрерывности](https://python-all.ru/3.5/c-api/buffer.html#contiguity-requests)3573        - [составные запросы](https://python-all.ru/3.5/c-api/buffer.html#compound-requests)3574      - [Комплексные массивы](https://python-all.ru/3.5/c-api/buffer.html#complex-arrays)35753576        - [В стиле NumPy: форма и шаги](https://python-all.ru/3.5/c-api/buffer.html#numpy-style-shape-and-strides)3577        - [В стиле PIL: форма, шаги и под-смещения](https://python-all.ru/3.5/c-api/buffer.html#pil-style-shape-strides-and-suboffsets)3578      - [Функции, связанные с буферами](https://python-all.ru/3.5/c-api/buffer.html#buffer-related-functions)3579    - [Старый буферный протокол](https://python-all.ru/3.5/c-api/objbuffer.html)3580  - [Слой конкретных объектов](https://python-all.ru/3.5/c-api/concrete.html)35813582    - [Базовые объекты](https://python-all.ru/3.5/c-api/concrete.html#fundamental-objects)35833584      - [Объекты типов](https://python-all.ru/3.5/c-api/type.html)3585      - [Объект `None`](https://python-all.ru/3.5/c-api/none.html)3586    - [Числовые объекты](https://python-all.ru/3.5/c-api/concrete.html#numeric-objects)35873588      - [Объекты целых чисел](https://python-all.ru/3.5/c-api/long.html)3589      - [Объекты логических значений](https://python-all.ru/3.5/c-api/bool.html)3590      - [Объекты чисел с плавающей запятой](https://python-all.ru/3.5/c-api/float.html)3591      - [Объекты комплексных чисел](https://python-all.ru/3.5/c-api/complex.html)35923593        - [Комплексные числа как структуры C](https://python-all.ru/3.5/c-api/complex.html#complex-numbers-as-c-structures)3594        - [Комплексные числа как объекты Python](https://python-all.ru/3.5/c-api/complex.html#complex-numbers-as-python-objects)3595    - [Объекты последовательностей](https://python-all.ru/3.5/c-api/concrete.html#sequence-objects)35963597      - [Объекты bytes](https://python-all.ru/3.5/c-api/bytes.html)3598      - [Объекты массива байтов](https://python-all.ru/3.5/c-api/bytearray.html)35993600        - [Макросы проверки типа](https://python-all.ru/3.5/c-api/bytearray.html#type-check-macros)3601        - [Функции прямого API](https://python-all.ru/3.5/c-api/bytearray.html#direct-api-functions)3602        - [Макросы](https://python-all.ru/3.5/c-api/bytearray.html#macros)3603      - [Объекты Unicode и кодеки](https://python-all.ru/3.5/c-api/unicode.html)36043605        - [Объекты Unicode](https://python-all.ru/3.5/c-api/unicode.html#unicode-objects)36063607          - [Тип Юникода](https://python-all.ru/3.5/c-api/unicode.html#unicode-type)3608          - [Свойства символов Юникода](https://python-all.ru/3.5/c-api/unicode.html#unicode-character-properties)3609          - [Создание и доступ к строкам Юникода](https://python-all.ru/3.5/c-api/unicode.html#creating-and-accessing-unicode-strings)3610          - [Устаревшие API Py\_UNICODE](https://python-all.ru/3.5/c-api/unicode.html#deprecated-py-unicode-apis)3611          - [Локальная кодировка](https://python-all.ru/3.5/c-api/unicode.html#locale-encoding)3612          - [Кодировка файловой системы](https://python-all.ru/3.5/c-api/unicode.html#file-system-encoding)3613          - [Поддержка wchar\_t](https://python-all.ru/3.5/c-api/unicode.html#wchar-t-support)3614        - [Встроенные кодеки](https://python-all.ru/3.5/c-api/unicode.html#built-in-codecs)36153616          - [Общие кодеки](https://python-all.ru/3.5/c-api/unicode.html#generic-codecs)3617          - [Кодеки UTF-8](https://python-all.ru/3.5/c-api/unicode.html#utf-8-codecs)3618          - [Кодеки UTF-32](https://python-all.ru/3.5/c-api/unicode.html#utf-32-codecs)3619          - [Кодеки UTF-16](https://python-all.ru/3.5/c-api/unicode.html#utf-16-codecs)3620          - [Кодеки UTF-7](https://python-all.ru/3.5/c-api/unicode.html#utf-7-codecs)3621          - [Кодеки Unicode-Escape](https://python-all.ru/3.5/c-api/unicode.html#unicode-escape-codecs)3622          - [Кодеки Raw-Unicode-Escape](https://python-all.ru/3.5/c-api/unicode.html#raw-unicode-escape-codecs)3623          - [Кодеки Latin-1](https://python-all.ru/3.5/c-api/unicode.html#latin-1-codecs)3624          - [Кодеки ASCII](https://python-all.ru/3.5/c-api/unicode.html#ascii-codecs)3625          - [Кодеки символьной карты](https://python-all.ru/3.5/c-api/unicode.html#character-map-codecs)3626          - [Кодеки MBCS для Windows](https://python-all.ru/3.5/c-api/unicode.html#mbcs-codecs-for-windows)3627          - [Методы и слоты](https://python-all.ru/3.5/c-api/unicode.html#methods-slots)3628        - [Методы и слот-функции](https://python-all.ru/3.5/c-api/unicode.html#methods-and-slot-functions)3629      - [Кортежи](https://python-all.ru/3.5/c-api/tuple.html)3630      - [Объекты структурных последовательностей](https://python-all.ru/3.5/c-api/tuple.html#struct-sequence-objects)3631      - [Списки](https://python-all.ru/3.5/c-api/list.html)3632    - [Объекты контейнеров](https://python-all.ru/3.5/c-api/concrete.html#container-objects)36333634      - [Объекты словарей](https://python-all.ru/3.5/c-api/dict.html)3635      - [Множества](https://python-all.ru/3.5/c-api/set.html)3636    - [Объекты функций](https://python-all.ru/3.5/c-api/concrete.html#function-objects)36373638      - [Объекты функций](https://python-all.ru/3.5/c-api/function.html)3639      - [Объекты методов экземпляра](https://python-all.ru/3.5/c-api/method.html)3640      - [Объекты методов](https://python-all.ru/3.5/c-api/method.html#method-objects)3641      - [Объекты ячеек](https://python-all.ru/3.5/c-api/cell.html)3642      - [Объекты кода](https://python-all.ru/3.5/c-api/code.html)3643    - [Прочие объекты](https://python-all.ru/3.5/c-api/concrete.html#other-objects)36443645      - [Объекты файлов](https://python-all.ru/3.5/c-api/file.html)3646      - [Объекты модулей](https://python-all.ru/3.5/c-api/module.html)36473648        - [Инициализация C-модулей](https://python-all.ru/3.5/c-api/module.html#initializing-c-modules)36493650          - [Однофазная инициализация](https://python-all.ru/3.5/c-api/module.html#single-phase-initialization)3651          - [Многофазная инициализация](https://python-all.ru/3.5/c-api/module.html#multi-phase-initialization)3652          - [Функции низкоуровневого создания модулей](https://python-all.ru/3.5/c-api/module.html#low-level-module-creation-functions)3653          - [Вспомогательные функции](https://python-all.ru/3.5/c-api/module.html#support-functions)3654        - [Поиск модуля](https://python-all.ru/3.5/c-api/module.html#module-lookup)3655      - [Объекты итераторов](https://python-all.ru/3.5/c-api/iterator.html)3656      - [Объекты дескрипторов](https://python-all.ru/3.5/c-api/descriptor.html)3657      - [Объекты срезов](https://python-all.ru/3.5/c-api/slice.html)3658      - [Объект Ellipsis](https://python-all.ru/3.5/c-api/slice.html#ellipsis-object)3659      - [Объекты memoryview](https://python-all.ru/3.5/c-api/memoryview.html)3660      - [Объекты слабых ссылок](https://python-all.ru/3.5/c-api/weakref.html)3661      - [Капсулы](https://python-all.ru/3.5/c-api/capsule.html)3662      - [Объекты-генераторы](https://python-all.ru/3.5/c-api/gen.html)3663      - [Объекты корутин](https://python-all.ru/3.5/c-api/coro.html)3664      - [Объекты datetime](https://python-all.ru/3.5/c-api/datetime.html)3665  - [Инициализация, финализация и потоки](https://python-all.ru/3.5/c-api/init.html)36663667    - [Инициализация и финализация интерпретатора](https://python-all.ru/3.5/c-api/init.html#initializing-and-finalizing-the-interpreter)3668    - [Параметры уровня процесса](https://python-all.ru/3.5/c-api/init.html#process-wide-parameters)3669    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/3.5/c-api/init.html#thread-state-and-the-global-interpreter-lock)36703671      - [Освобождение GIL из кода расширения](https://python-all.ru/3.5/c-api/init.html#releasing-the-gil-from-extension-code)3672      - [Потоки, созданные не в Python](https://python-all.ru/3.5/c-api/init.html#non-python-created-threads)3673      - [Высокоуровневый API](https://python-all.ru/3.5/c-api/init.html#high-level-api)3674      - [Низкоуровневый API](https://python-all.ru/3.5/c-api/init.html#low-level-api)3675    - [Поддержка под-интерпретаторов](https://python-all.ru/3.5/c-api/init.html#sub-interpreter-support)36763677      - [Ошибки и предостережения](https://python-all.ru/3.5/c-api/init.html#bugs-and-caveats)3678    - [Асинхронные уведомления](https://python-all.ru/3.5/c-api/init.html#asynchronous-notifications)3679    - [Профилирование и трассировка](https://python-all.ru/3.5/c-api/init.html#profiling-and-tracing)3680    - [Расширенная поддержка отладчика](https://python-all.ru/3.5/c-api/init.html#advanced-debugger-support)3681  - [Управление памятью](https://python-all.ru/3.5/c-api/memory.html)36823683    - [Обзор](https://python-all.ru/3.5/c-api/memory.html#overview)3684    - [Интерфейс низкоуровневой памяти](https://python-all.ru/3.5/c-api/memory.html#raw-memory-interface)3685    - [Интерфейс памяти](https://python-all.ru/3.5/c-api/memory.html#memory-interface)3686    - [Настройка аллокаторов памяти](https://python-all.ru/3.5/c-api/memory.html#customize-memory-allocators)3687    - [Настройка распределителя арены PyObject](https://python-all.ru/3.5/c-api/memory.html#customize-pyobject-arena-allocator)3688    - [Примеры](https://python-all.ru/3.5/c-api/memory.html#examples)3689  - [Поддержка реализации объектов](https://python-all.ru/3.5/c-api/objimpl.html)36903691    - [Выделение объектов в куче](https://python-all.ru/3.5/c-api/allocation.html)3692    - [Общие структуры объектов](https://python-all.ru/3.5/c-api/structures.html)3693    - [Объекты типов](https://python-all.ru/3.5/c-api/typeobj.html)3694    - [Структуры числовых объектов](https://python-all.ru/3.5/c-api/typeobj.html#number-object-structures)3695    - [Структуры объектов отображений](https://python-all.ru/3.5/c-api/typeobj.html#mapping-object-structures)3696    - [Структуры объектов последовательностей](https://python-all.ru/3.5/c-api/typeobj.html#sequence-object-structures)3697    - [Структуры буферных объектов](https://python-all.ru/3.5/c-api/typeobj.html#buffer-object-structures)3698    - [Структуры асинхронных объектов](https://python-all.ru/3.5/c-api/typeobj.html#async-object-structures)3699    - [Поддержка циклической сборки мусора](https://python-all.ru/3.5/c-api/gcsupport.html)3700  - [Версионирование API и ABI](https://python-all.ru/3.5/c-api/apiabiversion.html)3701- [Распространение модулей Python](https://python-all.ru/3.5/distributing/index.html)37023703  - [Ключевые термины](https://python-all.ru/3.5/distributing/index.html#key-terms)3704  - [Открытое лицензирование и совместная работа](https://python-all.ru/3.5/distributing/index.html#open-source-licensing-and-collaboration)3705  - [Установка инструментов](https://python-all.ru/3.5/distributing/index.html#installing-the-tools)3706  - [Чтение руководства](https://python-all.ru/3.5/distributing/index.html#reading-the-guide)3707  - [Как мне…?](https://python-all.ru/3.5/distributing/index.html#how-do-i)37083709    - [… выбрать имя для проекта?](https://python-all.ru/3.5/distributing/index.html#choose-a-name-for-my-project)3710    - [… создавать и распространять бинарные расширения?](https://python-all.ru/3.5/distributing/index.html#create-and-distribute-binary-extensions)3711- [Установка модулей Python](https://python-all.ru/3.5/installing/index.html)37123713  - [Ключевые термины](https://python-all.ru/3.5/installing/index.html#key-terms)3714  - [Основы использования](https://python-all.ru/3.5/installing/index.html#basic-usage)3715  - [Как мне …?](https://python-all.ru/3.5/installing/index.html#how-do-i)37163717    - [… установить `pip` в версиях Python до Python 3.4?](https://python-all.ru/3.5/installing/index.html#install-pip-in-versions-of-python-prior-to-python-3-4)3718    - [… установить пакеты только для текущего пользователя?](https://python-all.ru/3.5/installing/index.html#install-packages-just-for-the-current-user)3719    - [… установить научные пакеты Python?](https://python-all.ru/3.5/installing/index.html#install-scientific-python-packages)3720    - [… работать с несколькими версиями Python, установленными параллельно?](https://python-all.ru/3.5/installing/index.html#work-with-multiple-versions-of-python-installed-in-parallel)3721  - [Распространённые проблемы установки](https://python-all.ru/3.5/installing/index.html#common-installation-issues)37223723    - [Установка в системный Python на Linux](https://python-all.ru/3.5/installing/index.html#installing-into-the-system-python-on-linux)3724    - [Установка бинарных расширений](https://python-all.ru/3.5/installing/index.html#installing-binary-extensions)3725- [Руководства Python HOWTO](https://python-all.ru/3.5/howto/index.html)37263727  - [Перенос кода с Python 2 на Python 3](https://python-all.ru/3.5/howto/pyporting.html)37283729    - [Краткое объяснение](https://python-all.ru/3.5/howto/pyporting.html#the-short-explanation)3730    - [Подробности](https://python-all.ru/3.5/howto/pyporting.html#details)37313732      - [Прекратить поддержку Python 2.6 и более старых версий](https://python-all.ru/3.5/howto/pyporting.html#drop-support-for-python-2-6-and-older)3733      - [Убедитесь, что в файле `setup.py` указана правильная поддержка версий](https://python-all.ru/3.5/howto/pyporting.html#make-sure-you-specify-the-proper-version-support-in-your-setup-py-file)3734      - [Обеспечьте хорошее покрытие тестами](https://python-all.ru/3.5/howto/pyporting.html#have-good-test-coverage)3735      - [Изучите различия между Python 2 и 3](https://python-all.ru/3.5/howto/pyporting.html#learn-the-differences-between-python-2-3)3736      - [Обновите свой код](https://python-all.ru/3.5/howto/pyporting.html#update-your-code)37373738        - [Деление](https://python-all.ru/3.5/howto/pyporting.html#division)3739        - [Текст и двоичные данные](https://python-all.ru/3.5/howto/pyporting.html#text-versus-binary-data)3740        - [Используйте определение возможностей вместо определения версии](https://python-all.ru/3.5/howto/pyporting.html#use-feature-detection-instead-of-version-detection)3741      - [Предотвращение регрессий совместимости](https://python-all.ru/3.5/howto/pyporting.html#prevent-compatibility-regressions)3742      - [Проверьте, какие зависимости блокируют переход](https://python-all.ru/3.5/howto/pyporting.html#check-which-dependencies-block-your-transition)3743      - [Обновите файл `setup.py`, чтобы указать совместимость с Python 3](https://python-all.ru/3.5/howto/pyporting.html#update-your-setup-py-file-to-denote-python-3-compatibility)3744      - [Используйте непрерывную интеграцию для поддержания совместимости](https://python-all.ru/3.5/howto/pyporting.html#use-continuous-integration-to-stay-compatible)3745      - [Рассмотрите использование необязательной статической проверки типов](https://python-all.ru/3.5/howto/pyporting.html#consider-using-optional-static-type-checking)3746  - [Перенос модулей расширения на Python 3](https://python-all.ru/3.5/howto/cporting.html)37473748    - [Условная компиляция](https://python-all.ru/3.5/howto/cporting.html#conditional-compilation)3749    - [Изменения в объектных API](https://python-all.ru/3.5/howto/cporting.html#changes-to-object-apis)37503751      - [Объединение str/unicode](https://python-all.ru/3.5/howto/cporting.html#str-unicode-unification)3752      - [Объединение long/int](https://python-all.ru/3.5/howto/cporting.html#long-int-unification)3753    - [Инициализация и состояние модулей](https://python-all.ru/3.5/howto/cporting.html#module-initialization-and-state)3754    - [CObject заменён на Capsule](https://python-all.ru/3.5/howto/cporting.html#cobject-replaced-with-capsule)3755    - [Другие опции](https://python-all.ru/3.5/howto/cporting.html#other-options)3756  - [Программирование с curses на Python](https://python-all.ru/3.5/howto/curses.html)37573758    - [Что такое curses?](https://python-all.ru/3.5/howto/curses.html#what-is-curses)37593760      - [Модуль curses в Python](https://python-all.ru/3.5/howto/curses.html#the-python-curses-module)3761    - [Запуск и завершение приложения curses](https://python-all.ru/3.5/howto/curses.html#starting-and-ending-a-curses-application)3762    - [Окна и пады](https://python-all.ru/3.5/howto/curses.html#windows-and-pads)3763    - [Отображение текста](https://python-all.ru/3.5/howto/curses.html#displaying-text)37643765      - [Атрибуты и цвет](https://python-all.ru/3.5/howto/curses.html#attributes-and-color)3766    - [Ввод пользователя](https://python-all.ru/3.5/howto/curses.html#user-input)3767    - [Для получения дополнительных сведений](https://python-all.ru/3.5/howto/curses.html#for-more-information)3768  - [Руководство по дескрипторам](https://python-all.ru/3.5/howto/descriptor.html)37693770    - [Аннотация](https://python-all.ru/3.5/howto/descriptor.html#abstract)3771    - [Определение и введение](https://python-all.ru/3.5/howto/descriptor.html#definition-and-introduction)3772    - [Протокол дескрипторов](https://python-all.ru/3.5/howto/descriptor.html#descriptor-protocol)3773    - [Вызов дескрипторов](https://python-all.ru/3.5/howto/descriptor.html#invoking-descriptors)3774    - [Пример дескриптора](https://python-all.ru/3.5/howto/descriptor.html#descriptor-example)3775    - [Свойства](https://python-all.ru/3.5/howto/descriptor.html#properties)3776    - [Функции и методы](https://python-all.ru/3.5/howto/descriptor.html#functions-and-methods)3777    - [Статические методы и методы класса](https://python-all.ru/3.5/howto/descriptor.html#static-methods-and-class-methods)3778  - [HOWTO по функциональному программированию](https://python-all.ru/3.5/howto/functional.html)37793780    - [Введение](https://python-all.ru/3.5/howto/functional.html#introduction)37813782      - [Формальная доказуемость](https://python-all.ru/3.5/howto/functional.html#formal-provability)3783      - [Модульность](https://python-all.ru/3.5/howto/functional.html#modularity)3784      - [Простота отладки и тестирования](https://python-all.ru/3.5/howto/functional.html#ease-of-debugging-and-testing)3785      - [Композируемость](https://python-all.ru/3.5/howto/functional.html#composability)3786    - [Итераторы](https://python-all.ru/3.5/howto/functional.html#iterators)37873788      - [Типы данных, поддерживающие итераторы](https://python-all.ru/3.5/howto/functional.html#data-types-that-support-iterators)3789    - [Генераторные выражения и списковые включения](https://python-all.ru/3.5/howto/functional.html#generator-expressions-and-list-comprehensions)3790    - [Генераторы](https://python-all.ru/3.5/howto/functional.html#generators)37913792      - [Передача значений в генератор](https://python-all.ru/3.5/howto/functional.html#passing-values-into-a-generator)3793    - [Встроенные функции](https://python-all.ru/3.5/howto/functional.html#built-in-functions)3794    - [Модуль itertools](https://python-all.ru/3.5/howto/functional.html#the-itertools-module)37953796      - [Создание новых итераторов](https://python-all.ru/3.5/howto/functional.html#creating-new-iterators)3797      - [Вызов функций для элементов](https://python-all.ru/3.5/howto/functional.html#calling-functions-on-elements)3798      - [Выбор элементов](https://python-all.ru/3.5/howto/functional.html#selecting-elements)3799      - [Комбинаторные функции](https://python-all.ru/3.5/howto/functional.html#combinatoric-functions)3800      - [Группировка элементов](https://python-all.ru/3.5/howto/functional.html#grouping-elements)3801    - [Модуль functools](https://python-all.ru/3.5/howto/functional.html#the-functools-module)38023803      - [Модуль operator](https://python-all.ru/3.5/howto/functional.html#the-operator-module)3804    - [Небольшие функции и лямбда-выражение](https://python-all.ru/3.5/howto/functional.html#small-functions-and-the-lambda-expression)3805    - [История изменений и благодарности](https://python-all.ru/3.5/howto/functional.html#revision-history-and-acknowledgements)3806    - [Ссылки](https://python-all.ru/3.5/howto/functional.html#references)38073808      - [Общие](https://python-all.ru/3.5/howto/functional.html#general)3809      - [Специфичное для Python](https://python-all.ru/3.5/howto/functional.html#python-specific)3810      - [Документация Python](https://python-all.ru/3.5/howto/functional.html#python-documentation)3811  - [Руководство по логированию](https://python-all.ru/3.5/howto/logging.html)38123813    - [Базовое руководство по логированию](https://python-all.ru/3.5/howto/logging.html#basic-logging-tutorial)38143815      - [Когда использовать логирование](https://python-all.ru/3.5/howto/logging.html#when-to-use-logging)3816      - [Простой пример](https://python-all.ru/3.5/howto/logging.html#a-simple-example)3817      - [Логирование в файл](https://python-all.ru/3.5/howto/logging.html#logging-to-a-file)3818      - [Логирование из нескольких модулей](https://python-all.ru/3.5/howto/logging.html#logging-from-multiple-modules)3819      - [Логирование переменных данных](https://python-all.ru/3.5/howto/logging.html#logging-variable-data)3820      - [Изменение формата отображаемых сообщений](https://python-all.ru/3.5/howto/logging.html#changing-the-format-of-displayed-messages)3821      - [Отображение даты/времени в сообщениях](https://python-all.ru/3.5/howto/logging.html#displaying-the-date-time-in-messages)3822      - [Дальнейшие шаги](https://python-all.ru/3.5/howto/logging.html#next-steps)3823    - [Расширенное руководство по логированию](https://python-all.ru/3.5/howto/logging.html#advanced-logging-tutorial)38243825      - [Поток логирования](https://python-all.ru/3.5/howto/logging.html#logging-flow)3826      - [Логгеры](https://python-all.ru/3.5/howto/logging.html#loggers)3827      - [Обработчики](https://python-all.ru/3.5/howto/logging.html#handlers)3828      - [Форматировщики](https://python-all.ru/3.5/howto/logging.html#formatters)3829      - [Настройка логирования](https://python-all.ru/3.5/howto/logging.html#configuring-logging)3830      - [Что происходит, если конфигурация не предоставлена](https://python-all.ru/3.5/howto/logging.html#what-happens-if-no-configuration-is-provided)3831      - [Настройка логирования для библиотеки](https://python-all.ru/3.5/howto/logging.html#configuring-logging-for-a-library)3832    - [Уровни журналирования](https://python-all.ru/3.5/howto/logging.html#logging-levels)38333834      - [Пользовательские уровни](https://python-all.ru/3.5/howto/logging.html#custom-levels)3835    - [Полезные обработчики](https://python-all.ru/3.5/howto/logging.html#useful-handlers)3836    - [Исключения, возникающие при логировании](https://python-all.ru/3.5/howto/logging.html#exceptions-raised-during-logging)3837    - [Использование произвольных объектов в качестве сообщений](https://python-all.ru/3.5/howto/logging.html#using-arbitrary-objects-as-messages)3838    - [Оптимизация](https://python-all.ru/3.5/howto/logging.html#optimization)3839  - [Рецепты по логированию](https://python-all.ru/3.5/howto/logging-cookbook.html)38403841    - [Использование логирования в нескольких модулях](https://python-all.ru/3.5/howto/logging-cookbook.html#using-logging-in-multiple-modules)3842    - [Логирование из нескольких потоков](https://python-all.ru/3.5/howto/logging-cookbook.html#logging-from-multiple-threads)3843    - [Несколько обработчиков и форматировщиков](https://python-all.ru/3.5/howto/logging-cookbook.html#multiple-handlers-and-formatters)3844    - [Логирование в несколько мест назначения](https://python-all.ru/3.5/howto/logging-cookbook.html#logging-to-multiple-destinations)3845    - [Пример сервера конфигурации](https://python-all.ru/3.5/howto/logging-cookbook.html#configuration-server-example)3846    - [Работа с блокирующими обработчиками](https://python-all.ru/3.5/howto/logging-cookbook.html#dealing-with-handlers-that-block)3847    - [Отправка и получение событий логирования по сети](https://python-all.ru/3.5/howto/logging-cookbook.html#sending-and-receiving-logging-events-across-a-network)3848    - [Добавление контекстной информации в вывод логирования](https://python-all.ru/3.5/howto/logging-cookbook.html#adding-contextual-information-to-your-logging-output)38493850      - [Использование LoggerAdapters для передачи контекстной информации](https://python-all.ru/3.5/howto/logging-cookbook.html#using-loggeradapters-to-impart-contextual-information)38513852        - [Использование объектов, отличных от словаря, для передачи контекстной информации](https://python-all.ru/3.5/howto/logging-cookbook.html#using-objects-other-than-dicts-to-pass-contextual-information)3853      - [Использование фильтров для передачи контекстной информации](https://python-all.ru/3.5/howto/logging-cookbook.html#using-filters-to-impart-contextual-information)3854    - [Логирование в один файл из нескольких процессов](https://python-all.ru/3.5/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes)3855    - [Использование ротации файлов](https://python-all.ru/3.5/howto/logging-cookbook.html#using-file-rotation)3856    - [Использование альтернативных стилей форматирования](https://python-all.ru/3.5/howto/logging-cookbook.html#use-of-alternative-formatting-styles)3857    - [Настройка `LogRecord`](https://python-all.ru/3.5/howto/logging-cookbook.html#customizing-logrecord)3858    - [Наследование от QueueHandler – пример с ZeroMQ](https://python-all.ru/3.5/howto/logging-cookbook.html#subclassing-queuehandler-a-zeromq-example)3859    - [Наследование от QueueListener – пример с ZeroMQ](https://python-all.ru/3.5/howto/logging-cookbook.html#subclassing-queuelistener-a-zeromq-example)3860    - [Пример конфигурации на основе словаря](https://python-all.ru/3.5/howto/logging-cookbook.html#an-example-dictionary-based-configuration)3861    - [Использование rotator и namer для настройки обработки ротации логов](https://python-all.ru/3.5/howto/logging-cookbook.html#using-a-rotator-and-namer-to-customize-log-rotation-processing)3862    - [Более сложный пример многопроцессорной обработки](https://python-all.ru/3.5/howto/logging-cookbook.html#a-more-elaborate-multiprocessing-example)3863    - [Вставка BOM в сообщения, отправляемые в SysLogHandler](https://python-all.ru/3.5/howto/logging-cookbook.html#inserting-a-bom-into-messages-sent-to-a-sysloghandler)3864    - [Реализация структурированного логирования](https://python-all.ru/3.5/howto/logging-cookbook.html#implementing-structured-logging)3865    - [Настройка обработчиков с помощью `dictConfig()`](https://python-all.ru/3.5/howto/logging-cookbook.html#customizing-handlers-with-dictconfig)3866    - [Использование определённых стилей форматирования во всём приложении](https://python-all.ru/3.5/howto/logging-cookbook.html#using-particular-formatting-styles-throughout-your-application)38673868      - [Использование фабрик LogRecord](https://python-all.ru/3.5/howto/logging-cookbook.html#using-logrecord-factories)3869      - [Использование пользовательских объектов сообщений](https://python-all.ru/3.5/howto/logging-cookbook.html#using-custom-message-objects)3870    - [Настройка фильтров с помощью `dictConfig()`](https://python-all.ru/3.5/howto/logging-cookbook.html#configuring-filters-with-dictconfig)3871    - [Настраиваемое форматирование исключений](https://python-all.ru/3.5/howto/logging-cookbook.html#customized-exception-formatting)3872    - [Озвучивание сообщений логирования](https://python-all.ru/3.5/howto/logging-cookbook.html#speaking-logging-messages)3873    - [Буферизация сообщений логирования и их условный вывод](https://python-all.ru/3.5/howto/logging-cookbook.html#buffering-logging-messages-and-outputting-them-conditionally)3874    - [Форматирование времени в UTC (GMT) через конфигурацию](https://python-all.ru/3.5/howto/logging-cookbook.html#formatting-times-using-utc-gmt-via-configuration)3875    - [Использование менеджера контекста для выборочного журналирования](https://python-all.ru/3.5/howto/logging-cookbook.html#using-a-context-manager-for-selective-logging)3876  - [HOWTO по регулярным выражениям](https://python-all.ru/3.5/howto/regex.html)38773878    - [Введение](https://python-all.ru/3.5/howto/regex.html#introduction)3879    - [Простые шаблоны](https://python-all.ru/3.5/howto/regex.html#simple-patterns)38803881      - [Сопоставление символов](https://python-all.ru/3.5/howto/regex.html#matching-characters)3882      - [Повторение](https://python-all.ru/3.5/howto/regex.html#repeating-things)3883    - [Использование регулярных выражений](https://python-all.ru/3.5/howto/regex.html#using-regular-expressions)38843885      - [Компиляция регулярных выражений](https://python-all.ru/3.5/howto/regex.html#compiling-regular-expressions)3886      - [Проблема обратной косой черты](https://python-all.ru/3.5/howto/regex.html#the-backslash-plague)3887      - [Выполнение сопоставлений](https://python-all.ru/3.5/howto/regex.html#performing-matches)3888      - [Функции уровня модуля](https://python-all.ru/3.5/howto/regex.html#module-level-functions)3889      - [Флаги компиляции](https://python-all.ru/3.5/howto/regex.html#compilation-flags)3890    - [Дополнительные возможности шаблонов](https://python-all.ru/3.5/howto/regex.html#more-pattern-power)38913892      - [Дополнительные метасимволы](https://python-all.ru/3.5/howto/regex.html#more-metacharacters)3893      - [Группировка](https://python-all.ru/3.5/howto/regex.html#grouping)3894      - [Незахватывающие и именованные группы](https://python-all.ru/3.5/howto/regex.html#non-capturing-and-named-groups)3895      - [Опережающие проверки](https://python-all.ru/3.5/howto/regex.html#lookahead-assertions)3896    - [Изменение строк](https://python-all.ru/3.5/howto/regex.html#modifying-strings)38973898      - [Разделение строк](https://python-all.ru/3.5/howto/regex.html#splitting-strings)3899      - [Поиск и замена](https://python-all.ru/3.5/howto/regex.html#search-and-replace)3900    - [Распространённые проблемы](https://python-all.ru/3.5/howto/regex.html#common-problems)39013902      - [Использование строковых методов](https://python-all.ru/3.5/howto/regex.html#use-string-methods)3903      - [match() и search()](https://python-all.ru/3.5/howto/regex.html#match-versus-search)3904      - [Жадные и нежадные квантификаторы](https://python-all.ru/3.5/howto/regex.html#greedy-versus-non-greedy)3905      - [Использование re.VERBOSE](https://python-all.ru/3.5/howto/regex.html#using-re-verbose)3906    - [Обратная связь](https://python-all.ru/3.5/howto/regex.html#feedback)3907  - [Руководство по программированию сокетов](https://python-all.ru/3.5/howto/sockets.html)39083909    - [Сокеты](https://python-all.ru/3.5/howto/sockets.html#sockets)39103911      - [История](https://python-all.ru/3.5/howto/sockets.html#history)3912    - [Создание сокета](https://python-all.ru/3.5/howto/sockets.html#creating-a-socket)39133914      - [Межпроцессное взаимодействие](https://python-all.ru/3.5/howto/sockets.html#ipc)3915    - [Использование сокета](https://python-all.ru/3.5/howto/sockets.html#using-a-socket)39163917      - [Двоичные данные](https://python-all.ru/3.5/howto/sockets.html#binary-data)3918    - [Отключение](https://python-all.ru/3.5/howto/sockets.html#disconnecting)39193920      - [Когда сокеты завершают работу](https://python-all.ru/3.5/howto/sockets.html#when-sockets-die)3921    - [Неблокирующие сокеты](https://python-all.ru/3.5/howto/sockets.html#non-blocking-sockets)3922  - [Руководство по сортировке](https://python-all.ru/3.5/howto/sorting.html)39233924    - [Основы сортировки](https://python-all.ru/3.5/howto/sorting.html#sorting-basics)3925    - [Ключевые функции](https://python-all.ru/3.5/howto/sorting.html#key-functions)3926    - [Функции модуля operator](https://python-all.ru/3.5/howto/sorting.html#operator-module-functions)3927    - [По возрастанию и по убыванию](https://python-all.ru/3.5/howto/sorting.html#ascending-and-descending)3928    - [Стабильность сортировки и сложные сортировки](https://python-all.ru/3.5/howto/sorting.html#sort-stability-and-complex-sorts)3929    - [Старый способ: Decorate-Sort-Undecorate](https://python-all.ru/3.5/howto/sorting.html#the-old-way-using-decorate-sort-undecorate)3930    - [Старый способ: использование параметра *cmp*](https://python-all.ru/3.5/howto/sorting.html#the-old-way-using-the-cmp-parameter)3931    - [Разное](https://python-all.ru/3.5/howto/sorting.html#odd-and-ends)3932  - [Руководство по Unicode](https://python-all.ru/3.5/howto/unicode.html)39333934    - [Введение в Unicode](https://python-all.ru/3.5/howto/unicode.html#introduction-to-unicode)39353936      - [История кодов символов](https://python-all.ru/3.5/howto/unicode.html#history-of-character-codes)3937      - [Определения](https://python-all.ru/3.5/howto/unicode.html#definitions)3938      - [Кодировки](https://python-all.ru/3.5/howto/unicode.html#encodings)3939      - [Ссылки](https://python-all.ru/3.5/howto/unicode.html#references)3940    - [Поддержка Unicode в Python](https://python-all.ru/3.5/howto/unicode.html#python-s-unicode-support)39413942      - [Тип str](https://python-all.ru/3.5/howto/unicode.html#the-string-type)3943      - [Преобразование в байты](https://python-all.ru/3.5/howto/unicode.html#converting-to-bytes)3944      - [Unicode-литералы в исходном коде Python](https://python-all.ru/3.5/howto/unicode.html#unicode-literals-in-python-source-code)3945      - [Свойства Unicode](https://python-all.ru/3.5/howto/unicode.html#unicode-properties)3946      - [Регулярные выражения и Unicode](https://python-all.ru/3.5/howto/unicode.html#unicode-regular-expressions)3947      - [Ссылки](https://python-all.ru/3.5/howto/unicode.html#id2)3948    - [Чтение и запись данных Unicode](https://python-all.ru/3.5/howto/unicode.html#reading-and-writing-unicode-data)39493950      - [Имена файлов в Unicode](https://python-all.ru/3.5/howto/unicode.html#unicode-filenames)3951      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/3.5/howto/unicode.html#tips-for-writing-unicode-aware-programs)39523953        - [Преобразование между кодировками файлов](https://python-all.ru/3.5/howto/unicode.html#converting-between-file-encodings)3954        - [Файлы в неизвестной кодировке](https://python-all.ru/3.5/howto/unicode.html#files-in-an-unknown-encoding)3955      - [Ссылки](https://python-all.ru/3.5/howto/unicode.html#id3)3956    - [Благодарности](https://python-all.ru/3.5/howto/unicode.html#acknowledgements)3957  - [HOWTO: получение интернет-ресурсов с помощью пакета urllib](https://python-all.ru/3.5/howto/urllib2.html)39583959    - [Введение](https://python-all.ru/3.5/howto/urllib2.html#introduction)3960    - [Получение URL-адресов](https://python-all.ru/3.5/howto/urllib2.html#fetching-urls)39613962      - [Данные](https://python-all.ru/3.5/howto/urllib2.html#data)3963      - [Заголовки](https://python-all.ru/3.5/howto/urllib2.html#headers)3964    - [Обработка исключений](https://python-all.ru/3.5/howto/urllib2.html#handling-exceptions)39653966      - \<[URLError](https://python-all.ru/3.5/howto/urllib2.html#urlerror)\>3967      - [HTTPError](https://python-all.ru/3.5/howto/urllib2.html#httperror)39683969        - [Коды ошибок](https://python-all.ru/3.5/howto/urllib2.html#error-codes)3970      - [Заключение](https://python-all.ru/3.5/howto/urllib2.html#wrapping-it-up)39713972        - [Номер 1](https://python-all.ru/3.5/howto/urllib2.html#number-1)3973        - [Номер 2](https://python-all.ru/3.5/howto/urllib2.html#number-2)3974    - [info и geturl](https://python-all.ru/3.5/howto/urllib2.html#info-and-geturl)3975    - [Открыватели и обработчики](https://python-all.ru/3.5/howto/urllib2.html#openers-and-handlers)3976    - [Базовая аутентификация](https://python-all.ru/3.5/howto/urllib2.html#id5)3977    - [Прокси](https://python-all.ru/3.5/howto/urllib2.html#proxies)3978    - [Сокеты и слои](https://python-all.ru/3.5/howto/urllib2.html#sockets-and-layers)3979    - [Сноски](https://python-all.ru/3.5/howto/urllib2.html#footnotes)3980  - [Учебное пособие по argparse](https://python-all.ru/3.5/howto/argparse.html)39813982    - [Основные понятия](https://python-all.ru/3.5/howto/argparse.html#concepts)3983    - [Основы](https://python-all.ru/3.5/howto/argparse.html#the-basics)3984    - [Знакомство с позиционными аргументами](https://python-all.ru/3.5/howto/argparse.html#introducing-positional-arguments)3985    - [Знакомство с необязательными аргументами](https://python-all.ru/3.5/howto/argparse.html#introducing-optional-arguments)39863987      - [Короткие опции](https://python-all.ru/3.5/howto/argparse.html#short-options)3988    - [Сочетание позиционных и необязательных аргументов](https://python-all.ru/3.5/howto/argparse.html#combining-positional-and-optional-arguments)3989    - [Переходим к более сложным темам](https://python-all.ru/3.5/howto/argparse.html#getting-a-little-more-advanced)39903991      - [Конфликтующие опции](https://python-all.ru/3.5/howto/argparse.html#conflicting-options)3992    - [Заключение](https://python-all.ru/3.5/howto/argparse.html#conclusion)3993  - [Введение в модуль ipaddress](https://python-all.ru/3.5/howto/ipaddress.html)39943995    - [Создание объектов Address/Network/Interface](https://python-all.ru/3.5/howto/ipaddress.html#creating-address-network-interface-objects)39963997      - [Замечание о версиях IP](https://python-all.ru/3.5/howto/ipaddress.html#a-note-on-ip-versions)3998      - [IP-адреса хостов](https://python-all.ru/3.5/howto/ipaddress.html#ip-host-addresses)3999      - [Определение сетей](https://python-all.ru/3.5/howto/ipaddress.html#defining-networks)4000      - [Интерфейсы хоста](https://python-all.ru/3.5/howto/ipaddress.html#host-interfaces)4001    - [Проверка объектов адреса/сети/интерфейса](https://python-all.ru/3.5/howto/ipaddress.html#inspecting-address-network-interface-objects)4002    - [Сети как списки адресов](https://python-all.ru/3.5/howto/ipaddress.html#networks-as-lists-of-addresses)4003    - [Сравнения](https://python-all.ru/3.5/howto/ipaddress.html#comparisons)4004    - [Использование IP-адресов с другими модулями](https://python-all.ru/3.5/howto/ipaddress.html#using-ip-addresses-with-other-modules)4005    - [Получение дополнительных сведений при сбое создания экземпляра](https://python-all.ru/3.5/howto/ipaddress.html#getting-more-detail-when-instance-creation-fails)4006  - [Руководство по Argument Clinic](https://python-all.ru/3.5/howto/clinic.html)40074008    - [Цели Argument Clinic](https://python-all.ru/3.5/howto/clinic.html#the-goals-of-argument-clinic)4009    - [Основные понятия и использование](https://python-all.ru/3.5/howto/clinic.html#basic-concepts-and-usage)4010    - [Преобразование первой функции](https://python-all.ru/3.5/howto/clinic.html#converting-your-first-function)4011    - [Продвинутые темы](https://python-all.ru/3.5/howto/clinic.html#advanced-topics)40124013      - [Символические значения по умолчанию](https://python-all.ru/3.5/howto/clinic.html#symbolic-default-values)4014      - [Переименование C-функций и переменных, генерируемых Argument Clinic](https://python-all.ru/3.5/howto/clinic.html#renaming-the-c-functions-and-variables-generated-by-argument-clinic)4015      - [Преобразование функций с использованием PyArg\_UnpackTuple](https://python-all.ru/3.5/howto/clinic.html#converting-functions-using-pyarg-unpacktuple)4016      - [Необязательные группы](https://python-all.ru/3.5/howto/clinic.html#optional-groups)4017      - [Использование настоящих преобразователей Argument Clinic вместо «устаревших преобразователей»](https://python-all.ru/3.5/howto/clinic.html#using-real-argument-clinic-converters-instead-of-legacy-converters)4018      - [Py\_buffer](https://python-all.ru/3.5/howto/clinic.html#py-buffer)4019      - [Продвинутые преобразователи](https://python-all.ru/3.5/howto/clinic.html#advanced-converters)4020      - [Значения параметров по умолчанию](https://python-all.ru/3.5/howto/clinic.html#parameter-default-values)4021      - [Значение по умолчанию `NULL`](https://python-all.ru/3.5/howto/clinic.html#the-null-default-value)4022      - [Выражения, заданные как значения по умолчанию](https://python-all.ru/3.5/howto/clinic.html#expressions-specified-as-default-values)4023      - [Использование преобразователя возвращаемого значения](https://python-all.ru/3.5/howto/clinic.html#using-a-return-converter)4024      - [Клонирование существующих функций](https://python-all.ru/3.5/howto/clinic.html#cloning-existing-functions)4025      - [Вызов кода Python](https://python-all.ru/3.5/howto/clinic.html#calling-python-code)4026      - [Использование «self converter»](https://python-all.ru/3.5/howto/clinic.html#using-a-self-converter)4027      - [Создание собственного конвертера](https://python-all.ru/3.5/howto/clinic.html#writing-a-custom-converter)4028      - [Создание собственного конвертера возвращаемого значения](https://python-all.ru/3.5/howto/clinic.html#writing-a-custom-return-converter)4029      - [METH\_O и METH\_NOARGS](https://python-all.ru/3.5/howto/clinic.html#meth-o-and-meth-noargs)4030      - [Функции tp\_new и tp\_init](https://python-all.ru/3.5/howto/clinic.html#tp-new-and-tp-init-functions)4031      - [Изменение и перенаправление вывода Clinic](https://python-all.ru/3.5/howto/clinic.html#changing-and-redirecting-clinic-s-output)4032      - [Приём #ifdef](https://python-all.ru/3.5/howto/clinic.html#the-ifdef-trick)4033      - [Использование Argument Clinic в файлах Python](https://python-all.ru/3.5/howto/clinic.html#using-argument-clinic-in-python-files)4034- [Часто задаваемые вопросы по Python](https://python-all.ru/3.5/faq/index.html)40354036  - [Общие вопросы по Python](https://python-all.ru/3.5/faq/general.html)40374038    - [Общая информация](https://python-all.ru/3.5/faq/general.html#general-information)4039    - [Python в реальном мире](https://python-all.ru/3.5/faq/general.html#python-in-the-real-world)4040  - [Вопросы по программированию](https://python-all.ru/3.5/faq/programming.html)40414042    - [Общие вопросы](https://python-all.ru/3.5/faq/programming.html#general-questions)4043    - [Ядро языка](https://python-all.ru/3.5/faq/programming.html#core-language)4044    - [Числа и строки](https://python-all.ru/3.5/faq/programming.html#numbers-and-strings)4045    - [Производительность](https://python-all.ru/3.5/faq/programming.html#performance)4046    - [Последовательности (кортежи/списки)](https://python-all.ru/3.5/faq/programming.html#sequences-tuples-lists)4047    - [Словари](https://python-all.ru/3.5/faq/programming.html#dictionaries)4048    - [Объекты](https://python-all.ru/3.5/faq/programming.html#objects)4049    - [Модули](https://python-all.ru/3.5/faq/programming.html#modules)4050  - [Вопросы по дизайну и истории](https://python-all.ru/3.5/faq/design.html)40514052    - [Почему в Python для группировки инструкций используются отступы?](https://python-all.ru/3.5/faq/design.html#why-does-python-use-indentation-for-grouping-of-statements)4053    - [Почему при простых арифметических операциях получаются странные результаты?](https://python-all.ru/3.5/faq/design.html#why-am-i-getting-strange-results-with-simple-arithmetic-operations)4054    - [Почему вычисления с плавающей запятой такие неточные?](https://python-all.ru/3.5/faq/design.html#why-are-floating-point-calculations-so-inaccurate)4055    - [Почему строки в Python неизменяемы?](https://python-all.ru/3.5/faq/design.html#why-are-python-strings-immutable)4056    - [Почему self нужно явно указывать в определениях и вызовах методов?](https://python-all.ru/3.5/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls)4057    - [Почему в выражении нельзя использовать присваивание?](https://python-all.ru/3.5/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression)4058    - [Почему в Python для одних возможностей используются методы (например, list.index()), а для других – функции (например, len(list))?](https://python-all.ru/3.5/faq/design.html#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list)4059    - [Почему join() – метод строки, а не списка или кортежа?](https://python-all.ru/3.5/faq/design.html#why-is-join-a-string-method-instead-of-a-list-or-tuple-method)4060    - [Насколько быстры исключения?](https://python-all.ru/3.5/faq/design.html#how-fast-are-exceptions)4061    - [Почему в Python нет оператора switch или case?](https://python-all.ru/3.5/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python)4062    - [Разве нельзя эмулировать потоки в интерпретаторе, вместо того чтобы полагаться на реализацию потоков, зависящую от ОС?](https://python-all.ru/3.5/faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation)4063    - [Почему лямбда-выражения не могут содержать инструкции?](https://python-all.ru/3.5/faq/design.html#why-can-t-lambda-expressions-contain-statements)4064    - [Можно ли скомпилировать Python в машинный код, C или другой язык?](https://python-all.ru/3.5/faq/design.html#can-python-be-compiled-to-machine-code-c-or-some-other-language)4065    - [Как Python управляет памятью?](https://python-all.ru/3.5/faq/design.html#how-does-python-manage-memory)4066    - [Почему CPython не использует более традиционную схему сборки мусора?](https://python-all.ru/3.5/faq/design.html#why-doesn-t-cpython-use-a-more-traditional-garbage-collection-scheme)4067    - [Почему при завершении CPython освобождается не вся память?](https://python-all.ru/3.5/faq/design.html#why-isn-t-all-memory-freed-when-cpython-exits)4068    - [Почему существуют отдельные типы данных кортеж и список?](https://python-all.ru/3.5/faq/design.html#why-are-there-separate-tuple-and-list-data-types)4069    - [Как реализованы списки?](https://python-all.ru/3.5/faq/design.html#how-are-lists-implemented)4070    - [Как реализованы словари?](https://python-all.ru/3.5/faq/design.html#how-are-dictionaries-implemented)4071    - [Почему ключи словаря должны быть неизменяемыми?](https://python-all.ru/3.5/faq/design.html#why-must-dictionary-keys-be-immutable)4072    - [Почему list.sort() не возвращает отсортированный список?](https://python-all.ru/3.5/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list)4073    - [Как задать и обеспечить соблюдение спецификации интерфейса в Python?](https://python-all.ru/3.5/faq/design.html#how-do-you-specify-and-enforce-an-interface-spec-in-python)4074    - [Почему нет goto?](https://python-all.ru/3.5/faq/design.html#why-is-there-no-goto)4075    - [Почему сырые строки (r-строки) не могут заканчиваться обратной косой чертой?](https://python-all.ru/3.5/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash)4076    - [Почему в Python нет оператора with для присваивания атрибутов?](https://python-all.ru/3.5/faq/design.html#why-doesn-t-python-have-a-with-statement-for-attribute-assignments)4077    - [Почему в операторах if/while/def/class требуется двоеточие?](https://python-all.ru/3.5/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements)4078    - [Почему Python разрешает запятые в конце списков и кортежей?](https://python-all.ru/3.5/faq/design.html#why-does-python-allow-commas-at-the-end-of-lists-and-tuples)4079  - [FAQ по библиотекам и расширениям](https://python-all.ru/3.5/faq/library.html)40804081    - [Общие вопросы по библиотекам](https://python-all.ru/3.5/faq/library.html#general-library-questions)4082    - [Типовые задачи](https://python-all.ru/3.5/faq/library.html#common-tasks)4083    - [Потоки](https://python-all.ru/3.5/faq/library.html#threads)4084    - [Ввод и вывод](https://python-all.ru/3.5/faq/library.html#input-and-output)4085    - [Сетевое и интернет-программирование](https://python-all.ru/3.5/faq/library.html#network-internet-programming)4086    - [Базы данных](https://python-all.ru/3.5/faq/library.html#databases)4087    - [Математика и численные методы](https://python-all.ru/3.5/faq/library.html#mathematics-and-numerics)4088  - [FAQ по расширению и встраиванию](https://python-all.ru/3.5/faq/extending.html)40894090    - [Можно ли создавать собственные функции на C?](https://python-all.ru/3.5/faq/extending.html#can-i-create-my-own-functions-in-c)4091    - [Можно ли создавать собственные функции на C++?](https://python-all.ru/3.5/faq/extending.html#id1)4092    - [Писать на C сложно; есть ли альтернативы?](https://python-all.ru/3.5/faq/extending.html#writing-c-is-hard-are-there-any-alternatives)4093    - [Как выполнить произвольные инструкции Python из C?](https://python-all.ru/3.5/faq/extending.html#how-can-i-execute-arbitrary-python-statements-from-c)4094    - [Как вычислить произвольное выражение Python из C?](https://python-all.ru/3.5/faq/extending.html#how-can-i-evaluate-an-arbitrary-python-expression-from-c)4095    - [Как извлечь значения C из объекта Python?](https://python-all.ru/3.5/faq/extending.html#how-do-i-extract-c-values-from-a-python-object)4096    - [Как использовать Py\_BuildValue() для создания кортежа произвольной длины?](https://python-all.ru/3.5/faq/extending.html#how-do-i-use-py-buildvalue-to-create-a-tuple-of-arbitrary-length)4097    - [Как вызвать метод объекта из C?](https://python-all.ru/3.5/faq/extending.html#how-do-i-call-an-object-s-method-from-c)4098    - [Как перехватить вывод PyErr\_Print() (или любого другого вывода в stdout/stderr)?](https://python-all.ru/3.5/faq/extending.html#how-do-i-catch-the-output-from-pyerr-print-or-anything-that-prints-to-stdout-stderr)4099    - [Как получить доступ к модулю, написанному на Python, из C?](https://python-all.ru/3.5/faq/extending.html#how-do-i-access-a-module-written-in-python-from-c)4100    - [Как организовать взаимодействие с объектами C++ из Python?](https://python-all.ru/3.5/faq/extending.html#how-do-i-interface-to-c-objects-from-python)4101    - [Почему make завершается ошибкой после добавления модуля через файл Setup?](https://python-all.ru/3.5/faq/extending.html#i-added-a-module-using-the-setup-file-and-the-make-fails-why)4102    - [Как отлаживать расширение?](https://python-all.ru/3.5/faq/extending.html#how-do-i-debug-an-extension)4103    - [Почему при компиляции модуля Python в Linux отсутствуют некоторые файлы?](https://python-all.ru/3.5/faq/extending.html#i-want-to-compile-a-python-module-on-my-linux-system-but-some-files-are-missing-why)4104    - [Как отличить «неполный ввод» от «неверного ввода»?](https://python-all.ru/3.5/faq/extending.html#how-do-i-tell-incomplete-input-from-invalid-input)4105    - [Как найти неопределённые символы g++ \_\_builtin\_new или \_\_pure\_virtual?](https://python-all.ru/3.5/faq/extending.html#how-do-i-find-undefined-g-symbols-builtin-new-or-pure-virtual)4106    - [Можно ли создать класс объекта, в котором часть методов реализована на C, а часть – на Python (например, через наследование)?](https://python-all.ru/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance)4107  - [FAQ по Python в Windows](https://python-all.ru/3.5/faq/windows.html)41084109    - [Как запустить программу Python в Windows?](https://python-all.ru/3.5/faq/windows.html#how-do-i-run-a-python-program-under-windows)4110    - [Как сделать скрипты Python исполняемыми?](https://python-all.ru/3.5/faq/windows.html#how-do-i-make-python-scripts-executable)4111    - [Почему Python иногда так долго запускается?](https://python-all.ru/3.5/faq/windows.html#why-does-python-sometimes-take-so-long-to-start)4112    - [Как создать исполняемый файл из скрипта Python?](https://python-all.ru/3.5/faq/windows.html#how-do-i-make-an-executable-from-a-python-script)4113    - [Является ли файл `*.pyd` тем же, что и DLL?](https://python-all.ru/3.5/faq/windows.html#is-a-pyd-file-the-same-as-a-dll)4114    - [Как встроить Python в приложение Windows?](https://python-all.ru/3.5/faq/windows.html#how-can-i-embed-python-into-a-windows-application)4115    - [Как запретить редакторам вставлять табуляцию в исходный код Python?](https://python-all.ru/3.5/faq/windows.html#how-do-i-keep-editors-from-inserting-tabs-into-my-python-source)4116    - [Как проверить нажатие клавиши без блокировки?](https://python-all.ru/3.5/faq/windows.html#how-do-i-check-for-a-keypress-without-blocking)4117    - [Как эмулировать os.kill() в Windows?](https://python-all.ru/3.5/faq/windows.html#how-do-i-emulate-os-kill-in-windows)4118    - [Как извлечь загруженную документацию в Windows?](https://python-all.ru/3.5/faq/windows.html#how-do-i-extract-the-downloaded-documentation-on-windows)4119  - [Часто задаваемые вопросы о графическом интерфейсе пользователя](https://python-all.ru/3.5/faq/gui.html)41204121    - [Общие вопросы по GUI](https://python-all.ru/3.5/faq/gui.html#general-gui-questions)4122    - [Какие существуют кроссплатформенные GUI-инструментарии для Python?](https://python-all.ru/3.5/faq/gui.html#what-platform-independent-gui-toolkits-exist-for-python)4123    - [Какие существуют платформозависимые GUI-инструментарии для Python?](https://python-all.ru/3.5/faq/gui.html#what-platform-specific-gui-toolkits-exist-for-python)4124    - [Вопросы по Tkinter](https://python-all.ru/3.5/faq/gui.html#tkinter-questions)4125  - [FAQ «Почему Python установлен на моём компьютере?»](https://python-all.ru/3.5/faq/installed.html)41264127    - [Что такое Python?](https://python-all.ru/3.5/faq/installed.html#what-is-python)4128    - [Почему Python установлен на моём компьютере?](https://python-all.ru/3.5/faq/installed.html#why-is-python-installed-on-my-machine)4129    - [Можно ли удалить Python?](https://python-all.ru/3.5/faq/installed.html#can-i-delete-python)4130- [Глоссарий](https://python-all.ru/3.5/glossary.html)4131- [Об этих документах](https://python-all.ru/3.5/about.html)41324133  - [Участники документации Python](https://python-all.ru/3.5/about.html#contributors-to-the-python-documentation)4134- [Работа с ошибками](https://python-all.ru/3.5/bugs.html)41354136  - [Ошибки в документации](https://python-all.ru/3.5/bugs.html#documentation-bugs)4137  - [Использование трекера задач Python](https://python-all.ru/3.5/bugs.html#using-the-python-issue-tracker)4138  - [Начало работы: участие в разработке Python](https://python-all.ru/3.5/bugs.html#getting-started-contributing-to-python-yourself)4139- [Авторские права](https://python-all.ru/3.5/copyright.html)4140- [История и лицензия](https://python-all.ru/3.5/license.html)41414142  - [История программного обеспечения](https://python-all.ru/3.5/license.html#history-of-the-software)4143  - [Условия доступа и использования Python](https://python-all.ru/3.5/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python)41444145    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ PSF ДЛЯ PYTHON 3.5.10](https://python-all.ru/3.5/license.html#psf-license-agreement-for-python-release)4146    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ BEOPEN.COM ДЛЯ PYTHON 2.0](https://python-all.ru/3.5/license.html#beopen-com-license-agreement-for-python-2-0)4147    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ CNRI ДЛЯ PYTHON 1.6.1](https://python-all.ru/3.5/license.html#cnri-license-agreement-for-python-1-6-1)4148    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ CWI ДЛЯ PYTHON 0.9.0 – 1.2](https://python-all.ru/3.5/license.html#cwi-license-agreement-for-python-0-9-0-through-1-2)4149  - [Лицензии и благодарности для включённого программного обеспечения](https://python-all.ru/3.5/license.html#licenses-and-acknowledgements-for-incorporated-software)41504151    - [Вихрь Мерсенна](https://python-all.ru/3.5/license.html#mersenne-twister)4152    - [Сокеты](https://python-all.ru/3.5/license.html#sockets)4153    - [Управление исключениями с плавающей точкой](https://python-all.ru/3.5/license.html#floating-point-exception-control)4154    - [Асинхронные службы сокетов](https://python-all.ru/3.5/license.html#asynchronous-socket-services)4155    - [Управление cookie](https://python-all.ru/3.5/license.html#cookie-management)4156    - [Трассировка выполнения](https://python-all.ru/3.5/license.html#execution-tracing)4157    - [Функции UUencode и UUdecode](https://python-all.ru/3.5/license.html#uuencode-and-uudecode-functions)4158    - [XML-вызовы удалённых процедур](https://python-all.ru/3.5/license.html#xml-remote-procedure-calls)4159    - [test\_epoll](https://python-all.ru/3.5/license.html#test-epoll)4160    - [Select kqueue](https://python-all.ru/3.5/license.html#select-kqueue)4161    - [SipHash24](https://python-all.ru/3.5/license.html#siphash24)4162    - [strtod and dtoa](https://python-all.ru/3.5/license.html#strtod-and-dtoa)4163    - [OpenSSL](https://python-all.ru/3.5/license.html#openssl)4164    - [expat](https://python-all.ru/3.5/license.html#expat)4165    - [libffi](https://python-all.ru/3.5/license.html#libffi)4166    - [zlib](https://python-all.ru/3.5/license.html#zlib)4167    - [cfuhash](https://python-all.ru/3.5/license.html#cfuhash)4168    - [libmpdec](https://python-all.ru/3.5/license.html#libmpdec)4169