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

contents.md

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

1> **Источник:** https://python-all.ru/3.6/contents.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Содержание документации Python89- [Что нового в Python](https://python-all.ru/3.6/whatsnew/index.html)1011  - [Что нового в Python 3.6](https://python-all.ru/3.6/whatsnew/3.6.html)1213    - [Сводка – основные моменты выпуска](https://python-all.ru/3.6/whatsnew/3.6.html#summary-release-highlights)14    - [Новые возможности](https://python-all.ru/3.6/whatsnew/3.6.html#new-features)1516      - [PEP 498: Форматированные строковые литералы](https://python-all.ru/3.6/whatsnew/3.6.html#pep-498-formatted-string-literals)17      - [PEP 526: Синтаксис аннотаций переменных](https://python-all.ru/3.6/whatsnew/3.6.html#pep-526-syntax-for-variable-annotations)18      - [PEP 515: Подчёркивания в числовых литералах](https://python-all.ru/3.6/whatsnew/3.6.html#pep-515-underscores-in-numeric-literals)19      - [PEP 525: Асинхронные генераторы](https://python-all.ru/3.6/whatsnew/3.6.html#pep-525-asynchronous-generators)20      - [PEP 530: Асинхронные включения](https://python-all.ru/3.6/whatsnew/3.6.html#pep-530-asynchronous-comprehensions)21      - [PEP 487: Упрощённая настройка создания классов](https://python-all.ru/3.6/whatsnew/3.6.html#pep-487-simpler-customization-of-class-creation)22      - [PEP 487: Улучшения протокола дескрипторов](https://python-all.ru/3.6/whatsnew/3.6.html#pep-487-descriptor-protocol-enhancements)23      - [PEP 519: Добавление протокола пути файловой системы](https://python-all.ru/3.6/whatsnew/3.6.html#pep-519-adding-a-file-system-path-protocol)24      - [PEP 495: Устранение неоднозначности местного времени](https://python-all.ru/3.6/whatsnew/3.6.html#pep-495-local-time-disambiguation)25      - [PEP 529: Изменение кодировки файловой системы Windows на UTF-8](https://python-all.ru/3.6/whatsnew/3.6.html#pep-529-change-windows-filesystem-encoding-to-utf-8)26      - [PEP 528: Изменение кодировки консоли Windows на UTF-8](https://python-all.ru/3.6/whatsnew/3.6.html#pep-528-change-windows-console-encoding-to-utf-8)27      - [PEP 520: Сохранение порядка определения атрибутов класса](https://python-all.ru/3.6/whatsnew/3.6.html#pep-520-preserving-class-attribute-definition-order)28      - [PEP 468: Сохранение порядка именованных аргументов](https://python-all.ru/3.6/whatsnew/3.6.html#pep-468-preserving-keyword-argument-order)29      - [Новая реализация dict](https://python-all.ru/3.6/whatsnew/3.6.html#new-dict-implementation)30      - [PEP 523: Добавление API оценки фреймов в CPython](https://python-all.ru/3.6/whatsnew/3.6.html#pep-523-adding-a-frame-evaluation-api-to-cpython)31      - [Переменная окружения PYTHONMALLOC](https://python-all.ru/3.6/whatsnew/3.6.html#pythonmalloc-environment-variable)32      - [Поддержка трассировки DTrace и SystemTap](https://python-all.ru/3.6/whatsnew/3.6.html#dtrace-and-systemtap-probing-support)33    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/3.6.html#other-language-changes)34    - [Новые модули](https://python-all.ru/3.6/whatsnew/3.6.html#new-modules)3536      - [secrets](https://python-all.ru/3.6/whatsnew/3.6.html#secrets)37    - [Улучшенные модули](https://python-all.ru/3.6/whatsnew/3.6.html#improved-modules)3839      - [array](https://python-all.ru/3.6/whatsnew/3.6.html#array)40      - [ast](https://python-all.ru/3.6/whatsnew/3.6.html#ast)41      - [asyncio](https://python-all.ru/3.6/whatsnew/3.6.html#asyncio)42      - [binascii](https://python-all.ru/3.6/whatsnew/3.6.html#binascii)43      - [cmath](https://python-all.ru/3.6/whatsnew/3.6.html#cmath)44      - [collections](https://python-all.ru/3.6/whatsnew/3.6.html#collections)45      - [concurrent.futures](https://python-all.ru/3.6/whatsnew/3.6.html#concurrent-futures)46      - [contextlib](https://python-all.ru/3.6/whatsnew/3.6.html#contextlib)47      - [datetime](https://python-all.ru/3.6/whatsnew/3.6.html#datetime)48      - [decimal](https://python-all.ru/3.6/whatsnew/3.6.html#decimal)49      - [distutils](https://python-all.ru/3.6/whatsnew/3.6.html#distutils)50      - [email](https://python-all.ru/3.6/whatsnew/3.6.html#email)51      - [encodings](https://python-all.ru/3.6/whatsnew/3.6.html#encodings)52      - [enum](https://python-all.ru/3.6/whatsnew/3.6.html#enum)53      - [faulthandler](https://python-all.ru/3.6/whatsnew/3.6.html#faulthandler)54      - [fileinput](https://python-all.ru/3.6/whatsnew/3.6.html#fileinput)55      - [hashlib](https://python-all.ru/3.6/whatsnew/3.6.html#hashlib)56      - [http.client](https://python-all.ru/3.6/whatsnew/3.6.html#http-client)57      - [idlelib и IDLE](https://python-all.ru/3.6/whatsnew/3.6.html#idlelib-and-idle)58      - [importlib](https://python-all.ru/3.6/whatsnew/3.6.html#importlib)59      - [inspect](https://python-all.ru/3.6/whatsnew/3.6.html#inspect)60      - [json](https://python-all.ru/3.6/whatsnew/3.6.html#json)61      - [logging](https://python-all.ru/3.6/whatsnew/3.6.html#logging)62      - [math](https://python-all.ru/3.6/whatsnew/3.6.html#math)63      - [multiprocessing](https://python-all.ru/3.6/whatsnew/3.6.html#multiprocessing)64      - [os](https://python-all.ru/3.6/whatsnew/3.6.html#os)65      - [pathlib](https://python-all.ru/3.6/whatsnew/3.6.html#pathlib)66      - [pdb](https://python-all.ru/3.6/whatsnew/3.6.html#pdb)67      - [pickle](https://python-all.ru/3.6/whatsnew/3.6.html#pickle)68      - [pickletools](https://python-all.ru/3.6/whatsnew/3.6.html#pickletools)69      - [pydoc](https://python-all.ru/3.6/whatsnew/3.6.html#pydoc)70      - [random](https://python-all.ru/3.6/whatsnew/3.6.html#random)71      - [re](https://python-all.ru/3.6/whatsnew/3.6.html#re)72      - [readline](https://python-all.ru/3.6/whatsnew/3.6.html#readline)73      - [rlcompleter](https://python-all.ru/3.6/whatsnew/3.6.html#rlcompleter)74      - [shlex](https://python-all.ru/3.6/whatsnew/3.6.html#shlex)75      - [site](https://python-all.ru/3.6/whatsnew/3.6.html#site)76      - [sqlite3](https://python-all.ru/3.6/whatsnew/3.6.html#sqlite3)77      - [сокет](https://python-all.ru/3.6/whatsnew/3.6.html#socket)78      - [socketserver](https://python-all.ru/3.6/whatsnew/3.6.html#socketserver)79      - [ssl](https://python-all.ru/3.6/whatsnew/3.6.html#ssl)80      - [statistics](https://python-all.ru/3.6/whatsnew/3.6.html#statistics)81      - [struct](https://python-all.ru/3.6/whatsnew/3.6.html#struct)82      - [подпроцесс](https://python-all.ru/3.6/whatsnew/3.6.html#subprocess)83      - [sys](https://python-all.ru/3.6/whatsnew/3.6.html#sys)84      - [telnetlib](https://python-all.ru/3.6/whatsnew/3.6.html#telnetlib)85      - [time](https://python-all.ru/3.6/whatsnew/3.6.html#time)86      - [timeit](https://python-all.ru/3.6/whatsnew/3.6.html#timeit)87      - [tkinter](https://python-all.ru/3.6/whatsnew/3.6.html#tkinter)88      - [traceback](https://python-all.ru/3.6/whatsnew/3.6.html#traceback)89      - [tracemalloc](https://python-all.ru/3.6/whatsnew/3.6.html#tracemalloc)90      - [typing](https://python-all.ru/3.6/whatsnew/3.6.html#typing)91      - [unicodedata](https://python-all.ru/3.6/whatsnew/3.6.html#unicodedata)92      - [unittest.mock](https://python-all.ru/3.6/whatsnew/3.6.html#unittest-mock)93      - [urllib.request](https://python-all.ru/3.6/whatsnew/3.6.html#urllib-request)94      - [urllib.robotparser](https://python-all.ru/3.6/whatsnew/3.6.html#urllib-robotparser)95      - [venv](https://python-all.ru/3.6/whatsnew/3.6.html#venv)96      - [warnings](https://python-all.ru/3.6/whatsnew/3.6.html#warnings)97      - [winreg](https://python-all.ru/3.6/whatsnew/3.6.html#winreg)98      - [winsound](https://python-all.ru/3.6/whatsnew/3.6.html#winsound)99      - [xmlrpc.client](https://python-all.ru/3.6/whatsnew/3.6.html#xmlrpc-client)100      - [zipfile](https://python-all.ru/3.6/whatsnew/3.6.html#zipfile)101      - [zlib](https://python-all.ru/3.6/whatsnew/3.6.html#zlib)102    - [Оптимизации](https://python-all.ru/3.6/whatsnew/3.6.html#optimizations)103    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.6.html#build-and-c-api-changes)104    - [Прочие улучшения](https://python-all.ru/3.6/whatsnew/3.6.html#other-improvements)105    - [Устарело](https://python-all.ru/3.6/whatsnew/3.6.html#deprecated)106107      - [Новые ключевые слова](https://python-all.ru/3.6/whatsnew/3.6.html#new-keywords)108      - [Устаревшее поведение Python](https://python-all.ru/3.6/whatsnew/3.6.html#deprecated-python-behavior)109      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.6/whatsnew/3.6.html#deprecated-python-modules-functions-and-methods)110111        - [asynchat](https://python-all.ru/3.6/whatsnew/3.6.html#asynchat)112        - [asyncore](https://python-all.ru/3.6/whatsnew/3.6.html#asyncore)113        - [dbm](https://python-all.ru/3.6/whatsnew/3.6.html#dbm)114        - [distutils](https://python-all.ru/3.6/whatsnew/3.6.html#id2)115        - [grp](https://python-all.ru/3.6/whatsnew/3.6.html#grp)116        - [importlib](https://python-all.ru/3.6/whatsnew/3.6.html#id3)117        - [os](https://python-all.ru/3.6/whatsnew/3.6.html#id4)118        - [re](https://python-all.ru/3.6/whatsnew/3.6.html#id5)119        - [ssl](https://python-all.ru/3.6/whatsnew/3.6.html#id6)120        - [tkinter](https://python-all.ru/3.6/whatsnew/3.6.html#id7)121        - [venv](https://python-all.ru/3.6/whatsnew/3.6.html#id8)122      - [xml](https://python-all.ru/3.6/whatsnew/3.6.html#xml)123      - [Устаревшие функции и типы C API](https://python-all.ru/3.6/whatsnew/3.6.html#deprecated-functions-and-types-of-the-c-api)124      - [Устаревшие параметры сборки](https://python-all.ru/3.6/whatsnew/3.6.html#deprecated-build-options)125    - [Удалённое](https://python-all.ru/3.6/whatsnew/3.6.html#removed)126127      - [Удаление API и возможностей](https://python-all.ru/3.6/whatsnew/3.6.html#api-and-feature-removals)128    - [Перенос на Python 3.6](https://python-all.ru/3.6/whatsnew/3.6.html#porting-to-python-3-6)129130      - [Изменения в поведении команды python](https://python-all.ru/3.6/whatsnew/3.6.html#changes-in-python-command-behavior)131      - [Изменения в Python API](https://python-all.ru/3.6/whatsnew/3.6.html#changes-in-the-python-api)132      - [Изменения в C API](https://python-all.ru/3.6/whatsnew/3.6.html#changes-in-the-c-api)133      - [Изменения байт-кода CPython](https://python-all.ru/3.6/whatsnew/3.6.html#cpython-bytecode-changes)134    - [Заметные изменения в Python 3.6.2](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-2)135136      - [Новая `make regen-all` цель сборки](https://python-all.ru/3.6/whatsnew/3.6.html#new-make-regen-all-build-target)137      - [Удаление `make touch` цели сборки](https://python-all.ru/3.6/whatsnew/3.6.html#removal-of-make-touch-build-target)138    - [Заметные изменения в Python 3.6.4](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-4)139    - [Заметные изменения в Python 3.6.5](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-5)140    - [Заметные изменения в Python 3.6.7](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-7)141    - [Заметные изменения в Python 3.6.10](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-10)142    - [Заметные изменения в Python 3.6.13](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-13)143    - [Заметные изменения в Python 3.6.14](https://python-all.ru/3.6/whatsnew/3.6.html#notable-changes-in-python-3-6-14)144  - [Что нового в Python 3.5](https://python-all.ru/3.6/whatsnew/3.5.html)145146    - [Сводка – основные моменты выпуска](https://python-all.ru/3.6/whatsnew/3.5.html#summary-release-highlights)147    - [Новые возможности](https://python-all.ru/3.6/whatsnew/3.5.html#new-features)148149      - [PEP 492 - Корутины с синтаксисом async и await](https://python-all.ru/3.6/whatsnew/3.5.html#pep-492-coroutines-with-async-and-await-syntax)150      - [PEP 465 - Специализированный инфиксный оператор для матричного умножения](https://python-all.ru/3.6/whatsnew/3.5.html#pep-465-a-dedicated-infix-operator-for-matrix-multiplication)151      - [PEP 448 - Дополнительные обобщения распаковки](https://python-all.ru/3.6/whatsnew/3.5.html#pep-448-additional-unpacking-generalizations)152      - [PEP 461 - Поддержка %-форматирования для bytes и bytearray](https://python-all.ru/3.6/whatsnew/3.5.html#pep-461-percent-formatting-support-for-bytes-and-bytearray)153      - [PEP 484 - Аннотации типов](https://python-all.ru/3.6/whatsnew/3.5.html#pep-484-type-hints)154      - [PEP 471 - os.scandir() – улучшенный и более быстрый итератор каталогов](https://python-all.ru/3.6/whatsnew/3.5.html#pep-471-os-scandir-function-a-better-and-faster-directory-iterator)155      - [PEP 475: Повтор системных вызовов, завершающихся с EINTR](https://python-all.ru/3.6/whatsnew/3.5.html#pep-475-retry-system-calls-failing-with-eintr)156      - [PEP 479: Изменение обработки StopIteration внутри генераторов](https://python-all.ru/3.6/whatsnew/3.5.html#pep-479-change-stopiteration-handling-inside-generators)157      - [PEP 485: Функция для проверки приблизительного равенства](https://python-all.ru/3.6/whatsnew/3.5.html#pep-485-a-function-for-testing-approximate-equality)158      - [PEP 486: Информирование Python Launcher о виртуальных окружениях](https://python-all.ru/3.6/whatsnew/3.5.html#pep-486-make-the-python-launcher-aware-of-virtual-environments)159      - [PEP 488: Удаление PYO-файлов](https://python-all.ru/3.6/whatsnew/3.5.html#pep-488-elimination-of-pyo-files)160      - [PEP 489: Многофазная инициализация модулей расширения](https://python-all.ru/3.6/whatsnew/3.5.html#pep-489-multi-phase-extension-module-initialization)161    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/3.5.html#other-language-changes)162    - [Новые модули](https://python-all.ru/3.6/whatsnew/3.5.html#new-modules)163164      - [typing](https://python-all.ru/3.6/whatsnew/3.5.html#typing)165      - [zipapp](https://python-all.ru/3.6/whatsnew/3.5.html#zipapp)166    - [Улучшенные модули](https://python-all.ru/3.6/whatsnew/3.5.html#improved-modules)167168      - [argparse](https://python-all.ru/3.6/whatsnew/3.5.html#argparse)169      - [asyncio](https://python-all.ru/3.6/whatsnew/3.5.html#asyncio)170      - [bz2](https://python-all.ru/3.6/whatsnew/3.5.html#bz2)171      - [cgi](https://python-all.ru/3.6/whatsnew/3.5.html#cgi)172      - [cmath](https://python-all.ru/3.6/whatsnew/3.5.html#cmath)173      - [код](https://python-all.ru/3.6/whatsnew/3.5.html#code)174      - [collections](https://python-all.ru/3.6/whatsnew/3.5.html#collections)175      - [collections.abc](https://python-all.ru/3.6/whatsnew/3.5.html#collections-abc)176      - [compileall](https://python-all.ru/3.6/whatsnew/3.5.html#compileall)177      - [concurrent.futures](https://python-all.ru/3.6/whatsnew/3.5.html#concurrent-futures)178      - [configparser](https://python-all.ru/3.6/whatsnew/3.5.html#configparser)179      - [contextlib](https://python-all.ru/3.6/whatsnew/3.5.html#contextlib)180      - [csv](https://python-all.ru/3.6/whatsnew/3.5.html#csv)181      - [curses](https://python-all.ru/3.6/whatsnew/3.5.html#curses)182      - [dbm](https://python-all.ru/3.6/whatsnew/3.5.html#dbm)183      - [difflib](https://python-all.ru/3.6/whatsnew/3.5.html#difflib)184      - [distutils](https://python-all.ru/3.6/whatsnew/3.5.html#distutils)185      - [doctest](https://python-all.ru/3.6/whatsnew/3.5.html#doctest)186      - [email](https://python-all.ru/3.6/whatsnew/3.5.html#email)187      - [enum](https://python-all.ru/3.6/whatsnew/3.5.html#enum)188      - [faulthandler](https://python-all.ru/3.6/whatsnew/3.5.html#faulthandler)189      - [functools](https://python-all.ru/3.6/whatsnew/3.5.html#functools)190      - [glob](https://python-all.ru/3.6/whatsnew/3.5.html#glob)191      - [gzip](https://python-all.ru/3.6/whatsnew/3.5.html#gzip)192      - [heapq](https://python-all.ru/3.6/whatsnew/3.5.html#heapq)193      - [http](https://python-all.ru/3.6/whatsnew/3.5.html#http)194      - [http.client](https://python-all.ru/3.6/whatsnew/3.5.html#http-client)195      - [idlelib и IDLE](https://python-all.ru/3.6/whatsnew/3.5.html#idlelib-and-idle)196      - [imaplib](https://python-all.ru/3.6/whatsnew/3.5.html#imaplib)197      - [imghdr](https://python-all.ru/3.6/whatsnew/3.5.html#imghdr)198      - [importlib](https://python-all.ru/3.6/whatsnew/3.5.html#importlib)199      - [inspect](https://python-all.ru/3.6/whatsnew/3.5.html#inspect)200      - [io](https://python-all.ru/3.6/whatsnew/3.5.html#io)201      - [ipaddress](https://python-all.ru/3.6/whatsnew/3.5.html#ipaddress)202      - [json](https://python-all.ru/3.6/whatsnew/3.5.html#json)203      - [linecache](https://python-all.ru/3.6/whatsnew/3.5.html#linecache)204      - [locale](https://python-all.ru/3.6/whatsnew/3.5.html#locale)205      - [logging](https://python-all.ru/3.6/whatsnew/3.5.html#logging)206      - [lzma](https://python-all.ru/3.6/whatsnew/3.5.html#lzma)207      - [math](https://python-all.ru/3.6/whatsnew/3.5.html#math)208      - [multiprocessing](https://python-all.ru/3.6/whatsnew/3.5.html#multiprocessing)209      - [оператор](https://python-all.ru/3.6/whatsnew/3.5.html#operator)210      - [os](https://python-all.ru/3.6/whatsnew/3.5.html#os)211      - [pathlib](https://python-all.ru/3.6/whatsnew/3.5.html#pathlib)212      - [pickle](https://python-all.ru/3.6/whatsnew/3.5.html#pickle)213      - [poplib](https://python-all.ru/3.6/whatsnew/3.5.html#poplib)214      - [re](https://python-all.ru/3.6/whatsnew/3.5.html#re)215      - [readline](https://python-all.ru/3.6/whatsnew/3.5.html#readline)216      - [selectors](https://python-all.ru/3.6/whatsnew/3.5.html#selectors)217      - [shutil](https://python-all.ru/3.6/whatsnew/3.5.html#shutil)218      - [signal](https://python-all.ru/3.6/whatsnew/3.5.html#signal)219      - [smtpd](https://python-all.ru/3.6/whatsnew/3.5.html#smtpd)220      - [smtplib](https://python-all.ru/3.6/whatsnew/3.5.html#smtplib)221      - [sndhdr](https://python-all.ru/3.6/whatsnew/3.5.html#sndhdr)222      - [сокет](https://python-all.ru/3.6/whatsnew/3.5.html#socket)223      - [ssl](https://python-all.ru/3.6/whatsnew/3.5.html#ssl)224225        - [Поддержка Memory BIO](https://python-all.ru/3.6/whatsnew/3.5.html#memory-bio-support)226        - [Поддержка согласования протокола прикладного уровня](https://python-all.ru/3.6/whatsnew/3.5.html#application-layer-protocol-negotiation-support)227        - [Прочие изменения](https://python-all.ru/3.6/whatsnew/3.5.html#other-changes)228      - [sqlite3](https://python-all.ru/3.6/whatsnew/3.5.html#sqlite3)229      - [подпроцесс](https://python-all.ru/3.6/whatsnew/3.5.html#subprocess)230      - [sys](https://python-all.ru/3.6/whatsnew/3.5.html#sys)231      - [sysconfig](https://python-all.ru/3.6/whatsnew/3.5.html#sysconfig)232      - [tarfile](https://python-all.ru/3.6/whatsnew/3.5.html#tarfile)233      - [threading](https://python-all.ru/3.6/whatsnew/3.5.html#threading)234      - [time](https://python-all.ru/3.6/whatsnew/3.5.html#time)235      - [timeit](https://python-all.ru/3.6/whatsnew/3.5.html#timeit)236      - [tkinter](https://python-all.ru/3.6/whatsnew/3.5.html#tkinter)237      - [traceback](https://python-all.ru/3.6/whatsnew/3.5.html#traceback)238      - [типы](https://python-all.ru/3.6/whatsnew/3.5.html#types)239      - [unicodedata](https://python-all.ru/3.6/whatsnew/3.5.html#unicodedata)240      - [unittest](https://python-all.ru/3.6/whatsnew/3.5.html#unittest)241      - [unittest.mock](https://python-all.ru/3.6/whatsnew/3.5.html#unittest-mock)242      - [urllib](https://python-all.ru/3.6/whatsnew/3.5.html#urllib)243      - [wsgiref](https://python-all.ru/3.6/whatsnew/3.5.html#wsgiref)244      - [xmlrpc](https://python-all.ru/3.6/whatsnew/3.5.html#xmlrpc)245      - [xml.sax](https://python-all.ru/3.6/whatsnew/3.5.html#xml-sax)246      - [zipfile](https://python-all.ru/3.6/whatsnew/3.5.html#zipfile)247    - [Другие изменения на уровне модулей](https://python-all.ru/3.6/whatsnew/3.5.html#other-module-level-changes)248    - [Оптимизации](https://python-all.ru/3.6/whatsnew/3.5.html#optimizations)249    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.5.html#build-and-c-api-changes)250    - [Устарело](https://python-all.ru/3.6/whatsnew/3.5.html#deprecated)251252      - [Новые ключевые слова](https://python-all.ru/3.6/whatsnew/3.5.html#new-keywords)253      - [Устаревшее поведение Python](https://python-all.ru/3.6/whatsnew/3.5.html#deprecated-python-behavior)254      - [Неподдерживаемые операционные системы](https://python-all.ru/3.6/whatsnew/3.5.html#unsupported-operating-systems)255      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.6/whatsnew/3.5.html#deprecated-python-modules-functions-and-methods)256    - [Удалённое](https://python-all.ru/3.6/whatsnew/3.5.html#removed)257258      - [Удаление API и возможностей](https://python-all.ru/3.6/whatsnew/3.5.html#api-and-feature-removals)259    - [Переход на Python 3.5](https://python-all.ru/3.6/whatsnew/3.5.html#porting-to-python-3-5)260261      - [Изменения в поведении Python](https://python-all.ru/3.6/whatsnew/3.5.html#changes-in-python-behavior)262      - [Изменения в Python API](https://python-all.ru/3.6/whatsnew/3.5.html#changes-in-the-python-api)263      - [Изменения в C API](https://python-all.ru/3.6/whatsnew/3.5.html#changes-in-the-c-api)264    - [Заметные изменения в Python 3.5.4](https://python-all.ru/3.6/whatsnew/3.5.html#notable-changes-in-python-3-5-4)265266      - [Новая `make regen-all` цель сборки](https://python-all.ru/3.6/whatsnew/3.5.html#new-make-regen-all-build-target)267      - [Удаление `make touch` цели сборки](https://python-all.ru/3.6/whatsnew/3.5.html#removal-of-make-touch-build-target)268  - [Что нового в Python 3.4](https://python-all.ru/3.6/whatsnew/3.4.html)269270    - [Сводка – основные моменты выпуска](https://python-all.ru/3.6/whatsnew/3.4.html#summary-release-highlights)271    - [Новые возможности](https://python-all.ru/3.6/whatsnew/3.4.html#new-features)272273      - [PEP 453: Явная начальная загрузка pip в установках Python](https://python-all.ru/3.6/whatsnew/3.4.html#pep-453-explicit-bootstrapping-of-pip-in-python-installations)274275        - [Автоматическая установка pip по умолчанию](https://python-all.ru/3.6/whatsnew/3.4.html#bootstrapping-pip-by-default)276        - [Изменения в документации](https://python-all.ru/3.6/whatsnew/3.4.html#documentation-changes)277      - [PEP 446: Вновь созданные файловые дескрипторы не наследуются](https://python-all.ru/3.6/whatsnew/3.4.html#pep-446-newly-created-file-descriptors-are-non-inheritable)278      - [Улучшения в обработке кодеков](https://python-all.ru/3.6/whatsnew/3.4.html#improvements-to-codec-handling)279      - [PEP 451: Тип ModuleSpec для системы импорта](https://python-all.ru/3.6/whatsnew/3.4.html#pep-451-a-modulespec-type-for-the-import-system)280      - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/3.4.html#other-language-changes)281    - [Новые модули](https://python-all.ru/3.6/whatsnew/3.4.html#new-modules)282283      - [asyncio](https://python-all.ru/3.6/whatsnew/3.4.html#asyncio)284      - [ensurepip](https://python-all.ru/3.6/whatsnew/3.4.html#ensurepip)285      - [enum](https://python-all.ru/3.6/whatsnew/3.4.html#enum)286      - [pathlib](https://python-all.ru/3.6/whatsnew/3.4.html#pathlib)287      - [selectors](https://python-all.ru/3.6/whatsnew/3.4.html#selectors)288      - [statistics](https://python-all.ru/3.6/whatsnew/3.4.html#statistics)289      - [tracemalloc](https://python-all.ru/3.6/whatsnew/3.4.html#tracemalloc)290    - [Улучшенные модули](https://python-all.ru/3.6/whatsnew/3.4.html#improved-modules)291292      - [abc](https://python-all.ru/3.6/whatsnew/3.4.html#abc)293      - [aifc](https://python-all.ru/3.6/whatsnew/3.4.html#aifc)294      - [argparse](https://python-all.ru/3.6/whatsnew/3.4.html#argparse)295      - [audioop](https://python-all.ru/3.6/whatsnew/3.4.html#audioop)296      - [base64](https://python-all.ru/3.6/whatsnew/3.4.html#base64)297      - [collections](https://python-all.ru/3.6/whatsnew/3.4.html#collections)298      - [colorsys](https://python-all.ru/3.6/whatsnew/3.4.html#colorsys)299      - [contextlib](https://python-all.ru/3.6/whatsnew/3.4.html#contextlib)300      - [dbm](https://python-all.ru/3.6/whatsnew/3.4.html#dbm)301      - [dis](https://python-all.ru/3.6/whatsnew/3.4.html#dis)302      - [doctest](https://python-all.ru/3.6/whatsnew/3.4.html#doctest)303      - [email](https://python-all.ru/3.6/whatsnew/3.4.html#email)304      - [filecmp](https://python-all.ru/3.6/whatsnew/3.4.html#filecmp)305      - [functools](https://python-all.ru/3.6/whatsnew/3.4.html#functools)306      - [gc](https://python-all.ru/3.6/whatsnew/3.4.html#gc)307      - [glob](https://python-all.ru/3.6/whatsnew/3.4.html#glob)308      - [hashlib](https://python-all.ru/3.6/whatsnew/3.4.html#hashlib)309      - [hmac](https://python-all.ru/3.6/whatsnew/3.4.html#hmac)310      - [html](https://python-all.ru/3.6/whatsnew/3.4.html#html)311      - [http](https://python-all.ru/3.6/whatsnew/3.4.html#http)312      - [idlelib и IDLE](https://python-all.ru/3.6/whatsnew/3.4.html#idlelib-and-idle)313      - [importlib](https://python-all.ru/3.6/whatsnew/3.4.html#importlib)314      - [inspect](https://python-all.ru/3.6/whatsnew/3.4.html#inspect)315      - [ipaddress](https://python-all.ru/3.6/whatsnew/3.4.html#ipaddress)316      - [logging](https://python-all.ru/3.6/whatsnew/3.4.html#logging)317      - [marshal](https://python-all.ru/3.6/whatsnew/3.4.html#marshal)318      - [mmap](https://python-all.ru/3.6/whatsnew/3.4.html#mmap)319      - [multiprocessing](https://python-all.ru/3.6/whatsnew/3.4.html#multiprocessing)320      - [оператор](https://python-all.ru/3.6/whatsnew/3.4.html#operator)321      - [os](https://python-all.ru/3.6/whatsnew/3.4.html#os)322      - [pdb](https://python-all.ru/3.6/whatsnew/3.4.html#pdb)323      - [pickle](https://python-all.ru/3.6/whatsnew/3.4.html#pickle)324      - [plistlib](https://python-all.ru/3.6/whatsnew/3.4.html#plistlib)325      - [poplib](https://python-all.ru/3.6/whatsnew/3.4.html#poplib)326      - [pprint](https://python-all.ru/3.6/whatsnew/3.4.html#pprint)327      - [pty](https://python-all.ru/3.6/whatsnew/3.4.html#pty)328      - [pydoc](https://python-all.ru/3.6/whatsnew/3.4.html#pydoc)329      - [re](https://python-all.ru/3.6/whatsnew/3.4.html#re)330      - [resource](https://python-all.ru/3.6/whatsnew/3.4.html#resource)331      - [select](https://python-all.ru/3.6/whatsnew/3.4.html#select)332      - [shelve](https://python-all.ru/3.6/whatsnew/3.4.html#shelve)333      - [shutil](https://python-all.ru/3.6/whatsnew/3.4.html#shutil)334      - [smtpd](https://python-all.ru/3.6/whatsnew/3.4.html#smtpd)335      - [smtplib](https://python-all.ru/3.6/whatsnew/3.4.html#smtplib)336      - [сокет](https://python-all.ru/3.6/whatsnew/3.4.html#socket)337      - [sqlite3](https://python-all.ru/3.6/whatsnew/3.4.html#sqlite3)338      - [ssl](https://python-all.ru/3.6/whatsnew/3.4.html#ssl)339      - [stat](https://python-all.ru/3.6/whatsnew/3.4.html#stat)340      - [struct](https://python-all.ru/3.6/whatsnew/3.4.html#struct)341      - [подпроцесс](https://python-all.ru/3.6/whatsnew/3.4.html#subprocess)342      - [sunau](https://python-all.ru/3.6/whatsnew/3.4.html#sunau)343      - [sys](https://python-all.ru/3.6/whatsnew/3.4.html#sys)344      - [tarfile](https://python-all.ru/3.6/whatsnew/3.4.html#tarfile)345      - [textwrap](https://python-all.ru/3.6/whatsnew/3.4.html#textwrap)346      - [threading](https://python-all.ru/3.6/whatsnew/3.4.html#threading)347      - [traceback](https://python-all.ru/3.6/whatsnew/3.4.html#traceback)348      - [типы](https://python-all.ru/3.6/whatsnew/3.4.html#types)349      - [urllib](https://python-all.ru/3.6/whatsnew/3.4.html#urllib)350      - [unittest](https://python-all.ru/3.6/whatsnew/3.4.html#unittest)351      - [venv](https://python-all.ru/3.6/whatsnew/3.4.html#venv)352      - [wave](https://python-all.ru/3.6/whatsnew/3.4.html#wave)353      - [weakref](https://python-all.ru/3.6/whatsnew/3.4.html#weakref)354      - [xml.etree](https://python-all.ru/3.6/whatsnew/3.4.html#xml-etree)355      - [zipfile](https://python-all.ru/3.6/whatsnew/3.4.html#zipfile)356    - [Изменения в реализации CPython](https://python-all.ru/3.6/whatsnew/3.4.html#cpython-implementation-changes)357358      - [PEP 445: Настройка аллокаторов памяти CPython](https://python-all.ru/3.6/whatsnew/3.4.html#pep-445-customization-of-cpython-memory-allocators)359      - [PEP 442: Безопасная финализация объектов](https://python-all.ru/3.6/whatsnew/3.4.html#pep-442-safe-object-finalization)360      - [PEP 456: Безопасный и взаимозаменяемый хеш-алгоритм](https://python-all.ru/3.6/whatsnew/3.4.html#pep-456-secure-and-interchangeable-hash-algorithm)361      - [PEP 436: Argument Clinic](https://python-all.ru/3.6/whatsnew/3.4.html#pep-436-argument-clinic)362      - [Прочие изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.4.html#other-build-and-c-api-changes)363      - [Прочие улучшения](https://python-all.ru/3.6/whatsnew/3.4.html#other-improvements)364      - [Значительные оптимизации](https://python-all.ru/3.6/whatsnew/3.4.html#significant-optimizations)365    - [Устарело](https://python-all.ru/3.6/whatsnew/3.4.html#deprecated)366367      - [Устаревшие возможности в Python API](https://python-all.ru/3.6/whatsnew/3.4.html#deprecations-in-the-python-api)368      - [Устаревшие возможности](https://python-all.ru/3.6/whatsnew/3.4.html#deprecated-features)369    - [Удалённое](https://python-all.ru/3.6/whatsnew/3.4.html#removed)370371      - [Операционные системы, больше не поддерживаемые](https://python-all.ru/3.6/whatsnew/3.4.html#operating-systems-no-longer-supported)372      - [Удаление API и возможностей](https://python-all.ru/3.6/whatsnew/3.4.html#api-and-feature-removals)373      - [Очистка кода](https://python-all.ru/3.6/whatsnew/3.4.html#code-cleanups)374    - [Перенос на Python 3.4](https://python-all.ru/3.6/whatsnew/3.4.html#porting-to-python-3-4)375376      - [Изменения в поведении команды python](https://python-all.ru/3.6/whatsnew/3.4.html#changes-in-python-command-behavior)377      - [Изменения в Python API](https://python-all.ru/3.6/whatsnew/3.4.html#changes-in-the-python-api)378      - [Изменения в C API](https://python-all.ru/3.6/whatsnew/3.4.html#changes-in-the-c-api)379    - [Изменено в 3.4.3](https://python-all.ru/3.6/whatsnew/3.4.html#changed-in-3-4-3)380381      - [PEP 476: Включение проверки сертификатов по умолчанию для http-клиентов стандартной библиотеки](https://python-all.ru/3.6/whatsnew/3.4.html#pep-476-enabling-certificate-verification-by-default-for-stdlib-http-clients)382  - [Что нового в Python 3.3](https://python-all.ru/3.6/whatsnew/3.3.html)383384    - [Сводка – основные моменты выпуска](https://python-all.ru/3.6/whatsnew/3.3.html#summary-release-highlights)385    - [PEP 405: Виртуальные окружения](https://python-all.ru/3.6/whatsnew/3.3.html#pep-405-virtual-environments)386    - [PEP 420: Неявные пакеты пространств имён](https://python-all.ru/3.6/whatsnew/3.3.html#pep-420-implicit-namespace-packages)387    - [PEP 3118: Новая реализация memoryview и документация протокола буферов](https://python-all.ru/3.6/whatsnew/3.3.html#pep-3118-new-memoryview-implementation-and-buffer-protocol-documentation)388389      - [Возможности](https://python-all.ru/3.6/whatsnew/3.3.html#features)390      - [Изменения API](https://python-all.ru/3.6/whatsnew/3.3.html#api-changes)391    - [PEP 393: Гибкое представление строк](https://python-all.ru/3.6/whatsnew/3.3.html#pep-393-flexible-string-representation)392393      - [Функциональность](https://python-all.ru/3.6/whatsnew/3.3.html#functionality)394      - [Производительность и потребление ресурсов](https://python-all.ru/3.6/whatsnew/3.3.html#performance-and-resource-usage)395    - [PEP 397: Средство запуска Python для Windows](https://python-all.ru/3.6/whatsnew/3.3.html#pep-397-python-launcher-for-windows)396    - [PEP 3151: Переработка иерархии исключений ОС и ввода-вывода](https://python-all.ru/3.6/whatsnew/3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy)397    - [PEP 380: Синтаксис делегирования подгенератору](https://python-all.ru/3.6/whatsnew/3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator)398    - [PEP 409: Подавление контекста исключения](https://python-all.ru/3.6/whatsnew/3.3.html#pep-409-suppressing-exception-context)399    - [PEP 414: Явные литералы Unicode](https://python-all.ru/3.6/whatsnew/3.3.html#pep-414-explicit-unicode-literals)400    - [PEP 3155: Квалифицированное имя для классов и функций](https://python-all.ru/3.6/whatsnew/3.3.html#pep-3155-qualified-name-for-classes-and-functions)401    - [PEP 412: Словарь с разделением ключей](https://python-all.ru/3.6/whatsnew/3.3.html#pep-412-key-sharing-dictionary)402    - [PEP 362: Объект сигнатуры функции](https://python-all.ru/3.6/whatsnew/3.3.html#pep-362-function-signature-object)403    - [PEP 421: Добавление sys.implementation](https://python-all.ru/3.6/whatsnew/3.3.html#pep-421-adding-sys-implementation)404405      - [SimpleNamespace](https://python-all.ru/3.6/whatsnew/3.3.html#simplenamespace)406    - [Использование importlib в качестве реализации импорта](https://python-all.ru/3.6/whatsnew/3.3.html#using-importlib-as-the-implementation-of-import)407408      - [Новые API](https://python-all.ru/3.6/whatsnew/3.3.html#new-apis)409      - [Заметные изменения](https://python-all.ru/3.6/whatsnew/3.3.html#visible-changes)410    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/3.3.html#other-language-changes)411    - [Более детальная блокировка импорта](https://python-all.ru/3.6/whatsnew/3.3.html#a-finer-grained-import-lock)412    - [Встроенные функции и типы](https://python-all.ru/3.6/whatsnew/3.3.html#builtin-functions-and-types)413    - [Новые модули](https://python-all.ru/3.6/whatsnew/3.3.html#new-modules)414415      - [faulthandler](https://python-all.ru/3.6/whatsnew/3.3.html#faulthandler)416      - [ipaddress](https://python-all.ru/3.6/whatsnew/3.3.html#ipaddress)417      - [lzma](https://python-all.ru/3.6/whatsnew/3.3.html#lzma)418    - [Улучшенные модули](https://python-all.ru/3.6/whatsnew/3.3.html#improved-modules)419420      - [abc](https://python-all.ru/3.6/whatsnew/3.3.html#abc)421      - [array](https://python-all.ru/3.6/whatsnew/3.3.html#array)422      - [base64](https://python-all.ru/3.6/whatsnew/3.3.html#base64)423      - [binascii](https://python-all.ru/3.6/whatsnew/3.3.html#binascii)424      - [bz2](https://python-all.ru/3.6/whatsnew/3.3.html#bz2)425      - [codecs](https://python-all.ru/3.6/whatsnew/3.3.html#codecs)426      - [collections](https://python-all.ru/3.6/whatsnew/3.3.html#collections)427      - [contextlib](https://python-all.ru/3.6/whatsnew/3.3.html#contextlib)428      - [crypt](https://python-all.ru/3.6/whatsnew/3.3.html#crypt)429      - [curses](https://python-all.ru/3.6/whatsnew/3.3.html#curses)430      - [datetime](https://python-all.ru/3.6/whatsnew/3.3.html#datetime)431      - [decimal](https://python-all.ru/3.6/whatsnew/3.3.html#decimal)432433        - [Возможности](https://python-all.ru/3.6/whatsnew/3.3.html#id1)434        - [Изменения API](https://python-all.ru/3.6/whatsnew/3.3.html#id2)435      - [email](https://python-all.ru/3.6/whatsnew/3.3.html#email)436437        - [Каркас политик](https://python-all.ru/3.6/whatsnew/3.3.html#policy-framework)438        - [Временная политика с новым API заголовков](https://python-all.ru/3.6/whatsnew/3.3.html#provisional-policy-with-new-header-api)439        - [Другие изменения API](https://python-all.ru/3.6/whatsnew/3.3.html#other-api-changes)440      - [ftplib](https://python-all.ru/3.6/whatsnew/3.3.html#ftplib)441      - [functools](https://python-all.ru/3.6/whatsnew/3.3.html#functools)442      - [gc](https://python-all.ru/3.6/whatsnew/3.3.html#gc)443      - [hmac](https://python-all.ru/3.6/whatsnew/3.3.html#hmac)444      - [http](https://python-all.ru/3.6/whatsnew/3.3.html#http)445      - [html](https://python-all.ru/3.6/whatsnew/3.3.html#html)446      - [imaplib](https://python-all.ru/3.6/whatsnew/3.3.html#imaplib)447      - [inspect](https://python-all.ru/3.6/whatsnew/3.3.html#inspect)448      - [io](https://python-all.ru/3.6/whatsnew/3.3.html#io)449      - [itertools](https://python-all.ru/3.6/whatsnew/3.3.html#itertools)450      - [logging](https://python-all.ru/3.6/whatsnew/3.3.html#logging)451      - [math](https://python-all.ru/3.6/whatsnew/3.3.html#math)452      - [mmap](https://python-all.ru/3.6/whatsnew/3.3.html#mmap)453      - [multiprocessing](https://python-all.ru/3.6/whatsnew/3.3.html#multiprocessing)454      - [nntplib](https://python-all.ru/3.6/whatsnew/3.3.html#nntplib)455      - [os](https://python-all.ru/3.6/whatsnew/3.3.html#os)456      - [pdb](https://python-all.ru/3.6/whatsnew/3.3.html#pdb)457      - [pickle](https://python-all.ru/3.6/whatsnew/3.3.html#pickle)458      - [pydoc](https://python-all.ru/3.6/whatsnew/3.3.html#pydoc)459      - [re](https://python-all.ru/3.6/whatsnew/3.3.html#re)460      - [sched](https://python-all.ru/3.6/whatsnew/3.3.html#sched)461      - [select](https://python-all.ru/3.6/whatsnew/3.3.html#select)462      - [shlex](https://python-all.ru/3.6/whatsnew/3.3.html#shlex)463      - [shutil](https://python-all.ru/3.6/whatsnew/3.3.html#shutil)464      - [signal](https://python-all.ru/3.6/whatsnew/3.3.html#signal)465      - [smtpd](https://python-all.ru/3.6/whatsnew/3.3.html#smtpd)466      - [smtplib](https://python-all.ru/3.6/whatsnew/3.3.html#smtplib)467      - [сокет](https://python-all.ru/3.6/whatsnew/3.3.html#socket)468      - [socketserver](https://python-all.ru/3.6/whatsnew/3.3.html#socketserver)469      - [sqlite3](https://python-all.ru/3.6/whatsnew/3.3.html#sqlite3)470      - [ssl](https://python-all.ru/3.6/whatsnew/3.3.html#ssl)471      - [stat](https://python-all.ru/3.6/whatsnew/3.3.html#stat)472      - [struct](https://python-all.ru/3.6/whatsnew/3.3.html#struct)473      - [подпроцесс](https://python-all.ru/3.6/whatsnew/3.3.html#subprocess)474      - [sys](https://python-all.ru/3.6/whatsnew/3.3.html#sys)475      - [tarfile](https://python-all.ru/3.6/whatsnew/3.3.html#tarfile)476      - [tempfile](https://python-all.ru/3.6/whatsnew/3.3.html#tempfile)477      - [textwrap](https://python-all.ru/3.6/whatsnew/3.3.html#textwrap)478      - [threading](https://python-all.ru/3.6/whatsnew/3.3.html#threading)479      - [time](https://python-all.ru/3.6/whatsnew/3.3.html#time)480      - [типы](https://python-all.ru/3.6/whatsnew/3.3.html#types)481      - [unittest](https://python-all.ru/3.6/whatsnew/3.3.html#unittest)482      - [urllib](https://python-all.ru/3.6/whatsnew/3.3.html#urllib)483      - [webbrowser](https://python-all.ru/3.6/whatsnew/3.3.html#webbrowser)484      - [xml.etree.ElementTree](https://python-all.ru/3.6/whatsnew/3.3.html#xml-etree-elementtree)485      - [zlib](https://python-all.ru/3.6/whatsnew/3.3.html#zlib)486    - [Оптимизации](https://python-all.ru/3.6/whatsnew/3.3.html#optimizations)487    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.3.html#build-and-c-api-changes)488    - [Устарело](https://python-all.ru/3.6/whatsnew/3.3.html#deprecated)489490      - [Неподдерживаемые операционные системы](https://python-all.ru/3.6/whatsnew/3.3.html#unsupported-operating-systems)491      - [Устаревшие модули, функции и методы Python](https://python-all.ru/3.6/whatsnew/3.3.html#deprecated-python-modules-functions-and-methods)492      - [Устаревшие функции и типы C API](https://python-all.ru/3.6/whatsnew/3.3.html#deprecated-functions-and-types-of-the-c-api)493      - [Устаревшие возможности](https://python-all.ru/3.6/whatsnew/3.3.html#deprecated-features)494    - [Портирование на Python 3.3](https://python-all.ru/3.6/whatsnew/3.3.html#porting-to-python-3-3)495496      - [Перенос кода Python](https://python-all.ru/3.6/whatsnew/3.3.html#porting-python-code)497      - [Перенос кода C](https://python-all.ru/3.6/whatsnew/3.3.html#porting-c-code)498      - [Сборка расширений на C](https://python-all.ru/3.6/whatsnew/3.3.html#building-c-extensions)499      - [Изменения параметров командной строки](https://python-all.ru/3.6/whatsnew/3.3.html#command-line-switch-changes)500  - [Что нового в Python 3.2](https://python-all.ru/3.6/whatsnew/3.2.html)501502    - [PEP 384: Определение стабильного ABI](https://python-all.ru/3.6/whatsnew/3.2.html#pep-384-defining-a-stable-abi)503    - [PEP 389: Модуль разбора командной строки argparse](https://python-all.ru/3.6/whatsnew/3.2.html#pep-389-argparse-command-line-parsing-module)504    - [PEP 391: Конфигурация логирования на основе словарей](https://python-all.ru/3.6/whatsnew/3.2.html#pep-391-dictionary-based-configuration-for-logging)505    - [PEP 3148: Модуль `concurrent.futures`](https://python-all.ru/3.6/whatsnew/3.2.html#pep-3148-the-concurrent-futures-module)506    - [PEP 3147: Каталоги репозитория PYC](https://python-all.ru/3.6/whatsnew/3.2.html#pep-3147-pyc-repository-directories)507    - [PEP 3149: Файлы .so с тегом версии ABI](https://python-all.ru/3.6/whatsnew/3.2.html#pep-3149-abi-version-tagged-so-files)508    - [PEP 3333: Интерфейс шлюза веб-сервера Python v1.0.1](https://python-all.ru/3.6/whatsnew/3.2.html#pep-3333-python-web-server-gateway-interface-v1-0-1)509    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/3.2.html#other-language-changes)510    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.6/whatsnew/3.2.html#new-improved-and-deprecated-modules)511512      - [email](https://python-all.ru/3.6/whatsnew/3.2.html#email)513      - [elementtree](https://python-all.ru/3.6/whatsnew/3.2.html#elementtree)514      - [functools](https://python-all.ru/3.6/whatsnew/3.2.html#functools)515      - [itertools](https://python-all.ru/3.6/whatsnew/3.2.html#itertools)516      - [collections](https://python-all.ru/3.6/whatsnew/3.2.html#collections)517      - [threading](https://python-all.ru/3.6/whatsnew/3.2.html#threading)518      - [datetime и time](https://python-all.ru/3.6/whatsnew/3.2.html#datetime-and-time)519      - [math](https://python-all.ru/3.6/whatsnew/3.2.html#math)520      - [abc](https://python-all.ru/3.6/whatsnew/3.2.html#abc)521      - [io](https://python-all.ru/3.6/whatsnew/3.2.html#io)522      - [reprlib](https://python-all.ru/3.6/whatsnew/3.2.html#reprlib)523      - [logging](https://python-all.ru/3.6/whatsnew/3.2.html#logging)524      - [csv](https://python-all.ru/3.6/whatsnew/3.2.html#csv)525      - [contextlib](https://python-all.ru/3.6/whatsnew/3.2.html#contextlib)526      - [decimal и fractions](https://python-all.ru/3.6/whatsnew/3.2.html#decimal-and-fractions)527      - [ftp](https://python-all.ru/3.6/whatsnew/3.2.html#ftp)528      - [popen](https://python-all.ru/3.6/whatsnew/3.2.html#popen)529      - [select](https://python-all.ru/3.6/whatsnew/3.2.html#select)530      - [gzip и zipfile](https://python-all.ru/3.6/whatsnew/3.2.html#gzip-and-zipfile)531      - [tarfile](https://python-all.ru/3.6/whatsnew/3.2.html#tarfile)532      - [hashlib](https://python-all.ru/3.6/whatsnew/3.2.html#hashlib)533      - [ast](https://python-all.ru/3.6/whatsnew/3.2.html#ast)534      - [os](https://python-all.ru/3.6/whatsnew/3.2.html#os)535      - [shutil](https://python-all.ru/3.6/whatsnew/3.2.html#shutil)536      - [sqlite3](https://python-all.ru/3.6/whatsnew/3.2.html#sqlite3)537      - [html](https://python-all.ru/3.6/whatsnew/3.2.html#html)538      - [сокет](https://python-all.ru/3.6/whatsnew/3.2.html#socket)539      - [ssl](https://python-all.ru/3.6/whatsnew/3.2.html#ssl)540      - [nntp](https://python-all.ru/3.6/whatsnew/3.2.html#nntp)541      - [сертификаты](https://python-all.ru/3.6/whatsnew/3.2.html#certificates)542      - [imaplib](https://python-all.ru/3.6/whatsnew/3.2.html#imaplib)543      - [http.client](https://python-all.ru/3.6/whatsnew/3.2.html#http-client)544      - [unittest](https://python-all.ru/3.6/whatsnew/3.2.html#unittest)545      - [random](https://python-all.ru/3.6/whatsnew/3.2.html#random)546      - [poplib](https://python-all.ru/3.6/whatsnew/3.2.html#poplib)547      - [asyncore](https://python-all.ru/3.6/whatsnew/3.2.html#asyncore)548      - [tempfile](https://python-all.ru/3.6/whatsnew/3.2.html#tempfile)549      - [inspect](https://python-all.ru/3.6/whatsnew/3.2.html#inspect)550      - [pydoc](https://python-all.ru/3.6/whatsnew/3.2.html#pydoc)551      - [dis](https://python-all.ru/3.6/whatsnew/3.2.html#dis)552      - [dbm](https://python-all.ru/3.6/whatsnew/3.2.html#dbm)553      - [ctypes](https://python-all.ru/3.6/whatsnew/3.2.html#ctypes)554      - [site](https://python-all.ru/3.6/whatsnew/3.2.html#site)555      - [sysconfig](https://python-all.ru/3.6/whatsnew/3.2.html#sysconfig)556      - [pdb](https://python-all.ru/3.6/whatsnew/3.2.html#pdb)557      - [configparser](https://python-all.ru/3.6/whatsnew/3.2.html#configparser)558      - [urllib.parse](https://python-all.ru/3.6/whatsnew/3.2.html#urllib-parse)559      - [mailbox](https://python-all.ru/3.6/whatsnew/3.2.html#mailbox)560      - [turtledemo](https://python-all.ru/3.6/whatsnew/3.2.html#turtledemo)561    - [Многопоточность](https://python-all.ru/3.6/whatsnew/3.2.html#multi-threading)562    - [Оптимизации](https://python-all.ru/3.6/whatsnew/3.2.html#optimizations)563    - [Юникод](https://python-all.ru/3.6/whatsnew/3.2.html#unicode)564    - [Кодеки](https://python-all.ru/3.6/whatsnew/3.2.html#codecs)565    - [Документация](https://python-all.ru/3.6/whatsnew/3.2.html#documentation)566    - [IDLE](https://python-all.ru/3.6/whatsnew/3.2.html#idle)567    - [Репозиторий кода](https://python-all.ru/3.6/whatsnew/3.2.html#code-repository)568    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.2.html#build-and-c-api-changes)569    - [Переход на Python 3.2](https://python-all.ru/3.6/whatsnew/3.2.html#porting-to-python-3-2)570  - [Что нового в Python 3.1](https://python-all.ru/3.6/whatsnew/3.1.html)571572    - [PEP 372: Упорядоченные словари](https://python-all.ru/3.6/whatsnew/3.1.html#pep-372-ordered-dictionaries)573    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.6/whatsnew/3.1.html#pep-378-format-specifier-for-thousands-separator)574    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/3.1.html#other-language-changes)575    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.6/whatsnew/3.1.html#new-improved-and-deprecated-modules)576    - [Оптимизации](https://python-all.ru/3.6/whatsnew/3.1.html#optimizations)577    - [IDLE](https://python-all.ru/3.6/whatsnew/3.1.html#idle)578    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.1.html#build-and-c-api-changes)579    - [Переход на Python 3.1](https://python-all.ru/3.6/whatsnew/3.1.html#porting-to-python-3-1)580  - [Что нового в Python 3.0](https://python-all.ru/3.6/whatsnew/3.0.html)581582    - [Типичные трудности](https://python-all.ru/3.6/whatsnew/3.0.html#common-stumbling-blocks)583584      - [Print – это функция](https://python-all.ru/3.6/whatsnew/3.0.html#print-is-a-function)585      - [Представления и итераторы вместо списков](https://python-all.ru/3.6/whatsnew/3.0.html#views-and-iterators-instead-of-lists)586      - [Сравнение на упорядочивание](https://python-all.ru/3.6/whatsnew/3.0.html#ordering-comparisons)587      - [Целые числа](https://python-all.ru/3.6/whatsnew/3.0.html#integers)588      - [Текст против данных: вместо Unicode и 8-битных строк](https://python-all.ru/3.6/whatsnew/3.0.html#text-vs-data-instead-of-unicode-vs-8-bit)589    - [Обзор изменений синтаксиса](https://python-all.ru/3.6/whatsnew/3.0.html#overview-of-syntax-changes)590591      - [Новый синтаксис](https://python-all.ru/3.6/whatsnew/3.0.html#new-syntax)592      - [Изменённый синтаксис](https://python-all.ru/3.6/whatsnew/3.0.html#changed-syntax)593      - [Удалённый синтаксис](https://python-all.ru/3.6/whatsnew/3.0.html#removed-syntax)594    - [Изменения, уже присутствовавшие в Python 2.6](https://python-all.ru/3.6/whatsnew/3.0.html#changes-already-present-in-python-2-6)595    - [Изменения в библиотеке](https://python-all.ru/3.6/whatsnew/3.0.html#library-changes)596    - [**PEP 3101**: Новый подход к форматированию строк](https://python-all.ru/3.6/whatsnew/3.0.html#pep-3101-a-new-approach-to-string-formatting)597    - [Изменения в исключениях](https://python-all.ru/3.6/whatsnew/3.0.html#changes-to-exceptions)598    - [Прочие изменения](https://python-all.ru/3.6/whatsnew/3.0.html#miscellaneous-other-changes)599600      - [Операторы и специальные методы](https://python-all.ru/3.6/whatsnew/3.0.html#operators-and-special-methods)601      - [Встроенные функции](https://python-all.ru/3.6/whatsnew/3.0.html#builtins)602    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/3.0.html#build-and-c-api-changes)603    - [Производительность](https://python-all.ru/3.6/whatsnew/3.0.html#performance)604    - [Переход на Python 3.0](https://python-all.ru/3.6/whatsnew/3.0.html#porting-to-python-3-0)605  - [Что нового в Python 2.7](https://python-all.ru/3.6/whatsnew/2.7.html)606607    - [Будущее Python 2.x](https://python-all.ru/3.6/whatsnew/2.7.html#the-future-for-python-2-x)608    - [Изменения в обработке предупреждений об устаревании](https://python-all.ru/3.6/whatsnew/2.7.html#changes-to-the-handling-of-deprecation-warnings)609    - [Возможности Python 3.1](https://python-all.ru/3.6/whatsnew/2.7.html#python-3-1-features)610    - [PEP 372: Добавление упорядоченного словаря в collections](https://python-all.ru/3.6/whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections)611    - [PEP 378: Спецификатор формата для разделителя тысяч](https://python-all.ru/3.6/whatsnew/2.7.html#pep-378-format-specifier-for-thousands-separator)612    - [PEP 389: Модуль argparse для разбора командной строки](https://python-all.ru/3.6/whatsnew/2.7.html#pep-389-the-argparse-module-for-parsing-command-lines)613    - [PEP 391: Конфигурация логирования на основе словаря](https://python-all.ru/3.6/whatsnew/2.7.html#pep-391-dictionary-based-configuration-for-logging)614    - [PEP 3106: Представления словаря](https://python-all.ru/3.6/whatsnew/2.7.html#pep-3106-dictionary-views)615    - [PEP 3137: Объект memoryview](https://python-all.ru/3.6/whatsnew/2.7.html#pep-3137-the-memoryview-object)616    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/2.7.html#other-language-changes)617618      - [Изменения в интерпретаторе](https://python-all.ru/3.6/whatsnew/2.7.html#interpreter-changes)619      - [Оптимизации](https://python-all.ru/3.6/whatsnew/2.7.html#optimizations)620    - [Новые и улучшенные модули](https://python-all.ru/3.6/whatsnew/2.7.html#new-and-improved-modules)621622      - [Новый модуль: importlib](https://python-all.ru/3.6/whatsnew/2.7.html#new-module-importlib)623      - [Новый модуль: sysconfig](https://python-all.ru/3.6/whatsnew/2.7.html#new-module-sysconfig)624      - [ttk: Тематические виджеты для Tk](https://python-all.ru/3.6/whatsnew/2.7.html#ttk-themed-widgets-for-tk)625      - [Обновлённый модуль: unittest](https://python-all.ru/3.6/whatsnew/2.7.html#updated-module-unittest)626      - [Обновлённый модуль: ElementTree 1.3](https://python-all.ru/3.6/whatsnew/2.7.html#updated-module-elementtree-1-3)627    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/2.7.html#build-and-c-api-changes)628629      - [Капсулы](https://python-all.ru/3.6/whatsnew/2.7.html#capsules)630      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.6/whatsnew/2.7.html#port-specific-changes-windows)631      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.6/whatsnew/2.7.html#port-specific-changes-mac-os-x)632      - [Изменения для конкретной платформы: FreeBSD](https://python-all.ru/3.6/whatsnew/2.7.html#port-specific-changes-freebsd)633    - [Прочие изменения и исправления](https://python-all.ru/3.6/whatsnew/2.7.html#other-changes-and-fixes)634    - [Переход на Python 2.7](https://python-all.ru/3.6/whatsnew/2.7.html#porting-to-python-2-7)635    - [Новые возможности, добавленные в поддерживаемых выпусках Python 2.7](https://python-all.ru/3.6/whatsnew/2.7.html#new-features-added-to-python-2-7-maintenance-releases)636637      - [Две новые переменные окружения для режима отладки](https://python-all.ru/3.6/whatsnew/2.7.html#two-new-environment-variables-for-debug-mode)638      - [PEP 434: Исключение для улучшений IDLE во всех ветках](https://python-all.ru/3.6/whatsnew/2.7.html#pep-434-idle-enhancement-exception-for-all-branches)639      - [PEP 466: Улучшения сетевой безопасности для Python 2.7](https://python-all.ru/3.6/whatsnew/2.7.html#pep-466-network-security-enhancements-for-python-2-7)640      - [PEP 477: Перенос ensurepip (PEP 453) в Python 2.7](https://python-all.ru/3.6/whatsnew/2.7.html#pep-477-backport-ensurepip-pep-453-to-python-2-7)641642        - [Автоматическая установка pip по умолчанию](https://python-all.ru/3.6/whatsnew/2.7.html#bootstrapping-pip-by-default)643        - [Изменения в документации](https://python-all.ru/3.6/whatsnew/2.7.html#documentation-changes)644      - [PEP 476: Включение проверки сертификатов по умолчанию для http-клиентов стандартной библиотеки](https://python-all.ru/3.6/whatsnew/2.7.html#pep-476-enabling-certificate-verification-by-default-for-stdlib-http-clients)645      - [PEP 493: Инструменты миграции проверки HTTPS для Python 2.7](https://python-all.ru/3.6/whatsnew/2.7.html#pep-493-https-verification-migration-tools-for-python-2-7)646      - [Новая `make regen-all` цель сборки](https://python-all.ru/3.6/whatsnew/2.7.html#new-make-regen-all-build-target)647      - [Удаление `make touch` цели сборки](https://python-all.ru/3.6/whatsnew/2.7.html#removal-of-make-touch-build-target)648    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.7.html#acknowledgements)649  - [Что нового в Python 2.6](https://python-all.ru/3.6/whatsnew/2.6.html)650651    - [Python 3.0](https://python-all.ru/3.6/whatsnew/2.6.html#python-3-0)652    - [Изменения в процессе разработки](https://python-all.ru/3.6/whatsnew/2.6.html#changes-to-the-development-process)653654      - [Новый трекер ошибок: Roundup](https://python-all.ru/3.6/whatsnew/2.6.html#new-issue-tracker-roundup)655      - [Новый формат документации: reStructuredText с использованием Sphinx](https://python-all.ru/3.6/whatsnew/2.6.html#new-documentation-format-restructuredtext-using-sphinx)656    - [PEP 343: Оператор 'with'](https://python-all.ru/3.6/whatsnew/2.6.html#pep-343-the-with-statement)657658      - [Написание контекстных менеджеров](https://python-all.ru/3.6/whatsnew/2.6.html#writing-context-managers)659      - [Модуль contextlib](https://python-all.ru/3.6/whatsnew/2.6.html#the-contextlib-module)660    - [PEP 366: Явные относительные импорты из главного модуля](https://python-all.ru/3.6/whatsnew/2.6.html#pep-366-explicit-relative-imports-from-a-main-module)661    - [PEP 370: Каталог `site-packages` для каждого пользователя](https://python-all.ru/3.6/whatsnew/2.6.html#pep-370-per-user-site-packages-directory)662    - [PEP 371: Пакет `multiprocessing`](https://python-all.ru/3.6/whatsnew/2.6.html#pep-371-the-multiprocessing-package)663    - [PEP 3101: Расширенное форматирование строк](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3101-advanced-string-formatting)664    - [PEP 3105: `print` как функция](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3105-print-as-a-function)665    - [PEP 3110: Изменения в обработке исключений](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3110-exception-handling-changes)666    - [PEP 3112: Байтовые литералы](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3112-byte-literals)667    - [PEP 3116: Новая библиотека ввода-вывода](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3116-new-i-o-library)668    - [PEP 3118: Пересмотренный протокол буферов](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3118-revised-buffer-protocol)669    - [PEP 3119: Абстрактные базовые классы](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3119-abstract-base-classes)670    - [PEP 3127: Поддержка и синтаксис целочисленных литералов](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3127-integer-literal-support-and-syntax)671    - [PEP 3129: Декораторы классов](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3129-class-decorators)672    - [PEP 3141: Иерархия типов для чисел](https://python-all.ru/3.6/whatsnew/2.6.html#pep-3141-a-type-hierarchy-for-numbers)673674      - [Модуль `fractions`](https://python-all.ru/3.6/whatsnew/2.6.html#the-fractions-module)675    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/2.6.html#other-language-changes)676677      - [Оптимизации](https://python-all.ru/3.6/whatsnew/2.6.html#optimizations)678      - [Изменения в интерпретаторе](https://python-all.ru/3.6/whatsnew/2.6.html#interpreter-changes)679    - [Новые и улучшенные модули](https://python-all.ru/3.6/whatsnew/2.6.html#new-and-improved-modules)680681      - [Модуль `ast`](https://python-all.ru/3.6/whatsnew/2.6.html#the-ast-module)682      - [Модуль `future_builtins`](https://python-all.ru/3.6/whatsnew/2.6.html#the-future-builtins-module)683      - [Модуль `json`: JavaScript Object Notation](https://python-all.ru/3.6/whatsnew/2.6.html#the-json-module-javascript-object-notation)684      - [Модуль `plistlib`: парсер списков свойств](https://python-all.ru/3.6/whatsnew/2.6.html#the-plistlib-module-a-property-list-parser)685      - [Улучшения ctypes](https://python-all.ru/3.6/whatsnew/2.6.html#ctypes-enhancements)686      - [Улучшенная поддержка SSL](https://python-all.ru/3.6/whatsnew/2.6.html#improved-ssl-support)687    - [Устаревания и удаления](https://python-all.ru/3.6/whatsnew/2.6.html#deprecations-and-removals)688    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/2.6.html#build-and-c-api-changes)689690      - [Изменения для конкретных платформ: Windows](https://python-all.ru/3.6/whatsnew/2.6.html#port-specific-changes-windows)691      - [Изменения для конкретных платформ: Mac OS X](https://python-all.ru/3.6/whatsnew/2.6.html#port-specific-changes-mac-os-x)692      - [Изменения для конкретных платформ: IRIX](https://python-all.ru/3.6/whatsnew/2.6.html#port-specific-changes-irix)693    - [Переход на Python 2.6](https://python-all.ru/3.6/whatsnew/2.6.html#porting-to-python-2-6)694    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.6.html#acknowledgements)695  - [Что нового в Python 2.5](https://python-all.ru/3.6/whatsnew/2.5.html)696697    - [PEP 308: Условные выражения](https://python-all.ru/3.6/whatsnew/2.5.html#pep-308-conditional-expressions)698    - [PEP 309: Частичное применение функций](https://python-all.ru/3.6/whatsnew/2.5.html#pep-309-partial-function-application)699    - [PEP 314: Метаданные для пакетов Python v1.1](https://python-all.ru/3.6/whatsnew/2.5.html#pep-314-metadata-for-python-software-packages-v1-1)700    - [PEP 328: Абсолютные и относительные импорты](https://python-all.ru/3.6/whatsnew/2.5.html#pep-328-absolute-and-relative-imports)701    - [PEP 338: Выполнение модулей как сценариев](https://python-all.ru/3.6/whatsnew/2.5.html#pep-338-executing-modules-as-scripts)702    - [PEP 341: Единый try/except/finally](https://python-all.ru/3.6/whatsnew/2.5.html#pep-341-unified-try-except-finally)703    - [PEP 342: Новые возможности генераторов](https://python-all.ru/3.6/whatsnew/2.5.html#pep-342-new-generator-features)704    - [PEP 343: Оператор 'with'](https://python-all.ru/3.6/whatsnew/2.5.html#pep-343-the-with-statement)705706      - [Написание контекстных менеджеров](https://python-all.ru/3.6/whatsnew/2.5.html#writing-context-managers)707      - [Модуль contextlib](https://python-all.ru/3.6/whatsnew/2.5.html#the-contextlib-module)708    - [PEP 352: Исключения как классы нового стиля](https://python-all.ru/3.6/whatsnew/2.5.html#pep-352-exceptions-as-new-style-classes)709    - [PEP 353: Использование ssize\_t в качестве типа индекса](https://python-all.ru/3.6/whatsnew/2.5.html#pep-353-using-ssize-t-as-the-index-type)710    - [PEP 357: Метод '\_\_index\_\_'](https://python-all.ru/3.6/whatsnew/2.5.html#pep-357-the-index-method)711    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/2.5.html#other-language-changes)712713      - [Изменения в интерактивном интерпретаторе](https://python-all.ru/3.6/whatsnew/2.5.html#interactive-interpreter-changes)714      - [Оптимизации](https://python-all.ru/3.6/whatsnew/2.5.html#optimizations)715    - [Новые, улучшенные и удалённые модули](https://python-all.ru/3.6/whatsnew/2.5.html#new-improved-and-removed-modules)716717      - [Пакет ctypes](https://python-all.ru/3.6/whatsnew/2.5.html#the-ctypes-package)718      - [Пакет ElementTree](https://python-all.ru/3.6/whatsnew/2.5.html#the-elementtree-package)719      - [Пакет hashlib](https://python-all.ru/3.6/whatsnew/2.5.html#the-hashlib-package)720      - [Пакет sqlite3](https://python-all.ru/3.6/whatsnew/2.5.html#the-sqlite3-package)721      - [Пакет wsgiref](https://python-all.ru/3.6/whatsnew/2.5.html#the-wsgiref-package)722    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/2.5.html#build-and-c-api-changes)723724      - [Изменения для конкретных платформ](https://python-all.ru/3.6/whatsnew/2.5.html#port-specific-changes)725    - [Перенос на Python 2.5](https://python-all.ru/3.6/whatsnew/2.5.html#porting-to-python-2-5)726    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.5.html#acknowledgements)727  - [Что нового в Python 2.4](https://python-all.ru/3.6/whatsnew/2.4.html)728729    - [PEP 218: Встроенные объекты множеств](https://python-all.ru/3.6/whatsnew/2.4.html#pep-218-built-in-set-objects)730    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.6/whatsnew/2.4.html#pep-237-unifying-long-integers-and-integers)731    - [PEP 289: Генераторные выражения](https://python-all.ru/3.6/whatsnew/2.4.html#pep-289-generator-expressions)732    - [PEP 292: Упрощённая подстановка строк](https://python-all.ru/3.6/whatsnew/2.4.html#pep-292-simpler-string-substitutions)733    - [PEP 318: Декораторы для функций и методов](https://python-all.ru/3.6/whatsnew/2.4.html#pep-318-decorators-for-functions-and-methods)734    - [PEP 322: Обратная итерация](https://python-all.ru/3.6/whatsnew/2.4.html#pep-322-reverse-iteration)735    - [PEP 324: Новый модуль подпроцесса](https://python-all.ru/3.6/whatsnew/2.4.html#pep-324-new-subprocess-module)736    - [PEP 327: Тип данных Decimal](https://python-all.ru/3.6/whatsnew/2.4.html#pep-327-decimal-data-type)737738      - [Зачем нужен Decimal?](https://python-all.ru/3.6/whatsnew/2.4.html#why-is-decimal-needed)739      - [Тип `Decimal`](https://python-all.ru/3.6/whatsnew/2.4.html#the-decimal-type)740      - [Тип `Context`](https://python-all.ru/3.6/whatsnew/2.4.html#the-context-type)741    - [PEP 328: Многострочные импорты](https://python-all.ru/3.6/whatsnew/2.4.html#pep-328-multi-line-imports)742    - [PEP 331: Независящие от локали преобразования float/строк](https://python-all.ru/3.6/whatsnew/2.4.html#pep-331-locale-independent-float-string-conversions)743    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/2.4.html#other-language-changes)744745      - [Оптимизации](https://python-all.ru/3.6/whatsnew/2.4.html#optimizations)746    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.6/whatsnew/2.4.html#new-improved-and-deprecated-modules)747748      - [cookielib](https://python-all.ru/3.6/whatsnew/2.4.html#cookielib)749      - [doctest](https://python-all.ru/3.6/whatsnew/2.4.html#doctest)750    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/2.4.html#build-and-c-api-changes)751752      - [Изменения для конкретных платформ](https://python-all.ru/3.6/whatsnew/2.4.html#port-specific-changes)753    - [Перенос на Python 2.4](https://python-all.ru/3.6/whatsnew/2.4.html#porting-to-python-2-4)754    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.4.html#acknowledgements)755  - [Что нового в Python 2.3](https://python-all.ru/3.6/whatsnew/2.3.html)756757    - [PEP 218: Стандартный тип set](https://python-all.ru/3.6/whatsnew/2.3.html#pep-218-a-standard-set-datatype)758    - [PEP 255: простые генераторы](https://python-all.ru/3.6/whatsnew/2.3.html#pep-255-simple-generators)759    - [PEP 263: Кодировки исходного кода](https://python-all.ru/3.6/whatsnew/2.3.html#pep-263-source-code-encodings)760    - [PEP 273: Импорт модулей из ZIP-архивов](https://python-all.ru/3.6/whatsnew/2.3.html#pep-273-importing-modules-from-zip-archives)761    - [PEP 277: Поддержка имён файлов в Unicode для Windows NT](https://python-all.ru/3.6/whatsnew/2.3.html#pep-277-unicode-file-name-support-for-windows-nt)762    - [PEP 278: Универсальная поддержка символов новой строки](https://python-all.ru/3.6/whatsnew/2.3.html#pep-278-universal-newline-support)763    - [PEP 279: enumerate()](https://python-all.ru/3.6/whatsnew/2.3.html#pep-279-enumerate)764    - [PEP 282: Пакет logging](https://python-all.ru/3.6/whatsnew/2.3.html#pep-282-the-logging-package)765    - [PEP 285: Булев тип](https://python-all.ru/3.6/whatsnew/2.3.html#pep-285-a-boolean-type)766    - [PEP 293: Колбэки обработки ошибок кодеков](https://python-all.ru/3.6/whatsnew/2.3.html#pep-293-codec-error-handling-callbacks)767    - [PEP 301: Индекс пакетов и метаданные для Distutils](https://python-all.ru/3.6/whatsnew/2.3.html#pep-301-package-index-and-metadata-for-distutils)768    - [PEP 302: Новые хуки импорта](https://python-all.ru/3.6/whatsnew/2.3.html#pep-302-new-import-hooks)769    - [PEP 305: Файлы с разделителями-запятыми](https://python-all.ru/3.6/whatsnew/2.3.html#pep-305-comma-separated-files)770    - [PEP 307: Улучшения pickle](https://python-all.ru/3.6/whatsnew/2.3.html#pep-307-pickle-enhancements)771    - [Расширенные срезы](https://python-all.ru/3.6/whatsnew/2.3.html#extended-slices)772    - [Прочие изменения языка](https://python-all.ru/3.6/whatsnew/2.3.html#other-language-changes)773774      - [Изменения в строках](https://python-all.ru/3.6/whatsnew/2.3.html#string-changes)775      - [Оптимизации](https://python-all.ru/3.6/whatsnew/2.3.html#optimizations)776    - [Новые, улучшенные и устаревшие модули](https://python-all.ru/3.6/whatsnew/2.3.html#new-improved-and-deprecated-modules)777778      - [Тип даты/времени](https://python-all.ru/3.6/whatsnew/2.3.html#date-time-type)779      - [Модуль optparse](https://python-all.ru/3.6/whatsnew/2.3.html#the-optparse-module)780    - [Pymalloc: Специализированный аллокатор объектов](https://python-all.ru/3.6/whatsnew/2.3.html#pymalloc-a-specialized-object-allocator)781    - [Изменения в сборке и C API](https://python-all.ru/3.6/whatsnew/2.3.html#build-and-c-api-changes)782783      - [Изменения для конкретных платформ](https://python-all.ru/3.6/whatsnew/2.3.html#port-specific-changes)784    - [Прочие изменения и исправления](https://python-all.ru/3.6/whatsnew/2.3.html#other-changes-and-fixes)785    - [Перенос на Python 2.3](https://python-all.ru/3.6/whatsnew/2.3.html#porting-to-python-2-3)786    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.3.html#acknowledgements)787  - [Что нового в Python 2.2](https://python-all.ru/3.6/whatsnew/2.2.html)788789    - [Введение](https://python-all.ru/3.6/whatsnew/2.2.html#introduction)790    - [PEP 252 и 253: изменения типов и классов](https://python-all.ru/3.6/whatsnew/2.2.html#peps-252-and-253-type-and-class-changes)791792      - [Старые и новые классы](https://python-all.ru/3.6/whatsnew/2.2.html#old-and-new-classes)793      - [Дескрипторы](https://python-all.ru/3.6/whatsnew/2.2.html#descriptors)794      - [Множественное наследование: правило ромба](https://python-all.ru/3.6/whatsnew/2.2.html#multiple-inheritance-the-diamond-rule)795      - [Доступ к атрибутам](https://python-all.ru/3.6/whatsnew/2.2.html#attribute-access)796      - [Связанные ссылки](https://python-all.ru/3.6/whatsnew/2.2.html#related-links)797    - [PEP 234: итераторы](https://python-all.ru/3.6/whatsnew/2.2.html#pep-234-iterators)798    - [PEP 255: простые генераторы](https://python-all.ru/3.6/whatsnew/2.2.html#pep-255-simple-generators)799    - [PEP 237: объединение длинных целых и целых чисел](https://python-all.ru/3.6/whatsnew/2.2.html#pep-237-unifying-long-integers-and-integers)800    - [PEP 238: изменение оператора деления](https://python-all.ru/3.6/whatsnew/2.2.html#pep-238-changing-the-division-operator)801    - [Изменения в Unicode](https://python-all.ru/3.6/whatsnew/2.2.html#unicode-changes)802    - [PEP 227: вложенные области видимости](https://python-all.ru/3.6/whatsnew/2.2.html#pep-227-nested-scopes)803    - [Новые и улучшенные модули](https://python-all.ru/3.6/whatsnew/2.2.html#new-and-improved-modules)804    - [Изменения и исправления интерпретатора](https://python-all.ru/3.6/whatsnew/2.2.html#interpreter-changes-and-fixes)805    - [Прочие изменения и исправления](https://python-all.ru/3.6/whatsnew/2.2.html#other-changes-and-fixes)806    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.2.html#acknowledgements)807  - [Что нового в Python 2.1](https://python-all.ru/3.6/whatsnew/2.1.html)808809    - [Введение](https://python-all.ru/3.6/whatsnew/2.1.html#introduction)810    - [PEP 227: вложенные области видимости](https://python-all.ru/3.6/whatsnew/2.1.html#pep-227-nested-scopes)811    - [PEP 236: директивы \_\_future\_\_](https://python-all.ru/3.6/whatsnew/2.1.html#pep-236-future-directives)812    - [PEP 207: расширенные сравнения](https://python-all.ru/3.6/whatsnew/2.1.html#pep-207-rich-comparisons)813    - [PEP 230: инфраструктура предупреждений](https://python-all.ru/3.6/whatsnew/2.1.html#pep-230-warning-framework)814    - [PEP 229: новая система сборки](https://python-all.ru/3.6/whatsnew/2.1.html#pep-229-new-build-system)815    - [PEP 205: слабые ссылки](https://python-all.ru/3.6/whatsnew/2.1.html#pep-205-weak-references)816    - [PEP 232: атрибуты функций](https://python-all.ru/3.6/whatsnew/2.1.html#pep-232-function-attributes)817    - [PEP 235: импорт модулей на платформах, нечувствительных к регистру](https://python-all.ru/3.6/whatsnew/2.1.html#pep-235-importing-modules-on-case-insensitive-platforms)818    - [PEP 217: интерактивный перехватчик вывода](https://python-all.ru/3.6/whatsnew/2.1.html#pep-217-interactive-display-hook)819    - [PEP 208: новая модель приведения типов](https://python-all.ru/3.6/whatsnew/2.1.html#pep-208-new-coercion-model)820    - [PEP 241: метаданные в пакетах Python](https://python-all.ru/3.6/whatsnew/2.1.html#pep-241-metadata-in-python-packages)821    - [Новые и улучшенные модули](https://python-all.ru/3.6/whatsnew/2.1.html#new-and-improved-modules)822    - [Прочие изменения и исправления](https://python-all.ru/3.6/whatsnew/2.1.html#other-changes-and-fixes)823    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.1.html#acknowledgements)824  - [Что нового в Python 2.0](https://python-all.ru/3.6/whatsnew/2.0.html)825826    - [Введение](https://python-all.ru/3.6/whatsnew/2.0.html#introduction)827    - [А что насчёт Python 1.6?](https://python-all.ru/3.6/whatsnew/2.0.html#what-about-python-1-6)828    - [Новый процесс разработки](https://python-all.ru/3.6/whatsnew/2.0.html#new-development-process)829    - [Юникод](https://python-all.ru/3.6/whatsnew/2.0.html#unicode)830    - [Списковые включения](https://python-all.ru/3.6/whatsnew/2.0.html#list-comprehensions)831    - [Расширенное присваивание](https://python-all.ru/3.6/whatsnew/2.0.html#augmented-assignment)832    - [Методы строк](https://python-all.ru/3.6/whatsnew/2.0.html#string-methods)833    - [Сборка мусора циклических ссылок](https://python-all.ru/3.6/whatsnew/2.0.html#garbage-collection-of-cycles)834    - [Другие изменения ядра](https://python-all.ru/3.6/whatsnew/2.0.html#other-core-changes)835836      - [Мелкие изменения языка](https://python-all.ru/3.6/whatsnew/2.0.html#minor-language-changes)837      - [Изменения встроенных функций](https://python-all.ru/3.6/whatsnew/2.0.html#changes-to-built-in-functions)838    - [Перенос на 2.0](https://python-all.ru/3.6/whatsnew/2.0.html#porting-to-2-0)839    - [Изменения в расширении/встраивании](https://python-all.ru/3.6/whatsnew/2.0.html#extending-embedding-changes)840    - [Distutils: упрощение установки модулей](https://python-all.ru/3.6/whatsnew/2.0.html#distutils-making-modules-easy-to-install)841    - [Модули XML](https://python-all.ru/3.6/whatsnew/2.0.html#xml-modules)842843      - [Поддержка SAX2](https://python-all.ru/3.6/whatsnew/2.0.html#sax2-support)844      - [Поддержка DOM](https://python-all.ru/3.6/whatsnew/2.0.html#dom-support)845      - [Связь с PyXML](https://python-all.ru/3.6/whatsnew/2.0.html#relationship-to-pyxml)846    - [Изменения модулей](https://python-all.ru/3.6/whatsnew/2.0.html#module-changes)847    - [Новые модули](https://python-all.ru/3.6/whatsnew/2.0.html#new-modules)848    - [Улучшения IDLE](https://python-all.ru/3.6/whatsnew/2.0.html#idle-improvements)849    - [Удалённые и устаревшие модули](https://python-all.ru/3.6/whatsnew/2.0.html#deleted-and-deprecated-modules)850    - [Благодарности](https://python-all.ru/3.6/whatsnew/2.0.html#acknowledgements)851  - [Журнал изменений](https://python-all.ru/3.6/whatsnew/changelog.html)852853    - [Python 3.6.15 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-15-final)854855      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#security)856      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#library)857      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#tests)858    - [Python 3.6.14 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-14-final)859860      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id2)861    - [Python 3.6.13 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-13-final)862863      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id3)864      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#core-and-builtins)865      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id4)866      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id5)867    - [Python 3.6.12 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-12-final)868869      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id6)870      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id7)871    - [Python 3.6.11 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-11-final)872    - [Python 3.6.11 release candidate 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-11-release-candidate-1)873874      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id8)875      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id9)876      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id10)877    - [Python 3.6.10 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-10-final)878879      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#macos)880    - [Python 3.6.10 release candidate 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-10-release-candidate-1)881882      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id11)883      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id12)884    - [Python 3.6.9 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-9-final)885886      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id13)887      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id14)888    - [Python 3.6.9 release candidate 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-9-release-candidate-1)889890      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id15)891      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id16)892      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#documentation)893      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id17)894      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id18)895    - [Python 3.6.8 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-8-final)896897      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id19)898      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#build)899      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#c-api)900    - [Python 3.6.8 release candidate 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-8-release-candidate-1)901902      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id20)903      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id21)904      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id22)905      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id23)906      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id24)907      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id25)908      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#windows)909      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id26)910      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#idle)911      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#tools-demos)912    - [Python 3.6.7 final](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-7-final)913    - [Python 3.6.7 release candidate 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-7-release-candidate-2)914915      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id27)916      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id28)917      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id29)918      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id30)919      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id31)920      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id32)921    - [Python 3.6.7 release candidate 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-7-release-candidate-1)922923      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id33)924      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id34)925      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id35)926      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id36)927      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id37)928      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id38)929      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id39)930      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id40)931      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id41)932      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id42)933      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id43)934    - [Python 3.6.6 финальный](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-6-final)935    - [Python 3.6.6 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-6-release-candidate-1)936937      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id44)938      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id45)939      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id46)940      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id47)941      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id48)942      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id49)943      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id50)944      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id51)945      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id52)946      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id53)947    - [Python 3.6.5 финальный](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-5-final)948949      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id54)950      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id55)951    - [Python 3.6.5 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-5-release-candidate-1)952953      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id56)954      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id57)955      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id58)956      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id59)957      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id60)958      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id61)959      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id62)960      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id63)961      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id64)962      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id65)963      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id66)964    - [Python 3.6.4 финальная](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-4-final)965    - [Python 3.6.4 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-4-release-candidate-1)966967      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id67)968      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id68)969      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id69)970      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id70)971      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id71)972      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id72)973      - [macOS](https://python-all.ru/3.6/whatsnew/changelog.html#id73)974      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id74)975      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id75)976      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id76)977    - [Python 3.6.3 финальная](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-3-final)978979      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id77)980      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id78)981    - [Python 3.6.3 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-3-release-candidate-1)982983      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id79)984      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id80)985      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id81)986      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id82)987      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id83)988      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id84)989      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id85)990      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id86)991      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id87)992    - [Python 3.6.2 финальная](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-2-final)993    - [Python 3.6.2 кандидат в релизы 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-2-release-candidate-2)994995      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id88)996    - [Python 3.6.2 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-2-release-candidate-1)997998      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id89)999      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id90)1000      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id91)1001      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id92)1002      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id93)1003      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id94)1004      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id95)1005      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id96)1006      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id97)1007      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id98)1008      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id99)1009    - [Python 3.6.1 финальный](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-1-final)10101011      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id100)1012      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id101)1013    - [Python 3.6.1 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-1-release-candidate-1)10141015      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id102)1016      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id103)1017      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id104)1018      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id105)1019      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id106)1020      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id107)1021      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id108)1022      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id109)1023    - [Python 3.6.0 финальный](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-final)1024    - [Python 3.6.0 кандидат в релизы 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-release-candidate-2)10251026      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id110)1027      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id111)1028      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id112)1029      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id113)1030    - [Python 3.6.0 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-release-candidate-1)10311032      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id114)1033      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id115)1034      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id116)1035      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id117)1036      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id118)1037    - [Python 3.6.0 бета 4](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-beta-4)10381039      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id119)1040      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id120)1041      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id121)1042      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id122)1043      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id123)1044    - [Python 3.6.0 бета 3](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-beta-3)10451046      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id124)1047      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id125)1048      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id126)1049      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id127)1050      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id128)1051    - [Python 3.6.0 бета 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-beta-2)10521053      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id129)1054      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id130)1055      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id131)1056      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id132)1057      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id133)1058      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id134)1059    - [Python 3.6.0 бета 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-beta-1)10601061      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id135)1062      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id136)1063      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id137)1064      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id138)1065      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id139)1066      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id140)1067      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id141)1068      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id142)1069    - [Python 3.6.0 альфа 4](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-alpha-4)10701071      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id143)1072      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id144)1073      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id145)1074      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id146)1075      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id147)1076      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id148)1077    - [Python 3.6.0 альфа 3](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-alpha-3)10781079      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id149)1080      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id150)1081      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id151)1082      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id152)1083      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id153)1084      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id154)1085      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id155)1086      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id156)1087      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id157)1088      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id158)1089      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id159)1090      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id160)1091    - [Python 3.6.0 альфа 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-alpha-2)10921093      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id161)1094      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id162)1095      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id163)1096      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id164)1097      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id165)1098      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id166)1099      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id167)1100      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id168)1101      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id169)1102      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id170)1103      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id171)1104      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id172)1105      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id173)1106      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id174)1107    - [Python 3.6.0 альфа 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-6-0-alpha-1)11081109      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id175)1110      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id176)1111      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id177)1112      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id178)1113      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id179)1114      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id180)1115      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id181)1116      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id182)1117      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id183)1118      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id184)1119      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id185)1120      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id186)1121      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id187)1122      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id188)1123      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id189)1124    - [Python 3.5.3 финальный](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-3-final)1125    - [Python 3.5.3 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-3-release-candidate-1)11261127      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id190)1128      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id191)1129      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id192)1130      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id193)1131      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id194)1132      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id195)1133      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id196)1134      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id197)1135      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id198)1136      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id199)1137      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id200)1138      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id201)1139      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id202)1140    - [Python 3.5.2, финальная версия](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-2-final)11411142      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id203)1143      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id204)1144      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id205)1145    - [Python 3.5.2, релиз-кандидат 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-2-release-candidate-1)11461147      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id206)1148      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id207)1149      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id208)1150      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id209)1151      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id210)1152      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id211)1153      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id212)1154      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id213)1155      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id214)1156      - [Безопасность](https://python-all.ru/3.6/whatsnew/changelog.html#id215)1157      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id216)1158      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id217)1159      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id218)1160      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id219)1161      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id220)1162      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id221)1163      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id222)1164      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id223)1165    - [Python 3.5.1, финальная версия](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-1-final)11661167      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id224)1168      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id225)1169    - [Python 3.5.1, релиз-кандидат 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-1-release-candidate-1)11701171      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id226)1172      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id227)1173      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id228)1174      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id229)1175      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id230)1176      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id231)1177      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id232)1178      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id233)1179    - [Python 3.5.0, финальная версия](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-final)11801181      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id234)1182    - [Python 3.5.0, релиз-кандидат 4](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-release-candidate-4)11831184      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id235)1185      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id236)1186    - [Python 3.5.0, релиз-кандидат 3](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-release-candidate-3)11871188      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id237)1189      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id238)1190    - [Python 3.5.0 кандидат в релизы 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-release-candidate-2)11911192      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id239)1193      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id240)1194    - [Python 3.5.0 кандидат в релизы 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-release-candidate-1)11951196      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id241)1197      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id242)1198      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id243)1199      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id244)1200      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id245)1201    - [Python 3.5.0 бета 4](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-beta-4)12021203      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id246)1204      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id247)1205      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id248)1206    - [Python 3.5.0 бета 3](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-beta-3)12071208      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id249)1209      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id250)1210      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id251)1211      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id252)1212      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id253)1213    - [Python 3.5.0 бета 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-beta-2)12141215      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id254)1216      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id255)1217    - [Python 3.5.0 бета 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-beta-1)12181219      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id256)1220      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id257)1221      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id258)1222      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id259)1223      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id260)1224      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id261)1225    - [Python 3.5.0 альфа 4](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-alpha-4)12261227      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id262)1228      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id263)1229      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id264)1230      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id265)1231      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id266)1232      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id267)1233    - [Python 3.5.0 альфа 3](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-alpha-3)12341235      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id268)1236      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id269)1237      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id270)1238      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id271)1239      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id272)1240    - [Python 3.5.0 альфа 2](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-alpha-2)12411242      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id273)1243      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id274)1244      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id275)1245      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id276)1246      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id277)1247    - [Python 3.5.0 альфа 1](https://python-all.ru/3.6/whatsnew/changelog.html#python-3-5-0-alpha-1)12481249      - [Ядро и встроенные модули](https://python-all.ru/3.6/whatsnew/changelog.html#id278)1250      - [Библиотека](https://python-all.ru/3.6/whatsnew/changelog.html#id279)1251      - [IDLE](https://python-all.ru/3.6/whatsnew/changelog.html#id280)1252      - [Сборка](https://python-all.ru/3.6/whatsnew/changelog.html#id281)1253      - [C API](https://python-all.ru/3.6/whatsnew/changelog.html#id282)1254      - [Документация](https://python-all.ru/3.6/whatsnew/changelog.html#id283)1255      - [Тесты](https://python-all.ru/3.6/whatsnew/changelog.html#id284)1256      - [Инструменты/Демонстрации](https://python-all.ru/3.6/whatsnew/changelog.html#id285)1257      - [Windows](https://python-all.ru/3.6/whatsnew/changelog.html#id286)1258- [Учебник Python](https://python-all.ru/3.6/tutorial/index.html)12591260  - [1. Введение](https://python-all.ru/3.6/tutorial/appetite.html)1261  - [2. Использование интерпретатора Python](https://python-all.ru/3.6/tutorial/interpreter.html)12621263    - [2.1. Запуск интерпретатора](https://python-all.ru/3.6/tutorial/interpreter.html#invoking-the-interpreter)12641265      - [2.1.1. Передача аргументов](https://python-all.ru/3.6/tutorial/interpreter.html#argument-passing)1266      - [2.1.2. Интерактивный режим](https://python-all.ru/3.6/tutorial/interpreter.html#interactive-mode)1267    - [2.2. Интерпретатор и его окружение](https://python-all.ru/3.6/tutorial/interpreter.html#the-interpreter-and-its-environment)12681269      - [2.2.1. Кодировка исходного кода](https://python-all.ru/3.6/tutorial/interpreter.html#source-code-encoding)1270  - [3. Неформальное введение в Python](https://python-all.ru/3.6/tutorial/introduction.html)12711272    - [3.1. Использование Python в качестве калькулятора](https://python-all.ru/3.6/tutorial/introduction.html#using-python-as-a-calculator)12731274      - [3.1.1. Числа](https://python-all.ru/3.6/tutorial/introduction.html#numbers)1275      - [3.1.2. Строки](https://python-all.ru/3.6/tutorial/introduction.html#strings)1276      - [3.1.3. Списки](https://python-all.ru/3.6/tutorial/introduction.html#lists)1277    - [3.2. Первые шаги к программированию](https://python-all.ru/3.6/tutorial/introduction.html#first-steps-towards-programming)1278  - [4. Дополнительные средства управления потоком](https://python-all.ru/3.6/tutorial/controlflow.html)12791280    - [4.1. `if` Инструкции](https://python-all.ru/3.6/tutorial/controlflow.html#if-statements)1281    - [4.2. `for` Инструкции](https://python-all.ru/3.6/tutorial/controlflow.html#for-statements)1282    - [4.3. Функция `range()`](https://python-all.ru/3.6/tutorial/controlflow.html#the-range-function)1283    - [4.4. Инструкции `break` и `continue`, а также предложения `else` в циклах](https://python-all.ru/3.6/tutorial/controlflow.html#break-and-continue-statements-and-else-clauses-on-loops)1284    - [4.5. Инструкции `pass`](https://python-all.ru/3.6/tutorial/controlflow.html#pass-statements)1285    - [4.6. Определение функций](https://python-all.ru/3.6/tutorial/controlflow.html#defining-functions)1286    - [4.7. Подробнее об определении функций](https://python-all.ru/3.6/tutorial/controlflow.html#more-on-defining-functions)12871288      - [4.7.1. Значения аргументов по умолчанию](https://python-all.ru/3.6/tutorial/controlflow.html#default-argument-values)1289      - [4.7.2. Именованные аргументы](https://python-all.ru/3.6/tutorial/controlflow.html#keyword-arguments)1290      - [4.7.3. Произвольные списки аргументов](https://python-all.ru/3.6/tutorial/controlflow.html#arbitrary-argument-lists)1291      - [4.7.4. Распаковка списков аргументов](https://python-all.ru/3.6/tutorial/controlflow.html#unpacking-argument-lists)1292      - [4.7.5. Лямбда-выражения](https://python-all.ru/3.6/tutorial/controlflow.html#lambda-expressions)1293      - [4.7.6. Строки документации](https://python-all.ru/3.6/tutorial/controlflow.html#documentation-strings)1294      - [4.7.7. Аннотации функций](https://python-all.ru/3.6/tutorial/controlflow.html#function-annotations)1295    - [4.8. Интермеццо: стиль кодирования](https://python-all.ru/3.6/tutorial/controlflow.html#intermezzo-coding-style)1296  - [5. Структуры данных](https://python-all.ru/3.6/tutorial/datastructures.html)12971298    - [5.1. Подробнее о списках](https://python-all.ru/3.6/tutorial/datastructures.html#more-on-lists)12991300      - [5.1.1. Использование списков как стеков](https://python-all.ru/3.6/tutorial/datastructures.html#using-lists-as-stacks)1301      - [5.1.2. Использование списков как очередей](https://python-all.ru/3.6/tutorial/datastructures.html#using-lists-as-queues)1302      - [5.1.3. Списковые включения](https://python-all.ru/3.6/tutorial/datastructures.html#list-comprehensions)1303      - [5.1.4. Вложенные списковые включения](https://python-all.ru/3.6/tutorial/datastructures.html#nested-list-comprehensions)1304    - [5.2. Инструкция `del`](https://python-all.ru/3.6/tutorial/datastructures.html#the-del-statement)1305    - [5.3. Кортежи и последовательности](https://python-all.ru/3.6/tutorial/datastructures.html#tuples-and-sequences)1306    - [5.4. Множества](https://python-all.ru/3.6/tutorial/datastructures.html#sets)1307    - [5.5. Словари](https://python-all.ru/3.6/tutorial/datastructures.html#dictionaries)1308    - [5.6. Приёмы работы с циклами](https://python-all.ru/3.6/tutorial/datastructures.html#looping-techniques)1309    - [5.7. Подробнее об условиях](https://python-all.ru/3.6/tutorial/datastructures.html#more-on-conditions)1310    - [5.8. Сравнение последовательностей и других типов](https://python-all.ru/3.6/tutorial/datastructures.html#comparing-sequences-and-other-types)1311  - [6. Модули](https://python-all.ru/3.6/tutorial/modules.html)13121313    - [6.1. Подробнее о модулях](https://python-all.ru/3.6/tutorial/modules.html#more-on-modules)13141315      - [6.1.1. Запуск модулей как скриптов](https://python-all.ru/3.6/tutorial/modules.html#executing-modules-as-scripts)1316      - [6.1.2. Путь поиска модулей](https://python-all.ru/3.6/tutorial/modules.html#the-module-search-path)1317      - [6.1.3. «Скомпилированные» файлы Python](https://python-all.ru/3.6/tutorial/modules.html#compiled-python-files)1318    - [6.2. Стандартные модули](https://python-all.ru/3.6/tutorial/modules.html#standard-modules)1319    - [6.3. Функция `dir()`](https://python-all.ru/3.6/tutorial/modules.html#the-dir-function)1320    - [6.4. Пакеты](https://python-all.ru/3.6/tutorial/modules.html#packages)13211322      - [6.4.1. Импорт \* из пакета](https://python-all.ru/3.6/tutorial/modules.html#importing-from-a-package)1323      - [6.4.2. Ссылки внутри пакета](https://python-all.ru/3.6/tutorial/modules.html#intra-package-references)1324      - [6.4.3. Пакеты в нескольких каталогах](https://python-all.ru/3.6/tutorial/modules.html#packages-in-multiple-directories)1325  - [7. Ввод и вывод](https://python-all.ru/3.6/tutorial/inputoutput.html)13261327    - [7.1. Более сложное форматирование вывода](https://python-all.ru/3.6/tutorial/inputoutput.html#fancier-output-formatting)13281329      - [7.1.1. Старое форматирование строк](https://python-all.ru/3.6/tutorial/inputoutput.html#old-string-formatting)1330    - [7.2. Чтение и запись файлов](https://python-all.ru/3.6/tutorial/inputoutput.html#reading-and-writing-files)13311332      - [7.2.1. Методы файловых объектов](https://python-all.ru/3.6/tutorial/inputoutput.html#methods-of-file-objects)1333      - [7.2.2. Сохранение структурированных данных с помощью `json`](https://python-all.ru/3.6/tutorial/inputoutput.html#saving-structured-data-with-json)1334  - [8. Ошибки и исключения](https://python-all.ru/3.6/tutorial/errors.html)13351336    - [8.1. Синтаксические ошибки](https://python-all.ru/3.6/tutorial/errors.html#syntax-errors)1337    - [8.2. Исключения](https://python-all.ru/3.6/tutorial/errors.html#exceptions)1338    - [8.3. Обработка исключений](https://python-all.ru/3.6/tutorial/errors.html#handling-exceptions)1339    - [8.4. Возбуждение исключений](https://python-all.ru/3.6/tutorial/errors.html#raising-exceptions)1340    - [8.5. Пользовательские исключения](https://python-all.ru/3.6/tutorial/errors.html#user-defined-exceptions)1341    - [8.6. Определение действий по очистке](https://python-all.ru/3.6/tutorial/errors.html#defining-clean-up-actions)1342    - [8.7. Предопределённые действия по очистке](https://python-all.ru/3.6/tutorial/errors.html#predefined-clean-up-actions)1343  - [9. Классы](https://python-all.ru/3.6/tutorial/classes.html)13441345    - [9.1. Несколько слов об именах и объектах](https://python-all.ru/3.6/tutorial/classes.html#a-word-about-names-and-objects)1346    - [9.2. Области видимости и пространства имён Python](https://python-all.ru/3.6/tutorial/classes.html#python-scopes-and-namespaces)13471348      - [9.2.1. Пример областей видимости и пространств имён](https://python-all.ru/3.6/tutorial/classes.html#scopes-and-namespaces-example)1349    - [9.3. Первое знакомство с классами](https://python-all.ru/3.6/tutorial/classes.html#a-first-look-at-classes)13501351      - [9.3.1. Синтаксис определения класса](https://python-all.ru/3.6/tutorial/classes.html#class-definition-syntax)1352      - [9.3.2. Объекты классов](https://python-all.ru/3.6/tutorial/classes.html#class-objects)1353      - [9.3.3. Объекты экземпляров](https://python-all.ru/3.6/tutorial/classes.html#instance-objects)1354      - [9.3.4. Объекты методов](https://python-all.ru/3.6/tutorial/classes.html#method-objects)1355      - [9.3.5. Переменные класса и экземпляра](https://python-all.ru/3.6/tutorial/classes.html#class-and-instance-variables)1356    - [9.4. Разные замечания](https://python-all.ru/3.6/tutorial/classes.html#random-remarks)1357    - [9.5. Наследование](https://python-all.ru/3.6/tutorial/classes.html#inheritance)13581359      - [9.5.1. Множественное наследование](https://python-all.ru/3.6/tutorial/classes.html#multiple-inheritance)1360    - [9.6. Приватные переменные](https://python-all.ru/3.6/tutorial/classes.html#private-variables)1361    - [9.7. Разное](https://python-all.ru/3.6/tutorial/classes.html#odds-and-ends)1362    - [9.8. Итераторы](https://python-all.ru/3.6/tutorial/classes.html#iterators)1363    - [9.9. Генераторы](https://python-all.ru/3.6/tutorial/classes.html#generators)1364    - [9.10. Генераторные выражения](https://python-all.ru/3.6/tutorial/classes.html#generator-expressions)1365  - [10. Краткий обзор стандартной библиотеки](https://python-all.ru/3.6/tutorial/stdlib.html)13661367    - [10.1. Интерфейс операционной системы](https://python-all.ru/3.6/tutorial/stdlib.html#operating-system-interface)1368    - [10.2. Файловые шаблоны](https://python-all.ru/3.6/tutorial/stdlib.html#file-wildcards)1369    - [10.3. Аргументы командной строки](https://python-all.ru/3.6/tutorial/stdlib.html#command-line-arguments)1370    - [10.4. Перенаправление вывода ошибок и завершение программы](https://python-all.ru/3.6/tutorial/stdlib.html#error-output-redirection-and-program-termination)1371    - [10.5. Поиск по шаблону в строках](https://python-all.ru/3.6/tutorial/stdlib.html#string-pattern-matching)1372    - [10.6. Математика](https://python-all.ru/3.6/tutorial/stdlib.html#mathematics)1373    - [10.7. Доступ в Интернет](https://python-all.ru/3.6/tutorial/stdlib.html#internet-access)1374    - [10.8. Даты и время](https://python-all.ru/3.6/tutorial/stdlib.html#dates-and-times)1375    - [10.9. Сжатие данных](https://python-all.ru/3.6/tutorial/stdlib.html#data-compression)1376    - [10.10. Измерение производительности](https://python-all.ru/3.6/tutorial/stdlib.html#performance-measurement)1377    - [10.11. Контроль качества](https://python-all.ru/3.6/tutorial/stdlib.html#quality-control)1378    - [10.12. Батарейки в комплекте](https://python-all.ru/3.6/tutorial/stdlib.html#batteries-included)1379  - [11. Краткий обзор стандартной библиотеки – Часть II](https://python-all.ru/3.6/tutorial/stdlib2.html)13801381    - [11.1. Форматирование вывода](https://python-all.ru/3.6/tutorial/stdlib2.html#output-formatting)1382    - [11.2. Шаблоны](https://python-all.ru/3.6/tutorial/stdlib2.html#templating)1383    - [11.3. Работа с двоичными данными и структурами записей](https://python-all.ru/3.6/tutorial/stdlib2.html#working-with-binary-data-record-layouts)1384    - [11.4. Многопоточность](https://python-all.ru/3.6/tutorial/stdlib2.html#multi-threading)1385    - [11.5. Логирование](https://python-all.ru/3.6/tutorial/stdlib2.html#logging)1386    - [11.6. Слабые ссылки](https://python-all.ru/3.6/tutorial/stdlib2.html#weak-references)1387    - [11.7. Инструменты для работы со списками](https://python-all.ru/3.6/tutorial/stdlib2.html#tools-for-working-with-lists)1388    - [11.8. Десятичная арифметика с плавающей запятой](https://python-all.ru/3.6/tutorial/stdlib2.html#decimal-floating-point-arithmetic)1389  - [12. Виртуальные окружения и пакеты](https://python-all.ru/3.6/tutorial/venv.html)13901391    - [12.1. Введение](https://python-all.ru/3.6/tutorial/venv.html#introduction)1392    - [12.2. Создание виртуальных окружений](https://python-all.ru/3.6/tutorial/venv.html#creating-virtual-environments)1393    - [12.3. Управление пакетами с помощью pip](https://python-all.ru/3.6/tutorial/venv.html#managing-packages-with-pip)1394  - [13. Что дальше?](https://python-all.ru/3.6/tutorial/whatnow.html)1395  - [14. Интерактивное редактирование ввода и подстановка истории](https://python-all.ru/3.6/tutorial/interactive.html)13961397    - [14.1. Автодополнение по табуляции и редактирование истории](https://python-all.ru/3.6/tutorial/interactive.html#tab-completion-and-history-editing)1398    - [14.2. Альтернативы интерактивному интерпретатору](https://python-all.ru/3.6/tutorial/interactive.html#alternatives-to-the-interactive-interpreter)1399  - [15. Арифметика с плавающей запятой: проблемы и ограничения](https://python-all.ru/3.6/tutorial/floatingpoint.html)14001401    - [15.1. Ошибка представления](https://python-all.ru/3.6/tutorial/floatingpoint.html#representation-error)1402  - [16. Приложение](https://python-all.ru/3.6/tutorial/appendix.html)14031404    - [16.1. Интерактивный режим](https://python-all.ru/3.6/tutorial/appendix.html#interactive-mode)14051406      - [16.1.1. Обработка ошибок](https://python-all.ru/3.6/tutorial/appendix.html#error-handling)1407      - [16.1.2. Исполняемые скрипты Python](https://python-all.ru/3.6/tutorial/appendix.html#executable-python-scripts)1408      - [16.1.3. Файл автозагрузки интерактивного режима](https://python-all.ru/3.6/tutorial/appendix.html#the-interactive-startup-file)1409      - [16.1.4. Модули настройки](https://python-all.ru/3.6/tutorial/appendix.html#the-customization-modules)1410- [Настройка и использование Python](https://python-all.ru/3.6/using/index.html)14111412  - [1. Командная строка и окружение](https://python-all.ru/3.6/using/cmdline.html)14131414    - [1.1. Командная строка](https://python-all.ru/3.6/using/cmdline.html#command-line)14151416      - [1.1.1. Параметры интерфейса](https://python-all.ru/3.6/using/cmdline.html#interface-options)1417      - [1.1.2. Общие параметры](https://python-all.ru/3.6/using/cmdline.html#generic-options)1418      - [1.1.3. Прочие параметры](https://python-all.ru/3.6/using/cmdline.html#miscellaneous-options)1419      - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.6/using/cmdline.html#options-you-shouldn-t-use)1420    - [1.2. Переменные окружения](https://python-all.ru/3.6/using/cmdline.html#environment-variables)14211422      - [1.2.1. Переменные режима отладки](https://python-all.ru/3.6/using/cmdline.html#debug-mode-variables)1423  - [2. Использование Python на платформах Unix](https://python-all.ru/3.6/using/unix.html)14241425    - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.6/using/unix.html#getting-and-installing-the-latest-version-of-python)14261427      - [2.1.1. В Linux](https://python-all.ru/3.6/using/unix.html#on-linux)1428      - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.6/using/unix.html#on-freebsd-and-openbsd)1429      - [2.1.3. В OpenSolaris](https://python-all.ru/3.6/using/unix.html#on-opensolaris)1430    - [2.2. Сборка Python](https://python-all.ru/3.6/using/unix.html#building-python)1431    - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.6/using/unix.html#python-related-paths-and-files)1432    - [2.4. Прочее](https://python-all.ru/3.6/using/unix.html#miscellaneous)1433    - [2.5. Редакторы и IDE](https://python-all.ru/3.6/using/unix.html#editors-and-ides)1434  - [3. Использование Python в Windows](https://python-all.ru/3.6/using/windows.html)14351436    - [3.1. Установка Python](https://python-all.ru/3.6/using/windows.html#installing-python)14371438      - [3.1.1. Поддерживаемые версии](https://python-all.ru/3.6/using/windows.html#supported-versions)1439      - [3.1.2. Шаги установки](https://python-all.ru/3.6/using/windows.html#installation-steps)1440      - [3.1.3. Удаление ограничения MAX\_PATH](https://python-all.ru/3.6/using/windows.html#removing-the-max-path-limitation)1441      - [3.1.4. Установка без интерфейса](https://python-all.ru/3.6/using/windows.html#installing-without-ui)1442      - [3.1.5. Установка без загрузки](https://python-all.ru/3.6/using/windows.html#installing-without-downloading)1443      - [3.1.6. Изменение установки](https://python-all.ru/3.6/using/windows.html#modifying-an-install)1444      - [3.1.7. Другие платформы](https://python-all.ru/3.6/using/windows.html#other-platforms)1445    - [3.2. Альтернативные сборки](https://python-all.ru/3.6/using/windows.html#alternative-bundles)1446    - [3.3. Настройка Python](https://python-all.ru/3.6/using/windows.html#configuring-python)14471448      - [3.3.1. Экскурс: Установка переменных окружения](https://python-all.ru/3.6/using/windows.html#excursus-setting-environment-variables)1449      - [3.3.2. Поиск исполняемого файла Python](https://python-all.ru/3.6/using/windows.html#finding-the-python-executable)1450    - [3.4. Запускатор Python для Windows](https://python-all.ru/3.6/using/windows.html#python-launcher-for-windows)14511452      - [3.4.1. Начало работы](https://python-all.ru/3.6/using/windows.html#getting-started)14531454        - [3.4.1.1. Из командной строки](https://python-all.ru/3.6/using/windows.html#from-the-command-line)1455        - [3.4.1.2. Виртуальные окружения](https://python-all.ru/3.6/using/windows.html#virtual-environments)1456        - [3.4.1.3. Из скрипта](https://python-all.ru/3.6/using/windows.html#from-a-script)1457        - [3.4.1.4. Из ассоциаций файлов](https://python-all.ru/3.6/using/windows.html#from-file-associations)1458      - [3.4.2. Строки shebang](https://python-all.ru/3.6/using/windows.html#shebang-lines)1459      - [3.4.3. Аргументы в shebang-строках](https://python-all.ru/3.6/using/windows.html#arguments-in-shebang-lines)1460      - [3.4.4. Настройка](https://python-all.ru/3.6/using/windows.html#customization)14611462        - [3.4.4.1. Настройка через INI-файлы](https://python-all.ru/3.6/using/windows.html#customization-via-ini-files)1463        - [3.4.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.6/using/windows.html#customizing-default-python-versions)1464      - [3.4.5. Диагностика](https://python-all.ru/3.6/using/windows.html#diagnostics)1465    - [3.5. Поиск модулей](https://python-all.ru/3.6/using/windows.html#finding-modules)1466    - [3.6. Дополнительные модули](https://python-all.ru/3.6/using/windows.html#additional-modules)14671468      - [3.6.1. PyWin32](https://python-all.ru/3.6/using/windows.html#pywin32)1469      - [3.6.2. cx\_Freeze](https://python-all.ru/3.6/using/windows.html#cx-freeze)1470      - [3.6.3. WConio](https://python-all.ru/3.6/using/windows.html#wconio)1471    - [3.7. Компиляция Python в Windows](https://python-all.ru/3.6/using/windows.html#compiling-python-on-windows)1472    - [3.8. Встраиваемый дистрибутив](https://python-all.ru/3.6/using/windows.html#embedded-distribution)14731474      - [3.8.1. Python-приложение](https://python-all.ru/3.6/using/windows.html#python-application)1475      - [3.8.2. Встраивание Python](https://python-all.ru/3.6/using/windows.html#embedding-python)1476    - [3.9. Другие ресурсы](https://python-all.ru/3.6/using/windows.html#other-resources)1477  - [4. Использование Python на Macintosh](https://python-all.ru/3.6/using/mac.html)14781479    - [4.1. Получение и установка MacPython](https://python-all.ru/3.6/using/mac.html#getting-and-installing-macpython)14801481      - [4.1.1. Как запустить скрипт Python](https://python-all.ru/3.6/using/mac.html#how-to-run-a-python-script)1482      - [4.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.6/using/mac.html#running-scripts-with-a-gui)1483      - [4.1.3. Конфигурация](https://python-all.ru/3.6/using/mac.html#configuration)1484    - [4.2. IDE](https://python-all.ru/3.6/using/mac.html#the-ide)1485    - [4.3. Установка дополнительных пакетов Python](https://python-all.ru/3.6/using/mac.html#installing-additional-python-packages)1486    - [4.4. Программирование графического интерфейса на Mac](https://python-all.ru/3.6/using/mac.html#gui-programming-on-the-mac)1487    - [4.5. Распространение приложений Python на Mac](https://python-all.ru/3.6/using/mac.html#distributing-python-applications-on-the-mac)1488    - [4.6. Прочие ресурсы](https://python-all.ru/3.6/using/mac.html#other-resources)1489- [Справочник по языку Python](https://python-all.ru/3.6/reference/index.html)14901491  - [1. Введение](https://python-all.ru/3.6/reference/introduction.html)14921493    - [1.1. Альтернативные реализации](https://python-all.ru/3.6/reference/introduction.html#alternate-implementations)1494    - [1.2. Обозначения](https://python-all.ru/3.6/reference/introduction.html#notation)1495  - [2. Лексический анализ](https://python-all.ru/3.6/reference/lexical_analysis.html)14961497    - [2.1. Структура строк](https://python-all.ru/3.6/reference/lexical_analysis.html#line-structure)14981499      - [2.1.1. Логические строки](https://python-all.ru/3.6/reference/lexical_analysis.html#logical-lines)1500      - [2.1.2. Физические строки](https://python-all.ru/3.6/reference/lexical_analysis.html#physical-lines)1501      - [2.1.3. Комментарии](https://python-all.ru/3.6/reference/lexical_analysis.html#comments)1502      - [2.1.4. Объявление кодировки](https://python-all.ru/3.6/reference/lexical_analysis.html#encoding-declarations)1503      - [2.1.5. Явное объединение строк](https://python-all.ru/3.6/reference/lexical_analysis.html#explicit-line-joining)1504      - [2.1.6. Неявное объединение строк](https://python-all.ru/3.6/reference/lexical_analysis.html#implicit-line-joining)1505      - [2.1.7. Пустые строки](https://python-all.ru/3.6/reference/lexical_analysis.html#blank-lines)1506      - [2.1.8. Отступы](https://python-all.ru/3.6/reference/lexical_analysis.html#indentation)1507      - [2.1.9. Пробелы между токенами](https://python-all.ru/3.6/reference/lexical_analysis.html#whitespace-between-tokens)1508    - [2.2. Другие токены](https://python-all.ru/3.6/reference/lexical_analysis.html#other-tokens)1509    - [2.3. Идентификаторы и ключевые слова](https://python-all.ru/3.6/reference/lexical_analysis.html#identifiers)15101511      - [2.3.1. Ключевые слова](https://python-all.ru/3.6/reference/lexical_analysis.html#keywords)1512      - [2.3.2. Зарезервированные классы идентификаторов](https://python-all.ru/3.6/reference/lexical_analysis.html#reserved-classes-of-identifiers)1513    - [2.4. Литералы](https://python-all.ru/3.6/reference/lexical_analysis.html#literals)15141515      - [2.4.1. Строковые и байтовые литералы](https://python-all.ru/3.6/reference/lexical_analysis.html#string-and-bytes-literals)1516      - [2.4.2. Конкатенация строковых литералов](https://python-all.ru/3.6/reference/lexical_analysis.html#string-literal-concatenation)1517      - [2.4.3. Форматированные строковые литералы](https://python-all.ru/3.6/reference/lexical_analysis.html#formatted-string-literals)1518      - [2.4.4. Числовые литералы](https://python-all.ru/3.6/reference/lexical_analysis.html#numeric-literals)1519      - [2.4.5. Целочисленные литералы](https://python-all.ru/3.6/reference/lexical_analysis.html#integer-literals)1520      - [2.4.6. Литералы чисел с плавающей точкой](https://python-all.ru/3.6/reference/lexical_analysis.html#floating-point-literals)1521      - [2.4.7. Литералы мнимых чисел](https://python-all.ru/3.6/reference/lexical_analysis.html#imaginary-literals)1522    - [2.5. Операторы](https://python-all.ru/3.6/reference/lexical_analysis.html#operators)1523    - [2.6. Разделители](https://python-all.ru/3.6/reference/lexical_analysis.html#delimiters)1524  - [3. Модель данных](https://python-all.ru/3.6/reference/datamodel.html)15251526    - [3.1. Объекты, значения и типы](https://python-all.ru/3.6/reference/datamodel.html#objects-values-and-types)1527    - [3.2. Стандартная иерархия типов](https://python-all.ru/3.6/reference/datamodel.html#the-standard-type-hierarchy)1528    - [3.3. Имена специальных методов](https://python-all.ru/3.6/reference/datamodel.html#special-method-names)15291530      - [3.3.1. Базовая настройка](https://python-all.ru/3.6/reference/datamodel.html#basic-customization)1531      - [3.3.2. Настройка доступа к атрибутам](https://python-all.ru/3.6/reference/datamodel.html#customizing-attribute-access)15321533        - [3.3.2.1. Настройка доступа к атрибутам модуля](https://python-all.ru/3.6/reference/datamodel.html#customizing-module-attribute-access)1534        - [3.3.2.2. Реализация дескрипторов](https://python-all.ru/3.6/reference/datamodel.html#implementing-descriptors)1535        - [3.3.2.3. Вызов дескрипторов](https://python-all.ru/3.6/reference/datamodel.html#invoking-descriptors)1536        - [3.3.2.4. \_\_slots\_\_](https://python-all.ru/3.6/reference/datamodel.html#slots)15371538          - [3.3.2.4.1. Примечания по использованию *\_\_slots\_\_*](https://python-all.ru/3.6/reference/datamodel.html#notes-on-using-slots)1539      - [3.3.3. Настройка создания классов](https://python-all.ru/3.6/reference/datamodel.html#customizing-class-creation)15401541        - [3.3.3.1. Метаклассы](https://python-all.ru/3.6/reference/datamodel.html#metaclasses)1542        - [3.3.3.2. Определение подходящего метакласса](https://python-all.ru/3.6/reference/datamodel.html#determining-the-appropriate-metaclass)1543        - [3.3.3.3. Подготовка пространства имён класса](https://python-all.ru/3.6/reference/datamodel.html#preparing-the-class-namespace)1544        - [3.3.3.4. Выполнение тела класса](https://python-all.ru/3.6/reference/datamodel.html#executing-the-class-body)1545        - [3.3.3.5. Создание объекта класса](https://python-all.ru/3.6/reference/datamodel.html#creating-the-class-object)1546        - [3.3.3.6. Использование метаклассов](https://python-all.ru/3.6/reference/datamodel.html#uses-for-metaclasses)1547      - [3.3.4. Настройка проверок принадлежности экземплярам и подклассам](https://python-all.ru/3.6/reference/datamodel.html#customizing-instance-and-subclass-checks)1548      - [3.3.5. Эмуляция вызываемых объектов](https://python-all.ru/3.6/reference/datamodel.html#emulating-callable-objects)1549      - [3.3.6. Эмуляция контейнерных типов](https://python-all.ru/3.6/reference/datamodel.html#emulating-container-types)1550      - [3.3.7. Эмуляция числовых типов](https://python-all.ru/3.6/reference/datamodel.html#emulating-numeric-types)1551      - [3.3.8. Контекстные менеджеры with](https://python-all.ru/3.6/reference/datamodel.html#with-statement-context-managers)1552      - [3.3.9. Поиск специальных методов](https://python-all.ru/3.6/reference/datamodel.html#special-method-lookup)1553    - [3.4. Корутины](https://python-all.ru/3.6/reference/datamodel.html#coroutines)15541555      - [3.4.1. Ожидаемые объекты](https://python-all.ru/3.6/reference/datamodel.html#awaitable-objects)1556      - [3.4.2. Объекты корутин](https://python-all.ru/3.6/reference/datamodel.html#coroutine-objects)1557      - [3.4.3. Асинхронные итераторы](https://python-all.ru/3.6/reference/datamodel.html#asynchronous-iterators)1558      - [3.4.4. Асинхронные контекстные менеджеры](https://python-all.ru/3.6/reference/datamodel.html#asynchronous-context-managers)1559  - [4. Модель выполнения](https://python-all.ru/3.6/reference/executionmodel.html)15601561    - [4.1. Структура программы](https://python-all.ru/3.6/reference/executionmodel.html#structure-of-a-program)1562    - [4.2. Имена и связывание](https://python-all.ru/3.6/reference/executionmodel.html#naming-and-binding)15631564      - [4.2.1. Связывание имён](https://python-all.ru/3.6/reference/executionmodel.html#binding-of-names)1565      - [4.2.2. Разрешение имён](https://python-all.ru/3.6/reference/executionmodel.html#resolution-of-names)1566      - [4.2.3. Встроенные функции и ограниченное выполнение](https://python-all.ru/3.6/reference/executionmodel.html#builtins-and-restricted-execution)1567      - [4.2.4. Взаимодействие с динамическими возможностями](https://python-all.ru/3.6/reference/executionmodel.html#interaction-with-dynamic-features)1568    - [4.3. Исключения](https://python-all.ru/3.6/reference/executionmodel.html#exceptions)1569  - [5. Система импорта](https://python-all.ru/3.6/reference/import.html)15701571    - [5.1. `importlib`](https://python-all.ru/3.6/reference/import.html#importlib)1572    - [5.2. Пакеты](https://python-all.ru/3.6/reference/import.html#packages)15731574      - [5.2.1. Обычные пакеты](https://python-all.ru/3.6/reference/import.html#regular-packages)1575      - [5.2.2. Пакеты пространства имён](https://python-all.ru/3.6/reference/import.html#namespace-packages)1576    - [5.3. Поиск](https://python-all.ru/3.6/reference/import.html#searching)15771578      - [5.3.1. Кеш модулей](https://python-all.ru/3.6/reference/import.html#the-module-cache)1579      - [5.3.2. Искатели и загрузчики](https://python-all.ru/3.6/reference/import.html#finders-and-loaders)1580      - [5.3.3. Хуки импорта](https://python-all.ru/3.6/reference/import.html#import-hooks)1581      - [5.3.4. Метапуть](https://python-all.ru/3.6/reference/import.html#the-meta-path)1582    - [5.4. Загрузка](https://python-all.ru/3.6/reference/import.html#loading)15831584      - [5.4.1. Загрузчики](https://python-all.ru/3.6/reference/import.html#loaders)1585      - [5.4.2. Подмодули](https://python-all.ru/3.6/reference/import.html#submodules)1586      - [5.4.3. Спецификация модуля](https://python-all.ru/3.6/reference/import.html#module-spec)1587      - [5.4.4. Атрибуты модуля, связанные с импортом](https://python-all.ru/3.6/reference/import.html#import-related-module-attributes)1588      - [5.4.5. module.\_\_path\_\_](https://python-all.ru/3.6/reference/import.html#module-path)1589      - [5.4.6. Представления модулей](https://python-all.ru/3.6/reference/import.html#module-reprs)1590    - [5.5. Искатель на основе путей](https://python-all.ru/3.6/reference/import.html#the-path-based-finder)15911592      - [5.5.1. Искатели записей путей](https://python-all.ru/3.6/reference/import.html#path-entry-finders)1593      - [5.5.2. Протокол искателя записей путей](https://python-all.ru/3.6/reference/import.html#path-entry-finder-protocol)1594    - [5.6. Замена стандартной системы импорта](https://python-all.ru/3.6/reference/import.html#replacing-the-standard-import-system)1595    - [5.7. Особые соображения для \_\_main\_\_](https://python-all.ru/3.6/reference/import.html#special-considerations-for-main)15961597      - [5.7.1. \_\_main\_\_.\_\_spec\_\_](https://python-all.ru/3.6/reference/import.html#main-spec)1598    - [5.8. Открытые вопросы](https://python-all.ru/3.6/reference/import.html#open-issues)1599    - [5.9. Ссылки](https://python-all.ru/3.6/reference/import.html#references)1600  - [6. Выражения](https://python-all.ru/3.6/reference/expressions.html)16011602    - [6.1. Арифметические преобразования](https://python-all.ru/3.6/reference/expressions.html#arithmetic-conversions)1603    - [6.2. Атомы](https://python-all.ru/3.6/reference/expressions.html#atoms)16041605      - [6.2.1. Идентификаторы (имена)](https://python-all.ru/3.6/reference/expressions.html#atom-identifiers)1606      - [6.2.2. Литералы](https://python-all.ru/3.6/reference/expressions.html#literals)1607      - [6.2.3. Выражения в скобках](https://python-all.ru/3.6/reference/expressions.html#parenthesized-forms)1608      - [6.2.4. Отображения для списков, множеств и словарей](https://python-all.ru/3.6/reference/expressions.html#displays-for-lists-sets-and-dictionaries)1609      - [6.2.5. Отображения списков](https://python-all.ru/3.6/reference/expressions.html#list-displays)1610      - [6.2.6. Отображения множеств](https://python-all.ru/3.6/reference/expressions.html#set-displays)1611      - [6.2.7. Отображения словарей](https://python-all.ru/3.6/reference/expressions.html#dictionary-displays)1612      - [6.2.8. Генераторные выражения](https://python-all.ru/3.6/reference/expressions.html#generator-expressions)1613      - [6.2.9. Выражения yield](https://python-all.ru/3.6/reference/expressions.html#yield-expressions)16141615        - [6.2.9.1. Методы генератор-итератора](https://python-all.ru/3.6/reference/expressions.html#generator-iterator-methods)1616        - [6.2.9.2. Примеры](https://python-all.ru/3.6/reference/expressions.html#examples)1617        - [6.2.9.3. Асинхронные генераторные функции](https://python-all.ru/3.6/reference/expressions.html#asynchronous-generator-functions)1618        - [6.2.9.4. Методы асинхронного генератор-итератора](https://python-all.ru/3.6/reference/expressions.html#asynchronous-generator-iterator-methods)1619    - [6.3. Первичные выражения](https://python-all.ru/3.6/reference/expressions.html#primaries)16201621      - [6.3.1. Ссылки на атрибуты](https://python-all.ru/3.6/reference/expressions.html#attribute-references)1622      - [6.3.2. Подписки](https://python-all.ru/3.6/reference/expressions.html#subscriptions)1623      - [6.3.3. Срезы](https://python-all.ru/3.6/reference/expressions.html#slicings)1624      - [6.3.4. Вызовы](https://python-all.ru/3.6/reference/expressions.html#calls)1625    - [6.4. Выражение await](https://python-all.ru/3.6/reference/expressions.html#await-expression)1626    - [6.5. Оператор возведения в степень](https://python-all.ru/3.6/reference/expressions.html#the-power-operator)1627    - [6.6. Унарные арифметические и битовые операции](https://python-all.ru/3.6/reference/expressions.html#unary-arithmetic-and-bitwise-operations)1628    - [6.7. Бинарные арифметические операции](https://python-all.ru/3.6/reference/expressions.html#binary-arithmetic-operations)1629    - [6.8. Операции сдвига](https://python-all.ru/3.6/reference/expressions.html#shifting-operations)1630    - [6.9. Двоичные поразрядные операции](https://python-all.ru/3.6/reference/expressions.html#binary-bitwise-operations)1631    - [6.10. Сравнения](https://python-all.ru/3.6/reference/expressions.html#comparisons)16321633      - [6.10.1. Сравнения значений](https://python-all.ru/3.6/reference/expressions.html#value-comparisons)1634      - [6.10.2. Операции проверки принадлежности](https://python-all.ru/3.6/reference/expressions.html#membership-test-operations)1635      - [6.10.3. Сравнения идентичности](https://python-all.ru/3.6/reference/expressions.html#is-not)1636    - [6.11. Булевы операции](https://python-all.ru/3.6/reference/expressions.html#boolean-operations)1637    - [6.12. Условные выражения](https://python-all.ru/3.6/reference/expressions.html#conditional-expressions)1638    - [6.13. Лямбды](https://python-all.ru/3.6/reference/expressions.html#lambda)1639    - [6.14. Списки выражений](https://python-all.ru/3.6/reference/expressions.html#expression-lists)1640    - [6.15. Порядок вычислений](https://python-all.ru/3.6/reference/expressions.html#evaluation-order)1641    - [6.16. Приоритет операторов](https://python-all.ru/3.6/reference/expressions.html#operator-precedence)1642  - [7. Простые инструкции](https://python-all.ru/3.6/reference/simple_stmts.html)16431644    - [7.1. Инструкции-выражения](https://python-all.ru/3.6/reference/simple_stmts.html#expression-statements)1645    - [7.2. Инструкции присваивания](https://python-all.ru/3.6/reference/simple_stmts.html#assignment-statements)16461647      - [7.2.1. Совмещённые инструкции присваивания](https://python-all.ru/3.6/reference/simple_stmts.html#augmented-assignment-statements)1648      - [7.2.2. Аннотированные инструкции присваивания](https://python-all.ru/3.6/reference/simple_stmts.html#annotated-assignment-statements)1649    - [7.3. Инструкция `assert`](https://python-all.ru/3.6/reference/simple_stmts.html#the-assert-statement)1650    - [7.4. Инструкция `pass`](https://python-all.ru/3.6/reference/simple_stmts.html#the-pass-statement)1651    - [7.5. Инструкция `del`](https://python-all.ru/3.6/reference/simple_stmts.html#the-del-statement)1652    - [7.6. Инструкция `return`](https://python-all.ru/3.6/reference/simple_stmts.html#the-return-statement)1653    - [7.7. Инструкция `yield`](https://python-all.ru/3.6/reference/simple_stmts.html#the-yield-statement)1654    - [7.8. Инструкция `raise`](https://python-all.ru/3.6/reference/simple_stmts.html#the-raise-statement)1655    - [7.9. Инструкция `break`](https://python-all.ru/3.6/reference/simple_stmts.html#the-break-statement)1656    - [7.10. Инструкция `continue`](https://python-all.ru/3.6/reference/simple_stmts.html#the-continue-statement)1657    - [7.11. Инструкция `import`](https://python-all.ru/3.6/reference/simple_stmts.html#the-import-statement)16581659      - [7.11.1. Инструкции future](https://python-all.ru/3.6/reference/simple_stmts.html#future-statements)1660    - [7.12. Инструкция `global`](https://python-all.ru/3.6/reference/simple_stmts.html#the-global-statement)1661    - [7.13. Инструкция `nonlocal`](https://python-all.ru/3.6/reference/simple_stmts.html#the-nonlocal-statement)1662  - [8. Составные инструкции](https://python-all.ru/3.6/reference/compound_stmts.html)16631664    - [8.1. Инструкция `if`](https://python-all.ru/3.6/reference/compound_stmts.html#the-if-statement)1665    - [8.2. Инструкция `while`](https://python-all.ru/3.6/reference/compound_stmts.html#the-while-statement)1666    - [8.3. Инструкция `for`](https://python-all.ru/3.6/reference/compound_stmts.html#the-for-statement)1667    - [8.4. Инструкция `try`](https://python-all.ru/3.6/reference/compound_stmts.html#the-try-statement)1668    - [8.5. Инструкция `with`](https://python-all.ru/3.6/reference/compound_stmts.html#the-with-statement)1669    - [8.6. Определения функций](https://python-all.ru/3.6/reference/compound_stmts.html#function-definitions)1670    - [8.7. Определения классов](https://python-all.ru/3.6/reference/compound_stmts.html#class-definitions)1671    - [8.8. Корутины](https://python-all.ru/3.6/reference/compound_stmts.html#coroutines)16721673      - [8.8.1. Определение корутинной функции](https://python-all.ru/3.6/reference/compound_stmts.html#coroutine-function-definition)1674      - [8.8.2. Оператор `async for`](https://python-all.ru/3.6/reference/compound_stmts.html#the-async-for-statement)1675      - [8.8.3. Оператор `async with`](https://python-all.ru/3.6/reference/compound_stmts.html#the-async-with-statement)1676  - [9. Компоненты верхнего уровня](https://python-all.ru/3.6/reference/toplevel_components.html)16771678    - [9.1. Полные программы на Python](https://python-all.ru/3.6/reference/toplevel_components.html#complete-python-programs)1679    - [9.2. Ввод из файла](https://python-all.ru/3.6/reference/toplevel_components.html#file-input)1680    - [9.3. Интерактивный ввод](https://python-all.ru/3.6/reference/toplevel_components.html#interactive-input)1681    - [9.4. Ввод выражений](https://python-all.ru/3.6/reference/toplevel_components.html#expression-input)1682  - [10. Полная спецификация грамматики](https://python-all.ru/3.6/reference/grammar.html)1683- [Стандартная библиотека Python](https://python-all.ru/3.6/library/index.html)16841685  - [1. Введение](https://python-all.ru/3.6/library/intro.html)1686  - [2. Встроенные функции](https://python-all.ru/3.6/library/functions.html)1687  - [3. Встроенные константы](https://python-all.ru/3.6/library/constants.html)16881689    - [3.1. Константы, добавленные модулем `site`](https://python-all.ru/3.6/library/constants.html#constants-added-by-the-site-module)1690  - [4. Встроенные типы](https://python-all.ru/3.6/library/stdtypes.html)16911692    - [4.1. Проверка истинности](https://python-all.ru/3.6/library/stdtypes.html#truth-value-testing)1693    - [4.2. Логические операции – `and`, `or`, `not`](https://python-all.ru/3.6/library/stdtypes.html#boolean-operations-and-or-not)1694    - [4.3. Сравнения](https://python-all.ru/3.6/library/stdtypes.html#comparisons)1695    - [4.4. Числовые типы – `int`, `float`, `complex`](https://python-all.ru/3.6/library/stdtypes.html#numeric-types-int-float-complex)16961697      - [4.4.1. Побитовые операции над целыми типами](https://python-all.ru/3.6/library/stdtypes.html#bitwise-operations-on-integer-types)1698      - [4.4.2. Дополнительные методы целых типов](https://python-all.ru/3.6/library/stdtypes.html#additional-methods-on-integer-types)1699      - [4.4.3. Дополнительные методы Float](https://python-all.ru/3.6/library/stdtypes.html#additional-methods-on-float)1700      - [4.4.4. Хеширование числовых типов](https://python-all.ru/3.6/library/stdtypes.html#hashing-of-numeric-types)1701    - [4.5. Типы итераторов](https://python-all.ru/3.6/library/stdtypes.html#iterator-types)17021703      - [4.5.1. Типы генераторов](https://python-all.ru/3.6/library/stdtypes.html#generator-types)1704    - [4.6. Типы последовательностей – `list`, `tuple`, `range`](https://python-all.ru/3.6/library/stdtypes.html#sequence-types-list-tuple-range)17051706      - [4.6.1. Общие операции с последовательностями](https://python-all.ru/3.6/library/stdtypes.html#common-sequence-operations)1707      - [4.6.2. Неизменяемые типы последовательностей](https://python-all.ru/3.6/library/stdtypes.html#immutable-sequence-types)1708      - [4.6.3. Изменяемые типы последовательностей](https://python-all.ru/3.6/library/stdtypes.html#mutable-sequence-types)1709      - [4.6.4. Списки](https://python-all.ru/3.6/library/stdtypes.html#lists)1710      - [4.6.5. Кортежи](https://python-all.ru/3.6/library/stdtypes.html#tuples)1711      - [4.6.6. Диапазоны](https://python-all.ru/3.6/library/stdtypes.html#ranges)1712    - [4.7. Тип текстовой последовательности – `str`](https://python-all.ru/3.6/library/stdtypes.html#text-sequence-type-str)17131714      - [4.7.1. Методы строк](https://python-all.ru/3.6/library/stdtypes.html#string-methods)1715      - [4.7.2. Форматирование строк в стиле `printf`](https://python-all.ru/3.6/library/stdtypes.html#printf-style-string-formatting)1716    - [4.8. Двоичные типы последовательностей – `bytes`, `bytearray`, `memoryview`](https://python-all.ru/3.6/library/stdtypes.html#binary-sequence-types-bytes-bytearray-memoryview)17171718      - [4.8.1. Объекты bytes](https://python-all.ru/3.6/library/stdtypes.html#bytes-objects)1719      - [4.8.2. Объекты bytearray](https://python-all.ru/3.6/library/stdtypes.html#bytearray-objects)1720      - [4.8.3. Операции с bytes и bytearray](https://python-all.ru/3.6/library/stdtypes.html#bytes-and-bytearray-operations)1721      - [4.8.4. Форматирование bytes в стиле `printf`](https://python-all.ru/3.6/library/stdtypes.html#printf-style-bytes-formatting)1722      - [4.8.5. Представления памяти](https://python-all.ru/3.6/library/stdtypes.html#memory-views)1723    - [4.9. Типы множеств – `set`, `frozenset`](https://python-all.ru/3.6/library/stdtypes.html#set-types-set-frozenset)1724    - [4.10. Типы отображений – `dict`](https://python-all.ru/3.6/library/stdtypes.html#mapping-types-dict)17251726      - [4.10.1. Объекты-представления словаря](https://python-all.ru/3.6/library/stdtypes.html#dictionary-view-objects)1727    - [4.11. Типы менеджеров контекста](https://python-all.ru/3.6/library/stdtypes.html#context-manager-types)1728    - [4.12. Прочие встроенные типы](https://python-all.ru/3.6/library/stdtypes.html#other-built-in-types)17291730      - [4.12.1. Модули](https://python-all.ru/3.6/library/stdtypes.html#modules)1731      - [4.12.2. Классы и экземпляры классов](https://python-all.ru/3.6/library/stdtypes.html#classes-and-class-instances)1732      - [4.12.3. Функции](https://python-all.ru/3.6/library/stdtypes.html#functions)1733      - [4.12.4. Методы](https://python-all.ru/3.6/library/stdtypes.html#methods)1734      - [4.12.5. Объекты кода](https://python-all.ru/3.6/library/stdtypes.html#code-objects)1735      - [4.12.6. Объекты типов](https://python-all.ru/3.6/library/stdtypes.html#type-objects)1736      - [4.12.7. Объект None](https://python-all.ru/3.6/library/stdtypes.html#the-null-object)1737      - [4.12.8. Объект Ellipsis](https://python-all.ru/3.6/library/stdtypes.html#the-ellipsis-object)1738      - [4.12.9. Объект NotImplemented](https://python-all.ru/3.6/library/stdtypes.html#the-notimplemented-object)1739      - [4.12.10. Логические значения](https://python-all.ru/3.6/library/stdtypes.html#boolean-values)1740      - [4.12.11. Внутренние объекты](https://python-all.ru/3.6/library/stdtypes.html#internal-objects)1741    - [4.13. Специальные атрибуты](https://python-all.ru/3.6/library/stdtypes.html#special-attributes)1742  - [5. Встроенные исключения](https://python-all.ru/3.6/library/exceptions.html)17431744    - [5.1. Базовые классы](https://python-all.ru/3.6/library/exceptions.html#base-classes)1745    - [5.2. Конкретные исключения](https://python-all.ru/3.6/library/exceptions.html#concrete-exceptions)17461747      - [5.2.1. Исключения ОС](https://python-all.ru/3.6/library/exceptions.html#os-exceptions)1748    - [5.3. Предупреждения](https://python-all.ru/3.6/library/exceptions.html#warnings)1749    - [5.4. Иерархия исключений](https://python-all.ru/3.6/library/exceptions.html#exception-hierarchy)1750  - [6. Службы обработки текста](https://python-all.ru/3.6/library/text.html)17511752    - [6.1. `string` – Стандартные операции со строками](https://python-all.ru/3.6/library/string.html)17531754      - [6.1.1. Константы строк](https://python-all.ru/3.6/library/string.html#string-constants)1755      - [6.1.2. Пользовательское форматирование строк](https://python-all.ru/3.6/library/string.html#custom-string-formatting)1756      - [6.1.3. Синтаксис форматной строки](https://python-all.ru/3.6/library/string.html#format-string-syntax)17571758        - [6.1.3.1. Мини-язык спецификаций формата](https://python-all.ru/3.6/library/string.html#format-specification-mini-language)1759        - [6.1.3.2. Примеры форматирования](https://python-all.ru/3.6/library/string.html#format-examples)1760      - [6.1.4. Шаблонные строки](https://python-all.ru/3.6/library/string.html#template-strings)1761      - [6.1.5. Вспомогательные функции](https://python-all.ru/3.6/library/string.html#helper-functions)1762    - [6.2. `re` – Операции с регулярными выражениями](https://python-all.ru/3.6/library/re.html)17631764      - [6.2.1. Синтаксис регулярных выражений](https://python-all.ru/3.6/library/re.html#regular-expression-syntax)1765      - [6.2.2. Содержимое модуля](https://python-all.ru/3.6/library/re.html#module-contents)1766      - [6.2.3. Объекты регулярных выражений](https://python-all.ru/3.6/library/re.html#regular-expression-objects)1767      - [6.2.4. Объекты сопоставления](https://python-all.ru/3.6/library/re.html#match-objects)1768      - [6.2.5. Примеры регулярных выражений](https://python-all.ru/3.6/library/re.html#regular-expression-examples)17691770        - [6.2.5.1. Проверка на пару](https://python-all.ru/3.6/library/re.html#checking-for-a-pair)1771        - [6.2.5.2. Имитация scanf()](https://python-all.ru/3.6/library/re.html#simulating-scanf)1772        - [6.2.5.3. search() vs. match()](https://python-all.ru/3.6/library/re.html#search-vs-match)1773        - [6.2.5.4. Создание телефонной книги](https://python-all.ru/3.6/library/re.html#making-a-phonebook)1774        - [6.2.5.5. Обработка текста](https://python-all.ru/3.6/library/re.html#text-munging)1775        - [6.2.5.6. Поиск всех наречий](https://python-all.ru/3.6/library/re.html#finding-all-adverbs)1776        - [6.2.5.7. Поиск всех наречий и их позиций](https://python-all.ru/3.6/library/re.html#finding-all-adverbs-and-their-positions)1777        - [6.2.5.8. Сырые строки](https://python-all.ru/3.6/library/re.html#raw-string-notation)1778        - [6.2.5.9. Написание токенизатора](https://python-all.ru/3.6/library/re.html#writing-a-tokenizer)1779    - [6.3. `difflib` – Вспомогательные функции для вычисления дельт](https://python-all.ru/3.6/library/difflib.html)17801781      - [6.3.1. Объекты SequenceMatcher](https://python-all.ru/3.6/library/difflib.html#sequencematcher-objects)1782      - [6.3.2. Примеры SequenceMatcher](https://python-all.ru/3.6/library/difflib.html#sequencematcher-examples)1783      - [6.3.3. Объекты Differ](https://python-all.ru/3.6/library/difflib.html#differ-objects)1784      - [6.3.4. Пример Differ](https://python-all.ru/3.6/library/difflib.html#differ-example)1785      - [6.3.5. Интерфейс командной строки для difflib](https://python-all.ru/3.6/library/difflib.html#a-command-line-interface-to-difflib)1786    - [6.4. `textwrap` – Перенос строк и заполнение текста](https://python-all.ru/3.6/library/textwrap.html)1787    - [6.5. `unicodedata` – База данных Unicode](https://python-all.ru/3.6/library/unicodedata.html)1788    - [6.6. `stringprep` – Подготовка интернет-строк](https://python-all.ru/3.6/library/stringprep.html)1789    - [6.7. `readline` – Интерфейс GNU readline](https://python-all.ru/3.6/library/readline.html)17901791      - [6.7.1. Файл инициализации](https://python-all.ru/3.6/library/readline.html#init-file)1792      - [6.7.2. Буфер строки](https://python-all.ru/3.6/library/readline.html#line-buffer)1793      - [6.7.3. Файл истории](https://python-all.ru/3.6/library/readline.html#history-file)1794      - [6.7.4. Список истории](https://python-all.ru/3.6/library/readline.html#history-list)1795      - [6.7.5. Хуки запуска](https://python-all.ru/3.6/library/readline.html#startup-hooks)1796      - [6.7.6. Автодополнение](https://python-all.ru/3.6/library/readline.html#completion)1797      - [6.7.7. Пример](https://python-all.ru/3.6/library/readline.html#example)1798    - [6.8. `rlcompleter` – Функция автодополнения для GNU readline](https://python-all.ru/3.6/library/rlcompleter.html)17991800      - [6.8.1. Объекты Completer](https://python-all.ru/3.6/library/rlcompleter.html#completer-objects)1801  - [7. Службы двоичных данных](https://python-all.ru/3.6/library/binary.html)18021803    - [7.1. `struct` – Интерпретация байтов как упакованных двоичных данных](https://python-all.ru/3.6/library/struct.html)18041805      - [7.1.1. Функции и исключения](https://python-all.ru/3.6/library/struct.html#functions-and-exceptions)1806      - [7.1.2. Строки формата](https://python-all.ru/3.6/library/struct.html#format-strings)18071808        - [7.1.2.1. Порядок байтов, размер и выравнивание](https://python-all.ru/3.6/library/struct.html#byte-order-size-and-alignment)1809        - [7.1.2.2. Символы формата](https://python-all.ru/3.6/library/struct.html#format-characters)1810        - [7.1.2.3. Примеры](https://python-all.ru/3.6/library/struct.html#examples)1811      - [7.1.3. Классы](https://python-all.ru/3.6/library/struct.html#classes)1812    - [7.2. `codecs` – Реестр кодеков и базовые классы](https://python-all.ru/3.6/library/codecs.html)18131814      - [7.2.1. Базовые классы кодеков](https://python-all.ru/3.6/library/codecs.html#codec-base-classes)18151816        - [7.2.1.1. Обработчики ошибок](https://python-all.ru/3.6/library/codecs.html#error-handlers)1817        - [7.2.1.2. Кодирование и декодирование без состояния](https://python-all.ru/3.6/library/codecs.html#stateless-encoding-and-decoding)1818        - [7.2.1.3. Инкрементальное кодирование и декодирование](https://python-all.ru/3.6/library/codecs.html#incremental-encoding-and-decoding)18191820          - [7.2.1.3.1. Объекты IncrementalEncoder](https://python-all.ru/3.6/library/codecs.html#incrementalencoder-objects)1821          - [7.2.1.3.2. Объекты IncrementalDecoder](https://python-all.ru/3.6/library/codecs.html#incrementaldecoder-objects)1822        - [7.2.1.4. Потоковое кодирование и декодирование](https://python-all.ru/3.6/library/codecs.html#stream-encoding-and-decoding)18231824          - [7.2.1.4.1. Объекты StreamWriter](https://python-all.ru/3.6/library/codecs.html#streamwriter-objects)1825          - [7.2.1.4.2. Объекты StreamReader](https://python-all.ru/3.6/library/codecs.html#streamreader-objects)1826          - [7.2.1.4.3. Объекты StreamReaderWriter](https://python-all.ru/3.6/library/codecs.html#streamreaderwriter-objects)1827          - [7.2.1.4.4. Объекты StreamRecoder](https://python-all.ru/3.6/library/codecs.html#streamrecoder-objects)1828      - [7.2.2. Кодировки и Юникод](https://python-all.ru/3.6/library/codecs.html#encodings-and-unicode)1829      - [7.2.3. Стандартные кодировки](https://python-all.ru/3.6/library/codecs.html#standard-encodings)1830      - [7.2.4. Кодировки, специфичные для Python](https://python-all.ru/3.6/library/codecs.html#python-specific-encodings)18311832        - [7.2.4.1. Текстовые кодировки](https://python-all.ru/3.6/library/codecs.html#text-encodings)1833        - [7.2.4.2. Двоичные преобразования](https://python-all.ru/3.6/library/codecs.html#binary-transforms)1834        - [7.2.4.3. Текстовые преобразования](https://python-all.ru/3.6/library/codecs.html#text-transforms)1835      - [7.2.5. `encodings.idna` – Интернационализированные доменные имена в приложениях](https://python-all.ru/3.6/library/codecs.html#module-encodings.idna)1836      - [7.2.6. `encodings.mbcs` – Кодовая страница Windows ANSI](https://python-all.ru/3.6/library/codecs.html#module-encodings.mbcs)1837      - [7.2.7. `encodings.utf_8_sig` – Кодек UTF-8 с сигнатурой BOM](https://python-all.ru/3.6/library/codecs.html#module-encodings.utf_8_sig)1838  - [8. Типы данных](https://python-all.ru/3.6/library/datatypes.html)18391840    - [8.1. `datetime` – Базовые типы даты и времени](https://python-all.ru/3.6/library/datetime.html)18411842      - [8.1.1. Доступные типы](https://python-all.ru/3.6/library/datetime.html#available-types)1843      - [8.1.2. `timedelta` Объекты](https://python-all.ru/3.6/library/datetime.html#timedelta-objects)1844      - [8.1.3. `date` Объекты](https://python-all.ru/3.6/library/datetime.html#date-objects)1845      - [8.1.4. `datetime` Объекты](https://python-all.ru/3.6/library/datetime.html#datetime-objects)1846      - [8.1.5. `time` Объекты](https://python-all.ru/3.6/library/datetime.html#time-objects)1847      - [8.1.6. `tzinfo` Объекты](https://python-all.ru/3.6/library/datetime.html#tzinfo-objects)1848      - [8.1.7. `timezone` Объекты](https://python-all.ru/3.6/library/datetime.html#timezone-objects)1849      - [8.1.8. `strftime()` и `strptime()` Поведение](https://python-all.ru/3.6/library/datetime.html#strftime-and-strptime-behavior)1850    - [8.2. `calendar` – Общие функции, связанные с календарём](https://python-all.ru/3.6/library/calendar.html)1851    - [8.3. `collections` – Типы данных-контейнеры](https://python-all.ru/3.6/library/collections.html)18521853      - [8.3.1. `ChainMap` объекты](https://python-all.ru/3.6/library/collections.html#chainmap-objects)18541855        - [8.3.1.1. `ChainMap` Примеры и рецепты](https://python-all.ru/3.6/library/collections.html#chainmap-examples-and-recipes)1856      - [8.3.2. `Counter` объекты](https://python-all.ru/3.6/library/collections.html#counter-objects)1857      - [8.3.3. `deque` объекты](https://python-all.ru/3.6/library/collections.html#deque-objects)18581859        - [8.3.3.1. `deque` Рецепты](https://python-all.ru/3.6/library/collections.html#deque-recipes)1860      - [8.3.4. `defaultdict` объекты](https://python-all.ru/3.6/library/collections.html#defaultdict-objects)18611862        - [8.3.4.1. `defaultdict` Примеры](https://python-all.ru/3.6/library/collections.html#defaultdict-examples)1863      - [8.3.5. `namedtuple()` Фабричная функция для кортежей с именованными полями](https://python-all.ru/3.6/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields)1864      - [8.3.6. `OrderedDict` объекты](https://python-all.ru/3.6/library/collections.html#ordereddict-objects)18651866        - [8.3.6.1. `OrderedDict` Примеры и рецепты](https://python-all.ru/3.6/library/collections.html#ordereddict-examples-and-recipes)1867      - [8.3.7. `UserDict` объекты](https://python-all.ru/3.6/library/collections.html#userdict-objects)1868      - [8.3.8. `UserList` объекты](https://python-all.ru/3.6/library/collections.html#userlist-objects)1869      - [8.3.9. `UserString` объекты](https://python-all.ru/3.6/library/collections.html#userstring-objects)1870    - [8.4. `collections.abc` – Абстрактные базовые классы для контейнеров](https://python-all.ru/3.6/library/collections.abc.html)18711872      - [8.4.1. Абстрактные базовые классы коллекций](https://python-all.ru/3.6/library/collections.abc.html#collections-abstract-base-classes)1873    - [8.5. `heapq` – Алгоритм пирамидальной очереди](https://python-all.ru/3.6/library/heapq.html)18741875      - [8.5.1. Простые примеры](https://python-all.ru/3.6/library/heapq.html#basic-examples)1876      - [8.5.2. Примечания по реализации очереди с приоритетом](https://python-all.ru/3.6/library/heapq.html#priority-queue-implementation-notes)1877      - [8.5.3. Теория](https://python-all.ru/3.6/library/heapq.html#theory)1878    - [8.6. `bisect` – Алгоритм бинарного поиска в массиве](https://python-all.ru/3.6/library/bisect.html)18791880      - [8.6.1. Поиск в отсортированных списках](https://python-all.ru/3.6/library/bisect.html#searching-sorted-lists)1881      - [8.6.2. Другие примеры](https://python-all.ru/3.6/library/bisect.html#other-examples)1882    - [8.7. `array` – эффективные массивы числовых значений](https://python-all.ru/3.6/library/array.html)1883    - [8.8. `weakref` – слабые ссылки](https://python-all.ru/3.6/library/weakref.html)18841885      - [8.8.1. Объекты слабых ссылок](https://python-all.ru/3.6/library/weakref.html#weak-reference-objects)1886      - [8.8.2. Пример](https://python-all.ru/3.6/library/weakref.html#example)1887      - [8.8.3. Объекты финализаторов](https://python-all.ru/3.6/library/weakref.html#finalizer-objects)1888      - [8.8.4. Сравнение финализаторов с `__del__()` методами](https://python-all.ru/3.6/library/weakref.html#comparing-finalizers-with-del-methods)1889    - [8.9. `types` – динамическое создание типов и имена для встроенных типов](https://python-all.ru/3.6/library/types.html)18901891      - [8.9.1. Динамическое создание типов](https://python-all.ru/3.6/library/types.html#dynamic-type-creation)1892      - [8.9.2. Стандартные типы интерпретатора](https://python-all.ru/3.6/library/types.html#standard-interpreter-types)1893      - [8.9.3. Дополнительные служебные классы и функции](https://python-all.ru/3.6/library/types.html#additional-utility-classes-and-functions)1894      - [8.9.4. Служебные функции для корутин](https://python-all.ru/3.6/library/types.html#coroutine-utility-functions)1895    - [8.10. `copy` – операции поверхностного и глубокого копирования](https://python-all.ru/3.6/library/copy.html)1896    - [8.11. `pprint` – форматированный вывод данных](https://python-all.ru/3.6/library/pprint.html)18971898      - [8.11.1. Объекты PrettyPrinter](https://python-all.ru/3.6/library/pprint.html#prettyprinter-objects)1899      - [8.11.2. Пример](https://python-all.ru/3.6/library/pprint.html#example)1900    - [8.12. `reprlib` – альтернативная реализация `repr()`](https://python-all.ru/3.6/library/reprlib.html)19011902      - [8.12.1. Объекты Repr](https://python-all.ru/3.6/library/reprlib.html#repr-objects)1903      - [8.12.2. Создание подклассов объектов Repr](https://python-all.ru/3.6/library/reprlib.html#subclassing-repr-objects)1904    - [8.13. `enum` – поддержка перечислений](https://python-all.ru/3.6/library/enum.html)19051906      - [8.13.1. Содержимое модуля](https://python-all.ru/3.6/library/enum.html#module-contents)1907      - [8.13.2. Создание перечисления](https://python-all.ru/3.6/library/enum.html#creating-an-enum)1908      - [8.13.3. Программный доступ к членам перечисления и их атрибутам](https://python-all.ru/3.6/library/enum.html#programmatic-access-to-enumeration-members-and-their-attributes)1909      - [8.13.4. Дублирование членов и значений перечисления](https://python-all.ru/3.6/library/enum.html#duplicating-enum-members-and-values)1910      - [8.13.5. Обеспечение уникальности значений перечисления](https://python-all.ru/3.6/library/enum.html#ensuring-unique-enumeration-values)1911      - [8.13.6. Использование автоматических значений](https://python-all.ru/3.6/library/enum.html#using-automatic-values)1912      - [8.13.7. Итерация](https://python-all.ru/3.6/library/enum.html#iteration)1913      - [8.13.8. Сравнение](https://python-all.ru/3.6/library/enum.html#comparisons)1914      - [8.13.9. Допустимые члены и атрибуты перечислений](https://python-all.ru/3.6/library/enum.html#allowed-members-and-attributes-of-enumerations)1915      - [8.13.10. Ограниченное создание подклассов перечислений](https://python-all.ru/3.6/library/enum.html#restricted-subclassing-of-enumerations)1916      - [8.13.11. Сериализация](https://python-all.ru/3.6/library/enum.html#pickling)1917      - [8.13.12. Функциональный API](https://python-all.ru/3.6/library/enum.html#functional-api)1918      - [8.13.13. Производные перечисления](https://python-all.ru/3.6/library/enum.html#derived-enumerations)19191920        - [8.13.13.1. IntEnum](https://python-all.ru/3.6/library/enum.html#intenum)1921        - [8.13.13.2. IntFlag](https://python-all.ru/3.6/library/enum.html#intflag)1922        - [8.13.13.3. Flag](https://python-all.ru/3.6/library/enum.html#flag)1923        - [8.13.13.4. Другие](https://python-all.ru/3.6/library/enum.html#others)1924      - [8.13.14. Интересные примеры](https://python-all.ru/3.6/library/enum.html#interesting-examples)19251926        - [8.13.14.1. Опускание значений](https://python-all.ru/3.6/library/enum.html#omitting-values)19271928          - [8.13.14.1.1. Использование `auto`](https://python-all.ru/3.6/library/enum.html#using-auto)1929          - [8.13.14.1.2. Использование `object`](https://python-all.ru/3.6/library/enum.html#using-object)1930          - [8.13.14.1.3. Использование описательной строки](https://python-all.ru/3.6/library/enum.html#using-a-descriptive-string)1931          - [8.13.14.1.4. Использование пользовательского `__new__()`](https://python-all.ru/3.6/library/enum.html#using-a-custom-new)1932        - [8.13.14.2. OrderedEnum](https://python-all.ru/3.6/library/enum.html#orderedenum)1933        - [8.13.14.3. DuplicateFreeEnum](https://python-all.ru/3.6/library/enum.html#duplicatefreeenum)1934        - [8.13.14.4. Planet](https://python-all.ru/3.6/library/enum.html#planet)1935      - [8.13.15. Чем отличаются перечисления?](https://python-all.ru/3.6/library/enum.html#how-are-enums-different)19361937        - [8.13.15.1. Классы перечислений](https://python-all.ru/3.6/library/enum.html#enum-classes)1938        - [8.13.15.2. Элементы перечислений (они же экземпляры)](https://python-all.ru/3.6/library/enum.html#enum-members-aka-instances)1939        - [8.13.15.3. Тонкости](https://python-all.ru/3.6/library/enum.html#finer-points)19401941          - [8.13.15.3.1. Поддерживаемые `__dunder__` имена](https://python-all.ru/3.6/library/enum.html#supported-dunder-names)1942          - [8.13.15.3.2. Поддерживаемые `_sunder_` имена](https://python-all.ru/3.6/library/enum.html#supported-sunder-names)1943          - [8.13.15.3.3. `Enum` member type](https://python-all.ru/3.6/library/enum.html#enum-member-type)1944          - [8.13.15.3.4. Boolean value of `Enum` classes and members](https://python-all.ru/3.6/library/enum.html#boolean-value-of-enum-classes-and-members)1945          - [8.13.15.3.5. `Enum` classes with methods](https://python-all.ru/3.6/library/enum.html#enum-classes-with-methods)1946          - [8.13.15.3.6. Combining members of `Flag`](https://python-all.ru/3.6/library/enum.html#combining-members-of-flag)1947  - [9. Модули числовых и математических функций](https://python-all.ru/3.6/library/numeric.html)19481949    - [9.1. `numbers` – Числовые абстрактные базовые классы](https://python-all.ru/3.6/library/numbers.html)19501951      - [9.1.1. Числовая иерархия](https://python-all.ru/3.6/library/numbers.html#the-numeric-tower)1952      - [9.1.2. Замечания для разработчиков типов](https://python-all.ru/3.6/library/numbers.html#notes-for-type-implementors)19531954        - [9.1.2.1. Добавление других числовых ABC](https://python-all.ru/3.6/library/numbers.html#adding-more-numeric-abcs)1955        - [9.1.2.2. Реализация арифметических операций](https://python-all.ru/3.6/library/numbers.html#implementing-the-arithmetic-operations)1956    - [9.2. `math` – Математические функции](https://python-all.ru/3.6/library/math.html)19571958      - [9.2.1. Теоретико-числовые функции и функции представления](https://python-all.ru/3.6/library/math.html#number-theoretic-and-representation-functions)1959      - [9.2.2. Степенные и логарифмические функции](https://python-all.ru/3.6/library/math.html#power-and-logarithmic-functions)1960      - [9.2.3. Тригонометрические функции](https://python-all.ru/3.6/library/math.html#trigonometric-functions)1961      - [9.2.4. Преобразование углов](https://python-all.ru/3.6/library/math.html#angular-conversion)1962      - [9.2.5. Гиперболические функции](https://python-all.ru/3.6/library/math.html#hyperbolic-functions)1963      - [9.2.6. Специальные функции](https://python-all.ru/3.6/library/math.html#special-functions)1964      - [9.2.7. Константы](https://python-all.ru/3.6/library/math.html#constants)1965    - [9.3. `cmath` – Математические функции для комплексных чисел](https://python-all.ru/3.6/library/cmath.html)19661967      - [9.3.1. Преобразование в полярные координаты и обратно](https://python-all.ru/3.6/library/cmath.html#conversions-to-and-from-polar-coordinates)1968      - [9.3.2. Степенные и логарифмические функции](https://python-all.ru/3.6/library/cmath.html#power-and-logarithmic-functions)1969      - [9.3.3. Тригонометрические функции](https://python-all.ru/3.6/library/cmath.html#trigonometric-functions)1970      - [9.3.4. Гиперболические функции](https://python-all.ru/3.6/library/cmath.html#hyperbolic-functions)1971      - [9.3.5. Функции классификации](https://python-all.ru/3.6/library/cmath.html#classification-functions)1972      - [9.3.6. Константы](https://python-all.ru/3.6/library/cmath.html#constants)1973    - [9.4. `decimal` – Десятичная арифметика с фиксированной и плавающей точкой](https://python-all.ru/3.6/library/decimal.html)19741975      - [9.4.1. Краткое руководство](https://python-all.ru/3.6/library/decimal.html#quick-start-tutorial)1976      - [9.4.2. Объекты Decimal](https://python-all.ru/3.6/library/decimal.html#decimal-objects)19771978        - [9.4.2.1. Логические операнды](https://python-all.ru/3.6/library/decimal.html#logical-operands)1979      - [9.4.3. Объекты контекста](https://python-all.ru/3.6/library/decimal.html#context-objects)1980      - [9.4.4. Константы](https://python-all.ru/3.6/library/decimal.html#constants)1981      - [9.4.5. Режимы округления](https://python-all.ru/3.6/library/decimal.html#rounding-modes)1982      - [9.4.6. Сигналы](https://python-all.ru/3.6/library/decimal.html#signals)1983      - [9.4.7. Замечания о числах с плавающей точкой](https://python-all.ru/3.6/library/decimal.html#floating-point-notes)19841985        - [9.4.7.1. Уменьшение ошибки округления за счёт повышенной точности](https://python-all.ru/3.6/library/decimal.html#mitigating-round-off-error-with-increased-precision)1986        - [9.4.7.2. Специальные значения](https://python-all.ru/3.6/library/decimal.html#special-values)1987      - [9.4.8. Работа с потоками](https://python-all.ru/3.6/library/decimal.html#working-with-threads)1988      - [9.4.9. Рецепты](https://python-all.ru/3.6/library/decimal.html#recipes)1989      - [9.4.10. Часто задаваемые вопросы о Decimal](https://python-all.ru/3.6/library/decimal.html#decimal-faq)1990    - [9.5. `fractions` – Рациональные числа](https://python-all.ru/3.6/library/fractions.html)1991    - [9.6. `random` – Генерация псевдослучайных чисел](https://python-all.ru/3.6/library/random.html)19921993      - [9.6.1. Учётные функции](https://python-all.ru/3.6/library/random.html#bookkeeping-functions)1994      - [9.6.2. Функции для целых чисел](https://python-all.ru/3.6/library/random.html#functions-for-integers)1995      - [9.6.3. Функции для последовательностей](https://python-all.ru/3.6/library/random.html#functions-for-sequences)1996      - [9.6.4. Распределения с вещественными значениями](https://python-all.ru/3.6/library/random.html#real-valued-distributions)1997      - [9.6.5. Альтернативный генератор](https://python-all.ru/3.6/library/random.html#alternative-generator)1998      - [9.6.6. Замечания о воспроизводимости](https://python-all.ru/3.6/library/random.html#notes-on-reproducibility)1999      - [9.6.7. Примеры и рецепты](https://python-all.ru/3.6/library/random.html#examples-and-recipes)2000    - [9.7. `statistics` – Функции математической статистики](https://python-all.ru/3.6/library/statistics.html)20012002      - [9.7.1. Средние значения и меры центральной тенденции](https://python-all.ru/3.6/library/statistics.html#averages-and-measures-of-central-location)2003      - [9.7.2. Меры разброса](https://python-all.ru/3.6/library/statistics.html#measures-of-spread)2004      - [9.7.3. Описание функций](https://python-all.ru/3.6/library/statistics.html#function-details)2005      - [9.7.4. Исключения](https://python-all.ru/3.6/library/statistics.html#exceptions)2006  - [10. Модули функционального программирования](https://python-all.ru/3.6/library/functional.html)20072008    - [10.1. `itertools` – Функции, создающие итераторы для эффективного циклического перебора](https://python-all.ru/3.6/library/itertools.html)20092010      - [10.1.1. Функции модуля itertools](https://python-all.ru/3.6/library/itertools.html#itertool-functions)2011      - [10.1.2. Рецепты itertools](https://python-all.ru/3.6/library/itertools.html#itertools-recipes)2012    - [10.2. `functools` – Функции высшего порядка и операции над вызываемыми объектами](https://python-all.ru/3.6/library/functools.html)20132014      - [10.2.1. Объекты `partial`](https://python-all.ru/3.6/library/functools.html#partial-objects)2015    - [10.3. `operator` – Стандартные операторы как функции](https://python-all.ru/3.6/library/operator.html)20162017      - [10.3.1. Отображение операторов на функции](https://python-all.ru/3.6/library/operator.html#mapping-operators-to-functions)2018      - [10.3.2. Операторы на месте](https://python-all.ru/3.6/library/operator.html#inplace-operators)2019  - [11. Доступ к файлам и каталогам](https://python-all.ru/3.6/library/filesys.html)20202021    - [11.1. `pathlib` – Объектно-ориентированные пути файловой системы](https://python-all.ru/3.6/library/pathlib.html)20222023      - [11.1.1. Основное использование](https://python-all.ru/3.6/library/pathlib.html#basic-use)2024      - [11.1.2. Абстрактные пути](https://python-all.ru/3.6/library/pathlib.html#pure-paths)20252026        - [11.1.2.1. Общие свойства](https://python-all.ru/3.6/library/pathlib.html#general-properties)2027        - [11.1.2.2. Операторы](https://python-all.ru/3.6/library/pathlib.html#operators)2028        - [11.1.2.3. Доступ к отдельным частям](https://python-all.ru/3.6/library/pathlib.html#accessing-individual-parts)2029        - [11.1.2.4. Методы и свойства](https://python-all.ru/3.6/library/pathlib.html#methods-and-properties)2030      - [11.1.3. Конкретные пути](https://python-all.ru/3.6/library/pathlib.html#concrete-paths)20312032        - [11.1.3.1. Методы](https://python-all.ru/3.6/library/pathlib.html#methods)2033    - [11.2. `os.path` – Типичные манипуляции с именами путей](https://python-all.ru/3.6/library/os.path.html)2034    - [11.3. `fileinput` – Итерация по строкам из нескольких входных потоков](https://python-all.ru/3.6/library/fileinput.html)2035    - [11.4. `stat` – Интерпретация результатов `stat()`](https://python-all.ru/3.6/library/stat.html)2036    - [11.5. `filecmp` – Сравнение файлов и каталогов](https://python-all.ru/3.6/library/filecmp.html)20372038      - [11.5.1. Класс `dircmp`](https://python-all.ru/3.6/library/filecmp.html#the-dircmp-class)2039    - [11.6. `tempfile` – Генерация временных файлов и каталогов](https://python-all.ru/3.6/library/tempfile.html)20402041      - [11.6.1. Примеры](https://python-all.ru/3.6/library/tempfile.html#examples)2042      - [11.6.2. Устаревшие функции и переменные](https://python-all.ru/3.6/library/tempfile.html#deprecated-functions-and-variables)2043    - [11.7. `glob` – Расширение шаблонов путей в стиле Unix](https://python-all.ru/3.6/library/glob.html)2044    - [11.8. `fnmatch` – Сопоставление имён файлов с шаблоном в стиле Unix](https://python-all.ru/3.6/library/fnmatch.html)2045    - [11.9. `linecache` – Произвольный доступ к строкам текста](https://python-all.ru/3.6/library/linecache.html)2046    - [11.10. `shutil` – Высокоуровневые операции с файлами](https://python-all.ru/3.6/library/shutil.html)20472048      - [11.10.1. Операции с каталогами и файлами](https://python-all.ru/3.6/library/shutil.html#directory-and-files-operations)20492050        - [11.10.1.1. Пример copytree](https://python-all.ru/3.6/library/shutil.html#copytree-example)2051        - [11.10.1.2. Пример rmtree](https://python-all.ru/3.6/library/shutil.html#rmtree-example)2052      - [11.10.2. Операции архивации](https://python-all.ru/3.6/library/shutil.html#archiving-operations)20532054        - [11.10.2.1. Пример архивации](https://python-all.ru/3.6/library/shutil.html#archiving-example)2055      - [11.10.3. Определение размера выходного терминала](https://python-all.ru/3.6/library/shutil.html#querying-the-size-of-the-output-terminal)2056    - [11.11. `macpath` – Функции для работы с путями Mac OS 9](https://python-all.ru/3.6/library/macpath.html)2057  - [12. Сохранение данных](https://python-all.ru/3.6/library/persistence.html)20582059    - [12.1. `pickle` – Сериализация объектов Python](https://python-all.ru/3.6/library/pickle.html)20602061      - [12.1.1. Взаимосвязь с другими модулями Python](https://python-all.ru/3.6/library/pickle.html#relationship-to-other-python-modules)20622063        - [12.1.1.1. Сравнение с `marshal`](https://python-all.ru/3.6/library/pickle.html#comparison-with-marshal)2064        - [12.1.1.2. Сравнение с `json`](https://python-all.ru/3.6/library/pickle.html#comparison-with-json)2065      - [12.1.2. Формат потока данных](https://python-all.ru/3.6/library/pickle.html#data-stream-format)2066      - [12.1.3. Интерфейс модуля](https://python-all.ru/3.6/library/pickle.html#module-interface)2067      - [12.1.4. Что можно сериализовать и десериализовать?](https://python-all.ru/3.6/library/pickle.html#what-can-be-pickled-and-unpickled)2068      - [12.1.5. Сериализация экземпляров классов](https://python-all.ru/3.6/library/pickle.html#pickling-class-instances)20692070        - [12.1.5.1. Сохранение внешних объектов](https://python-all.ru/3.6/library/pickle.html#persistence-of-external-objects)2071        - [12.1.5.2. Диспетчерские таблицы](https://python-all.ru/3.6/library/pickle.html#dispatch-tables)2072        - [12.1.5.3. Работа с объектами с состоянием](https://python-all.ru/3.6/library/pickle.html#handling-stateful-objects)2073      - [12.1.6. Ограничение глобальных объектов](https://python-all.ru/3.6/library/pickle.html#restricting-globals)2074      - [12.1.7. Производительность](https://python-all.ru/3.6/library/pickle.html#performance)2075      - [12.1.8. Примеры](https://python-all.ru/3.6/library/pickle.html#examples)2076    - [12.2. `copyreg` – Функции поддержки регистрации `pickle`](https://python-all.ru/3.6/library/copyreg.html)20772078      - [12.2.1. Пример](https://python-all.ru/3.6/library/copyreg.html#example)2079    - [12.3. `shelve` – Сохранение объектов Python](https://python-all.ru/3.6/library/shelve.html)20802081      - [12.3.1. Ограничения](https://python-all.ru/3.6/library/shelve.html#restrictions)2082      - [12.3.2. Пример](https://python-all.ru/3.6/library/shelve.html#example)2083    - [12.4. `marshal` – Внутренняя сериализация объектов Python](https://python-all.ru/3.6/library/marshal.html)2084    - [12.5. `dbm` – Интерфейсы к базам данных Unix](https://python-all.ru/3.6/library/dbm.html)20852086      - [12.5.1. `dbm.gnu` – Переосмысление dbm от GNU](https://python-all.ru/3.6/library/dbm.html#module-dbm.gnu)2087      - [12.5.2. `dbm.ndbm` – Интерфейс на основе ndbm](https://python-all.ru/3.6/library/dbm.html#module-dbm.ndbm)2088      - [12.5.3. `dbm.dumb` – Переносимая реализация DBM](https://python-all.ru/3.6/library/dbm.html#module-dbm.dumb)2089    - [12.6. `sqlite3` – Интерфейс DB-API 2.0 для баз данных SQLite](https://python-all.ru/3.6/library/sqlite3.html)20902091      - [12.6.1. Функции и константы модуля](https://python-all.ru/3.6/library/sqlite3.html#module-functions-and-constants)2092      - [12.6.2. Объекты соединения](https://python-all.ru/3.6/library/sqlite3.html#connection-objects)2093      - [12.6.3. Объекты курсора](https://python-all.ru/3.6/library/sqlite3.html#cursor-objects)2094      - [12.6.4. Объекты строки](https://python-all.ru/3.6/library/sqlite3.html#row-objects)2095      - [12.6.5. Исключения](https://python-all.ru/3.6/library/sqlite3.html#exceptions)2096      - [12.6.6. Типы SQLite и Python](https://python-all.ru/3.6/library/sqlite3.html#sqlite-and-python-types)20972098        - [12.6.6.1. Введение](https://python-all.ru/3.6/library/sqlite3.html#introduction)2099        - [12.6.6.2. Использование адаптеров для хранения дополнительных типов Python в базах SQLite](https://python-all.ru/3.6/library/sqlite3.html#using-adapters-to-store-additional-python-types-in-sqlite-databases)21002101          - [12.6.6.2.1. Адаптация объекта самостоятельно](https://python-all.ru/3.6/library/sqlite3.html#letting-your-object-adapt-itself)2102          - [12.6.6.2.2. Регистрация вызываемого адаптера](https://python-all.ru/3.6/library/sqlite3.html#registering-an-adapter-callable)2103        - [12.6.6.3. Преобразование значений SQLite в пользовательские типы Python](https://python-all.ru/3.6/library/sqlite3.html#converting-sqlite-values-to-custom-python-types)2104        - [12.6.6.4. Адаптеры и конвертеры по умолчанию](https://python-all.ru/3.6/library/sqlite3.html#default-adapters-and-converters)2105      - [12.6.7. Управление транзакциями](https://python-all.ru/3.6/library/sqlite3.html#controlling-transactions)2106      - [12.6.8. Эффективное использование `sqlite3`](https://python-all.ru/3.6/library/sqlite3.html#using-sqlite3-efficiently)21072108        - [12.6.8.1. Использование быстрых методов](https://python-all.ru/3.6/library/sqlite3.html#using-shortcut-methods)2109        - [12.6.8.2. Доступ к столбцам по имени, а не по индексу](https://python-all.ru/3.6/library/sqlite3.html#accessing-columns-by-name-instead-of-by-index)2110        - [12.6.8.3. Использование соединения как менеджера контекста](https://python-all.ru/3.6/library/sqlite3.html#using-the-connection-as-a-context-manager)2111      - [12.6.9. Часто встречающиеся проблемы](https://python-all.ru/3.6/library/sqlite3.html#common-issues)21122113        - [12.6.9.1. Многопоточность](https://python-all.ru/3.6/library/sqlite3.html#multithreading)2114  - [13. Сжатие данных и архивирование](https://python-all.ru/3.6/library/archiving.html)21152116    - [13.1. `zlib` – Сжатие, совместимое с **gzip**](https://python-all.ru/3.6/library/zlib.html)2117    - [13.2. `gzip` – Поддержка файлов **gzip**](https://python-all.ru/3.6/library/gzip.html)21182119      - [13.2.1. Примеры использования](https://python-all.ru/3.6/library/gzip.html#examples-of-usage)2120    - [13.3. `bz2` – Поддержка сжатия **bzip2**](https://python-all.ru/3.6/library/bz2.html)21212122      - [13.3.1. (Де)сжатие файлов](https://python-all.ru/3.6/library/bz2.html#de-compression-of-files)2123      - [13.3.2. Инкрементальное (де)сжатие](https://python-all.ru/3.6/library/bz2.html#incremental-de-compression)2124      - [13.3.3. Одноэтапное (де)сжатие](https://python-all.ru/3.6/library/bz2.html#one-shot-de-compression)2125    - [13.4. `lzma` – Сжатие с использованием алгоритма LZMA](https://python-all.ru/3.6/library/lzma.html)21262127      - [13.4.1. Чтение и запись сжатых файлов](https://python-all.ru/3.6/library/lzma.html#reading-and-writing-compressed-files)2128      - [13.4.2. Сжатие и разжатие данных в памяти](https://python-all.ru/3.6/library/lzma.html#compressing-and-decompressing-data-in-memory)2129      - [13.4.3. Разное](https://python-all.ru/3.6/library/lzma.html#miscellaneous)2130      - [13.4.4. Задание пользовательских цепочек фильтров](https://python-all.ru/3.6/library/lzma.html#specifying-custom-filter-chains)2131      - [13.4.5. Примеры](https://python-all.ru/3.6/library/lzma.html#examples)2132    - [13.5. `zipfile` – Работа с ZIP-архивами](https://python-all.ru/3.6/library/zipfile.html)21332134      - [13.5.1. Объекты ZipFile](https://python-all.ru/3.6/library/zipfile.html#zipfile-objects)2135      - [13.5.2. Объекты PyZipFile](https://python-all.ru/3.6/library/zipfile.html#pyzipfile-objects)2136      - [13.5.3. Объекты ZipInfo](https://python-all.ru/3.6/library/zipfile.html#zipinfo-objects)2137      - [13.5.4. Интерфейс командной строки](https://python-all.ru/3.6/library/zipfile.html#command-line-interface)21382139        - [13.5.4.1. Параметры командной строки](https://python-all.ru/3.6/library/zipfile.html#command-line-options)2140    - [13.6. `tarfile` – Чтение и запись tar-архивов](https://python-all.ru/3.6/library/tarfile.html)21412142      - [13.6.1. Объекты TarFile](https://python-all.ru/3.6/library/tarfile.html#tarfile-objects)2143      - [13.6.2. Объекты TarInfo](https://python-all.ru/3.6/library/tarfile.html#tarinfo-objects)2144      - [13.6.3. Интерфейс командной строки](https://python-all.ru/3.6/library/tarfile.html#command-line-interface)21452146        - [13.6.3.1. Параметры командной строки](https://python-all.ru/3.6/library/tarfile.html#command-line-options)2147      - [13.6.4. Примеры](https://python-all.ru/3.6/library/tarfile.html#examples)2148      - [13.6.5. Поддерживаемые форматы tar](https://python-all.ru/3.6/library/tarfile.html#supported-tar-formats)2149      - [13.6.6. Вопросы Unicode](https://python-all.ru/3.6/library/tarfile.html#unicode-issues)2150  - [14. Форматы файлов](https://python-all.ru/3.6/library/fileformats.html)21512152    - [14.1. `csv` – Чтение и запись CSV-файлов](https://python-all.ru/3.6/library/csv.html)21532154      - [14.1.1. Содержимое модуля](https://python-all.ru/3.6/library/csv.html#module-contents)2155      - [14.1.2. Диалекты и параметры форматирования](https://python-all.ru/3.6/library/csv.html#dialects-and-formatting-parameters)2156      - [14.1.3. Объекты Reader](https://python-all.ru/3.6/library/csv.html#reader-objects)2157      - [14.1.4. Объекты Writer](https://python-all.ru/3.6/library/csv.html#writer-objects)2158      - [14.1.5. Примеры](https://python-all.ru/3.6/library/csv.html#examples)2159    - [14.2. `configparser` – Парсер конфигурационных файлов](https://python-all.ru/3.6/library/configparser.html)21602161      - [14.2.1. Быстрый старт](https://python-all.ru/3.6/library/configparser.html#quick-start)2162      - [14.2.2. Поддерживаемые типы данных](https://python-all.ru/3.6/library/configparser.html#supported-datatypes)2163      - [14.2.3. Резервные значения](https://python-all.ru/3.6/library/configparser.html#fallback-values)2164      - [14.2.4. Поддерживаемая структура INI-файла](https://python-all.ru/3.6/library/configparser.html#supported-ini-file-structure)2165      - [14.2.5. Интерполяция значений](https://python-all.ru/3.6/library/configparser.html#interpolation-of-values)2166      - [14.2.6. Доступ через протокол отображения](https://python-all.ru/3.6/library/configparser.html#mapping-protocol-access)2167      - [14.2.7. Настройка поведения парсера](https://python-all.ru/3.6/library/configparser.html#customizing-parser-behaviour)2168      - [14.2.8. Примеры устаревшего API](https://python-all.ru/3.6/library/configparser.html#legacy-api-examples)2169      - [14.2.9. Объекты ConfigParser](https://python-all.ru/3.6/library/configparser.html#configparser-objects)2170      - [14.2.10. Объекты RawConfigParser](https://python-all.ru/3.6/library/configparser.html#rawconfigparser-objects)2171      - [14.2.11. Исключения](https://python-all.ru/3.6/library/configparser.html#exceptions)2172    - [14.3. `netrc` – Обработка файлов netrc](https://python-all.ru/3.6/library/netrc.html)21732174      - [14.3.1. Объекты netrc](https://python-all.ru/3.6/library/netrc.html#netrc-objects)2175    - [14.4. `xdrlib` – Кодирование и декодирование данных XDR](https://python-all.ru/3.6/library/xdrlib.html)21762177      - [14.4.1. Объекты Packer](https://python-all.ru/3.6/library/xdrlib.html#packer-objects)2178      - [14.4.2. Объекты Unpacker](https://python-all.ru/3.6/library/xdrlib.html#unpacker-objects)2179      - [14.4.3. Исключения](https://python-all.ru/3.6/library/xdrlib.html#exceptions)2180    - [14.5. `plistlib` – Генерация и разбор файлов `.plist` Mac OS X](https://python-all.ru/3.6/library/plistlib.html)21812182      - [14.5.1. Примеры](https://python-all.ru/3.6/library/plistlib.html#examples)2183  - [15. Криптографические службы](https://python-all.ru/3.6/library/crypto.html)21842185    - [15.1. `hashlib` – Безопасные хеши и дайджесты сообщений](https://python-all.ru/3.6/library/hashlib.html)21862187      - [15.1.1. Алгоритмы хеширования](https://python-all.ru/3.6/library/hashlib.html#hash-algorithms)2188      - [15.1.2. Дайджесты SHAKE переменной длины](https://python-all.ru/3.6/library/hashlib.html#shake-variable-length-digests)2189      - [15.1.3. Вывод ключа](https://python-all.ru/3.6/library/hashlib.html#key-derivation)2190      - [15.1.4. BLAKE2](https://python-all.ru/3.6/library/hashlib.html#blake2)21912192        - [15.1.4.1. Создание хеш-объектов](https://python-all.ru/3.6/library/hashlib.html#creating-hash-objects)2193        - [15.1.4.2. Константы](https://python-all.ru/3.6/library/hashlib.html#constants)2194        - [15.1.4.3. Примеры](https://python-all.ru/3.6/library/hashlib.html#examples)21952196          - [15.1.4.3.1. Простое хеширование](https://python-all.ru/3.6/library/hashlib.html#simple-hashing)2197          - [15.1.4.3.2. Использование разных размеров дайджеста](https://python-all.ru/3.6/library/hashlib.html#using-different-digest-sizes)2198          - [15.1.4.3.3. Хеширование с ключом](https://python-all.ru/3.6/library/hashlib.html#keyed-hashing)2199          - [15.1.4.3.4. Рандомизированное хеширование](https://python-all.ru/3.6/library/hashlib.html#randomized-hashing)2200          - [15.1.4.3.5. Персонализация](https://python-all.ru/3.6/library/hashlib.html#personalization)2201          - [15.1.4.3.6. Режим дерева](https://python-all.ru/3.6/library/hashlib.html#tree-mode)2202        - [15.1.4.4. Благодарности](https://python-all.ru/3.6/library/hashlib.html#credits)2203    - [15.2. `hmac` – Ключевое хеширование для аутентификации сообщений](https://python-all.ru/3.6/library/hmac.html)2204    - [15.3. `secrets` – Генерация безопасных случайных чисел для управления секретами](https://python-all.ru/3.6/library/secrets.html)22052206      - [15.3.1. Случайные числа](https://python-all.ru/3.6/library/secrets.html#random-numbers)2207      - [15.3.2. Генерация токенов](https://python-all.ru/3.6/library/secrets.html#generating-tokens)22082209        - [15.3.2.1. Сколько байт использовать для токенов?](https://python-all.ru/3.6/library/secrets.html#how-many-bytes-should-tokens-use)2210      - [15.3.3. Другие функции](https://python-all.ru/3.6/library/secrets.html#other-functions)2211      - [15.3.4. Рецепты и лучшие практики](https://python-all.ru/3.6/library/secrets.html#recipes-and-best-practices)2212  - [16. Общие службы операционной системы](https://python-all.ru/3.6/library/allos.html)22132214    - [16.1. `os` – Разные интерфейсы операционной системы](https://python-all.ru/3.6/library/os.html)22152216      - [16.1.1. Имена файлов, аргументы командной строки и переменные окружения](https://python-all.ru/3.6/library/os.html#file-names-command-line-arguments-and-environment-variables)2217      - [16.1.2. Параметры процесса](https://python-all.ru/3.6/library/os.html#process-parameters)2218      - [16.1.3. Создание файловых объектов](https://python-all.ru/3.6/library/os.html#file-object-creation)2219      - [16.1.4. Операции с файловыми дескрипторами](https://python-all.ru/3.6/library/os.html#file-descriptor-operations)22202221        - [16.1.4.1. Запрос размера терминала](https://python-all.ru/3.6/library/os.html#querying-the-size-of-a-terminal)2222        - [16.1.4.2. Наследование файловых дескрипторов](https://python-all.ru/3.6/library/os.html#inheritance-of-file-descriptors)2223      - [16.1.5. Файлы и каталоги](https://python-all.ru/3.6/library/os.html#files-and-directories)22242225        - [16.1.5.1. Расширенные атрибуты Linux](https://python-all.ru/3.6/library/os.html#linux-extended-attributes)2226      - [16.1.6. Управление процессами](https://python-all.ru/3.6/library/os.html#process-management)2227      - [16.1.7. Интерфейс к планировщику](https://python-all.ru/3.6/library/os.html#interface-to-the-scheduler)2228      - [16.1.8. Разная системная информация](https://python-all.ru/3.6/library/os.html#miscellaneous-system-information)2229      - [16.1.9. Случайные числа](https://python-all.ru/3.6/library/os.html#random-numbers)2230    - [16.2. `io` – Основные инструменты для работы с потоками](https://python-all.ru/3.6/library/io.html)22312232      - [16.2.1. Обзор](https://python-all.ru/3.6/library/io.html#overview)22332234        - [16.2.1.1. Текстовый ввод-вывод](https://python-all.ru/3.6/library/io.html#text-i-o)2235        - [16.2.1.2. Двоичный ввод-вывод](https://python-all.ru/3.6/library/io.html#binary-i-o)2236        - [16.2.1.3. Необработанный ввод-вывод](https://python-all.ru/3.6/library/io.html#raw-i-o)2237      - [16.2.2. Интерфейс модуля высокого уровня](https://python-all.ru/3.6/library/io.html#high-level-module-interface)22382239        - [16.2.2.1. Потоки в памяти](https://python-all.ru/3.6/library/io.html#in-memory-streams)2240      - [16.2.3. Иерархия классов](https://python-all.ru/3.6/library/io.html#class-hierarchy)22412242        - [16.2.3.1. Базовые классы ввода-вывода](https://python-all.ru/3.6/library/io.html#i-o-base-classes)2243        - [16.2.3.2. Сырой файловый ввод-вывод](https://python-all.ru/3.6/library/io.html#raw-file-i-o)2244        - [16.2.3.3. Буферизированные потоки данных](https://python-all.ru/3.6/library/io.html#buffered-streams)2245        - [16.2.3.4. Текстовый ввод-вывод](https://python-all.ru/3.6/library/io.html#id1)2246      - [16.2.4. Производительность](https://python-all.ru/3.6/library/io.html#performance)22472248        - [16.2.4.1. Двоичный ввод-вывод](https://python-all.ru/3.6/library/io.html#id2)2249        - [16.2.4.2. Текстовый ввод-вывод](https://python-all.ru/3.6/library/io.html#id3)2250        - [16.2.4.3. Многопоточность](https://python-all.ru/3.6/library/io.html#multi-threading)2251        - [16.2.4.4. Реентерабельность](https://python-all.ru/3.6/library/io.html#reentrancy)2252    - [16.3. `time` – Доступ ко времени и преобразования](https://python-all.ru/3.6/library/time.html)22532254      - [16.3.1. Функции](https://python-all.ru/3.6/library/time.html#functions)2255      - [16.3.2. Константы идентификаторов часов](https://python-all.ru/3.6/library/time.html#clock-id-constants)2256      - [16.3.3. Константы часовых поясов](https://python-all.ru/3.6/library/time.html#timezone-constants)2257    - [16.4. `argparse` – Парсер для параметров командной строки, аргументов и подкоманд](https://python-all.ru/3.6/library/argparse.html)22582259      - [16.4.1. Пример](https://python-all.ru/3.6/library/argparse.html#example)22602261        - [16.4.1.1. Создание парсера](https://python-all.ru/3.6/library/argparse.html#creating-a-parser)2262        - [16.4.1.2. Добавление аргументов](https://python-all.ru/3.6/library/argparse.html#adding-arguments)2263        - [16.4.1.3. Разбор аргументов](https://python-all.ru/3.6/library/argparse.html#parsing-arguments)2264      - [16.4.2. Объекты ArgumentParser](https://python-all.ru/3.6/library/argparse.html#argumentparser-objects)22652266        - [16.4.2.1. prog](https://python-all.ru/3.6/library/argparse.html#prog)2267        - [16.4.2.2. usage](https://python-all.ru/3.6/library/argparse.html#usage)2268        - [16.4.2.3. description](https://python-all.ru/3.6/library/argparse.html#description)2269        - [16.4.2.4. epilog](https://python-all.ru/3.6/library/argparse.html#epilog)2270        - [16.4.2.5. parents](https://python-all.ru/3.6/library/argparse.html#parents)2271        - [16.4.2.6. formatter\_class](https://python-all.ru/3.6/library/argparse.html#formatter-class)2272        - [16.4.2.7. prefix\_chars](https://python-all.ru/3.6/library/argparse.html#prefix-chars)2273        - [16.4.2.8. fromfile\_prefix\_chars](https://python-all.ru/3.6/library/argparse.html#fromfile-prefix-chars)2274        - [16.4.2.9. argument\_default](https://python-all.ru/3.6/library/argparse.html#argument-default)2275        - [16.4.2.10. allow\_abbrev](https://python-all.ru/3.6/library/argparse.html#allow-abbrev)2276        - [16.4.2.11. conflict\_handler](https://python-all.ru/3.6/library/argparse.html#conflict-handler)2277        - [16.4.2.12. add\_help](https://python-all.ru/3.6/library/argparse.html#add-help)2278      - [16.4.3. Метод add\_argument()](https://python-all.ru/3.6/library/argparse.html#the-add-argument-method)22792280        - [16.4.3.1. Имя или флаги](https://python-all.ru/3.6/library/argparse.html#name-or-flags)2281        - [16.4.3.2. action](https://python-all.ru/3.6/library/argparse.html#action)2282        - [16.4.3.3. nargs](https://python-all.ru/3.6/library/argparse.html#nargs)2283        - [16.4.3.4. const](https://python-all.ru/3.6/library/argparse.html#const)2284        - [16.4.3.5. default](https://python-all.ru/3.6/library/argparse.html#default)2285        - [16.4.3.6. type](https://python-all.ru/3.6/library/argparse.html#type)2286        - [16.4.3.7. choices](https://python-all.ru/3.6/library/argparse.html#choices)2287        - [16.4.3.8. required](https://python-all.ru/3.6/library/argparse.html#required)2288        - [16.4.3.9. help](https://python-all.ru/3.6/library/argparse.html#help)2289        - [16.4.3.10. metavar](https://python-all.ru/3.6/library/argparse.html#metavar)2290        - [16.4.3.11. dest](https://python-all.ru/3.6/library/argparse.html#dest)2291        - [16.4.3.12. Классы Action](https://python-all.ru/3.6/library/argparse.html#action-classes)2292      - [16.4.4. Метод parse\_args()](https://python-all.ru/3.6/library/argparse.html#the-parse-args-method)22932294        - [16.4.4.1. Синтаксис значений параметров](https://python-all.ru/3.6/library/argparse.html#option-value-syntax)2295        - [16.4.4.2. Недопустимые аргументы](https://python-all.ru/3.6/library/argparse.html#invalid-arguments)2296        - [16.4.4.3. Аргументы, содержащие `-`](https://python-all.ru/3.6/library/argparse.html#arguments-containing)2297        - [16.4.4.4. Сокращения аргументов (сопоставление по префиксу)](https://python-all.ru/3.6/library/argparse.html#argument-abbreviations-prefix-matching)2298        - [16.4.4.5. За пределами `sys.argv`](https://python-all.ru/3.6/library/argparse.html#beyond-sys-argv)2299        - [16.4.4.6. Объект Namespace](https://python-all.ru/3.6/library/argparse.html#the-namespace-object)2300      - [16.4.5. Другие утилиты](https://python-all.ru/3.6/library/argparse.html#other-utilities)23012302        - [16.4.5.1. Подкоманды](https://python-all.ru/3.6/library/argparse.html#sub-commands)2303        - [16.4.5.2. Объекты FileType](https://python-all.ru/3.6/library/argparse.html#filetype-objects)2304        - [16.4.5.3. Группы аргументов](https://python-all.ru/3.6/library/argparse.html#argument-groups)2305        - [16.4.5.4. Взаимное исключение](https://python-all.ru/3.6/library/argparse.html#mutual-exclusion)2306        - [16.4.5.5. Значения парсера по умолчанию](https://python-all.ru/3.6/library/argparse.html#parser-defaults)2307        - [16.4.5.6. Вывод справки](https://python-all.ru/3.6/library/argparse.html#printing-help)2308        - [16.4.5.7. Частичный разбор](https://python-all.ru/3.6/library/argparse.html#partial-parsing)2309        - [16.4.5.8. Настройка разбора файлов](https://python-all.ru/3.6/library/argparse.html#customizing-file-parsing)2310        - [16.4.5.9. Методы выхода](https://python-all.ru/3.6/library/argparse.html#exiting-methods)2311      - [16.4.6. Обновление кода optparse](https://python-all.ru/3.6/library/argparse.html#upgrading-optparse-code)2312    - [16.5. `getopt` – Парсер в стиле C для параметров командной строки](https://python-all.ru/3.6/library/getopt.html)2313    - [16.6. `logging` – Средство логирования для Python](https://python-all.ru/3.6/library/logging.html)23142315      - [16.6.1. Объекты Logger](https://python-all.ru/3.6/library/logging.html#logger-objects)2316      - [16.6.2. Уровни логирования](https://python-all.ru/3.6/library/logging.html#logging-levels)2317      - [16.6.3. Объекты-обработчики](https://python-all.ru/3.6/library/logging.html#handler-objects)2318      - [16.6.4. Объекты-форматтеры](https://python-all.ru/3.6/library/logging.html#formatter-objects)2319      - [16.6.5. Объекты-фильтры](https://python-all.ru/3.6/library/logging.html#filter-objects)2320      - [16.6.6. Объекты LogRecord](https://python-all.ru/3.6/library/logging.html#logrecord-objects)2321      - [16.6.7. Атрибуты LogRecord](https://python-all.ru/3.6/library/logging.html#logrecord-attributes)2322      - [16.6.8. Объекты LoggerAdapter](https://python-all.ru/3.6/library/logging.html#loggeradapter-objects)2323      - [16.6.9. Потокобезопасность](https://python-all.ru/3.6/library/logging.html#thread-safety)2324      - [16.6.10. Функции уровня модуля](https://python-all.ru/3.6/library/logging.html#module-level-functions)2325      - [16.6.11. Атрибуты уровня модуля](https://python-all.ru/3.6/library/logging.html#module-level-attributes)2326      - [16.6.12. Интеграция с модулем warnings](https://python-all.ru/3.6/library/logging.html#integration-with-the-warnings-module)2327    - [16.7. `logging.config` – Конфигурация логирования](https://python-all.ru/3.6/library/logging.config.html)23282329      - [16.7.1. Функции конфигурации](https://python-all.ru/3.6/library/logging.config.html#configuration-functions)2330      - [16.7.2. Схема словаря конфигурации](https://python-all.ru/3.6/library/logging.config.html#configuration-dictionary-schema)23312332        - [16.7.2.1. Детали схемы словаря](https://python-all.ru/3.6/library/logging.config.html#dictionary-schema-details)2333        - [16.7.2.2. Инкрементальная конфигурация](https://python-all.ru/3.6/library/logging.config.html#incremental-configuration)2334        - [16.7.2.3. Связи объектов](https://python-all.ru/3.6/library/logging.config.html#object-connections)2335        - [16.7.2.4. Пользовательские объекты](https://python-all.ru/3.6/library/logging.config.html#user-defined-objects)2336        - [16.7.2.5. Доступ к внешним объектам](https://python-all.ru/3.6/library/logging.config.html#access-to-external-objects)2337        - [16.7.2.6. Доступ к внутренним объектам](https://python-all.ru/3.6/library/logging.config.html#access-to-internal-objects)2338        - [16.7.2.7. Разрешение импорта и пользовательские импортёры](https://python-all.ru/3.6/library/logging.config.html#import-resolution-and-custom-importers)2339      - [16.7.3. Формат файла конфигурации](https://python-all.ru/3.6/library/logging.config.html#configuration-file-format)2340    - [16.8. `logging.handlers` – Обработчики логирования](https://python-all.ru/3.6/library/logging.handlers.html)23412342      - [16.8.1. StreamHandler](https://python-all.ru/3.6/library/logging.handlers.html#streamhandler)2343      - [16.8.2. FileHandler](https://python-all.ru/3.6/library/logging.handlers.html#filehandler)2344      - [16.8.3. NullHandler](https://python-all.ru/3.6/library/logging.handlers.html#nullhandler)2345      - [16.8.4. WatchedFileHandler](https://python-all.ru/3.6/library/logging.handlers.html#watchedfilehandler)2346      - [16.8.5. BaseRotatingHandler](https://python-all.ru/3.6/library/logging.handlers.html#baserotatinghandler)2347      - [16.8.6. RotatingFileHandler](https://python-all.ru/3.6/library/logging.handlers.html#rotatingfilehandler)2348      - [16.8.7. TimedRotatingFileHandler](https://python-all.ru/3.6/library/logging.handlers.html#timedrotatingfilehandler)2349      - [16.8.8. SocketHandler](https://python-all.ru/3.6/library/logging.handlers.html#sockethandler)2350      - [16.8.9. DatagramHandler](https://python-all.ru/3.6/library/logging.handlers.html#datagramhandler)2351      - [16.8.10. SysLogHandler](https://python-all.ru/3.6/library/logging.handlers.html#sysloghandler)2352      - [16.8.11. NTEventLogHandler](https://python-all.ru/3.6/library/logging.handlers.html#nteventloghandler)2353      - [16.8.12. SMTPHandler](https://python-all.ru/3.6/library/logging.handlers.html#smtphandler)2354      - [16.8.13. MemoryHandler](https://python-all.ru/3.6/library/logging.handlers.html#memoryhandler)2355      - [16.8.14. HTTPHandler](https://python-all.ru/3.6/library/logging.handlers.html#httphandler)2356      - [16.8.15. QueueHandler](https://python-all.ru/3.6/library/logging.handlers.html#queuehandler)2357      - [16.8.16. QueueListener](https://python-all.ru/3.6/library/logging.handlers.html#queuelistener)2358    - [16.9. `getpass` – Portable password input](https://python-all.ru/3.6/library/getpass.html)2359    - [16.10. `curses` – Terminal handling for character-cell displays](https://python-all.ru/3.6/library/curses.html)23602361      - [16.10.1. Functions](https://python-all.ru/3.6/library/curses.html#functions)2362      - [16.10.2. Window Objects](https://python-all.ru/3.6/library/curses.html#window-objects)2363      - [16.10.3. Constants](https://python-all.ru/3.6/library/curses.html#constants)2364    - [16.11. `curses.textpad` – Text input widget for curses programs](https://python-all.ru/3.6/library/curses.html#module-curses.textpad)23652366      - [16.11.1. Textbox objects](https://python-all.ru/3.6/library/curses.html#textbox-objects)2367    - [16.12. `curses.ascii` – Utilities for ASCII characters](https://python-all.ru/3.6/library/curses.ascii.html)2368    - [16.13. `curses.panel` – A panel stack extension for curses](https://python-all.ru/3.6/library/curses.panel.html)23692370      - [16.13.1. Functions](https://python-all.ru/3.6/library/curses.panel.html#functions)2371      - [16.13.2. Panel Objects](https://python-all.ru/3.6/library/curses.panel.html#panel-objects)2372    - [16.14. `platform` – Access to underlying platform’s identifying data](https://python-all.ru/3.6/library/platform.html)23732374      - [16.14.1. Cross Platform](https://python-all.ru/3.6/library/platform.html#cross-platform)2375      - [16.14.2. Java Platform](https://python-all.ru/3.6/library/platform.html#java-platform)2376      - [16.14.3. Windows Platform](https://python-all.ru/3.6/library/platform.html#windows-platform)23772378        - [16.14.3.1. Win95/98 specific](https://python-all.ru/3.6/library/platform.html#win95-98-specific)2379      - [16.14.4. Mac OS Platform](https://python-all.ru/3.6/library/platform.html#mac-os-platform)2380      - [16.14.5. Unix Platforms](https://python-all.ru/3.6/library/platform.html#unix-platforms)2381    - [16.15. `errno` – Standard errno system symbols](https://python-all.ru/3.6/library/errno.html)2382    - [16.16. `ctypes` – A foreign function library for Python](https://python-all.ru/3.6/library/ctypes.html)23832384      - [16.16.1. ctypes tutorial](https://python-all.ru/3.6/library/ctypes.html#ctypes-tutorial)23852386        - [16.16.1.1. Loading dynamic link libraries](https://python-all.ru/3.6/library/ctypes.html#loading-dynamic-link-libraries)2387        - [16.16.1.2. Accessing functions from loaded dlls](https://python-all.ru/3.6/library/ctypes.html#accessing-functions-from-loaded-dlls)2388        - [16.16.1.3. Calling functions](https://python-all.ru/3.6/library/ctypes.html#calling-functions)2389        - [16.16.1.4. Fundamental data types](https://python-all.ru/3.6/library/ctypes.html#fundamental-data-types)2390        - [16.16.1.5. Вызов функций, продолжение](https://python-all.ru/3.6/library/ctypes.html#calling-functions-continued)2391        - [16.16.1.6. Вызов функций с пользовательскими типами данных](https://python-all.ru/3.6/library/ctypes.html#calling-functions-with-your-own-custom-data-types)2392        - [16.16.1.7. Указание типов обязательных аргументов (прототипы функций)](https://python-all.ru/3.6/library/ctypes.html#specifying-the-required-argument-types-function-prototypes)2393        - [16.16.1.8. Типы возвращаемых значений](https://python-all.ru/3.6/library/ctypes.html#return-types)2394        - [16.16.1.9. Передача указателей (или передача параметров по ссылке)](https://python-all.ru/3.6/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference)2395        - [16.16.1.10. Структуры и объединения](https://python-all.ru/3.6/library/ctypes.html#structures-and-unions)2396        - [16.16.1.11. Выравнивание структур и объединений и порядок байтов](https://python-all.ru/3.6/library/ctypes.html#structure-union-alignment-and-byte-order)2397        - [16.16.1.12. Битовые поля в структурах и объединениях](https://python-all.ru/3.6/library/ctypes.html#bit-fields-in-structures-and-unions)2398        - [16.16.1.13. Массивы](https://python-all.ru/3.6/library/ctypes.html#arrays)2399        - [16.16.1.14. Указатели](https://python-all.ru/3.6/library/ctypes.html#pointers)2400        - [16.16.1.15. Преобразования типов](https://python-all.ru/3.6/library/ctypes.html#type-conversions)2401        - [16.16.1.16. Неполные типы](https://python-all.ru/3.6/library/ctypes.html#incomplete-types)2402        - [16.16.1.17. Колбэк-функции](https://python-all.ru/3.6/library/ctypes.html#callback-functions)2403        - [16.16.1.18. Доступ к значениям, экспортируемым из DLL](https://python-all.ru/3.6/library/ctypes.html#accessing-values-exported-from-dlls)2404        - [16.16.1.19. Неожиданности](https://python-all.ru/3.6/library/ctypes.html#surprises)2405        - [16.16.1.20. Типы данных переменного размера](https://python-all.ru/3.6/library/ctypes.html#variable-sized-data-types)2406      - [16.16.2. Справочник по ctypes](https://python-all.ru/3.6/library/ctypes.html#ctypes-reference)24072408        - [16.16.2.1. Поиск разделяемых библиотек](https://python-all.ru/3.6/library/ctypes.html#finding-shared-libraries)2409        - [16.16.2.2. Загрузка разделяемых библиотек](https://python-all.ru/3.6/library/ctypes.html#loading-shared-libraries)2410        - [16.16.2.3. Внешние функции](https://python-all.ru/3.6/library/ctypes.html#foreign-functions)2411        - [16.16.2.4. Прототипы функций](https://python-all.ru/3.6/library/ctypes.html#function-prototypes)2412        - [16.16.2.5. Вспомогательные функции](https://python-all.ru/3.6/library/ctypes.html#utility-functions)2413        - [16.16.2.6. Типы данных](https://python-all.ru/3.6/library/ctypes.html#data-types)2414        - [16.16.2.7. Фундаментальные типы данных](https://python-all.ru/3.6/library/ctypes.html#ctypes-fundamental-data-types-2)2415        - [16.16.2.8. Структурированные типы данных](https://python-all.ru/3.6/library/ctypes.html#structured-data-types)2416        - [16.16.2.9. Массивы и указатели](https://python-all.ru/3.6/library/ctypes.html#arrays-and-pointers)2417  - [17. Параллельное выполнение](https://python-all.ru/3.6/library/concurrency.html)24182419    - [17.1. `threading` – Параллелизм на основе потоков](https://python-all.ru/3.6/library/threading.html)24202421      - [17.1.1. Потоково-локальные данные](https://python-all.ru/3.6/library/threading.html#thread-local-data)2422      - [17.1.2. Объекты потоков](https://python-all.ru/3.6/library/threading.html#thread-objects)2423      - [17.1.3. Объекты блокировок](https://python-all.ru/3.6/library/threading.html#lock-objects)2424      - [17.1.4. Объекты RLock](https://python-all.ru/3.6/library/threading.html#rlock-objects)2425      - [17.1.5. Объекты Condition](https://python-all.ru/3.6/library/threading.html#condition-objects)2426      - [17.1.6. Объекты Semaphore](https://python-all.ru/3.6/library/threading.html#semaphore-objects)24272428        - [17.1.6.1. `Semaphore` Пример](https://python-all.ru/3.6/library/threading.html#semaphore-example)2429      - [17.1.7. Объекты Event](https://python-all.ru/3.6/library/threading.html#event-objects)2430      - [17.1.8. Объекты Timer](https://python-all.ru/3.6/library/threading.html#timer-objects)2431      - [17.1.9. Объекты Barrier](https://python-all.ru/3.6/library/threading.html#barrier-objects)2432      - [17.1.10. Использование блокировок, условных объектов и семафоров в операторе `with`](https://python-all.ru/3.6/library/threading.html#using-locks-conditions-and-semaphores-in-the-with-statement)2433    - [17.2. `multiprocessing` – параллелизм на основе процессов](https://python-all.ru/3.6/library/multiprocessing.html)24342435      - [17.2.1. Введение](https://python-all.ru/3.6/library/multiprocessing.html#introduction)24362437        - [17.2.1.1. Класс `Process`](https://python-all.ru/3.6/library/multiprocessing.html#the-process-class)2438        - [17.2.1.2. Контексты и методы запуска](https://python-all.ru/3.6/library/multiprocessing.html#contexts-and-start-methods)2439        - [17.2.1.3. Обмен объектами между процессами](https://python-all.ru/3.6/library/multiprocessing.html#exchanging-objects-between-processes)2440        - [17.2.1.4. Синхронизация между процессами](https://python-all.ru/3.6/library/multiprocessing.html#synchronization-between-processes)2441        - [17.2.1.5. Совместное использование состояния между процессами](https://python-all.ru/3.6/library/multiprocessing.html#sharing-state-between-processes)2442        - [17.2.1.6. Использование пула рабочих процессов](https://python-all.ru/3.6/library/multiprocessing.html#using-a-pool-of-workers)2443      - [17.2.2. Справочная информация](https://python-all.ru/3.6/library/multiprocessing.html#reference)24442445        - [17.2.2.1. `Process` и исключения](https://python-all.ru/3.6/library/multiprocessing.html#process-and-exceptions)2446        - [17.2.2.2. Каналы и очереди](https://python-all.ru/3.6/library/multiprocessing.html#pipes-and-queues)2447        - [17.2.2.3. Разное](https://python-all.ru/3.6/library/multiprocessing.html#miscellaneous)2448        - [17.2.2.4. Объекты Connection](https://python-all.ru/3.6/library/multiprocessing.html#connection-objects)2449        - [17.2.2.5. Примитивы синхронизации](https://python-all.ru/3.6/library/multiprocessing.html#synchronization-primitives)2450        - [17.2.2.6. Разделяемые объекты `ctypes`](https://python-all.ru/3.6/library/multiprocessing.html#shared-ctypes-objects)24512452          - [17.2.2.6.1. Модуль `multiprocessing.sharedctypes`](https://python-all.ru/3.6/library/multiprocessing.html#module-multiprocessing.sharedctypes)2453        - [17.2.2.7. Менеджеры](https://python-all.ru/3.6/library/multiprocessing.html#managers)24542455          - [17.2.2.7.1. Настраиваемые менеджеры](https://python-all.ru/3.6/library/multiprocessing.html#customized-managers)2456          - [17.2.2.7.2. Использование удалённого менеджера](https://python-all.ru/3.6/library/multiprocessing.html#using-a-remote-manager)2457        - [17.2.2.8. Объекты-прокси](https://python-all.ru/3.6/library/multiprocessing.html#proxy-objects)24582459          - [17.2.2.8.1. Очистка](https://python-all.ru/3.6/library/multiprocessing.html#cleanup)2460        - [17.2.2.9. Пулы процессов](https://python-all.ru/3.6/library/multiprocessing.html#module-multiprocessing.pool)2461        - [17.2.2.10. Слушатели и клиенты](https://python-all.ru/3.6/library/multiprocessing.html#module-multiprocessing.connection)24622463          - [17.2.2.10.1. Форматы адресов](https://python-all.ru/3.6/library/multiprocessing.html#address-formats)2464        - [17.2.2.11. Ключи аутентификации](https://python-all.ru/3.6/library/multiprocessing.html#authentication-keys)2465        - [17.2.2.12. Логирование](https://python-all.ru/3.6/library/multiprocessing.html#logging)2466        - [17.2.2.13. Модуль `multiprocessing.dummy`](https://python-all.ru/3.6/library/multiprocessing.html#module-multiprocessing.dummy)2467      - [17.2.3. Рекомендации по программированию](https://python-all.ru/3.6/library/multiprocessing.html#programming-guidelines)24682469        - [17.2.3.1. Все методы запуска](https://python-all.ru/3.6/library/multiprocessing.html#all-start-methods)2470        - [17.2.3.2. Методы запуска *spawn* и *forkserver*](https://python-all.ru/3.6/library/multiprocessing.html#the-spawn-and-forkserver-start-methods)2471      - [17.2.4. Примеры](https://python-all.ru/3.6/library/multiprocessing.html#examples)2472    - [17.3. Пакет `concurrent`](https://python-all.ru/3.6/library/concurrent.html)2473    - [17.4. `concurrent.futures` – Запуск параллельных задач](https://python-all.ru/3.6/library/concurrent.futures.html)24742475      - [17.4.1. Объекты-исполнители](https://python-all.ru/3.6/library/concurrent.futures.html#executor-objects)2476      - [17.4.2. ThreadPoolExecutor](https://python-all.ru/3.6/library/concurrent.futures.html#threadpoolexecutor)24772478        - [17.4.2.1. Пример ThreadPoolExecutor](https://python-all.ru/3.6/library/concurrent.futures.html#threadpoolexecutor-example)2479      - [17.4.3. ProcessPoolExecutor](https://python-all.ru/3.6/library/concurrent.futures.html#processpoolexecutor)24802481        - [17.4.3.1. Пример ProcessPoolExecutor](https://python-all.ru/3.6/library/concurrent.futures.html#processpoolexecutor-example)2482      - [17.4.4. Объекты Future](https://python-all.ru/3.6/library/concurrent.futures.html#future-objects)2483      - [17.4.5. Функции модуля](https://python-all.ru/3.6/library/concurrent.futures.html#module-functions)2484      - [17.4.6. Классы исключений](https://python-all.ru/3.6/library/concurrent.futures.html#exception-classes)2485    - [17.5. `subprocess` – Управление подпроцессами](https://python-all.ru/3.6/library/subprocess.html)24862487      - [17.5.1. Использование модуля `subprocess`](https://python-all.ru/3.6/library/subprocess.html#using-the-subprocess-module)24882489        - [17.5.1.1. Часто используемые аргументы](https://python-all.ru/3.6/library/subprocess.html#frequently-used-arguments)2490        - [17.5.1.2. Конструктор Popen](https://python-all.ru/3.6/library/subprocess.html#popen-constructor)2491        - [17.5.1.3. Исключения](https://python-all.ru/3.6/library/subprocess.html#exceptions)2492      - [17.5.2. Вопросы безопасности](https://python-all.ru/3.6/library/subprocess.html#security-considerations)2493      - [17.5.3. Объекты Popen](https://python-all.ru/3.6/library/subprocess.html#popen-objects)2494      - [17.5.4. Вспомогательные средства Popen для Windows](https://python-all.ru/3.6/library/subprocess.html#windows-popen-helpers)24952496        - [17.5.4.1. Константы](https://python-all.ru/3.6/library/subprocess.html#constants)2497      - [17.5.5. Старый высокоуровневый API](https://python-all.ru/3.6/library/subprocess.html#older-high-level-api)2498      - [17.5.6. Замена старых функций модулем `subprocess`](https://python-all.ru/3.6/library/subprocess.html#replacing-older-functions-with-the-subprocess-module)24992500        - [17.5.6.1. Замена обратных кавычек оболочки /bin/sh](https://python-all.ru/3.6/library/subprocess.html#replacing-bin-sh-shell-backquote)2501        - [17.5.6.2. Замена конвейера оболочки](https://python-all.ru/3.6/library/subprocess.html#replacing-shell-pipeline)2502        - [17.5.6.3. Замена `os.system()`](https://python-all.ru/3.6/library/subprocess.html#replacing-os-system)2503        - [17.5.6.4. Замена семейства `os.spawn`](https://python-all.ru/3.6/library/subprocess.html#replacing-the-os-spawn-family)2504        - [17.5.6.5. Замена `os.popen()`, `os.popen2()`, `os.popen3()`](https://python-all.ru/3.6/library/subprocess.html#replacing-os-popen-os-popen2-os-popen3)2505        - [17.5.6.6. Замена функций модуля `popen2`](https://python-all.ru/3.6/library/subprocess.html#replacing-functions-from-the-popen2-module)2506      - [17.5.7. Устаревшие функции вызова оболочки](https://python-all.ru/3.6/library/subprocess.html#legacy-shell-invocation-functions)2507      - [17.5.8. Примечания](https://python-all.ru/3.6/library/subprocess.html#notes)25082509        - [17.5.8.1. Преобразование последовательности аргументов в строку в Windows](https://python-all.ru/3.6/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows)2510    - [17.6. `sched` – Планировщик событий](https://python-all.ru/3.6/library/sched.html)25112512      - [17.6.1. Объекты планировщика](https://python-all.ru/3.6/library/sched.html#scheduler-objects)2513    - [17.7. `queue` – Синхронизированный класс очереди](https://python-all.ru/3.6/library/queue.html)25142515      - [17.7.1. Объекты очереди](https://python-all.ru/3.6/library/queue.html#queue-objects)2516    - [17.8. `dummy_threading` – Замена для модуля `threading`](https://python-all.ru/3.6/library/dummy_threading.html)2517    - [17.9. `_thread` – Низкоуровневый API потоков](https://python-all.ru/3.6/library/_thread.html)2518    - [17.10. `_dummy_thread` – Замена для модуля `_thread`](https://python-all.ru/3.6/library/_dummy_thread.html)2519  - [18. Межпроцессное взаимодействие и сеть](https://python-all.ru/3.6/library/ipc.html)25202521    - [18.1. `socket` – Низкоуровневый сетевой интерфейс](https://python-all.ru/3.6/library/socket.html)25222523      - [18.1.1. Семейства сокетов](https://python-all.ru/3.6/library/socket.html#socket-families)2524      - [18.1.2. Содержимое модуля](https://python-all.ru/3.6/library/socket.html#module-contents)25252526        - [18.1.2.1. Исключения](https://python-all.ru/3.6/library/socket.html#exceptions)2527        - [18.1.2.2. Константы](https://python-all.ru/3.6/library/socket.html#constants)2528        - [18.1.2.3. Функции](https://python-all.ru/3.6/library/socket.html#functions)25292530          - [18.1.2.3.1. Создание сокетов](https://python-all.ru/3.6/library/socket.html#creating-sockets)2531          - [18.1.2.3.2. Прочие функции](https://python-all.ru/3.6/library/socket.html#other-functions)2532      - [18.1.3. Объекты сокетов](https://python-all.ru/3.6/library/socket.html#socket-objects)2533      - [18.1.4. Примечания о тайм-аутах сокетов](https://python-all.ru/3.6/library/socket.html#notes-on-socket-timeouts)25342535        - [18.1.4.1. Тайм-ауты и метод `connect`](https://python-all.ru/3.6/library/socket.html#timeouts-and-the-connect-method)2536        - [18.1.4.2. Тайм-ауты и метод `accept`](https://python-all.ru/3.6/library/socket.html#timeouts-and-the-accept-method)2537      - [18.1.5. Пример](https://python-all.ru/3.6/library/socket.html#example)2538    - [18.2. `ssl` – Обёртка TLS/SSL для объектов сокетов](https://python-all.ru/3.6/library/ssl.html)25392540      - [18.2.1. Функции, константы и исключения](https://python-all.ru/3.6/library/ssl.html#functions-constants-and-exceptions)25412542        - [18.2.1.1. Создание сокетов](https://python-all.ru/3.6/library/ssl.html#socket-creation)2543        - [18.2.1.2. Создание контекста](https://python-all.ru/3.6/library/ssl.html#context-creation)2544        - [18.2.1.3. Генерация случайных чисел](https://python-all.ru/3.6/library/ssl.html#random-generation)2545        - [18.2.1.4. Обработка сертификатов](https://python-all.ru/3.6/library/ssl.html#certificate-handling)2546        - [18.2.1.5. Константы](https://python-all.ru/3.6/library/ssl.html#constants)2547      - [18.2.2. SSL-сокеты](https://python-all.ru/3.6/library/ssl.html#ssl-sockets)2548      - [18.2.3. SSL-контексты](https://python-all.ru/3.6/library/ssl.html#ssl-contexts)2549      - [18.2.4. Сертификаты](https://python-all.ru/3.6/library/ssl.html#certificates)25502551        - [18.2.4.1. Цепочки сертификатов](https://python-all.ru/3.6/library/ssl.html#certificate-chains)2552        - [18.2.4.2. Сертификаты удостоверяющих центров](https://python-all.ru/3.6/library/ssl.html#ca-certificates)2553        - [18.2.4.3. Совмещённый ключ и сертификат](https://python-all.ru/3.6/library/ssl.html#combined-key-and-certificate)2554        - [18.2.4.4. Самоподписанные сертификаты](https://python-all.ru/3.6/library/ssl.html#self-signed-certificates)2555      - [18.2.5. Примеры](https://python-all.ru/3.6/library/ssl.html#examples)25562557        - [18.2.5.1. Проверка поддержки SSL](https://python-all.ru/3.6/library/ssl.html#testing-for-ssl-support)2558        - [18.2.5.2. Работа на стороне клиента](https://python-all.ru/3.6/library/ssl.html#client-side-operation)2559        - [18.2.5.3. Работа на стороне сервера](https://python-all.ru/3.6/library/ssl.html#server-side-operation)2560      - [18.2.6. Замечания о неблокирующих сокетах](https://python-all.ru/3.6/library/ssl.html#notes-on-non-blocking-sockets)2561      - [18.2.7. Поддержка Memory BIO](https://python-all.ru/3.6/library/ssl.html#memory-bio-support)2562      - [18.2.8. SSL-сессия](https://python-all.ru/3.6/library/ssl.html#ssl-session)2563      - [18.2.9. Вопросы безопасности](https://python-all.ru/3.6/library/ssl.html#security-considerations)25642565        - [18.2.9.1. Наилучшие настройки по умолчанию](https://python-all.ru/3.6/library/ssl.html#best-defaults)2566        - [18.2.9.2. Ручные настройки](https://python-all.ru/3.6/library/ssl.html#manual-settings)25672568          - [18.2.9.2.1. Проверка сертификатов](https://python-all.ru/3.6/library/ssl.html#verifying-certificates)2569          - [18.2.9.2.2. Версии протоколов](https://python-all.ru/3.6/library/ssl.html#protocol-versions)2570          - [18.2.9.2.3. Выбор шифров](https://python-all.ru/3.6/library/ssl.html#cipher-selection)2571        - [18.2.9.3. Мультипроцессорная обработка](https://python-all.ru/3.6/library/ssl.html#multi-processing)2572      - [18.2.10. Поддержка LibreSSL](https://python-all.ru/3.6/library/ssl.html#libressl-support)2573    - [18.3. `select` – Ожидание завершения ввода-вывода](https://python-all.ru/3.6/library/select.html)25742575      - [18.3.1. Объекты опроса `/dev/poll`](https://python-all.ru/3.6/library/select.html#dev-poll-polling-objects)2576      - [18.3.2. Объекты опроса по границе и уровню (epoll)](https://python-all.ru/3.6/library/select.html#edge-and-level-trigger-polling-epoll-objects)2577      - [18.3.3. Объекты опроса](https://python-all.ru/3.6/library/select.html#polling-objects)2578      - [18.3.4. Объекты Kqueue](https://python-all.ru/3.6/library/select.html#kqueue-objects)2579      - [18.3.5. Объекты Kevent](https://python-all.ru/3.6/library/select.html#kevent-objects)2580    - [18.4. `selectors` – Высокоуровневый мультиплексирование ввода-вывода](https://python-all.ru/3.6/library/selectors.html)25812582      - [18.4.1. Введение](https://python-all.ru/3.6/library/selectors.html#introduction)2583      - [18.4.2. Классы](https://python-all.ru/3.6/library/selectors.html#classes)2584      - [18.4.3. Примеры](https://python-all.ru/3.6/library/selectors.html#examples)2585    - [18.5. `asyncio` – Асинхронный ввод-вывод, цикл событий, корутины и задачи](https://python-all.ru/3.6/library/asyncio.html)25862587      - [18.5.1. Базовый цикл событий](https://python-all.ru/3.6/library/asyncio-eventloop.html)25882589        - [18.5.1.1. Запуск цикла событий](https://python-all.ru/3.6/library/asyncio-eventloop.html#run-an-event-loop)2590        - [18.5.1.2. Вызовы](https://python-all.ru/3.6/library/asyncio-eventloop.html#calls)2591        - [18.5.1.3. Отложенные вызовы](https://python-all.ru/3.6/library/asyncio-eventloop.html#delayed-calls)2592        - [18.5.1.4. Futures](https://python-all.ru/3.6/library/asyncio-eventloop.html#futures)2593        - [18.5.1.5. Задачи](https://python-all.ru/3.6/library/asyncio-eventloop.html#tasks)2594        - [18.5.1.6. Создание подключений](https://python-all.ru/3.6/library/asyncio-eventloop.html#creating-connections)2595        - [18.5.1.7. Создание прослушивающих подключений](https://python-all.ru/3.6/library/asyncio-eventloop.html#creating-listening-connections)2596        - [18.5.1.8. Наблюдение за файловыми дескрипторами](https://python-all.ru/3.6/library/asyncio-eventloop.html#watch-file-descriptors)2597        - [18.5.1.9. Низкоуровневые операции с сокетами](https://python-all.ru/3.6/library/asyncio-eventloop.html#low-level-socket-operations)2598        - [18.5.1.10. Разрешение имени хоста](https://python-all.ru/3.6/library/asyncio-eventloop.html#resolve-host-name)2599        - [18.5.1.11. Подключение каналов](https://python-all.ru/3.6/library/asyncio-eventloop.html#connect-pipes)2600        - [18.5.1.12. Сигналы UNIX](https://python-all.ru/3.6/library/asyncio-eventloop.html#unix-signals)2601        - [18.5.1.13. Исполнитель](https://python-all.ru/3.6/library/asyncio-eventloop.html#executor)2602        - [18.5.1.14. API обработки ошибок](https://python-all.ru/3.6/library/asyncio-eventloop.html#error-handling-api)2603        - [18.5.1.15. Режим отладки](https://python-all.ru/3.6/library/asyncio-eventloop.html#debug-mode)2604        - [18.5.1.16. Сервер](https://python-all.ru/3.6/library/asyncio-eventloop.html#server)2605        - [18.5.1.17. Handle](https://python-all.ru/3.6/library/asyncio-eventloop.html#handle)2606        - [18.5.1.18. Примеры циклов событий](https://python-all.ru/3.6/library/asyncio-eventloop.html#event-loop-examples)26072608          - [18.5.1.18.1. Hello World с call\_soon()](https://python-all.ru/3.6/library/asyncio-eventloop.html#hello-world-with-call-soon)2609          - [18.5.1.18.2. Отображение текущей даты с call\_later()](https://python-all.ru/3.6/library/asyncio-eventloop.html#display-the-current-date-with-call-later)2610          - [18.5.1.18.3. Наблюдение за файловым дескриптором на события чтения](https://python-all.ru/3.6/library/asyncio-eventloop.html#watch-a-file-descriptor-for-read-events)2611          - [18.5.1.18.4. Установка обработчиков сигналов SIGINT и SIGTERM](https://python-all.ru/3.6/library/asyncio-eventloop.html#set-signal-handlers-for-sigint-and-sigterm)2612      - [18.5.2. Циклы событий](https://python-all.ru/3.6/library/asyncio-eventloops.html)26132614        - [18.5.2.1. Функции цикла событий](https://python-all.ru/3.6/library/asyncio-eventloops.html#event-loop-functions)2615        - [18.5.2.2. Доступные циклы событий](https://python-all.ru/3.6/library/asyncio-eventloops.html#available-event-loops)2616        - [18.5.2.3. Поддержка платформ](https://python-all.ru/3.6/library/asyncio-eventloops.html#platform-support)26172618          - [18.5.2.3.1. Windows](https://python-all.ru/3.6/library/asyncio-eventloops.html#windows)2619          - [18.5.2.3.2. Mac OS X](https://python-all.ru/3.6/library/asyncio-eventloops.html#mac-os-x)2620        - [18.5.2.4. Политики цикла событий и политика по умолчанию](https://python-all.ru/3.6/library/asyncio-eventloops.html#event-loop-policies-and-the-default-policy)2621        - [18.5.2.5. Интерфейс политики цикла событий](https://python-all.ru/3.6/library/asyncio-eventloops.html#event-loop-policy-interface)2622        - [18.5.2.6. Доступ к глобальной политике цикла событий](https://python-all.ru/3.6/library/asyncio-eventloops.html#access-to-the-global-loop-policy)2623        - [18.5.2.7. Настройка политики цикла событий](https://python-all.ru/3.6/library/asyncio-eventloops.html#customizing-the-event-loop-policy)2624      - [18.5.3. Задачи и корутины](https://python-all.ru/3.6/library/asyncio-task.html)26252626        - [18.5.3.1. Корутины](https://python-all.ru/3.6/library/asyncio-task.html#coroutines)26272628          - [18.5.3.1.1. Пример: корутина «Hello World»](https://python-all.ru/3.6/library/asyncio-task.html#example-hello-world-coroutine)2629          - [18.5.3.1.2. Пример: корутина, отображающая текущую дату](https://python-all.ru/3.6/library/asyncio-task.html#example-coroutine-displaying-the-current-date)2630          - [18.5.3.1.3. Пример: цепочка корутин](https://python-all.ru/3.6/library/asyncio-task.html#example-chain-coroutines)2631        - [18.5.3.2. InvalidStateError](https://python-all.ru/3.6/library/asyncio-task.html#invalidstateerror)2632        - [18.5.3.3. TimeoutError](https://python-all.ru/3.6/library/asyncio-task.html#timeouterror)2633        - [18.5.3.4. Future](https://python-all.ru/3.6/library/asyncio-task.html#future)26342635          - [18.5.3.4.1. Пример: Future с run\_until\_complete()](https://python-all.ru/3.6/library/asyncio-task.html#example-future-with-run-until-complete)2636          - [18.5.3.4.2. Пример: Future с run\_forever()](https://python-all.ru/3.6/library/asyncio-task.html#example-future-with-run-forever)2637        - [18.5.3.5. Задача](https://python-all.ru/3.6/library/asyncio-task.html#task)26382639          - [18.5.3.5.1. Пример: параллельное выполнение задач](https://python-all.ru/3.6/library/asyncio-task.html#example-parallel-execution-of-tasks)2640        - [18.5.3.6. Функции задач](https://python-all.ru/3.6/library/asyncio-task.html#task-functions)2641      - [18.5.4. Транспорты и протоколы (API на основе колбэков)](https://python-all.ru/3.6/library/asyncio-protocol.html)26422643        - [18.5.4.1. Транспорты](https://python-all.ru/3.6/library/asyncio-protocol.html#transports)26442645          - [18.5.4.1.1. BaseTransport](https://python-all.ru/3.6/library/asyncio-protocol.html#basetransport)2646          - [18.5.4.1.2. ReadTransport](https://python-all.ru/3.6/library/asyncio-protocol.html#readtransport)2647          - [18.5.4.1.3. WriteTransport](https://python-all.ru/3.6/library/asyncio-protocol.html#writetransport)2648          - [18.5.4.1.4. DatagramTransport](https://python-all.ru/3.6/library/asyncio-protocol.html#datagramtransport)2649          - [18.5.4.1.5. BaseSubprocessTransport](https://python-all.ru/3.6/library/asyncio-protocol.html#basesubprocesstransport)2650        - [18.5.4.2. Протоколы](https://python-all.ru/3.6/library/asyncio-protocol.html#protocols)26512652          - [18.5.4.2.1. Классы протоколов](https://python-all.ru/3.6/library/asyncio-protocol.html#protocol-classes)2653          - [18.5.4.2.2. Колбэки соединения](https://python-all.ru/3.6/library/asyncio-protocol.html#connection-callbacks)2654          - [18.5.4.2.3. Потоковые протоколы](https://python-all.ru/3.6/library/asyncio-protocol.html#streaming-protocols)2655          - [18.5.4.2.4. Протоколы датаграмм](https://python-all.ru/3.6/library/asyncio-protocol.html#datagram-protocols)2656          - [18.5.4.2.5. Колбэки управления потоком](https://python-all.ru/3.6/library/asyncio-protocol.html#flow-control-callbacks)2657          - [18.5.4.2.6. Корутины и протоколы](https://python-all.ru/3.6/library/asyncio-protocol.html#coroutines-and-protocols)2658        - [18.5.4.3. Примеры протоколов](https://python-all.ru/3.6/library/asyncio-protocol.html#protocol-examples)26592660          - [18.5.4.3.1. Протокол TCP-эхо-клиента](https://python-all.ru/3.6/library/asyncio-protocol.html#tcp-echo-client-protocol)2661          - [18.5.4.3.2. Протокол TCP-эхо-сервера](https://python-all.ru/3.6/library/asyncio-protocol.html#tcp-echo-server-protocol)2662          - [18.5.4.3.3. Протокол UDP-эхо-клиента](https://python-all.ru/3.6/library/asyncio-protocol.html#udp-echo-client-protocol)2663          - [18.5.4.3.4. Протокол UDP-эхо-сервера](https://python-all.ru/3.6/library/asyncio-protocol.html#udp-echo-server-protocol)2664          - [18.5.4.3.5. Регистрация открытого сокета для ожидания данных через протокол](https://python-all.ru/3.6/library/asyncio-protocol.html#register-an-open-socket-to-wait-for-data-using-a-protocol)2665      - [18.5.5. Потоки данных (API на корутинах)](https://python-all.ru/3.6/library/asyncio-stream.html)26662667        - [18.5.5.1. Функции потоков данных](https://python-all.ru/3.6/library/asyncio-stream.html#stream-functions)2668        - [18.5.5.2. StreamReader](https://python-all.ru/3.6/library/asyncio-stream.html#streamreader)2669        - [18.5.5.3. StreamWriter](https://python-all.ru/3.6/library/asyncio-stream.html#streamwriter)2670        - [18.5.5.4. StreamReaderProtocol](https://python-all.ru/3.6/library/asyncio-stream.html#streamreaderprotocol)2671        - [18.5.5.5. IncompleteReadError](https://python-all.ru/3.6/library/asyncio-stream.html#incompletereaderror)2672        - [18.5.5.6. LimitOverrunError](https://python-all.ru/3.6/library/asyncio-stream.html#limitoverrunerror)2673        - [18.5.5.7. Примеры с потоками данных](https://python-all.ru/3.6/library/asyncio-stream.html#stream-examples)26742675          - [18.5.5.7.1. TCP-эхо-клиент с использованием потоков данных](https://python-all.ru/3.6/library/asyncio-stream.html#tcp-echo-client-using-streams)2676          - [18.5.5.7.2. TCP-эхо-сервер с использованием потоков данных](https://python-all.ru/3.6/library/asyncio-stream.html#tcp-echo-server-using-streams)2677          - [18.5.5.7.3. Получение HTTP-заголовков](https://python-all.ru/3.6/library/asyncio-stream.html#get-http-headers)2678          - [18.5.5.7.4. Регистрация открытого сокета для ожидания данных через потоки данных](https://python-all.ru/3.6/library/asyncio-stream.html#register-an-open-socket-to-wait-for-data-using-streams)2679      - [18.5.6. Подпроцессы](https://python-all.ru/3.6/library/asyncio-subprocess.html)26802681        - [18.5.6.1. Цикл событий Windows](https://python-all.ru/3.6/library/asyncio-subprocess.html#windows-event-loop)2682        - [18.5.6.2. Создание подпроцесса: высокоуровневый API с использованием процесса](https://python-all.ru/3.6/library/asyncio-subprocess.html#create-a-subprocess-high-level-api-using-process)2683        - [18.5.6.3. Создание подпроцесса: низкоуровневый API с использованием subprocess.Popen](https://python-all.ru/3.6/library/asyncio-subprocess.html#create-a-subprocess-low-level-api-using-subprocess-popen)2684        - [18.5.6.4. Константы](https://python-all.ru/3.6/library/asyncio-subprocess.html#constants)2685        - [18.5.6.5. Процесс](https://python-all.ru/3.6/library/asyncio-subprocess.html#process)2686        - [18.5.6.6. Подпроцессы и потоки](https://python-all.ru/3.6/library/asyncio-subprocess.html#subprocess-and-threads)2687        - [18.5.6.7. Примеры с подпроцессами](https://python-all.ru/3.6/library/asyncio-subprocess.html#subprocess-examples)26882689          - [18.5.6.7.1. Подпроцесс с использованием транспорта и протокола](https://python-all.ru/3.6/library/asyncio-subprocess.html#subprocess-using-transport-and-protocol)2690          - [18.5.6.7.2. Подпроцесс с использованием потоков данных](https://python-all.ru/3.6/library/asyncio-subprocess.html#subprocess-using-streams)2691      - [18.5.7. Примитивы синхронизации](https://python-all.ru/3.6/library/asyncio-sync.html)26922693        - [18.5.7.1. Блокировки](https://python-all.ru/3.6/library/asyncio-sync.html#locks)26942695          - [18.5.7.1.1. Блокировка](https://python-all.ru/3.6/library/asyncio-sync.html#lock)2696          - [18.5.7.1.2. Event](https://python-all.ru/3.6/library/asyncio-sync.html#event)2697          - [18.5.7.1.3. Condition](https://python-all.ru/3.6/library/asyncio-sync.html#condition)2698        - [18.5.7.2. Семафоры](https://python-all.ru/3.6/library/asyncio-sync.html#semaphores)26992700          - [18.5.7.2.1. Semaphore](https://python-all.ru/3.6/library/asyncio-sync.html#semaphore)2701          - [18.5.7.2.2. BoundedSemaphore](https://python-all.ru/3.6/library/asyncio-sync.html#boundedsemaphore)2702      - [18.5.8. Очереди](https://python-all.ru/3.6/library/asyncio-queue.html)27032704        - [18.5.8.1. Очередь](https://python-all.ru/3.6/library/asyncio-queue.html#queue)2705        - [18.5.8.2. PriorityQueue](https://python-all.ru/3.6/library/asyncio-queue.html#priorityqueue)2706        - [18.5.8.3. LifoQueue](https://python-all.ru/3.6/library/asyncio-queue.html#lifoqueue)27072708          - [18.5.8.3.1. Исключения](https://python-all.ru/3.6/library/asyncio-queue.html#exceptions)2709      - [18.5.9. Разработка с asyncio](https://python-all.ru/3.6/library/asyncio-dev.html)27102711        - [18.5.9.1. Режим отладки asyncio](https://python-all.ru/3.6/library/asyncio-dev.html#debug-mode-of-asyncio)2712        - [18.5.9.2. Отмена](https://python-all.ru/3.6/library/asyncio-dev.html#cancellation)2713        - [18.5.9.3. Конкурентность и многопоточность](https://python-all.ru/3.6/library/asyncio-dev.html#concurrency-and-multithreading)2714        - [18.5.9.4. Корректная обработка блокирующих функций](https://python-all.ru/3.6/library/asyncio-dev.html#handle-blocking-functions-correctly)2715        - [18.5.9.5. Логирование](https://python-all.ru/3.6/library/asyncio-dev.html#logging)2716        - [18.5.9.6. Обнаружение объектов корутин, которые никогда не были запланированы](https://python-all.ru/3.6/library/asyncio-dev.html#detect-coroutine-objects-never-scheduled)2717        - [18.5.9.7. Обнаружение необработанных исключений](https://python-all.ru/3.6/library/asyncio-dev.html#detect-exceptions-never-consumed)2718        - [18.5.9.8. Правильное связывание корутин](https://python-all.ru/3.6/library/asyncio-dev.html#chain-coroutines-correctly)2719        - [18.5.9.9. Уничтожение ожидающих задач](https://python-all.ru/3.6/library/asyncio-dev.html#pending-task-destroyed)2720        - [18.5.9.10. Закрытие транспортов и циклов событий](https://python-all.ru/3.6/library/asyncio-dev.html#close-transports-and-event-loops)2721    - [18.6. `asyncore` – Асинхронный обработчик сокетов](https://python-all.ru/3.6/library/asyncore.html)27222723      - [18.6.1. Пример asyncore: базовый HTTP-клиент](https://python-all.ru/3.6/library/asyncore.html#asyncore-example-basic-http-client)2724      - [18.6.2. Пример asyncore: базовый эхо-сервер](https://python-all.ru/3.6/library/asyncore.html#asyncore-example-basic-echo-server)2725    - [18.7. `asynchat` – Асинхронный обработчик команд/ответов через сокеты](https://python-all.ru/3.6/library/asynchat.html)27262727      - [18.7.1. Пример asynchat](https://python-all.ru/3.6/library/asynchat.html#asynchat-example)2728    - [18.8. `signal` – Установка обработчиков для асинхронных событий](https://python-all.ru/3.6/library/signal.html)27292730      - [18.8.1. Общие правила](https://python-all.ru/3.6/library/signal.html#general-rules)27312732        - [18.8.1.1. Выполнение обработчиков сигналов Python](https://python-all.ru/3.6/library/signal.html#execution-of-python-signal-handlers)2733        - [18.8.1.2. Сигналы и потоки](https://python-all.ru/3.6/library/signal.html#signals-and-threads)2734      - [18.8.2. Содержимое модуля](https://python-all.ru/3.6/library/signal.html#module-contents)2735      - [18.8.3. Пример](https://python-all.ru/3.6/library/signal.html#example)2736    - [18.9. `mmap` – Поддержка файлов, отображаемых в память](https://python-all.ru/3.6/library/mmap.html)2737  - [19. Обработка интернет-данных](https://python-all.ru/3.6/library/netdata.html)27382739    - [19.1. `email` – Пакет для обработки email и MIME](https://python-all.ru/3.6/library/email.html)27402741      - [19.1.1. `email.message`: Представление email-сообщения](https://python-all.ru/3.6/library/email.message.html)2742      - [19.1.2. `email.parser`: Разбор email-сообщений](https://python-all.ru/3.6/library/email.parser.html)27432744        - [19.1.2.1. FeedParser API](https://python-all.ru/3.6/library/email.parser.html#feedparser-api)2745        - [19.1.2.2. Parser API](https://python-all.ru/3.6/library/email.parser.html#parser-api)2746        - [19.1.2.3. Дополнительные примечания](https://python-all.ru/3.6/library/email.parser.html#additional-notes)2747      - [19.1.3. `email.generator`: Генерация MIME-документов](https://python-all.ru/3.6/library/email.generator.html)2748      - [19.1.4. `email.policy`: Объекты политик](https://python-all.ru/3.6/library/email.policy.html)2749      - [19.1.5. `email.errors`: Классы исключений и дефектов](https://python-all.ru/3.6/library/email.errors.html)2750      - [19.1.6. `email.headerregistry`: Пользовательские объекты заголовков](https://python-all.ru/3.6/library/email.headerregistry.html)2751      - [19.1.7. `email.contentmanager`: Управление MIME-содержимым](https://python-all.ru/3.6/library/email.contentmanager.html)27522753        - [19.1.7.1. Экземпляры Content Manager](https://python-all.ru/3.6/library/email.contentmanager.html#content-manager-instances)2754      - [19.1.8. `email`: Примеры](https://python-all.ru/3.6/library/email.examples.html)2755      - [19.1.9. `email.message.Message`: Представление email-сообщения с помощью API `compat32`](https://python-all.ru/3.6/library/email.compat32-message.html)2756      - [19.1.10. `email.mime`: Создание email- и MIME-объектов с нуля](https://python-all.ru/3.6/library/email.mime.html)2757      - [19.1.11. `email.header`: Интернационализированные заголовки](https://python-all.ru/3.6/library/email.header.html)2758      - [19.1.12. `email.charset`: Представление кодировок](https://python-all.ru/3.6/library/email.charset.html)2759      - [19.1.13. `email.encoders`: Кодировщики](https://python-all.ru/3.6/library/email.encoders.html)2760      - [19.1.14. `email.utils`: Прочие утилиты](https://python-all.ru/3.6/library/email.utils.html)2761      - [19.1.15. `email.iterators`: Итераторы](https://python-all.ru/3.6/library/email.iterators.html)2762    - [19.2. `json` – Кодировщик и декодировщик JSON](https://python-all.ru/3.6/library/json.html)27632764      - [19.2.1. Базовое использование](https://python-all.ru/3.6/library/json.html#basic-usage)2765      - [19.2.2. Кодировщики и декодировщики](https://python-all.ru/3.6/library/json.html#encoders-and-decoders)2766      - [19.2.3. Исключения](https://python-all.ru/3.6/library/json.html#exceptions)2767      - [19.2.4. Соответствие стандартам и совместимость](https://python-all.ru/3.6/library/json.html#standard-compliance-and-interoperability)27682769        - [19.2.4.1. Кодировки символов](https://python-all.ru/3.6/library/json.html#character-encodings)2770        - [19.2.4.2. Бесконечные значения и NaN](https://python-all.ru/3.6/library/json.html#infinite-and-nan-number-values)2771        - [19.2.4.3. Повторяющиеся имена в объекте](https://python-all.ru/3.6/library/json.html#repeated-names-within-an-object)2772        - [19.2.4.4. Значения верхнего уровня, не являющиеся объектом или массивом](https://python-all.ru/3.6/library/json.html#top-level-non-object-non-array-values)2773        - [19.2.4.5. Ограничения реализации](https://python-all.ru/3.6/library/json.html#implementation-limitations)2774      - [19.2.5. Интерфейс командной строки](https://python-all.ru/3.6/library/json.html#module-json.tool)27752776        - [19.2.5.1. Параметры командной строки](https://python-all.ru/3.6/library/json.html#command-line-options)2777    - [19.3. `mailcap` – Обработка файлов Mailcap](https://python-all.ru/3.6/library/mailcap.html)2778    - [19.4. `mailbox` – Работа с почтовыми ящиками в различных форматах](https://python-all.ru/3.6/library/mailbox.html)27792780      - [19.4.1. `Mailbox` объекты](https://python-all.ru/3.6/library/mailbox.html#mailbox-objects)27812782        - [19.4.1.1. `Maildir`](https://python-all.ru/3.6/library/mailbox.html#maildir)2783        - [19.4.1.2. `mbox`](https://python-all.ru/3.6/library/mailbox.html#mbox)2784        - [19.4.1.3. `MH`](https://python-all.ru/3.6/library/mailbox.html#mh)2785        - [19.4.1.4. `Babyl`](https://python-all.ru/3.6/library/mailbox.html#babyl)2786        - [19.4.1.5. `MMDF`](https://python-all.ru/3.6/library/mailbox.html#mmdf)2787      - [19.4.2. `Message` объекты](https://python-all.ru/3.6/library/mailbox.html#message-objects)27882789        - [19.4.2.1. `MaildirMessage`](https://python-all.ru/3.6/library/mailbox.html#maildirmessage)2790        - [19.4.2.2. `mboxMessage`](https://python-all.ru/3.6/library/mailbox.html#mboxmessage)2791        - [19.4.2.3. `MHMessage`](https://python-all.ru/3.6/library/mailbox.html#mhmessage)2792        - [19.4.2.4. `BabylMessage`](https://python-all.ru/3.6/library/mailbox.html#babylmessage)2793        - [19.4.2.5. `MMDFMessage`](https://python-all.ru/3.6/library/mailbox.html#mmdfmessage)2794      - [19.4.3. Исключения](https://python-all.ru/3.6/library/mailbox.html#exceptions)2795      - [19.4.4. Примеры](https://python-all.ru/3.6/library/mailbox.html#examples)2796    - [19.5. `mimetypes` – Сопоставление имён файлов с MIME-типами](https://python-all.ru/3.6/library/mimetypes.html)27972798      - [19.5.1. Объекты MimeTypes](https://python-all.ru/3.6/library/mimetypes.html#mimetypes-objects)2799    - [19.6. `base64` – Кодирование данных Base16, Base32, Base64, Base85](https://python-all.ru/3.6/library/base64.html)2800    - [19.7. `binhex` – Кодирование и декодирование файлов binhex4](https://python-all.ru/3.6/library/binhex.html)28012802      - [19.7.1. Примечания](https://python-all.ru/3.6/library/binhex.html#notes)2803    - [19.8. `binascii` – Преобразование между двоичным и ASCII](https://python-all.ru/3.6/library/binascii.html)2804    - [19.9. `quopri` – Кодирование и декодирование данных MIME в формате quoted-printable](https://python-all.ru/3.6/library/quopri.html)2805    - [19.10. `uu` – Кодирование и декодирование файлов uuencode](https://python-all.ru/3.6/library/uu.html)2806  - [20. Инструменты обработки структурированной разметки](https://python-all.ru/3.6/library/markup.html)28072808    - [20.1. `html` – Поддержка языка гипертекстовой разметки](https://python-all.ru/3.6/library/html.html)2809    - [20.2. `html.parser` – Простой парсер HTML и XHTML](https://python-all.ru/3.6/library/html.parser.html)28102811      - [20.2.1. Пример приложения парсера HTML](https://python-all.ru/3.6/library/html.parser.html#example-html-parser-application)2812      - [20.2.2. `HTMLParser` Методы](https://python-all.ru/3.6/library/html.parser.html#htmlparser-methods)2813      - [20.2.3. Примеры](https://python-all.ru/3.6/library/html.parser.html#examples)2814    - [20.3. `html.entities` – Определения общих сущностей HTML](https://python-all.ru/3.6/library/html.entities.html)2815    - [20.4. Модули обработки XML](https://python-all.ru/3.6/library/xml.html)28162817      - [20.4.1. Уязвимости XML](https://python-all.ru/3.6/library/xml.html#xml-vulnerabilities)2818      - [20.4.2. Пакеты `defusedxml` и `defusedexpat`](https://python-all.ru/3.6/library/xml.html#the-defusedxml-and-defusedexpat-packages)2819    - [20.5. `xml.etree.ElementTree` – XML API ElementTree](https://python-all.ru/3.6/library/xml.etree.elementtree.html)28202821      - [20.5.1. Учебник](https://python-all.ru/3.6/library/xml.etree.elementtree.html#tutorial)28222823        - [20.5.1.1. XML-дерево и элементы](https://python-all.ru/3.6/library/xml.etree.elementtree.html#xml-tree-and-elements)2824        - [20.5.1.2. Разбор XML](https://python-all.ru/3.6/library/xml.etree.elementtree.html#parsing-xml)2825        - [20.5.1.3. Pull-API для неблокирующего разбора](https://python-all.ru/3.6/library/xml.etree.elementtree.html#pull-api-for-non-blocking-parsing)2826        - [20.5.1.4. Поиск интересующих элементов](https://python-all.ru/3.6/library/xml.etree.elementtree.html#finding-interesting-elements)2827        - [20.5.1.5. Изменение XML-файла](https://python-all.ru/3.6/library/xml.etree.elementtree.html#modifying-an-xml-file)2828        - [20.5.1.6. Построение XML-документов](https://python-all.ru/3.6/library/xml.etree.elementtree.html#building-xml-documents)2829        - [20.5.1.7. Разбор XML с пространствами имён](https://python-all.ru/3.6/library/xml.etree.elementtree.html#parsing-xml-with-namespaces)2830        - [20.5.1.8. Дополнительные ресурсы](https://python-all.ru/3.6/library/xml.etree.elementtree.html#additional-resources)2831      - [20.5.2. Поддержка XPath](https://python-all.ru/3.6/library/xml.etree.elementtree.html#xpath-support)28322833        - [20.5.2.1. Пример](https://python-all.ru/3.6/library/xml.etree.elementtree.html#example)2834        - [20.5.2.2. Поддерживаемый синтаксис XPath](https://python-all.ru/3.6/library/xml.etree.elementtree.html#supported-xpath-syntax)2835      - [20.5.3. Справочник](https://python-all.ru/3.6/library/xml.etree.elementtree.html#reference)28362837        - [20.5.3.1. Функции](https://python-all.ru/3.6/library/xml.etree.elementtree.html#functions)2838        - [20.5.3.2. Объекты Element](https://python-all.ru/3.6/library/xml.etree.elementtree.html#element-objects)2839        - [20.5.3.3. Объекты ElementTree](https://python-all.ru/3.6/library/xml.etree.elementtree.html#elementtree-objects)2840        - [20.5.3.4. Объекты QName](https://python-all.ru/3.6/library/xml.etree.elementtree.html#qname-objects)2841        - [20.5.3.5. Объекты TreeBuilder](https://python-all.ru/3.6/library/xml.etree.elementtree.html#treebuilder-objects)2842        - [20.5.3.6. Объекты XMLParser](https://python-all.ru/3.6/library/xml.etree.elementtree.html#xmlparser-objects)2843        - [20.5.3.7. Объекты XMLPullParser](https://python-all.ru/3.6/library/xml.etree.elementtree.html#xmlpullparser-objects)2844        - [20.5.3.8. Исключения](https://python-all.ru/3.6/library/xml.etree.elementtree.html#exceptions)2845    - [20.6. `xml.dom` – API объектной модели документа](https://python-all.ru/3.6/library/xml.dom.html)28462847      - [20.6.1. Содержимое модуля](https://python-all.ru/3.6/library/xml.dom.html#module-contents)2848      - [20.6.2. Объекты в DOM](https://python-all.ru/3.6/library/xml.dom.html#objects-in-the-dom)28492850        - [20.6.2.1. Объекты DOMImplementation](https://python-all.ru/3.6/library/xml.dom.html#domimplementation-objects)2851        - [20.6.2.2. Объекты Node](https://python-all.ru/3.6/library/xml.dom.html#node-objects)2852        - [20.6.2.3. Объекты NodeList](https://python-all.ru/3.6/library/xml.dom.html#nodelist-objects)2853        - [20.6.2.4. Объекты DocumentType](https://python-all.ru/3.6/library/xml.dom.html#documenttype-objects)2854        - [20.6.2.5. Объекты Document](https://python-all.ru/3.6/library/xml.dom.html#document-objects)2855        - [20.6.2.6. Объекты Element](https://python-all.ru/3.6/library/xml.dom.html#element-objects)2856        - [20.6.2.7. Объекты Attr](https://python-all.ru/3.6/library/xml.dom.html#attr-objects)2857        - [20.6.2.8. Объекты NamedNodeMap](https://python-all.ru/3.6/library/xml.dom.html#namednodemap-objects)2858        - [20.6.2.9. Объекты Comment](https://python-all.ru/3.6/library/xml.dom.html#comment-objects)2859        - [20.6.2.10. Объекты Text и CDATASection](https://python-all.ru/3.6/library/xml.dom.html#text-and-cdatasection-objects)2860        - [20.6.2.11. Объекты ProcessingInstruction](https://python-all.ru/3.6/library/xml.dom.html#processinginstruction-objects)2861        - [20.6.2.12. Исключения](https://python-all.ru/3.6/library/xml.dom.html#exceptions)2862      - [20.6.3. Соответствие](https://python-all.ru/3.6/library/xml.dom.html#conformance)28632864        - [20.6.3.1. Сопоставление типов](https://python-all.ru/3.6/library/xml.dom.html#type-mapping)2865        - [20.6.3.2. Методы доступа](https://python-all.ru/3.6/library/xml.dom.html#accessor-methods)2866    - [20.7. `xml.dom.minidom` – Минимальная реализация DOM](https://python-all.ru/3.6/library/xml.dom.minidom.html)28672868      - [20.7.1. Объекты DOM](https://python-all.ru/3.6/library/xml.dom.minidom.html#dom-objects)2869      - [20.7.2. Пример DOM](https://python-all.ru/3.6/library/xml.dom.minidom.html#dom-example)2870      - [20.7.3. minidom и стандарт DOM](https://python-all.ru/3.6/library/xml.dom.minidom.html#minidom-and-the-dom-standard)2871    - [20.8. `xml.dom.pulldom` – Поддержка построения частичных деревьев DOM](https://python-all.ru/3.6/library/xml.dom.pulldom.html)28722873      - [20.8.1. Объекты DOMEventStream](https://python-all.ru/3.6/library/xml.dom.pulldom.html#domeventstream-objects)2874    - [20.9. `xml.sax` – Поддержка парсеров SAX2](https://python-all.ru/3.6/library/xml.sax.html)28752876      - [20.9.1. Объекты SAXException](https://python-all.ru/3.6/library/xml.sax.html#saxexception-objects)2877    - [20.10. `xml.sax.handler` – Базовые классы для обработчиков SAX](https://python-all.ru/3.6/library/xml.sax.handler.html)28782879      - [20.10.1. Объекты ContentHandler](https://python-all.ru/3.6/library/xml.sax.handler.html#contenthandler-objects)2880      - [20.10.2. Объекты DTDHandler](https://python-all.ru/3.6/library/xml.sax.handler.html#dtdhandler-objects)2881      - [20.10.3. Объекты EntityResolver](https://python-all.ru/3.6/library/xml.sax.handler.html#entityresolver-objects)2882      - [20.10.4. Объекты ErrorHandler](https://python-all.ru/3.6/library/xml.sax.handler.html#errorhandler-objects)2883    - [20.11. `xml.sax.saxutils` – Утилиты SAX](https://python-all.ru/3.6/library/xml.sax.utils.html)2884    - [20.12. `xml.sax.xmlreader` – Интерфейс для парсеров XML](https://python-all.ru/3.6/library/xml.sax.reader.html)28852886      - [20.12.1. Объекты XMLReader](https://python-all.ru/3.6/library/xml.sax.reader.html#xmlreader-objects)2887      - [20.12.2. Объекты IncrementalParser](https://python-all.ru/3.6/library/xml.sax.reader.html#incrementalparser-objects)2888      - [20.12.3. Объекты Locator](https://python-all.ru/3.6/library/xml.sax.reader.html#locator-objects)2889      - [20.12.4. Объекты InputSource](https://python-all.ru/3.6/library/xml.sax.reader.html#inputsource-objects)2890      - [20.12.5. Интерфейс `Attributes`](https://python-all.ru/3.6/library/xml.sax.reader.html#the-attributes-interface)2891      - [20.12.6. Интерфейс `AttributesNS`](https://python-all.ru/3.6/library/xml.sax.reader.html#the-attributesns-interface)2892    - [20.13. `xml.parsers.expat` – Быстрый разбор XML с помощью Expat](https://python-all.ru/3.6/library/pyexpat.html)28932894      - [20.13.1. Объекты XMLParser](https://python-all.ru/3.6/library/pyexpat.html#xmlparser-objects)2895      - [20.13.2. Исключения ExpatError](https://python-all.ru/3.6/library/pyexpat.html#expaterror-exceptions)2896      - [20.13.3. Пример](https://python-all.ru/3.6/library/pyexpat.html#example)2897      - [20.13.4. Описания моделей содержимого](https://python-all.ru/3.6/library/pyexpat.html#module-xml.parsers.expat.model)2898      - [20.13.5. Константы ошибок Expat](https://python-all.ru/3.6/library/pyexpat.html#module-xml.parsers.expat.errors)2899  - [21. Интернет-протоколы и поддержка](https://python-all.ru/3.6/library/internet.html)29002901    - [21.1. `webbrowser` – Удобный контроллер веб-браузера](https://python-all.ru/3.6/library/webbrowser.html)29022903      - [21.1.1. Объекты контроллера браузера](https://python-all.ru/3.6/library/webbrowser.html#browser-controller-objects)2904    - [21.2. `cgi` – Поддержка общего шлюзового интерфейса (CGI)](https://python-all.ru/3.6/library/cgi.html)29052906      - [21.2.1. Введение](https://python-all.ru/3.6/library/cgi.html#introduction)2907      - [21.2.2. Использование модуля cgi](https://python-all.ru/3.6/library/cgi.html#using-the-cgi-module)2908      - [21.2.3. Интерфейс более высокого уровня](https://python-all.ru/3.6/library/cgi.html#higher-level-interface)2909      - [21.2.4. Функции](https://python-all.ru/3.6/library/cgi.html#functions)2910      - [21.2.5. Вопросы безопасности](https://python-all.ru/3.6/library/cgi.html#caring-about-security)2911      - [21.2.6. Установка CGI-сценария в системе Unix](https://python-all.ru/3.6/library/cgi.html#installing-your-cgi-script-on-a-unix-system)2912      - [21.2.7. Тестирование CGI-сценария](https://python-all.ru/3.6/library/cgi.html#testing-your-cgi-script)2913      - [21.2.8. Отладка CGI-сценариев](https://python-all.ru/3.6/library/cgi.html#debugging-cgi-scripts)2914      - [21.2.9. Типичные проблемы и их решения](https://python-all.ru/3.6/library/cgi.html#common-problems-and-solutions)2915    - [21.3. `cgitb` – менеджер трассировки для CGI-сценариев](https://python-all.ru/3.6/library/cgitb.html)2916    - [21.4. `wsgiref` – утилиты WSGI и эталонная реализация](https://python-all.ru/3.6/library/wsgiref.html)29172918      - [21.4.1. `wsgiref.util` – утилиты окружения WSGI](https://python-all.ru/3.6/library/wsgiref.html#module-wsgiref.util)2919      - [21.4.2. `wsgiref.headers` – инструменты для заголовков ответов WSGI](https://python-all.ru/3.6/library/wsgiref.html#module-wsgiref.headers)2920      - [21.4.3. `wsgiref.simple_server` – простой HTTP-сервер WSGI](https://python-all.ru/3.6/library/wsgiref.html#module-wsgiref.simple_server)2921      - [21.4.4. `wsgiref.validate` – проверка соответствия WSGI](https://python-all.ru/3.6/library/wsgiref.html#module-wsgiref.validate)2922      - [21.4.5. `wsgiref.handlers` – базовые классы сервера и шлюза](https://python-all.ru/3.6/library/wsgiref.html#module-wsgiref.handlers)2923      - [21.4.6. Примеры](https://python-all.ru/3.6/library/wsgiref.html#examples)2924    - [21.5. `urllib` – модули для работы с URL](https://python-all.ru/3.6/library/urllib.html)2925    - [21.6. `urllib.request` – расширяемая библиотека для открытия URL](https://python-all.ru/3.6/library/urllib.request.html)29262927      - [21.6.1. Объекты Request](https://python-all.ru/3.6/library/urllib.request.html#request-objects)2928      - [21.6.2. Объекты OpenerDirector](https://python-all.ru/3.6/library/urllib.request.html#openerdirector-objects)2929      - [21.6.3. Объекты BaseHandler](https://python-all.ru/3.6/library/urllib.request.html#basehandler-objects)2930      - [21.6.4. Объекты HTTPRedirectHandler](https://python-all.ru/3.6/library/urllib.request.html#httpredirecthandler-objects)2931      - [21.6.5. Объекты HTTPCookieProcessor](https://python-all.ru/3.6/library/urllib.request.html#httpcookieprocessor-objects)2932      - [21.6.6. Объекты ProxyHandler](https://python-all.ru/3.6/library/urllib.request.html#proxyhandler-objects)2933      - [21.6.7. Объекты HTTPPasswordMgr](https://python-all.ru/3.6/library/urllib.request.html#httppasswordmgr-objects)2934      - [21.6.8. Объекты HTTPPasswordMgrWithPriorAuth](https://python-all.ru/3.6/library/urllib.request.html#httppasswordmgrwithpriorauth-objects)2935      - [21.6.9. Объекты AbstractBasicAuthHandler](https://python-all.ru/3.6/library/urllib.request.html#abstractbasicauthhandler-objects)2936      - [21.6.10. Объекты HTTPBasicAuthHandler](https://python-all.ru/3.6/library/urllib.request.html#httpbasicauthhandler-objects)2937      - [21.6.11. Объекты ProxyBasicAuthHandler](https://python-all.ru/3.6/library/urllib.request.html#proxybasicauthhandler-objects)2938      - [21.6.12. Объекты AbstractDigestAuthHandler](https://python-all.ru/3.6/library/urllib.request.html#abstractdigestauthhandler-objects)2939      - [21.6.13. Объекты HTTPDigestAuthHandler](https://python-all.ru/3.6/library/urllib.request.html#httpdigestauthhandler-objects)2940      - [21.6.14. Объекты ProxyDigestAuthHandler](https://python-all.ru/3.6/library/urllib.request.html#proxydigestauthhandler-objects)2941      - [21.6.15. Объекты HTTPHandler](https://python-all.ru/3.6/library/urllib.request.html#httphandler-objects)2942      - [21.6.16. Объекты HTTPSHandler](https://python-all.ru/3.6/library/urllib.request.html#httpshandler-objects)2943      - [21.6.17. Объекты FileHandler](https://python-all.ru/3.6/library/urllib.request.html#filehandler-objects)2944      - [21.6.18. Объекты DataHandler](https://python-all.ru/3.6/library/urllib.request.html#datahandler-objects)2945      - [21.6.19. Объекты FTPHandler](https://python-all.ru/3.6/library/urllib.request.html#ftphandler-objects)2946      - [21.6.20. Объекты CacheFTPHandler](https://python-all.ru/3.6/library/urllib.request.html#cacheftphandler-objects)2947      - [21.6.21. Объекты UnknownHandler](https://python-all.ru/3.6/library/urllib.request.html#unknownhandler-objects)2948      - [21.6.22. Объекты HTTPErrorProcessor](https://python-all.ru/3.6/library/urllib.request.html#httperrorprocessor-objects)2949      - [21.6.23. Примеры](https://python-all.ru/3.6/library/urllib.request.html#examples)2950      - [21.6.24. Устаревший интерфейс](https://python-all.ru/3.6/library/urllib.request.html#legacy-interface)2951      - [21.6.25. `urllib.request` Ограничения](https://python-all.ru/3.6/library/urllib.request.html#urllib-request-restrictions)2952    - [21.7. `urllib.response` – Классы ответов, используемые urllib](https://python-all.ru/3.6/library/urllib.request.html#module-urllib.response)2953    - [21.8. `urllib.parse` – Разбор URL на компоненты](https://python-all.ru/3.6/library/urllib.parse.html)29542955      - [21.8.1. Разбор URL](https://python-all.ru/3.6/library/urllib.parse.html#url-parsing)2956      - [21.8.2. Разбор ASCII-кодированных байт](https://python-all.ru/3.6/library/urllib.parse.html#parsing-ascii-encoded-bytes)2957      - [21.8.3. Структурированные результаты разбора](https://python-all.ru/3.6/library/urllib.parse.html#structured-parse-results)2958      - [21.8.4. Квотирование URL](https://python-all.ru/3.6/library/urllib.parse.html#url-quoting)2959    - [21.9. `urllib.error` – Классы исключений, вызываемые urllib.request](https://python-all.ru/3.6/library/urllib.error.html)2960    - [21.10. `urllib.robotparser` – Парсер для robots.txt](https://python-all.ru/3.6/library/urllib.robotparser.html)2961    - [21.11. `http` – Модули HTTP](https://python-all.ru/3.6/library/http.html)29622963      - [21.11.1. Коды состояния HTTP](https://python-all.ru/3.6/library/http.html#http-status-codes)2964    - [21.12. `http.client` – Клиент протокола HTTP](https://python-all.ru/3.6/library/http.client.html)29652966      - [21.12.1. Объекты HTTPConnection](https://python-all.ru/3.6/library/http.client.html#httpconnection-objects)2967      - [21.12.2. Объекты HTTPResponse](https://python-all.ru/3.6/library/http.client.html#httpresponse-objects)2968      - [21.12.3. Примеры](https://python-all.ru/3.6/library/http.client.html#examples)2969      - [21.12.4. Объекты HTTPMessage](https://python-all.ru/3.6/library/http.client.html#httpmessage-objects)2970    - [21.13. `ftplib` – Клиент протокола FTP](https://python-all.ru/3.6/library/ftplib.html)29712972      - [21.13.1. Объекты FTP](https://python-all.ru/3.6/library/ftplib.html#ftp-objects)2973      - [21.13.2. Объекты FTP\_TLS](https://python-all.ru/3.6/library/ftplib.html#ftp-tls-objects)2974    - [21.14. `poplib` – Клиент протокола POP3](https://python-all.ru/3.6/library/poplib.html)29752976      - [21.14.1. Объекты POP3](https://python-all.ru/3.6/library/poplib.html#pop3-objects)2977      - [21.14.2. Пример POP3](https://python-all.ru/3.6/library/poplib.html#pop3-example)2978    - [21.15. `imaplib` – Клиент протокола IMAP4](https://python-all.ru/3.6/library/imaplib.html)29792980      - [21.15.1. Объекты IMAP4](https://python-all.ru/3.6/library/imaplib.html#imap4-objects)2981      - [21.15.2. Пример IMAP4](https://python-all.ru/3.6/library/imaplib.html#imap4-example)2982    - [21.16. `nntplib` – клиент протокола NNTP](https://python-all.ru/3.6/library/nntplib.html)29832984      - [21.16.1. Объекты NNTP](https://python-all.ru/3.6/library/nntplib.html#nntp-objects)29852986        - [21.16.1.1. Атрибуты](https://python-all.ru/3.6/library/nntplib.html#attributes)2987        - [21.16.1.2. Методы](https://python-all.ru/3.6/library/nntplib.html#methods)2988      - [21.16.2. Вспомогательные функции](https://python-all.ru/3.6/library/nntplib.html#utility-functions)2989    - [21.17. `smtplib` – клиент протокола SMTP](https://python-all.ru/3.6/library/smtplib.html)29902991      - [21.17.1. Объекты SMTP](https://python-all.ru/3.6/library/smtplib.html#smtp-objects)2992      - [21.17.2. Пример SMTP](https://python-all.ru/3.6/library/smtplib.html#smtp-example)2993    - [21.18. `smtpd` – SMTP-сервер](https://python-all.ru/3.6/library/smtpd.html)29942995      - [21.18.1. Объекты SMTPServer](https://python-all.ru/3.6/library/smtpd.html#smtpserver-objects)2996      - [21.18.2. Объекты DebuggingServer](https://python-all.ru/3.6/library/smtpd.html#debuggingserver-objects)2997      - [21.18.3. Объекты PureProxy](https://python-all.ru/3.6/library/smtpd.html#pureproxy-objects)2998      - [21.18.4. Объекты MailmanProxy](https://python-all.ru/3.6/library/smtpd.html#mailmanproxy-objects)2999      - [21.18.5. Объекты SMTPChannel](https://python-all.ru/3.6/library/smtpd.html#smtpchannel-objects)3000    - [21.19. `telnetlib` – Telnet-клиент](https://python-all.ru/3.6/library/telnetlib.html)30013002      - [21.19.1. Объекты Telnet](https://python-all.ru/3.6/library/telnetlib.html#telnet-objects)3003      - [21.19.2. Пример Telnet](https://python-all.ru/3.6/library/telnetlib.html#telnet-example)3004    - [21.20. `uuid` – объекты UUID в соответствии с **RFC 4122**](https://python-all.ru/3.6/library/uuid.html)30053006      - [21.20.1. Пример](https://python-all.ru/3.6/library/uuid.html#example)3007    - [21.21. `socketserver` – фреймворк для сетевых серверов](https://python-all.ru/3.6/library/socketserver.html)30083009      - [21.21.1. Примечания по созданию сервера](https://python-all.ru/3.6/library/socketserver.html#server-creation-notes)3010      - [21.21.2. Объекты сервера](https://python-all.ru/3.6/library/socketserver.html#server-objects)3011      - [21.21.3. Объекты обработчика запросов](https://python-all.ru/3.6/library/socketserver.html#request-handler-objects)3012      - [21.21.4. Примеры](https://python-all.ru/3.6/library/socketserver.html#examples)30133014        - [21.21.4.1. `socketserver.TCPServer` Пример](https://python-all.ru/3.6/library/socketserver.html#socketserver-tcpserver-example)3015        - [21.21.4.2. `socketserver.UDPServer` Пример](https://python-all.ru/3.6/library/socketserver.html#socketserver-udpserver-example)3016        - [21.21.4.3. Асинхронные миксины](https://python-all.ru/3.6/library/socketserver.html#asynchronous-mixins)3017    - [21.22. `http.server` – HTTP-серверы](https://python-all.ru/3.6/library/http.server.html)3018    - [21.23. `http.cookies` – управление состоянием HTTP](https://python-all.ru/3.6/library/http.cookies.html)30193020      - [21.23.1. Объекты Cookie](https://python-all.ru/3.6/library/http.cookies.html#cookie-objects)3021      - [21.23.2. Объекты Morsel](https://python-all.ru/3.6/library/http.cookies.html#morsel-objects)3022      - [21.23.3. Пример](https://python-all.ru/3.6/library/http.cookies.html#example)3023    - [21.24. `http.cookiejar` – Обработка cookie для HTTP-клиентов](https://python-all.ru/3.6/library/http.cookiejar.html)30243025      - [21.24.1. Объекты CookieJar и FileCookieJar](https://python-all.ru/3.6/library/http.cookiejar.html#cookiejar-and-filecookiejar-objects)3026      - [21.24.2. Подклассы FileCookieJar и взаимодействие с веб-браузерами](https://python-all.ru/3.6/library/http.cookiejar.html#filecookiejar-subclasses-and-co-operation-with-web-browsers)3027      - [21.24.3. Объекты CookiePolicy](https://python-all.ru/3.6/library/http.cookiejar.html#cookiepolicy-objects)3028      - [21.24.4. Объекты DefaultCookiePolicy](https://python-all.ru/3.6/library/http.cookiejar.html#defaultcookiepolicy-objects)3029      - [21.24.5. Объекты Cookie](https://python-all.ru/3.6/library/http.cookiejar.html#cookie-objects)3030      - [21.24.6. Примеры](https://python-all.ru/3.6/library/http.cookiejar.html#examples)3031    - [21.25. `xmlrpc` – Модули сервера и клиента XML-RPC](https://python-all.ru/3.6/library/xmlrpc.html)3032    - [21.26. `xmlrpc.client` – Доступ клиента XML-RPC](https://python-all.ru/3.6/library/xmlrpc.client.html)30333034      - [21.26.1. Объекты ServerProxy](https://python-all.ru/3.6/library/xmlrpc.client.html#serverproxy-objects)3035      - [21.26.2. Объекты DateTime](https://python-all.ru/3.6/library/xmlrpc.client.html#datetime-objects)3036      - [21.26.3. Объекты Binary](https://python-all.ru/3.6/library/xmlrpc.client.html#binary-objects)3037      - [21.26.4. Объекты Fault](https://python-all.ru/3.6/library/xmlrpc.client.html#fault-objects)3038      - [21.26.5. Объекты ProtocolError](https://python-all.ru/3.6/library/xmlrpc.client.html#protocolerror-objects)3039      - [21.26.6. Объекты MultiCall](https://python-all.ru/3.6/library/xmlrpc.client.html#multicall-objects)3040      - [21.26.7. Вспомогательные функции](https://python-all.ru/3.6/library/xmlrpc.client.html#convenience-functions)3041      - [21.26.8. Пример использования клиента](https://python-all.ru/3.6/library/xmlrpc.client.html#example-of-client-usage)3042      - [21.26.9. Пример использования клиента и сервера](https://python-all.ru/3.6/library/xmlrpc.client.html#example-of-client-and-server-usage)3043    - [21.27. `xmlrpc.server` – Базовые серверы XML-RPC](https://python-all.ru/3.6/library/xmlrpc.server.html)30443045      - [21.27.1. Объекты SimpleXMLRPCServer](https://python-all.ru/3.6/library/xmlrpc.server.html#simplexmlrpcserver-objects)30463047        - [21.27.1.1. Пример SimpleXMLRPCServer](https://python-all.ru/3.6/library/xmlrpc.server.html#simplexmlrpcserver-example)3048      - [21.27.2. CGIXMLRPCRequestHandler](https://python-all.ru/3.6/library/xmlrpc.server.html#cgixmlrpcrequesthandler)3049      - [21.27.3. Документирование сервера XMLRPC](https://python-all.ru/3.6/library/xmlrpc.server.html#documenting-xmlrpc-server)3050      - [21.27.4. Объекты DocXMLRPCServer](https://python-all.ru/3.6/library/xmlrpc.server.html#docxmlrpcserver-objects)3051      - [21.27.5. DocCGIXMLRPCRequestHandler](https://python-all.ru/3.6/library/xmlrpc.server.html#doccgixmlrpcrequesthandler)3052    - [21.28. `ipaddress` – Библиотека для работы с IPv4/IPv6](https://python-all.ru/3.6/library/ipaddress.html)30533054      - [21.28.1. Вспомогательные фабричные функции](https://python-all.ru/3.6/library/ipaddress.html#convenience-factory-functions)3055      - [21.28.2. IP-адреса](https://python-all.ru/3.6/library/ipaddress.html#ip-addresses)30563057        - [21.28.2.1. Объекты адресов](https://python-all.ru/3.6/library/ipaddress.html#address-objects)3058        - [21.28.2.2. Преобразование в строки и целые числа](https://python-all.ru/3.6/library/ipaddress.html#conversion-to-strings-and-integers)3059        - [21.28.2.3. Операторы](https://python-all.ru/3.6/library/ipaddress.html#operators)30603061          - [21.28.2.3.1. Операторы сравнения](https://python-all.ru/3.6/library/ipaddress.html#comparison-operators)3062          - [21.28.2.3.2. Арифметические операторы](https://python-all.ru/3.6/library/ipaddress.html#arithmetic-operators)3063      - [21.28.3. Определения IP-сети](https://python-all.ru/3.6/library/ipaddress.html#ip-network-definitions)30643065        - [21.28.3.1. Префикс, маска сети и маска узла](https://python-all.ru/3.6/library/ipaddress.html#prefix-net-mask-and-host-mask)3066        - [21.28.3.2. Сетевые объекты](https://python-all.ru/3.6/library/ipaddress.html#network-objects)3067        - [21.28.3.3. Операторы](https://python-all.ru/3.6/library/ipaddress.html#id1)30683069          - [21.28.3.3.1. Логические операторы](https://python-all.ru/3.6/library/ipaddress.html#logical-operators)3070          - [21.28.3.3.2. Итерация](https://python-all.ru/3.6/library/ipaddress.html#iteration)3071          - [21.28.3.3.3. Сети как контейнеры адресов](https://python-all.ru/3.6/library/ipaddress.html#networks-as-containers-of-addresses)3072      - [21.28.4. Объекты интерфейса](https://python-all.ru/3.6/library/ipaddress.html#interface-objects)30733074        - [21.28.4.1. Операторы](https://python-all.ru/3.6/library/ipaddress.html#id2)30753076          - [21.28.4.1.1. Логические операторы](https://python-all.ru/3.6/library/ipaddress.html#id3)3077      - [21.28.5. Прочие функции уровня модуля](https://python-all.ru/3.6/library/ipaddress.html#other-module-level-functions)3078      - [21.28.6. Пользовательские исключения](https://python-all.ru/3.6/library/ipaddress.html#custom-exceptions)3079  - [22. Мультимедийные службы](https://python-all.ru/3.6/library/mm.html)30803081    - [22.1. `audioop` – Обработка сырых аудиоданных](https://python-all.ru/3.6/library/audioop.html)3082    - [22.2. `aifc` – Чтение и запись файлов AIFF и AIFC](https://python-all.ru/3.6/library/aifc.html)3083    - [22.3. `sunau` – Чтение и запись файлов Sun AU](https://python-all.ru/3.6/library/sunau.html)30843085      - [22.3.1. AU\_read Objects](https://python-all.ru/3.6/library/sunau.html#au-read-objects)3086      - [22.3.2. AU\_write Objects](https://python-all.ru/3.6/library/sunau.html#au-write-objects)3087    - [22.4. `wave` – Чтение и запись WAV-файлов](https://python-all.ru/3.6/library/wave.html)30883089      - [22.4.1. Wave\_read Objects](https://python-all.ru/3.6/library/wave.html#wave-read-objects)3090      - [22.4.2. Wave\_write Objects](https://python-all.ru/3.6/library/wave.html#wave-write-objects)3091    - [22.5. `chunk` – Чтение IFF-данных чанками](https://python-all.ru/3.6/library/chunk.html)3092    - [22.6. `colorsys` – Преобразования между цветовыми системами](https://python-all.ru/3.6/library/colorsys.html)3093    - [22.7. `imghdr` – Определение типа изображения](https://python-all.ru/3.6/library/imghdr.html)3094    - [22.8. `sndhdr` – Определение типа звукового файла](https://python-all.ru/3.6/library/sndhdr.html)3095    - [22.9. `ossaudiodev` – Доступ к аудиоустройствам, совместимым с OSS](https://python-all.ru/3.6/library/ossaudiodev.html)30963097      - [22.9.1. Объекты аудиоустройств](https://python-all.ru/3.6/library/ossaudiodev.html#audio-device-objects)3098      - [22.9.2. Объекты микшера](https://python-all.ru/3.6/library/ossaudiodev.html#mixer-device-objects)3099  - [23. Интернационализация](https://python-all.ru/3.6/library/i18n.html)31003101    - [23.1. `gettext` – Многоязычные службы интернационализации](https://python-all.ru/3.6/library/gettext.html)31023103      - [23.1.1. GNU **gettext** API](https://python-all.ru/3.6/library/gettext.html#gnu-gettext-api)3104      - [23.1.2. API на основе классов](https://python-all.ru/3.6/library/gettext.html#class-based-api)31053106        - [23.1.2.1. Класс `NullTranslations`](https://python-all.ru/3.6/library/gettext.html#the-nulltranslations-class)3107        - [23.1.2.2. Класс `GNUTranslations`](https://python-all.ru/3.6/library/gettext.html#the-gnutranslations-class)3108        - [23.1.2.3. Поддержка каталогов сообщений Solaris](https://python-all.ru/3.6/library/gettext.html#solaris-message-catalog-support)3109        - [23.1.2.4. Конструктор Catalog](https://python-all.ru/3.6/library/gettext.html#the-catalog-constructor)3110      - [23.1.3. Интернационализация программ и модулей](https://python-all.ru/3.6/library/gettext.html#internationalizing-your-programs-and-modules)31113112        - [23.1.3.1. Локализация модуля](https://python-all.ru/3.6/library/gettext.html#localizing-your-module)3113        - [23.1.3.2. Локализация приложения](https://python-all.ru/3.6/library/gettext.html#localizing-your-application)3114        - [23.1.3.3. Смена языка на лету](https://python-all.ru/3.6/library/gettext.html#changing-languages-on-the-fly)3115        - [23.1.3.4. Отложенные переводы](https://python-all.ru/3.6/library/gettext.html#deferred-translations)3116      - [23.1.4. Благодарности](https://python-all.ru/3.6/library/gettext.html#acknowledgements)3117    - [23.2. `locale` – Службы интернационализации](https://python-all.ru/3.6/library/locale.html)31183119      - [23.2.1. Предыстория, детали, подсказки, советы и предостережения](https://python-all.ru/3.6/library/locale.html#background-details-hints-tips-and-caveats)3120      - [23.2.2. Для разработчиков расширений и программ, встраивающих Python](https://python-all.ru/3.6/library/locale.html#for-extension-writers-and-programs-that-embed-python)3121      - [23.2.3. Доступ к каталогам сообщений](https://python-all.ru/3.6/library/locale.html#access-to-message-catalogs)3122  - [24. Программные каркасы](https://python-all.ru/3.6/library/frameworks.html)31233124    - [24.1. `turtle` – Черепашья графика](https://python-all.ru/3.6/library/turtle.html)31253126      - [24.1.1. Введение](https://python-all.ru/3.6/library/turtle.html#introduction)3127      - [24.1.2. Обзор доступных методов Turtle и Screen](https://python-all.ru/3.6/library/turtle.html#overview-of-available-turtle-and-screen-methods)31283129        - [24.1.2.1. Методы Turtle](https://python-all.ru/3.6/library/turtle.html#turtle-methods)3130        - [24.1.2.2. Методы TurtleScreen/Screen](https://python-all.ru/3.6/library/turtle.html#methods-of-turtlescreen-screen)3131      - [24.1.3. Методы RawTurtle/Turtle и соответствующие функции](https://python-all.ru/3.6/library/turtle.html#methods-of-rawturtle-turtle-and-corresponding-functions)31323133        - [24.1.3.1. Движение черепахи](https://python-all.ru/3.6/library/turtle.html#turtle-motion)3134        - [24.1.3.2. Состояние черепахи](https://python-all.ru/3.6/library/turtle.html#tell-turtle-s-state)3135        - [24.1.3.3. Настройки измерения](https://python-all.ru/3.6/library/turtle.html#settings-for-measurement)3136        - [24.1.3.4. Управление пером](https://python-all.ru/3.6/library/turtle.html#pen-control)31373138          - [24.1.3.4.1. Состояние рисования](https://python-all.ru/3.6/library/turtle.html#drawing-state)3139          - [24.1.3.4.2. Управление цветом](https://python-all.ru/3.6/library/turtle.html#color-control)3140          - [24.1.3.4.3. Заливка](https://python-all.ru/3.6/library/turtle.html#filling)3141          - [24.1.3.4.4. Дополнительное управление рисованием](https://python-all.ru/3.6/library/turtle.html#more-drawing-control)3142        - [24.1.3.5. Состояние черепахи](https://python-all.ru/3.6/library/turtle.html#turtle-state)31433144          - [24.1.3.5.1. Видимость](https://python-all.ru/3.6/library/turtle.html#visibility)3145          - [24.1.3.5.2. Внешний вид](https://python-all.ru/3.6/library/turtle.html#appearance)3146        - [24.1.3.6. Использование событий](https://python-all.ru/3.6/library/turtle.html#using-events)3147        - [24.1.3.7. Специальные методы Turtle](https://python-all.ru/3.6/library/turtle.html#special-turtle-methods)3148        - [24.1.3.8. Составные фигуры](https://python-all.ru/3.6/library/turtle.html#compound-shapes)3149      - [24.1.4. Методы TurtleScreen/Screen и соответствующие функции](https://python-all.ru/3.6/library/turtle.html#methods-of-turtlescreen-screen-and-corresponding-functions)31503151        - [24.1.4.1. Управление окном](https://python-all.ru/3.6/library/turtle.html#window-control)3152        - [24.1.4.2. Управление анимацией](https://python-all.ru/3.6/library/turtle.html#animation-control)3153        - [24.1.4.3. Использование событий экрана](https://python-all.ru/3.6/library/turtle.html#using-screen-events)3154        - [24.1.4.4. Методы ввода](https://python-all.ru/3.6/library/turtle.html#input-methods)3155        - [24.1.4.5. Настройки и специальные методы](https://python-all.ru/3.6/library/turtle.html#settings-and-special-methods)3156        - [24.1.4.6. Методы, специфичные для Screen, не унаследованные от TurtleScreen](https://python-all.ru/3.6/library/turtle.html#methods-specific-to-screen-not-inherited-from-turtlescreen)3157      - [24.1.5. Общедоступные классы](https://python-all.ru/3.6/library/turtle.html#public-classes)3158      - [24.1.6. Справка и настройка](https://python-all.ru/3.6/library/turtle.html#help-and-configuration)31593160        - [24.1.6.1. Как пользоваться справкой](https://python-all.ru/3.6/library/turtle.html#how-to-use-help)3161        - [24.1.6.2. Перевод строк документации на разные языки](https://python-all.ru/3.6/library/turtle.html#translation-of-docstrings-into-different-languages)3162        - [24.1.6.3. Как настроить Screen и Turtles](https://python-all.ru/3.6/library/turtle.html#how-to-configure-screen-and-turtles)3163      - [24.1.7. `turtledemo` – Демонстрационные скрипты](https://python-all.ru/3.6/library/turtle.html#module-turtledemo)3164      - [24.1.8. Изменения начиная с Python 2.6](https://python-all.ru/3.6/library/turtle.html#changes-since-python-2-6)3165      - [24.1.9. Изменения начиная с Python 3.0](https://python-all.ru/3.6/library/turtle.html#changes-since-python-3-0)3166    - [24.2. `cmd` – Поддержка интерпретаторов команд, ориентированных на строки](https://python-all.ru/3.6/library/cmd.html)31673168      - [24.2.1. Объекты Cmd](https://python-all.ru/3.6/library/cmd.html#cmd-objects)3169      - [24.2.2. Пример Cmd](https://python-all.ru/3.6/library/cmd.html#cmd-example)3170    - [24.3. `shlex` – Простой лексический анализ](https://python-all.ru/3.6/library/shlex.html)31713172      - [24.3.1. Объекты shlex](https://python-all.ru/3.6/library/shlex.html#shlex-objects)3173      - [24.3.2. Правила синтаксического анализа](https://python-all.ru/3.6/library/shlex.html#parsing-rules)3174      - [24.3.3. Улучшенная совместимость с оболочками](https://python-all.ru/3.6/library/shlex.html#improved-compatibility-with-shells)3175  - [25. Графические интерфейсы пользователя с Tk](https://python-all.ru/3.6/library/tk.html)31763177    - [25.1. `tkinter` – Интерфейс Python к Tcl/Tk](https://python-all.ru/3.6/library/tkinter.html)31783179      - [25.1.1. Модули Tkinter](https://python-all.ru/3.6/library/tkinter.html#tkinter-modules)3180      - [25.1.2. Tkinter Life Preserver](https://python-all.ru/3.6/library/tkinter.html#tkinter-life-preserver)31813182        - [25.1.2.1. Как использовать этот раздел](https://python-all.ru/3.6/library/tkinter.html#how-to-use-this-section)3183        - [25.1.2.2. Простой пример программы «Hello World»](https://python-all.ru/3.6/library/tkinter.html#a-simple-hello-world-program)3184      - [25.1.3. Краткий обзор Tcl/Tk](https://python-all.ru/3.6/library/tkinter.html#a-very-quick-look-at-tcl-tk)3185      - [25.1.4. Отображение базового Tk в Tkinter](https://python-all.ru/3.6/library/tkinter.html#mapping-basic-tk-into-tkinter)3186      - [25.1.5. Как связаны Tk и Tkinter](https://python-all.ru/3.6/library/tkinter.html#how-tk-and-tkinter-are-related)3187      - [25.1.6. Удобный справочник](https://python-all.ru/3.6/library/tkinter.html#handy-reference)31883189        - [25.1.6.1. Настройка параметров](https://python-all.ru/3.6/library/tkinter.html#setting-options)3190        - [25.1.6.2. Упаковщик](https://python-all.ru/3.6/library/tkinter.html#the-packer)3191        - [25.1.6.3. Параметры упаковщика](https://python-all.ru/3.6/library/tkinter.html#packer-options)3192        - [25.1.6.4. Привязка переменных виджетов](https://python-all.ru/3.6/library/tkinter.html#coupling-widget-variables)3193        - [25.1.6.5. Менеджер окон](https://python-all.ru/3.6/library/tkinter.html#the-window-manager)3194        - [25.1.6.6. Типы данных параметров Tk](https://python-all.ru/3.6/library/tkinter.html#tk-option-data-types)3195        - [25.1.6.7. Привязки и события](https://python-all.ru/3.6/library/tkinter.html#bindings-and-events)3196        - [25.1.6.8. Параметр index](https://python-all.ru/3.6/library/tkinter.html#the-index-parameter)3197        - [25.1.6.9. Изображения](https://python-all.ru/3.6/library/tkinter.html#images)3198      - [25.1.7. Обработчики файлов](https://python-all.ru/3.6/library/tkinter.html#file-handlers)3199    - [25.2. `tkinter.ttk` – Tk темизированные виджеты](https://python-all.ru/3.6/library/tkinter.ttk.html)32003201      - [25.2.1. Использование Ttk](https://python-all.ru/3.6/library/tkinter.ttk.html#using-ttk)3202      - [25.2.2. Виджеты Ttk](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-widgets)3203      - [25.2.3. Виджет](https://python-all.ru/3.6/library/tkinter.ttk.html#widget)32043205        - [25.2.3.1. Стандартные параметры](https://python-all.ru/3.6/library/tkinter.ttk.html#standard-options)3206        - [25.2.3.2. Параметры прокручиваемого виджета](https://python-all.ru/3.6/library/tkinter.ttk.html#scrollable-widget-options)3207        - [25.2.3.3. Параметры метки](https://python-all.ru/3.6/library/tkinter.ttk.html#label-options)3208        - [25.2.3.4. Параметры совместимости](https://python-all.ru/3.6/library/tkinter.ttk.html#compatibility-options)3209        - [25.2.3.5. Состояния виджета](https://python-all.ru/3.6/library/tkinter.ttk.html#widget-states)3210        - [25.2.3.6. ttk.Widget](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-widget)3211      - [25.2.4. Combobox](https://python-all.ru/3.6/library/tkinter.ttk.html#combobox)32123213        - [25.2.4.1. Параметры](https://python-all.ru/3.6/library/tkinter.ttk.html#options)3214        - [25.2.4.2. Виртуальные события](https://python-all.ru/3.6/library/tkinter.ttk.html#virtual-events)3215        - [25.2.4.3. ttk.Combobox](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-combobox)3216      - [25.2.5. Notebook](https://python-all.ru/3.6/library/tkinter.ttk.html#notebook)32173218        - [25.2.5.1. Параметры](https://python-all.ru/3.6/library/tkinter.ttk.html#id1)3219        - [25.2.5.2. Параметры вкладок](https://python-all.ru/3.6/library/tkinter.ttk.html#tab-options)3220        - [25.2.5.3. Идентификаторы вкладок](https://python-all.ru/3.6/library/tkinter.ttk.html#tab-identifiers)3221        - [25.2.5.4. Виртуальные события](https://python-all.ru/3.6/library/tkinter.ttk.html#id2)3222        - [25.2.5.5. ttk.Notebook](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-notebook)3223      - [25.2.6. Progressbar](https://python-all.ru/3.6/library/tkinter.ttk.html#progressbar)32243225        - [25.2.6.1. Опции](https://python-all.ru/3.6/library/tkinter.ttk.html#id3)3226        - [25.2.6.2. ttk.Progressbar](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-progressbar)3227      - [25.2.7. Separator](https://python-all.ru/3.6/library/tkinter.ttk.html#separator)32283229        - [25.2.7.1. Опции](https://python-all.ru/3.6/library/tkinter.ttk.html#id4)3230      - [25.2.8. Sizegrip](https://python-all.ru/3.6/library/tkinter.ttk.html#sizegrip)32313232        - [25.2.8.1. Замечания по платформам](https://python-all.ru/3.6/library/tkinter.ttk.html#platform-specific-notes)3233        - [25.2.8.2. Ошибки](https://python-all.ru/3.6/library/tkinter.ttk.html#bugs)3234      - [25.2.9. Treeview](https://python-all.ru/3.6/library/tkinter.ttk.html#treeview)32353236        - [25.2.9.1. Опции](https://python-all.ru/3.6/library/tkinter.ttk.html#id5)3237        - [25.2.9.2. Опции элементов](https://python-all.ru/3.6/library/tkinter.ttk.html#item-options)3238        - [25.2.9.3. Опции тегов](https://python-all.ru/3.6/library/tkinter.ttk.html#tag-options)3239        - [25.2.9.4. Идентификаторы столбцов](https://python-all.ru/3.6/library/tkinter.ttk.html#column-identifiers)3240        - [25.2.9.5. Виртуальные события](https://python-all.ru/3.6/library/tkinter.ttk.html#id6)3241        - [25.2.9.6. ttk.Treeview](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-treeview)3242      - [25.2.10. Стилизация ttk](https://python-all.ru/3.6/library/tkinter.ttk.html#ttk-styling)32433244        - [25.2.10.1. Макеты](https://python-all.ru/3.6/library/tkinter.ttk.html#layouts)3245    - [25.3. `tkinter.tix` – Расширенные виджеты для Tk](https://python-all.ru/3.6/library/tkinter.tix.html)32463247      - [25.3.1. Использование Tix](https://python-all.ru/3.6/library/tkinter.tix.html#using-tix)3248      - [25.3.2. Виджеты Tix](https://python-all.ru/3.6/library/tkinter.tix.html#tix-widgets)32493250        - [25.3.2.1. Базовые виджеты](https://python-all.ru/3.6/library/tkinter.tix.html#basic-widgets)3251        - [25.3.2.2. Выбор файлов](https://python-all.ru/3.6/library/tkinter.tix.html#file-selectors)3252        - [25.3.2.3. Иерархический список](https://python-all.ru/3.6/library/tkinter.tix.html#hierarchical-listbox)3253        - [25.3.2.4. Табличный список](https://python-all.ru/3.6/library/tkinter.tix.html#tabular-listbox)3254        - [25.3.2.5. Виджеты-менеджеры](https://python-all.ru/3.6/library/tkinter.tix.html#manager-widgets)3255        - [25.3.2.6. Типы изображений](https://python-all.ru/3.6/library/tkinter.tix.html#image-types)3256        - [25.3.2.7. Прочие виджеты](https://python-all.ru/3.6/library/tkinter.tix.html#miscellaneous-widgets)3257        - [25.3.2.8. Менеджер геометрии Form](https://python-all.ru/3.6/library/tkinter.tix.html#form-geometry-manager)3258      - [25.3.3. Команды Tix](https://python-all.ru/3.6/library/tkinter.tix.html#tix-commands)3259    - [25.4. `tkinter.scrolledtext` – Scrolled Text Widget](https://python-all.ru/3.6/library/tkinter.scrolledtext.html)3260    - [25.5. IDLE](https://python-all.ru/3.6/library/idle.html)32613262      - [25.5.1. Меню](https://python-all.ru/3.6/library/idle.html#menus)32633264        - [25.5.1.1. Меню «Файл» (Shell и редактор)](https://python-all.ru/3.6/library/idle.html#file-menu-shell-and-editor)3265        - [25.5.1.2. Меню «Правка» (Shell и редактор)](https://python-all.ru/3.6/library/idle.html#edit-menu-shell-and-editor)3266        - [25.5.1.3. Меню «Формат» (только в окне редактора)](https://python-all.ru/3.6/library/idle.html#format-menu-editor-window-only)3267        - [25.5.1.4. Меню «Выполнить» (только в окне редактора)](https://python-all.ru/3.6/library/idle.html#run-menu-editor-window-only)3268        - [25.5.1.5. Меню «Shell» (только в окне Shell)](https://python-all.ru/3.6/library/idle.html#shell-menu-shell-window-only)3269        - [25.5.1.6. Меню «Отладка» (только в окне Shell)](https://python-all.ru/3.6/library/idle.html#debug-menu-shell-window-only)3270        - [25.5.1.7. Меню «Параметры» (Shell и редактор)](https://python-all.ru/3.6/library/idle.html#options-menu-shell-and-editor)3271        - [25.5.1.8. Меню «Окно» (Shell и редактор)](https://python-all.ru/3.6/library/idle.html#window-menu-shell-and-editor)3272        - [25.5.1.9. Меню «Справка» (Shell и редактор)](https://python-all.ru/3.6/library/idle.html#help-menu-shell-and-editor)3273        - [25.5.1.10. Контекстные меню](https://python-all.ru/3.6/library/idle.html#context-menus)3274      - [25.5.2. Редактирование и навигация](https://python-all.ru/3.6/library/idle.html#editing-and-navigation)32753276        - [25.5.2.1. Окна редактора](https://python-all.ru/3.6/library/idle.html#editor-windows)3277        - [25.5.2.2. Привязки клавиш](https://python-all.ru/3.6/library/idle.html#key-bindings)3278        - [25.5.2.3. Автоматические отступы](https://python-all.ru/3.6/library/idle.html#automatic-indentation)3279        - [25.5.2.4. Автодополнение](https://python-all.ru/3.6/library/idle.html#completions)3280        - [25.5.2.5. Подсказки вызовов](https://python-all.ru/3.6/library/idle.html#calltips)3281        - [25.5.2.6. Окно Python Shell](https://python-all.ru/3.6/library/idle.html#python-shell-window)3282        - [25.5.2.7. Цвета текста](https://python-all.ru/3.6/library/idle.html#text-colors)3283      - [25.5.3. Запуск и выполнение кода](https://python-all.ru/3.6/library/idle.html#startup-and-code-execution)32843285        - [25.5.3.1. Использование командной строки](https://python-all.ru/3.6/library/idle.html#command-line-usage)3286        - [25.5.3.2. Ошибка при запуске](https://python-all.ru/3.6/library/idle.html#startup-failure)3287        - [25.5.3.3. Выполнение пользовательского кода](https://python-all.ru/3.6/library/idle.html#running-user-code)3288        - [25.5.3.4. Вывод пользователя в Shell](https://python-all.ru/3.6/library/idle.html#user-output-in-shell)3289        - [25.5.3.5. Разработка приложений tkinter](https://python-all.ru/3.6/library/idle.html#developing-tkinter-applications)3290        - [25.5.3.6. Запуск без подпроцесса](https://python-all.ru/3.6/library/idle.html#running-without-a-subprocess)3291      - [25.5.4. Справка и настройки](https://python-all.ru/3.6/library/idle.html#help-and-preferences)32923293        - [25.5.4.1. Источники справки](https://python-all.ru/3.6/library/idle.html#help-sources)3294        - [25.5.4.2. Настройка параметров](https://python-all.ru/3.6/library/idle.html#setting-preferences)3295        - [25.5.4.3. IDLE в macOS](https://python-all.ru/3.6/library/idle.html#idle-on-macos)3296        - [25.5.4.4. Расширения](https://python-all.ru/3.6/library/idle.html#extensions)3297    - [25.6. Другие пакеты графического интерфейса пользователя](https://python-all.ru/3.6/library/othergui.html)3298  - [26. Инструменты разработки](https://python-all.ru/3.6/library/development.html)32993300    - [26.1. `typing` – Поддержка подсказок типов](https://python-all.ru/3.6/library/typing.html)33013302      - [26.1.1. Псевдонимы типов](https://python-all.ru/3.6/library/typing.html#type-aliases)3303      - [26.1.2. NewType](https://python-all.ru/3.6/library/typing.html#newtype)3304      - [26.1.3. Callable](https://python-all.ru/3.6/library/typing.html#callable)3305      - [26.1.4. Дженерики](https://python-all.ru/3.6/library/typing.html#generics)3306      - [26.1.5. Пользовательские дженерик-типы](https://python-all.ru/3.6/library/typing.html#user-defined-generic-types)3307      - [26.1.6. Тип `Any`](https://python-all.ru/3.6/library/typing.html#the-any-type)3308      - [26.1.7. Классы, функции и декораторы](https://python-all.ru/3.6/library/typing.html#classes-functions-and-decorators)3309    - [26.2. `pydoc` – Генератор документации и встроенная справочная система](https://python-all.ru/3.6/library/pydoc.html)3310    - [26.3. `doctest` – Тестирование интерактивных примеров Python](https://python-all.ru/3.6/library/doctest.html)33113312      - [26.3.1. Простое использование: проверка примеров в строках документации](https://python-all.ru/3.6/library/doctest.html#simple-usage-checking-examples-in-docstrings)3313      - [26.3.2. Простое использование: проверка примеров в текстовом файле](https://python-all.ru/3.6/library/doctest.html#simple-usage-checking-examples-in-a-text-file)3314      - [26.3.3. Принцип работы](https://python-all.ru/3.6/library/doctest.html#how-it-works)33153316        - [26.3.3.1. Какие строки документации проверяются?](https://python-all.ru/3.6/library/doctest.html#which-docstrings-are-examined)3317        - [26.3.3.2. Как распознаются примеры из строк документации?](https://python-all.ru/3.6/library/doctest.html#how-are-docstring-examples-recognized)3318        - [26.3.3.3. Каков контекст выполнения?](https://python-all.ru/3.6/library/doctest.html#what-s-the-execution-context)3319        - [26.3.3.4. Что насчёт исключений?](https://python-all.ru/3.6/library/doctest.html#what-about-exceptions)3320        - [26.3.3.5. Флаги опций](https://python-all.ru/3.6/library/doctest.html#option-flags)3321        - [26.3.3.6. Директивы](https://python-all.ru/3.6/library/doctest.html#directives)3322        - [26.3.3.7. Предупреждения](https://python-all.ru/3.6/library/doctest.html#warnings)3323      - [26.3.4. Базовый API](https://python-all.ru/3.6/library/doctest.html#basic-api)3324      - [26.3.5. API модуля unittest](https://python-all.ru/3.6/library/doctest.html#unittest-api)3325      - [26.3.6. Продвинутый API](https://python-all.ru/3.6/library/doctest.html#advanced-api)33263327        - [26.3.6.1. Объекты DocTest](https://python-all.ru/3.6/library/doctest.html#doctest-objects)3328        - [26.3.6.2. Объекты Example](https://python-all.ru/3.6/library/doctest.html#example-objects)3329        - [26.3.6.3. Объекты DocTestFinder](https://python-all.ru/3.6/library/doctest.html#doctestfinder-objects)3330        - [26.3.6.4. Объекты DocTestParser](https://python-all.ru/3.6/library/doctest.html#doctestparser-objects)3331        - [26.3.6.5. Объекты DocTestRunner](https://python-all.ru/3.6/library/doctest.html#doctestrunner-objects)3332        - [26.3.6.6. Объекты OutputChecker](https://python-all.ru/3.6/library/doctest.html#outputchecker-objects)3333      - [26.3.7. Отладка](https://python-all.ru/3.6/library/doctest.html#debugging)3334      - [26.3.8. Проповедь](https://python-all.ru/3.6/library/doctest.html#soapbox)3335    - [26.4. `unittest` – фреймворк для модульного тестирования](https://python-all.ru/3.6/library/unittest.html)33363337      - [26.4.1. Простой пример](https://python-all.ru/3.6/library/unittest.html#basic-example)3338      - [26.4.2. Интерфейс командной строки](https://python-all.ru/3.6/library/unittest.html#command-line-interface)33393340        - [26.4.2.1. Параметры командной строки](https://python-all.ru/3.6/library/unittest.html#command-line-options)3341      - [26.4.3. Обнаружение тестов](https://python-all.ru/3.6/library/unittest.html#test-discovery)3342      - [26.4.4. Организация тестового кода](https://python-all.ru/3.6/library/unittest.html#organizing-test-code)3343      - [26.4.5. Повторное использование старого тестового кода](https://python-all.ru/3.6/library/unittest.html#re-using-old-test-code)3344      - [26.4.6. Пропуск тестов и ожидаемые сбои](https://python-all.ru/3.6/library/unittest.html#skipping-tests-and-expected-failures)3345      - [26.4.7. Различение итераций тестов с помощью подтестов](https://python-all.ru/3.6/library/unittest.html#distinguishing-test-iterations-using-subtests)3346      - [26.4.8. Классы и функции](https://python-all.ru/3.6/library/unittest.html#classes-and-functions)33473348        - [26.4.8.1. Тестовые случаи](https://python-all.ru/3.6/library/unittest.html#test-cases)33493350          - [26.4.8.1.1. Устаревшие псевдонимы](https://python-all.ru/3.6/library/unittest.html#deprecated-aliases)3351        - [26.4.8.2. Группировка тестов](https://python-all.ru/3.6/library/unittest.html#grouping-tests)3352        - [26.4.8.3. Загрузка и запуск тестов](https://python-all.ru/3.6/library/unittest.html#loading-and-running-tests)33533354          - [26.4.8.3.1. Протокол load\_tests](https://python-all.ru/3.6/library/unittest.html#load-tests-protocol)3355      - [26.4.9. Фикстуры классов и модулей](https://python-all.ru/3.6/library/unittest.html#class-and-module-fixtures)33563357        - [26.4.9.1. setUpClass и tearDownClass](https://python-all.ru/3.6/library/unittest.html#setupclass-and-teardownclass)3358        - [26.4.9.2. setUpModule и tearDownModule](https://python-all.ru/3.6/library/unittest.html#setupmodule-and-teardownmodule)3359      - [26.4.10. Обработка сигналов](https://python-all.ru/3.6/library/unittest.html#signal-handling)3360    - [26.5. `unittest.mock` – библиотека mock-объектов](https://python-all.ru/3.6/library/unittest.mock.html)33613362      - [26.5.1. Краткое руководство](https://python-all.ru/3.6/library/unittest.mock.html#quick-guide)3363      - [26.5.2. Класс Mock](https://python-all.ru/3.6/library/unittest.mock.html#the-mock-class)33643365        - [26.5.2.1. Вызов](https://python-all.ru/3.6/library/unittest.mock.html#calling)3366        - [26.5.2.2. Удаление атрибутов](https://python-all.ru/3.6/library/unittest.mock.html#deleting-attributes)3367        - [26.5.2.3. Имена Mock и атрибут name](https://python-all.ru/3.6/library/unittest.mock.html#mock-names-and-the-name-attribute)3368        - [26.5.2.4. Присоединение макетов как атрибутов](https://python-all.ru/3.6/library/unittest.mock.html#attaching-mocks-as-attributes)3369      - [26.5.3. Патчеры](https://python-all.ru/3.6/library/unittest.mock.html#the-patchers)33703371        - [26.5.3.1. patch](https://python-all.ru/3.6/library/unittest.mock.html#patch)3372        - [26.5.3.2. patch.object](https://python-all.ru/3.6/library/unittest.mock.html#patch-object)3373        - [26.5.3.3. patch.dict](https://python-all.ru/3.6/library/unittest.mock.html#patch-dict)3374        - [26.5.3.4. patch.multiple](https://python-all.ru/3.6/library/unittest.mock.html#patch-multiple)3375        - [26.5.3.5. Методы patch: start и stop](https://python-all.ru/3.6/library/unittest.mock.html#patch-methods-start-and-stop)3376        - [26.5.3.6. patch builtins](https://python-all.ru/3.6/library/unittest.mock.html#patch-builtins)3377        - [26.5.3.7. TEST\_PREFIX](https://python-all.ru/3.6/library/unittest.mock.html#test-prefix)3378        - [26.5.3.8. Вложение декораторов patch](https://python-all.ru/3.6/library/unittest.mock.html#nesting-patch-decorators)3379        - [26.5.3.9. Где применять patch](https://python-all.ru/3.6/library/unittest.mock.html#where-to-patch)3380        - [26.5.3.10. Патчинг дескрипторов и прокси-объектов](https://python-all.ru/3.6/library/unittest.mock.html#patching-descriptors-and-proxy-objects)3381      - [26.5.4. MagicMock и поддержка магических методов](https://python-all.ru/3.6/library/unittest.mock.html#magicmock-and-magic-method-support)33823383        - [26.5.4.1. Мокирование магических методов](https://python-all.ru/3.6/library/unittest.mock.html#mocking-magic-methods)3384        - [26.5.4.2. Magic Mock](https://python-all.ru/3.6/library/unittest.mock.html#magic-mock)3385      - [26.5.5. Вспомогательные средства](https://python-all.ru/3.6/library/unittest.mock.html#helpers)33863387        - [26.5.5.1. sentinel](https://python-all.ru/3.6/library/unittest.mock.html#sentinel)3388        - [26.5.5.2. DEFAULT](https://python-all.ru/3.6/library/unittest.mock.html#default)3389        - [26.5.5.3. call](https://python-all.ru/3.6/library/unittest.mock.html#call)3390        - [26.5.5.4. create\_autospec](https://python-all.ru/3.6/library/unittest.mock.html#create-autospec)3391        - [26.5.5.5. ANY](https://python-all.ru/3.6/library/unittest.mock.html#any)3392        - [26.5.5.6. FILTER\_DIR](https://python-all.ru/3.6/library/unittest.mock.html#filter-dir)3393        - [26.5.5.7. mock\_open](https://python-all.ru/3.6/library/unittest.mock.html#mock-open)3394        - [26.5.5.8. Autospeccing](https://python-all.ru/3.6/library/unittest.mock.html#autospeccing)3395    - [26.6. `unittest.mock` – начало работы](https://python-all.ru/3.6/library/unittest.mock-examples.html)33963397      - [26.6.1. Использование Mock](https://python-all.ru/3.6/library/unittest.mock-examples.html#using-mock)33983399        - [26.6.1.1. Подмена методов в Mock](https://python-all.ru/3.6/library/unittest.mock-examples.html#mock-patching-methods)3400        - [26.6.1.2. Mock для вызовов методов объекта](https://python-all.ru/3.6/library/unittest.mock-examples.html#mock-for-method-calls-on-an-object)3401        - [26.6.1.3. Мокирование классов](https://python-all.ru/3.6/library/unittest.mock-examples.html#mocking-classes)3402        - [26.6.1.4. Именование моков](https://python-all.ru/3.6/library/unittest.mock-examples.html#naming-your-mocks)3403        - [26.6.1.5. Отслеживание всех вызовов](https://python-all.ru/3.6/library/unittest.mock-examples.html#tracking-all-calls)3404        - [26.6.1.6. Установка возвращаемых значений и атрибутов](https://python-all.ru/3.6/library/unittest.mock-examples.html#setting-return-values-and-attributes)3405        - [26.6.1.7. Генерация исключений с помощью моков](https://python-all.ru/3.6/library/unittest.mock-examples.html#raising-exceptions-with-mocks)3406        - [26.6.1.8. Функции и итераторы побочных эффектов](https://python-all.ru/3.6/library/unittest.mock-examples.html#side-effect-functions-and-iterables)3407        - [26.6.1.9. Создание Mock на основе существующего объекта](https://python-all.ru/3.6/library/unittest.mock-examples.html#creating-a-mock-from-an-existing-object)3408      - [26.6.2. Декораторы patch](https://python-all.ru/3.6/library/unittest.mock-examples.html#patch-decorators)3409      - [26.6.3. Дополнительные примеры](https://python-all.ru/3.6/library/unittest.mock-examples.html#further-examples)34103411        - [26.6.3.1. Мокирование цепочек вызовов](https://python-all.ru/3.6/library/unittest.mock-examples.html#mocking-chained-calls)3412        - [26.6.3.2. Частичное мокирование](https://python-all.ru/3.6/library/unittest.mock-examples.html#partial-mocking)3413        - [26.6.3.3. Мокирование метода-генератора](https://python-all.ru/3.6/library/unittest.mock-examples.html#mocking-a-generator-method)3414        - [26.6.3.4. Применение одного патча ко всем тестовым методам](https://python-all.ru/3.6/library/unittest.mock-examples.html#applying-the-same-patch-to-every-test-method)3415        - [26.6.3.5. Мокирование несвязанных методов](https://python-all.ru/3.6/library/unittest.mock-examples.html#mocking-unbound-methods)3416        - [26.6.3.6. Проверка множественных вызовов с помощью mock](https://python-all.ru/3.6/library/unittest.mock-examples.html#checking-multiple-calls-with-mock)3417        - [26.6.3.7. Работа с изменяемыми аргументами](https://python-all.ru/3.6/library/unittest.mock-examples.html#coping-with-mutable-arguments)3418        - [26.6.3.8. Вложенные патчи](https://python-all.ru/3.6/library/unittest.mock-examples.html#nesting-patches)3419        - [26.6.3.9. Мокирование словаря с помощью MagicMock](https://python-all.ru/3.6/library/unittest.mock-examples.html#mocking-a-dictionary-with-magicmock)3420        - [26.6.3.10. Моки подклассов и их атрибутов](https://python-all.ru/3.6/library/unittest.mock-examples.html#mock-subclasses-and-their-attributes)3421        - [26.6.3.11. Мокирование импортов с помощью patch.dict](https://python-all.ru/3.6/library/unittest.mock-examples.html#mocking-imports-with-patch-dict)3422        - [26.6.3.12. Отслеживание порядка вызовов и менее многословные проверки вызовов](https://python-all.ru/3.6/library/unittest.mock-examples.html#tracking-order-of-calls-and-less-verbose-call-assertions)3423        - [26.6.3.13. Более сложное сопоставление аргументов](https://python-all.ru/3.6/library/unittest.mock-examples.html#more-complex-argument-matching)3424    - [26.7. 2to3 – автоматизированная трансляция кода Python 2 в Python 3](https://python-all.ru/3.6/library/2to3.html)34253426      - [26.7.1. Использование 2to3](https://python-all.ru/3.6/library/2to3.html#using-2to3)3427      - [26.7.2. Фиксаторы](https://python-all.ru/3.6/library/2to3.html#fixers)3428      - [26.7.3. `lib2to3` – библиотека 2to3](https://python-all.ru/3.6/library/2to3.html#module-lib2to3)3429    - [26.8. `test` – Пакет регрессионного тестирования для Python](https://python-all.ru/3.6/library/test.html)34303431      - [26.8.1. Написание модульных тестов для пакета `test`](https://python-all.ru/3.6/library/test.html#writing-unit-tests-for-the-test-package)3432      - [26.8.2. Запуск тестов через интерфейс командной строки](https://python-all.ru/3.6/library/test.html#running-tests-using-the-command-line-interface)3433    - [26.9. `test.support` – Утилиты для набора тестов Python](https://python-all.ru/3.6/library/test.html#module-test.support)3434  - [27. Отладка и профилирование](https://python-all.ru/3.6/library/debug.html)34353436    - [27.1. `bdb` – Фреймворк отладчика](https://python-all.ru/3.6/library/bdb.html)3437    - [27.2. `faulthandler` – Дамп трассировки Python](https://python-all.ru/3.6/library/faulthandler.html)34383439      - [27.2.1. Дамп трассировки](https://python-all.ru/3.6/library/faulthandler.html#dumping-the-traceback)3440      - [27.2.2. Состояние обработчика сбоев](https://python-all.ru/3.6/library/faulthandler.html#fault-handler-state)3441      - [27.2.3. Дамп трассировок после тайм-аута](https://python-all.ru/3.6/library/faulthandler.html#dumping-the-tracebacks-after-a-timeout)3442      - [27.2.4. Дамп трассировки по пользовательскому сигналу](https://python-all.ru/3.6/library/faulthandler.html#dumping-the-traceback-on-a-user-signal)3443      - [27.2.5. Проблема с файловыми дескрипторами](https://python-all.ru/3.6/library/faulthandler.html#issue-with-file-descriptors)3444      - [27.2.6. Пример](https://python-all.ru/3.6/library/faulthandler.html#example)3445    - [27.3. `pdb` – Отладчик Python](https://python-all.ru/3.6/library/pdb.html)34463447      - [27.3.1. Команды отладчика](https://python-all.ru/3.6/library/pdb.html#debugger-commands)3448    - [27.4. Профилировщики Python](https://python-all.ru/3.6/library/profile.html)34493450      - [27.4.1. Введение в профилировщики](https://python-all.ru/3.6/library/profile.html#introduction-to-the-profilers)3451      - [27.4.2. Краткое руководство пользователя](https://python-all.ru/3.6/library/profile.html#instant-user-s-manual)3452      - [27.4.3. Справочник по модулям `profile` и `cProfile`](https://python-all.ru/3.6/library/profile.html#module-cProfile)3453      - [27.4.4. Класс `Stats`](https://python-all.ru/3.6/library/profile.html#the-stats-class)3454      - [27.4.5. Что такое детерминированное профилирование?](https://python-all.ru/3.6/library/profile.html#what-is-deterministic-profiling)3455      - [27.4.6. Ограничения](https://python-all.ru/3.6/library/profile.html#limitations)3456      - [27.4.7. Калибровка](https://python-all.ru/3.6/library/profile.html#calibration)3457      - [27.4.8. Использование пользовательского таймера](https://python-all.ru/3.6/library/profile.html#using-a-custom-timer)3458    - [27.5. `timeit` – Измерение времени выполнения небольших фрагментов кода](https://python-all.ru/3.6/library/timeit.html)34593460      - [27.5.1. Основные примеры](https://python-all.ru/3.6/library/timeit.html#basic-examples)3461      - [27.5.2. Интерфейс Python](https://python-all.ru/3.6/library/timeit.html#python-interface)3462      - [27.5.3. Интерфейс командной строки](https://python-all.ru/3.6/library/timeit.html#command-line-interface)3463      - [27.5.4. Примеры](https://python-all.ru/3.6/library/timeit.html#examples)3464    - [27.6. `trace` – Трассировка или отслеживание выполнения инструкций Python](https://python-all.ru/3.6/library/trace.html)34653466      - [27.6.1. Использование командной строки](https://python-all.ru/3.6/library/trace.html#command-line-usage)34673468        - [27.6.1.1. Основные параметры](https://python-all.ru/3.6/library/trace.html#main-options)3469        - [27.6.1.2. Модификаторы](https://python-all.ru/3.6/library/trace.html#modifiers)3470        - [27.6.1.3. Фильтры](https://python-all.ru/3.6/library/trace.html#filters)3471      - [27.6.2. Программный интерфейс](https://python-all.ru/3.6/library/trace.html#programmatic-interface)3472    - [27.7. `tracemalloc` – Трассировка выделений памяти](https://python-all.ru/3.6/library/tracemalloc.html)34733474      - [27.7.1. Примеры](https://python-all.ru/3.6/library/tracemalloc.html#examples)34753476        - [27.7.1.1. Отображение топ-10](https://python-all.ru/3.6/library/tracemalloc.html#display-the-top-10)3477        - [27.7.1.2. Вычисление различий](https://python-all.ru/3.6/library/tracemalloc.html#compute-differences)3478        - [27.7.1.3. Получение трассировки блока памяти](https://python-all.ru/3.6/library/tracemalloc.html#get-the-traceback-of-a-memory-block)3479        - [27.7.1.4. Pretty top](https://python-all.ru/3.6/library/tracemalloc.html#pretty-top)3480      - [27.7.2. API](https://python-all.ru/3.6/library/tracemalloc.html#api)34813482        - [27.7.2.1. Функции](https://python-all.ru/3.6/library/tracemalloc.html#functions)3483        - [27.7.2.2. DomainFilter](https://python-all.ru/3.6/library/tracemalloc.html#domainfilter)3484        - [27.7.2.3. Filter](https://python-all.ru/3.6/library/tracemalloc.html#filter)3485        - [27.7.2.4. Frame](https://python-all.ru/3.6/library/tracemalloc.html#frame)3486        - [27.7.2.5. Snapshot](https://python-all.ru/3.6/library/tracemalloc.html#snapshot)3487        - [27.7.2.6. Statistic](https://python-all.ru/3.6/library/tracemalloc.html#statistic)3488        - [27.7.2.7. StatisticDiff](https://python-all.ru/3.6/library/tracemalloc.html#statisticdiff)3489        - [27.7.2.8. Trace](https://python-all.ru/3.6/library/tracemalloc.html#trace)3490        - [27.7.2.9. Traceback](https://python-all.ru/3.6/library/tracemalloc.html#traceback)3491  - [28. Упаковка и распространение программного обеспечения](https://python-all.ru/3.6/library/distribution.html)34923493    - [28.1. `distutils` – Сборка и установка модулей Python](https://python-all.ru/3.6/library/distutils.html)3494    - [28.2. `ensurepip` – Загрузка установщика `pip`](https://python-all.ru/3.6/library/ensurepip.html)34953496      - [28.2.1. Интерфейс командной строки](https://python-all.ru/3.6/library/ensurepip.html#command-line-interface)3497      - [28.2.2. API модуля](https://python-all.ru/3.6/library/ensurepip.html#module-api)3498    - [28.3. `venv` – Создание виртуальных окружений](https://python-all.ru/3.6/library/venv.html)34993500      - [28.3.1. Создание виртуальных окружений](https://python-all.ru/3.6/library/venv.html#creating-virtual-environments)3501      - [28.3.2. API](https://python-all.ru/3.6/library/venv.html#api)3502      - [28.3.3. Пример расширения `EnvBuilder`](https://python-all.ru/3.6/library/venv.html#an-example-of-extending-envbuilder)3503    - [28.4. `zipapp` – Управление исполняемыми zip-архивами Python](https://python-all.ru/3.6/library/zipapp.html)35043505      - [28.4.1. Простой пример](https://python-all.ru/3.6/library/zipapp.html#basic-example)3506      - [28.4.2. Интерфейс командной строки](https://python-all.ru/3.6/library/zipapp.html#command-line-interface)3507      - [28.4.3. Python API](https://python-all.ru/3.6/library/zipapp.html#python-api)3508      - [28.4.4. Примеры](https://python-all.ru/3.6/library/zipapp.html#examples)3509      - [28.4.5. Указание интерпретатора](https://python-all.ru/3.6/library/zipapp.html#specifying-the-interpreter)3510      - [28.4.6. Создание автономных приложений с помощью zipapp](https://python-all.ru/3.6/library/zipapp.html#creating-standalone-applications-with-zipapp)35113512        - [28.4.6.1. Создание исполняемого файла Windows](https://python-all.ru/3.6/library/zipapp.html#making-a-windows-executable)3513        - [28.4.6.2. Предостережения](https://python-all.ru/3.6/library/zipapp.html#caveats)3514      - [28.4.7. Формат архива приложений Python Zip](https://python-all.ru/3.6/library/zipapp.html#the-python-zip-application-archive-format)3515  - [29. Службы времени выполнения Python](https://python-all.ru/3.6/library/python.html)35163517    - [29.1. `sys` – Системно-зависимые параметры и функции](https://python-all.ru/3.6/library/sys.html)3518    - [29.2. `sysconfig` – Предоставление доступа к информации о конфигурации Python](https://python-all.ru/3.6/library/sysconfig.html)35193520      - [29.2.1. Переменные конфигурации](https://python-all.ru/3.6/library/sysconfig.html#configuration-variables)3521      - [29.2.2. Пути установки](https://python-all.ru/3.6/library/sysconfig.html#installation-paths)3522      - [29.2.3. Другие функции](https://python-all.ru/3.6/library/sysconfig.html#other-functions)3523      - [29.2.4. Использование `sysconfig` в качестве скрипта](https://python-all.ru/3.6/library/sysconfig.html#using-sysconfig-as-a-script)3524    - [29.3. `builtins` – Встроенные объекты](https://python-all.ru/3.6/library/builtins.html)3525    - [29.4. `__main__` – Окружение скрипта верхнего уровня](https://python-all.ru/3.6/library/__main__.html)3526    - [29.5. `warnings` – Управление предупреждениями](https://python-all.ru/3.6/library/warnings.html)35273528      - [29.5.1. Категории предупреждений](https://python-all.ru/3.6/library/warnings.html#warning-categories)3529      - [29.5.2. Фильтр предупреждений](https://python-all.ru/3.6/library/warnings.html#the-warnings-filter)35303531        - [29.5.2.1. Фильтры предупреждений по умолчанию](https://python-all.ru/3.6/library/warnings.html#default-warning-filters)3532      - [29.5.3. Временное подавление предупреждений](https://python-all.ru/3.6/library/warnings.html#temporarily-suppressing-warnings)3533      - [29.5.4. Тестирование предупреждений](https://python-all.ru/3.6/library/warnings.html#testing-warnings)3534      - [29.5.5. Обновление кода для новых версий Python](https://python-all.ru/3.6/library/warnings.html#updating-code-for-new-versions-of-python)3535      - [29.5.6. Доступные функции](https://python-all.ru/3.6/library/warnings.html#available-functions)3536      - [29.5.7. Доступные менеджеры контекста](https://python-all.ru/3.6/library/warnings.html#available-context-managers)3537    - [29.6. `contextlib` – Утилиты для контекстов оператора `with`](https://python-all.ru/3.6/library/contextlib.html)35383539      - [29.6.1. Утилиты](https://python-all.ru/3.6/library/contextlib.html#utilities)3540      - [29.6.2. Примеры и рецепты](https://python-all.ru/3.6/library/contextlib.html#examples-and-recipes)35413542        - [29.6.2.1. Поддержка переменного числа менеджеров контекста](https://python-all.ru/3.6/library/contextlib.html#supporting-a-variable-number-of-context-managers)3543        - [29.6.2.2. Упрощение поддержки одного необязательного менеджера контекста](https://python-all.ru/3.6/library/contextlib.html#simplifying-support-for-single-optional-context-managers)3544        - [29.6.2.3. Перехват исключений из методов `__enter__`](https://python-all.ru/3.6/library/contextlib.html#catching-exceptions-from-enter-methods)3545        - [29.6.2.4. Очистка в реализации `__enter__`](https://python-all.ru/3.6/library/contextlib.html#cleaning-up-in-an-enter-implementation)3546        - [29.6.2.5. Замена любого использования `try-finally` и флаговых переменных](https://python-all.ru/3.6/library/contextlib.html#replacing-any-use-of-try-finally-and-flag-variables)3547        - [29.6.2.6. Использование менеджера контекста в качестве декоратора функции](https://python-all.ru/3.6/library/contextlib.html#using-a-context-manager-as-a-function-decorator)3548      - [29.6.3. Менеджеры контекста однократного использования, многократного использования и повторно входимые](https://python-all.ru/3.6/library/contextlib.html#single-use-reusable-and-reentrant-context-managers)35493550        - [29.6.3.1. Повторно входимые менеджеры контекста](https://python-all.ru/3.6/library/contextlib.html#reentrant-context-managers)3551        - [29.6.3.2. Менеджеры контекста многократного использования](https://python-all.ru/3.6/library/contextlib.html#reusable-context-managers)3552    - [29.7. `abc` – Абстрактные базовые классы](https://python-all.ru/3.6/library/abc.html)3553    - [29.8. `atexit` – Обработчики выхода](https://python-all.ru/3.6/library/atexit.html)35543555      - [29.8.1. Пример использования `atexit`](https://python-all.ru/3.6/library/atexit.html#atexit-example)3556    - [29.9. `traceback` – Вывод или получение трассировки стека](https://python-all.ru/3.6/library/traceback.html)35573558      - [29.9.1. Объекты `TracebackException`](https://python-all.ru/3.6/library/traceback.html#tracebackexception-objects)3559      - [29.9.2. Объекты `StackSummary`](https://python-all.ru/3.6/library/traceback.html#stacksummary-objects)3560      - [29.9.3. Объекты `FrameSummary`](https://python-all.ru/3.6/library/traceback.html#framesummary-objects)3561      - [29.9.4. Примеры трассировки](https://python-all.ru/3.6/library/traceback.html#traceback-examples)3562    - [29.10. `__future__` – Определения операторов future](https://python-all.ru/3.6/library/__future__.html)3563    - [29.11. `gc` – Интерфейс сборщика мусора](https://python-all.ru/3.6/library/gc.html)3564    - [29.12. `inspect` – Инспекция активных объектов](https://python-all.ru/3.6/library/inspect.html)35653566      - [29.12.1. Типы и члены](https://python-all.ru/3.6/library/inspect.html#types-and-members)3567      - [29.12.2. Получение исходного кода](https://python-all.ru/3.6/library/inspect.html#retrieving-source-code)3568      - [29.12.3. Интроспекция вызываемых объектов с помощью объекта Signature](https://python-all.ru/3.6/library/inspect.html#introspecting-callables-with-the-signature-object)3569      - [29.12.4. Классы и функции](https://python-all.ru/3.6/library/inspect.html#classes-and-functions)3570      - [29.12.5. Стек интерпретатора](https://python-all.ru/3.6/library/inspect.html#the-interpreter-stack)3571      - [29.12.6. Статическое получение атрибутов](https://python-all.ru/3.6/library/inspect.html#fetching-attributes-statically)3572      - [29.12.7. Текущее состояние генераторов и корутин](https://python-all.ru/3.6/library/inspect.html#current-state-of-generators-and-coroutines)3573      - [29.12.8. Битовые флаги объектов кода](https://python-all.ru/3.6/library/inspect.html#code-objects-bit-flags)3574      - [29.12.9. Интерфейс командной строки](https://python-all.ru/3.6/library/inspect.html#command-line-interface)3575    - [29.13. `site` – Хук конфигурации для конкретного сайта](https://python-all.ru/3.6/library/site.html)35763577      - [29.13.1. Конфигурация Readline](https://python-all.ru/3.6/library/site.html#readline-configuration)3578      - [29.13.2. Содержимое модуля](https://python-all.ru/3.6/library/site.html#module-contents)3579    - [29.14. `fpectl` – Управление исключениями с плавающей точкой](https://python-all.ru/3.6/library/fpectl.html)35803581      - [29.14.1. Пример](https://python-all.ru/3.6/library/fpectl.html#example)3582      - [29.14.2. Ограничения и прочие замечания](https://python-all.ru/3.6/library/fpectl.html#limitations-and-other-considerations)3583  - [30. Пользовательские интерпретаторы Python](https://python-all.ru/3.6/library/custominterp.html)35843585    - [30.1. `code` – Базовые классы интерпретатора](https://python-all.ru/3.6/library/code.html)35863587      - [30.1.1. Объекты интерактивного интерпретатора](https://python-all.ru/3.6/library/code.html#interactive-interpreter-objects)3588      - [30.1.2. Объекты интерактивной консоли](https://python-all.ru/3.6/library/code.html#interactive-console-objects)3589    - [30.2. `codeop` – Компиляция кода Python](https://python-all.ru/3.6/library/codeop.html)3590  - [31. Импорт модулей](https://python-all.ru/3.6/library/modules.html)35913592    - [31.1. `zipimport` – Импорт модулей из Zip-архивов](https://python-all.ru/3.6/library/zipimport.html)35933594      - [31.1.1. Объекты zipimporter](https://python-all.ru/3.6/library/zipimport.html#zipimporter-objects)3595      - [31.1.2. Примеры](https://python-all.ru/3.6/library/zipimport.html#examples)3596    - [31.2. `pkgutil` – Утилита расширения пакетов](https://python-all.ru/3.6/library/pkgutil.html)3597    - [31.3. `modulefinder` – Поиск модулей, используемых скриптом](https://python-all.ru/3.6/library/modulefinder.html)35983599      - [31.3.1. Пример использования `ModuleFinder`](https://python-all.ru/3.6/library/modulefinder.html#example-usage-of-modulefinder)3600    - [31.4. `runpy` – Поиск и выполнение модулей Python](https://python-all.ru/3.6/library/runpy.html)3601    - [31.5. `importlib` – Реализация `import`](https://python-all.ru/3.6/library/importlib.html)36023603      - [31.5.1. Введение](https://python-all.ru/3.6/library/importlib.html#introduction)3604      - [31.5.2. Функции](https://python-all.ru/3.6/library/importlib.html#functions)3605      - [31.5.3. `importlib.abc` – Абстрактные базовые классы, связанные с импортом](https://python-all.ru/3.6/library/importlib.html#module-importlib.abc)3606      - [31.5.4. `importlib.machinery` – Импортёры и перехватчики путей](https://python-all.ru/3.6/library/importlib.html#module-importlib.machinery)3607      - [31.5.5. `importlib.util` – Вспомогательный код для импортёров](https://python-all.ru/3.6/library/importlib.html#module-importlib.util)3608      - [31.5.6. Примеры](https://python-all.ru/3.6/library/importlib.html#examples)36093610        - [31.5.6.1. Программный импорт](https://python-all.ru/3.6/library/importlib.html#importing-programmatically)3611        - [31.5.6.2. Проверка возможности импорта модуля](https://python-all.ru/3.6/library/importlib.html#checking-if-a-module-can-be-imported)3612        - [31.5.6.3. Импорт исходного файла напрямую](https://python-all.ru/3.6/library/importlib.html#importing-a-source-file-directly)3613        - [31.5.6.4. Настройка импортёра](https://python-all.ru/3.6/library/importlib.html#setting-up-an-importer)3614        - [31.5.6.5. Аппроксимация `importlib.import_module()`](https://python-all.ru/3.6/library/importlib.html#approximating-importlib-import-module)3615  - [32. Службы языка Python](https://python-all.ru/3.6/library/language.html)36163617    - [32.1. `parser` – Доступ к деревьям разбора Python](https://python-all.ru/3.6/library/parser.html)36183619      - [32.1.1. Создание объектов ST](https://python-all.ru/3.6/library/parser.html#creating-st-objects)3620      - [32.1.2. Преобразование объектов ST](https://python-all.ru/3.6/library/parser.html#converting-st-objects)3621      - [32.1.3. Запросы к объектам ST](https://python-all.ru/3.6/library/parser.html#queries-on-st-objects)3622      - [32.1.4. Исключения и обработка ошибок](https://python-all.ru/3.6/library/parser.html#exceptions-and-error-handling)3623      - [32.1.5. Объекты ST](https://python-all.ru/3.6/library/parser.html#st-objects)3624      - [32.1.6. Пример: эмуляция `compile()`](https://python-all.ru/3.6/library/parser.html#example-emulation-of-compile)3625    - [32.2. `ast` – Абстрактные синтаксические деревья](https://python-all.ru/3.6/library/ast.html)36263627      - [32.2.1. Классы узлов](https://python-all.ru/3.6/library/ast.html#node-classes)3628      - [32.2.2. Абстрактная грамматика](https://python-all.ru/3.6/library/ast.html#abstract-grammar)3629      - [32.2.3. Вспомогательные функции `ast`](https://python-all.ru/3.6/library/ast.html#ast-helpers)3630    - [32.3. `symtable` – Доступ к таблицам символов компилятора](https://python-all.ru/3.6/library/symtable.html)36313632      - [32.3.1. Генерация таблиц символов](https://python-all.ru/3.6/library/symtable.html#generating-symbol-tables)3633      - [32.3.2. Анализ таблиц символов](https://python-all.ru/3.6/library/symtable.html#examining-symbol-tables)3634    - [32.4. `symbol` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.6/library/symbol.html)3635    - [32.5. `token` – Константы, используемые с деревьями разбора Python](https://python-all.ru/3.6/library/token.html)3636    - [32.6. `keyword` – Проверка ключевых слов Python](https://python-all.ru/3.6/library/keyword.html)3637    - [32.7. `tokenize` – Токенизатор исходного кода Python](https://python-all.ru/3.6/library/tokenize.html)36383639      - [32.7.1. Токенизация ввода](https://python-all.ru/3.6/library/tokenize.html#tokenizing-input)3640      - [32.7.2. Использование из командной строки](https://python-all.ru/3.6/library/tokenize.html#command-line-usage)3641      - [32.7.3. Примеры](https://python-all.ru/3.6/library/tokenize.html#examples)3642    - [32.8. `tabnanny` – Обнаружение неоднозначных отступов](https://python-all.ru/3.6/library/tabnanny.html)3643    - [32.9. `pyclbr` – Поддержка браузера классов Python](https://python-all.ru/3.6/library/pyclbr.html)36443645      - [32.9.1. Объекты классов](https://python-all.ru/3.6/library/pyclbr.html#class-objects)3646      - [32.9.2. Объекты функций](https://python-all.ru/3.6/library/pyclbr.html#function-objects)3647    - [32.10. `py_compile` – Компиляция исходных файлов Python](https://python-all.ru/3.6/library/py_compile.html)3648    - [32.11. `compileall` – Байт-компиляция библиотек Python](https://python-all.ru/3.6/library/compileall.html)36493650      - [32.11.1. Использование командной строки](https://python-all.ru/3.6/library/compileall.html#command-line-use)3651      - [32.11.2. Публичные функции](https://python-all.ru/3.6/library/compileall.html#public-functions)3652    - [32.12. `dis` – Дизассемблер байт-кода Python](https://python-all.ru/3.6/library/dis.html)36533654      - [32.12.1. Анализ байт-кода](https://python-all.ru/3.6/library/dis.html#bytecode-analysis)3655      - [32.12.2. Функции анализа](https://python-all.ru/3.6/library/dis.html#analysis-functions)3656      - [32.12.3. Инструкции байт-кода Python](https://python-all.ru/3.6/library/dis.html#python-bytecode-instructions)3657      - [32.12.4. Коллекции опкодов](https://python-all.ru/3.6/library/dis.html#opcode-collections)3658    - [32.13. `pickletools` – Инструменты для разработчиков pickle](https://python-all.ru/3.6/library/pickletools.html)36593660      - [32.13.1. Использование командной строки](https://python-all.ru/3.6/library/pickletools.html#command-line-usage)36613662        - [32.13.1.1. Параметры командной строки](https://python-all.ru/3.6/library/pickletools.html#command-line-options)3663      - [32.13.2. Программный интерфейс](https://python-all.ru/3.6/library/pickletools.html#programmatic-interface)3664  - [33. Прочие службы](https://python-all.ru/3.6/library/misc.html)36653666    - [33.1. `formatter` – Общее форматирование вывода](https://python-all.ru/3.6/library/formatter.html)36673668      - [33.1.1. Интерфейс форматировщика](https://python-all.ru/3.6/library/formatter.html#the-formatter-interface)3669      - [33.1.2. Реализации форматировщиков](https://python-all.ru/3.6/library/formatter.html#formatter-implementations)3670      - [33.1.3. Интерфейс записи](https://python-all.ru/3.6/library/formatter.html#the-writer-interface)3671      - [33.1.4. Реализации записывающих объектов](https://python-all.ru/3.6/library/formatter.html#writer-implementations)3672  - [34. Службы для MS Windows](https://python-all.ru/3.6/library/windows.html)36733674    - [34.1. `msilib` – Чтение и запись файлов установщика Microsoft](https://python-all.ru/3.6/library/msilib.html)36753676      - [34.1.1. Объекты базы данных](https://python-all.ru/3.6/library/msilib.html#database-objects)3677      - [34.1.2. Объекты представлений](https://python-all.ru/3.6/library/msilib.html#view-objects)3678      - [34.1.3. Объекты сводной информации](https://python-all.ru/3.6/library/msilib.html#summary-information-objects)3679      - [34.1.4. Объекты записей](https://python-all.ru/3.6/library/msilib.html#record-objects)3680      - [34.1.5. Ошибки](https://python-all.ru/3.6/library/msilib.html#errors)3681      - [34.1.6. Объекты CAB](https://python-all.ru/3.6/library/msilib.html#cab-objects)3682      - [34.1.7. Объекты каталогов](https://python-all.ru/3.6/library/msilib.html#directory-objects)3683      - [34.1.8. Возможности](https://python-all.ru/3.6/library/msilib.html#features)3684      - [34.1.9. Классы GUI](https://python-all.ru/3.6/library/msilib.html#gui-classes)3685      - [34.1.10. Предварительно вычисленные таблицы](https://python-all.ru/3.6/library/msilib.html#precomputed-tables)3686    - [34.2. `msvcrt` – Полезные процедуры из среды выполнения MS VC++](https://python-all.ru/3.6/library/msvcrt.html)36873688      - [34.2.1. Операции с файлами](https://python-all.ru/3.6/library/msvcrt.html#file-operations)3689      - [34.2.2. Консольный ввод/вывод](https://python-all.ru/3.6/library/msvcrt.html#console-i-o)3690      - [34.2.3. Прочие функции](https://python-all.ru/3.6/library/msvcrt.html#other-functions)3691    - [34.3. `winreg` – Доступ к реестру Windows](https://python-all.ru/3.6/library/winreg.html)36923693      - [34.3.1. Функции](https://python-all.ru/3.6/library/winreg.html#functions)3694      - [34.3.2. Константы](https://python-all.ru/3.6/library/winreg.html#constants)36953696        - [34.3.2.1. Константы HKEY\_\*](https://python-all.ru/3.6/library/winreg.html#hkey-constants)3697        - [34.3.2.2. Права доступа](https://python-all.ru/3.6/library/winreg.html#access-rights)36983699          - [34.3.2.2.1. Особенности для 64-разрядных систем](https://python-all.ru/3.6/library/winreg.html#bit-specific)3700        - [34.3.2.3. Типы значений](https://python-all.ru/3.6/library/winreg.html#value-types)3701      - [34.3.3. Объекты дескрипторов реестра](https://python-all.ru/3.6/library/winreg.html#registry-handle-objects)3702    - [34.4. `winsound` – Интерфейс воспроизведения звука для Windows](https://python-all.ru/3.6/library/winsound.html)3703  - [35. Специфичные для Unix службы](https://python-all.ru/3.6/library/unix.html)37043705    - [35.1. `posix` – Наиболее распространённые системные вызовы POSIX](https://python-all.ru/3.6/library/posix.html)37063707      - [35.1.1. Поддержка больших файлов](https://python-all.ru/3.6/library/posix.html#large-file-support)3708      - [35.1.2. Примечательные возможности модуля](https://python-all.ru/3.6/library/posix.html#notable-module-contents)3709    - [35.2. `pwd` – База данных паролей](https://python-all.ru/3.6/library/pwd.html)3710    - [35.3. `spwd` – База данных теневых паролей](https://python-all.ru/3.6/library/spwd.html)3711    - [35.4. `grp` – База данных групп](https://python-all.ru/3.6/library/grp.html)3712    - [35.5. `crypt` – Функция проверки паролей Unix](https://python-all.ru/3.6/library/crypt.html)37133714      - [35.5.1. Методы хеширования](https://python-all.ru/3.6/library/crypt.html#hashing-methods)3715      - [35.5.2. Атрибуты модуля](https://python-all.ru/3.6/library/crypt.html#module-attributes)3716      - [35.5.3. Функции модуля](https://python-all.ru/3.6/library/crypt.html#module-functions)3717      - [35.5.4. Примеры](https://python-all.ru/3.6/library/crypt.html#examples)3718    - [35.6. `termios` – Управление терминалом в стиле POSIX](https://python-all.ru/3.6/library/termios.html)37193720      - [35.6.1. Пример](https://python-all.ru/3.6/library/termios.html#example)3721    - [35.7. `tty` – Функции управления терминалом](https://python-all.ru/3.6/library/tty.html)3722    - [35.8. `pty` – Утилиты псевдотерминалов](https://python-all.ru/3.6/library/pty.html)37233724      - [35.8.1. Пример](https://python-all.ru/3.6/library/pty.html#example)3725    - [35.9. `fcntl` – Системные вызовы `fcntl` и `ioctl`](https://python-all.ru/3.6/library/fcntl.html)3726    - [35.10. `pipes` – Интерфейс к конвейерам оболочки](https://python-all.ru/3.6/library/pipes.html)37273728      - [35.10.1. Шаблонные объекты](https://python-all.ru/3.6/library/pipes.html#template-objects)3729    - [35.11. `resource` – Информация об использовании ресурсов](https://python-all.ru/3.6/library/resource.html)37303731      - [35.11.1. Ограничения ресурсов](https://python-all.ru/3.6/library/resource.html#resource-limits)3732      - [35.11.2. Использование ресурсов](https://python-all.ru/3.6/library/resource.html#resource-usage)3733    - [35.12. `nis` – Интерфейс к NIS (Yellow Pages) от Sun](https://python-all.ru/3.6/library/nis.html)3734    - [35.13. `syslog` – Библиотечные функции syslog в Unix](https://python-all.ru/3.6/library/syslog.html)37353736      - [35.13.1. Примеры](https://python-all.ru/3.6/library/syslog.html#examples)37373738        - [35.13.1.1. Простой пример](https://python-all.ru/3.6/library/syslog.html#simple-example)3739  - [36. Замещённые модули](https://python-all.ru/3.6/library/superseded.html)37403741    - [36.1. `optparse` – Парсер аргументов командной строки](https://python-all.ru/3.6/library/optparse.html)37423743      - [36.1.1. Предыстория](https://python-all.ru/3.6/library/optparse.html#background)37443745        - [36.1.1.1. Терминология](https://python-all.ru/3.6/library/optparse.html#terminology)3746        - [36.1.1.2. Для чего нужны опции?](https://python-all.ru/3.6/library/optparse.html#what-are-options-for)3747        - [36.1.1.3. Для чего нужны позиционные аргументы?](https://python-all.ru/3.6/library/optparse.html#what-are-positional-arguments-for)3748      - [36.1.2. Учебное пособие](https://python-all.ru/3.6/library/optparse.html#tutorial)37493750        - [36.1.2.1. Понимание действий опций](https://python-all.ru/3.6/library/optparse.html#understanding-option-actions)3751        - [36.1.2.2. Действие store](https://python-all.ru/3.6/library/optparse.html#the-store-action)3752        - [36.1.2.3. Обработка булевых (флаговых) опций](https://python-all.ru/3.6/library/optparse.html#handling-boolean-flag-options)3753        - [36.1.2.4. Другие действия](https://python-all.ru/3.6/library/optparse.html#other-actions)3754        - [36.1.2.5. Значения по умолчанию](https://python-all.ru/3.6/library/optparse.html#default-values)3755        - [36.1.2.6. Генерация справки](https://python-all.ru/3.6/library/optparse.html#generating-help)37563757          - [36.1.2.6.1. Группировка опций](https://python-all.ru/3.6/library/optparse.html#grouping-options)3758        - [36.1.2.7. Вывод строки версии](https://python-all.ru/3.6/library/optparse.html#printing-a-version-string)3759        - [36.1.2.8. Как `optparse` обрабатывает ошибки](https://python-all.ru/3.6/library/optparse.html#how-optparse-handles-errors)3760        - [36.1.2.9. Собираем всё вместе](https://python-all.ru/3.6/library/optparse.html#putting-it-all-together)3761      - [36.1.3. Справочное руководство](https://python-all.ru/3.6/library/optparse.html#reference-guide)37623763        - [36.1.3.1. Создание парсера](https://python-all.ru/3.6/library/optparse.html#creating-the-parser)3764        - [36.1.3.2. Наполнение парсера](https://python-all.ru/3.6/library/optparse.html#populating-the-parser)3765        - [36.1.3.3. Определение опций](https://python-all.ru/3.6/library/optparse.html#defining-options)3766        - [36.1.3.4. Атрибуты опций](https://python-all.ru/3.6/library/optparse.html#option-attributes)3767        - [36.1.3.5. Стандартные действия опций](https://python-all.ru/3.6/library/optparse.html#standard-option-actions)3768        - [36.1.3.6. Стандартные типы опций](https://python-all.ru/3.6/library/optparse.html#standard-option-types)3769        - [36.1.3.7. Разбор аргументов](https://python-all.ru/3.6/library/optparse.html#parsing-arguments)3770        - [36.1.3.8. Запросы и управление парсером опций](https://python-all.ru/3.6/library/optparse.html#querying-and-manipulating-your-option-parser)3771        - [36.1.3.9. Конфликты между опциями](https://python-all.ru/3.6/library/optparse.html#conflicts-between-options)3772        - [36.1.3.10. Очистка](https://python-all.ru/3.6/library/optparse.html#cleanup)3773        - [36.1.3.11. Другие методы](https://python-all.ru/3.6/library/optparse.html#other-methods)3774      - [36.1.4. Колбэки опций](https://python-all.ru/3.6/library/optparse.html#option-callbacks)37753776        - [36.1.4.1. Определение опции с колбэком](https://python-all.ru/3.6/library/optparse.html#defining-a-callback-option)3777        - [36.1.4.2. Как вызываются колбэки](https://python-all.ru/3.6/library/optparse.html#how-callbacks-are-called)3778        - [36.1.4.3. Возбуждение ошибок в колбэке](https://python-all.ru/3.6/library/optparse.html#raising-errors-in-a-callback)3779        - [36.1.4.4. Пример колбэка 1: тривиальный колбэк](https://python-all.ru/3.6/library/optparse.html#callback-example-1-trivial-callback)3780        - [36.1.4.5. Пример колбэка 2: проверка порядка опций](https://python-all.ru/3.6/library/optparse.html#callback-example-2-check-option-order)3781        - [36.1.4.6. Пример колбэка 3: проверка порядка опций (обобщённая)](https://python-all.ru/3.6/library/optparse.html#callback-example-3-check-option-order-generalized)3782        - [36.1.4.7. Пример колбэка 4: проверка произвольного условия](https://python-all.ru/3.6/library/optparse.html#callback-example-4-check-arbitrary-condition)3783        - [36.1.4.8. Пример колбэка 5: фиксированные аргументы](https://python-all.ru/3.6/library/optparse.html#callback-example-5-fixed-arguments)3784        - [36.1.4.9. Пример колбэка 6: переменное число аргументов](https://python-all.ru/3.6/library/optparse.html#callback-example-6-variable-arguments)3785      - [36.1.5. Расширение `optparse`](https://python-all.ru/3.6/library/optparse.html#extending-optparse)37863787        - [36.1.5.1. Добавление новых типов](https://python-all.ru/3.6/library/optparse.html#adding-new-types)3788        - [36.1.5.2. Добавление новых действий](https://python-all.ru/3.6/library/optparse.html#adding-new-actions)3789    - [36.2. `imp` – Доступ к внутренним механизмам import](https://python-all.ru/3.6/library/imp.html)37903791      - [36.2.1. Примеры](https://python-all.ru/3.6/library/imp.html#examples)3792  - [37. Незадокументированные модули](https://python-all.ru/3.6/library/undoc.html)37933794    - [37.1. Платформозависимые модули](https://python-all.ru/3.6/library/undoc.html#platform-specific-modules)3795- [Расширение и встраивание интерпретатора Python](https://python-all.ru/3.6/extending/index.html)37963797  - [Рекомендуемые сторонние инструменты](https://python-all.ru/3.6/extending/index.html#recommended-third-party-tools)3798  - [Создание расширений без сторонних инструментов](https://python-all.ru/3.6/extending/index.html#creating-extensions-without-third-party-tools)37993800    - [1. Расширение Python с помощью C или C++](https://python-all.ru/3.6/extending/extending.html)38013802      - [1.1. Простой пример](https://python-all.ru/3.6/extending/extending.html#a-simple-example)3803      - [1.2. Интермеццо: ошибки и исключения](https://python-all.ru/3.6/extending/extending.html#intermezzo-errors-and-exceptions)3804      - [1.3. Возвращение к примеру](https://python-all.ru/3.6/extending/extending.html#back-to-the-example)3805      - [1.4. Таблица методов модуля и функция инициализации](https://python-all.ru/3.6/extending/extending.html#the-module-s-method-table-and-initialization-function)3806      - [1.5. Компиляция и компоновка](https://python-all.ru/3.6/extending/extending.html#compilation-and-linkage)3807      - [1.6. Вызов функций Python из C](https://python-all.ru/3.6/extending/extending.html#calling-python-functions-from-c)3808      - [1.7. Извлечение параметров в функциях расширения](https://python-all.ru/3.6/extending/extending.html#extracting-parameters-in-extension-functions)3809      - [1.8. Именованные параметры для функций расширения](https://python-all.ru/3.6/extending/extending.html#keyword-parameters-for-extension-functions)3810      - [1.9. Построение произвольных значений](https://python-all.ru/3.6/extending/extending.html#building-arbitrary-values)3811      - [1.10. Счетчики ссылок](https://python-all.ru/3.6/extending/extending.html#reference-counts)38123813        - [1.10.1. Подсчёт ссылок в Python](https://python-all.ru/3.6/extending/extending.html#reference-counting-in-python)3814        - [1.10.2. Правила владения](https://python-all.ru/3.6/extending/extending.html#ownership-rules)3815        - [1.10.3. Тонкий лёд](https://python-all.ru/3.6/extending/extending.html#thin-ice)3816        - [1.10.4. Указатели NULL](https://python-all.ru/3.6/extending/extending.html#null-pointers)3817      - [1.11. Написание расширений на C++](https://python-all.ru/3.6/extending/extending.html#writing-extensions-in-c)3818      - [1.12. Предоставление C API для модуля расширения](https://python-all.ru/3.6/extending/extending.html#providing-a-c-api-for-an-extension-module)3819    - [2. Определение типов расширения: учебное пособие](https://python-all.ru/3.6/extending/newtypes_tutorial.html)38203821      - [2.1. Основы](https://python-all.ru/3.6/extending/newtypes_tutorial.html#the-basics)3822      - [2.2. Добавление данных и методов в базовый пример](https://python-all.ru/3.6/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example)3823      - [2.3. Предоставление более точного контроля над атрибутами данных](https://python-all.ru/3.6/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes)3824      - [2.4. Поддержка циклической сборки мусора](https://python-all.ru/3.6/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection)3825      - [2.5. Наследование от других типов](https://python-all.ru/3.6/extending/newtypes_tutorial.html#subclassing-other-types)3826    - [3. Определение типов расширения: разные темы](https://python-all.ru/3.6/extending/newtypes.html)38273828      - [3.1. Финализация и освобождение памяти](https://python-all.ru/3.6/extending/newtypes.html#finalization-and-de-allocation)3829      - [3.2. Представление объектов](https://python-all.ru/3.6/extending/newtypes.html#object-presentation)3830      - [3.3. Управление атрибутами](https://python-all.ru/3.6/extending/newtypes.html#attribute-management)38313832        - [3.3.1. Общее управление атрибутами](https://python-all.ru/3.6/extending/newtypes.html#generic-attribute-management)3833        - [3.3.2. Управление атрибутами для конкретного типа](https://python-all.ru/3.6/extending/newtypes.html#type-specific-attribute-management)3834      - [3.4. Сравнение объектов](https://python-all.ru/3.6/extending/newtypes.html#object-comparison)3835      - [3.5. Поддержка абстрактных протоколов](https://python-all.ru/3.6/extending/newtypes.html#abstract-protocol-support)3836      - [3.6. Поддержка слабых ссылок](https://python-all.ru/3.6/extending/newtypes.html#weak-reference-support)3837      - [3.7. Дополнительные предложения](https://python-all.ru/3.6/extending/newtypes.html#more-suggestions)3838    - [4. Сборка расширений на C и C++](https://python-all.ru/3.6/extending/building.html)38393840      - [4.1. Сборка расширений на C и C++ с помощью distutils](https://python-all.ru/3.6/extending/building.html#building-c-and-c-extensions-with-distutils)3841      - [4.2. Распространение модулей расширения](https://python-all.ru/3.6/extending/building.html#distributing-your-extension-modules)3842    - [5. Сборка расширений на C и C++ в Windows](https://python-all.ru/3.6/extending/windows.html)38433844      - [5.1. Рецептурный подход](https://python-all.ru/3.6/extending/windows.html#a-cookbook-approach)3845      - [5.2. Различия между Unix и Windows](https://python-all.ru/3.6/extending/windows.html#differences-between-unix-and-windows)3846      - [5.3. Использование DLL на практике](https://python-all.ru/3.6/extending/windows.html#using-dlls-in-practice)3847  - [Встраивание среды выполнения CPython в более крупное приложение](https://python-all.ru/3.6/extending/index.html#embedding-the-cpython-runtime-in-a-larger-application)38483849    - [1. Встраивание Python в другое приложение](https://python-all.ru/3.6/extending/embedding.html)38503851      - [1.1. Встраивание на очень высоком уровне](https://python-all.ru/3.6/extending/embedding.html#very-high-level-embedding)3852      - [1.2. За пределами встраивания на очень высоком уровне: обзор](https://python-all.ru/3.6/extending/embedding.html#beyond-very-high-level-embedding-an-overview)3853      - [1.3. Чистое встраивание](https://python-all.ru/3.6/extending/embedding.html#pure-embedding)3854      - [1.4. Расширение встроенного Python](https://python-all.ru/3.6/extending/embedding.html#extending-embedded-python)3855      - [1.5. Встраивание Python в C++](https://python-all.ru/3.6/extending/embedding.html#embedding-python-in-c)3856      - [1.6. Компиляция и компоновка в Unix-подобных системах](https://python-all.ru/3.6/extending/embedding.html#compiling-and-linking-under-unix-like-systems)3857- [Справочное руководство по Python/C API](https://python-all.ru/3.6/c-api/index.html)38583859  - [Введение](https://python-all.ru/3.6/c-api/intro.html)38603861    - [Заголовочные файлы](https://python-all.ru/3.6/c-api/intro.html#include-files)3862    - [Объекты, типы и счетчики ссылок](https://python-all.ru/3.6/c-api/intro.html#objects-types-and-reference-counts)38633864      - [Счётчики ссылок](https://python-all.ru/3.6/c-api/intro.html#reference-counts)38653866        - [Подробности подсчёта ссылок](https://python-all.ru/3.6/c-api/intro.html#reference-count-details)3867      - [Типы](https://python-all.ru/3.6/c-api/intro.html#types)3868    - [Исключения](https://python-all.ru/3.6/c-api/intro.html#exceptions)3869    - [Встраивание Python](https://python-all.ru/3.6/c-api/intro.html#embedding-python)3870    - [Отладочные сборки](https://python-all.ru/3.6/c-api/intro.html#debugging-builds)3871  - [Стабильный ABI](https://python-all.ru/3.6/c-api/stable.html)3872  - [Очень высокоуровневый слой](https://python-all.ru/3.6/c-api/veryhigh.html)3873  - [Подсчёт ссылок](https://python-all.ru/3.6/c-api/refcounting.html)3874  - [Обработка исключений](https://python-all.ru/3.6/c-api/exceptions.html)38753876    - [Вывод и очистка](https://python-all.ru/3.6/c-api/exceptions.html#printing-and-clearing)3877    - [Возбуждение исключений](https://python-all.ru/3.6/c-api/exceptions.html#raising-exceptions)3878    - [Выдача предупреждений](https://python-all.ru/3.6/c-api/exceptions.html#issuing-warnings)3879    - [Запрос индикатора ошибки](https://python-all.ru/3.6/c-api/exceptions.html#querying-the-error-indicator)3880    - [Обработка сигналов](https://python-all.ru/3.6/c-api/exceptions.html#signal-handling)3881    - [Классы исключений](https://python-all.ru/3.6/c-api/exceptions.html#exception-classes)3882    - [Объекты исключений](https://python-all.ru/3.6/c-api/exceptions.html#exception-objects)3883    - [Объекты исключений Unicode](https://python-all.ru/3.6/c-api/exceptions.html#unicode-exception-objects)3884    - [Управление рекурсией](https://python-all.ru/3.6/c-api/exceptions.html#recursion-control)3885    - [Стандартные исключения](https://python-all.ru/3.6/c-api/exceptions.html#standard-exceptions)3886    - [Стандартные категории предупреждений](https://python-all.ru/3.6/c-api/exceptions.html#standard-warning-categories)3887  - [Утилиты](https://python-all.ru/3.6/c-api/utilities.html)38883889    - [Утилиты операционной системы](https://python-all.ru/3.6/c-api/sys.html)3890    - [Системные функции](https://python-all.ru/3.6/c-api/sys.html#system-functions)3891    - [Управление процессами](https://python-all.ru/3.6/c-api/sys.html#process-control)3892    - [Импорт модулей](https://python-all.ru/3.6/c-api/import.html)3893    - [Поддержка маршалинга данных](https://python-all.ru/3.6/c-api/marshal.html)3894    - [Разбор аргументов и сборка значений](https://python-all.ru/3.6/c-api/arg.html)38953896      - [Разбор аргументов](https://python-all.ru/3.6/c-api/arg.html#parsing-arguments)38973898        - [Строки и буферы](https://python-all.ru/3.6/c-api/arg.html#strings-and-buffers)3899        - [Числа](https://python-all.ru/3.6/c-api/arg.html#numbers)3900        - [Другие объекты](https://python-all.ru/3.6/c-api/arg.html#other-objects)3901        - [Функции API](https://python-all.ru/3.6/c-api/arg.html#api-functions)3902      - [Сборка значений](https://python-all.ru/3.6/c-api/arg.html#building-values)3903    - [Преобразование и форматирование строк](https://python-all.ru/3.6/c-api/conversion.html)3904    - [Рефлексия](https://python-all.ru/3.6/c-api/reflection.html)3905    - [Реестр кодировок и вспомогательные функции](https://python-all.ru/3.6/c-api/codec.html)39063907      - [API поиска кодировок](https://python-all.ru/3.6/c-api/codec.html#codec-lookup-api)3908      - [API реестра обработчиков ошибок кодирования Unicode](https://python-all.ru/3.6/c-api/codec.html#registry-api-for-unicode-encoding-error-handlers)3909  - [Слой абстрактных объектов](https://python-all.ru/3.6/c-api/abstract.html)39103911    - [Протокол объекта](https://python-all.ru/3.6/c-api/object.html)3912    - [Протокол чисел](https://python-all.ru/3.6/c-api/number.html)3913    - [Протокол последовательностей](https://python-all.ru/3.6/c-api/sequence.html)3914    - [Протокол отображений](https://python-all.ru/3.6/c-api/mapping.html)3915    - [Протокол итератора](https://python-all.ru/3.6/c-api/iter.html)3916    - [Протокол буфера](https://python-all.ru/3.6/c-api/buffer.html)39173918      - [Структура буфера](https://python-all.ru/3.6/c-api/buffer.html#buffer-structure)3919      - [Типы запросов буфера](https://python-all.ru/3.6/c-api/buffer.html#buffer-request-types)39203921        - [поля, не зависящие от запроса](https://python-all.ru/3.6/c-api/buffer.html#request-independent-fields)3922        - [только для чтения, формат](https://python-all.ru/3.6/c-api/buffer.html#readonly-format)3923        - [форма, шаги, подсмещения](https://python-all.ru/3.6/c-api/buffer.html#shape-strides-suboffsets)3924        - [запросы непрерывности](https://python-all.ru/3.6/c-api/buffer.html#contiguity-requests)3925        - [составные запросы](https://python-all.ru/3.6/c-api/buffer.html#compound-requests)3926      - [Комплексные массивы](https://python-all.ru/3.6/c-api/buffer.html#complex-arrays)39273928        - [В стиле NumPy: форма и шаги](https://python-all.ru/3.6/c-api/buffer.html#numpy-style-shape-and-strides)3929        - [В стиле PIL: форма, шаги и под-смещения](https://python-all.ru/3.6/c-api/buffer.html#pil-style-shape-strides-and-suboffsets)3930      - [Функции, связанные с буферами](https://python-all.ru/3.6/c-api/buffer.html#buffer-related-functions)3931    - [Старый буферный протокол](https://python-all.ru/3.6/c-api/objbuffer.html)3932  - [Слой конкретных объектов](https://python-all.ru/3.6/c-api/concrete.html)39333934    - [Базовые объекты](https://python-all.ru/3.6/c-api/concrete.html#fundamental-objects)39353936      - [Объекты типов](https://python-all.ru/3.6/c-api/type.html)3937      - [Объект `None`](https://python-all.ru/3.6/c-api/none.html)3938    - [Числовые объекты](https://python-all.ru/3.6/c-api/concrete.html#numeric-objects)39393940      - [Объекты целых чисел](https://python-all.ru/3.6/c-api/long.html)3941      - [Объекты логических значений](https://python-all.ru/3.6/c-api/bool.html)3942      - [Объекты чисел с плавающей запятой](https://python-all.ru/3.6/c-api/float.html)3943      - [Объекты комплексных чисел](https://python-all.ru/3.6/c-api/complex.html)39443945        - [Комплексные числа как структуры C](https://python-all.ru/3.6/c-api/complex.html#complex-numbers-as-c-structures)3946        - [Комплексные числа как объекты Python](https://python-all.ru/3.6/c-api/complex.html#complex-numbers-as-python-objects)3947    - [Объекты последовательностей](https://python-all.ru/3.6/c-api/concrete.html#sequence-objects)39483949      - [Объекты bytes](https://python-all.ru/3.6/c-api/bytes.html)3950      - [Объекты массива байтов](https://python-all.ru/3.6/c-api/bytearray.html)39513952        - [Макросы проверки типа](https://python-all.ru/3.6/c-api/bytearray.html#type-check-macros)3953        - [Функции прямого API](https://python-all.ru/3.6/c-api/bytearray.html#direct-api-functions)3954        - [Макросы](https://python-all.ru/3.6/c-api/bytearray.html#macros)3955      - [Объекты Unicode и кодеки](https://python-all.ru/3.6/c-api/unicode.html)39563957        - [Объекты Unicode](https://python-all.ru/3.6/c-api/unicode.html#unicode-objects)39583959          - [Тип Юникода](https://python-all.ru/3.6/c-api/unicode.html#unicode-type)3960          - [Свойства символов Юникода](https://python-all.ru/3.6/c-api/unicode.html#unicode-character-properties)3961          - [Создание и доступ к строкам Юникода](https://python-all.ru/3.6/c-api/unicode.html#creating-and-accessing-unicode-strings)3962          - [Устаревшие API Py\_UNICODE](https://python-all.ru/3.6/c-api/unicode.html#deprecated-py-unicode-apis)3963          - [Локальная кодировка](https://python-all.ru/3.6/c-api/unicode.html#locale-encoding)3964          - [Кодировка файловой системы](https://python-all.ru/3.6/c-api/unicode.html#file-system-encoding)3965          - [Поддержка wchar\_t](https://python-all.ru/3.6/c-api/unicode.html#wchar-t-support)3966        - [Встроенные кодеки](https://python-all.ru/3.6/c-api/unicode.html#built-in-codecs)39673968          - [Общие кодеки](https://python-all.ru/3.6/c-api/unicode.html#generic-codecs)3969          - [Кодеки UTF-8](https://python-all.ru/3.6/c-api/unicode.html#utf-8-codecs)3970          - [Кодеки UTF-32](https://python-all.ru/3.6/c-api/unicode.html#utf-32-codecs)3971          - [Кодеки UTF-16](https://python-all.ru/3.6/c-api/unicode.html#utf-16-codecs)3972          - [Кодеки UTF-7](https://python-all.ru/3.6/c-api/unicode.html#utf-7-codecs)3973          - [Кодеки Unicode-Escape](https://python-all.ru/3.6/c-api/unicode.html#unicode-escape-codecs)3974          - [Кодеки Raw-Unicode-Escape](https://python-all.ru/3.6/c-api/unicode.html#raw-unicode-escape-codecs)3975          - [Кодеки Latin-1](https://python-all.ru/3.6/c-api/unicode.html#latin-1-codecs)3976          - [Кодеки ASCII](https://python-all.ru/3.6/c-api/unicode.html#ascii-codecs)3977          - [Кодеки символьной карты](https://python-all.ru/3.6/c-api/unicode.html#character-map-codecs)3978          - [Кодеки MBCS для Windows](https://python-all.ru/3.6/c-api/unicode.html#mbcs-codecs-for-windows)3979          - [Методы и слоты](https://python-all.ru/3.6/c-api/unicode.html#methods-slots)3980        - [Методы и слот-функции](https://python-all.ru/3.6/c-api/unicode.html#methods-and-slot-functions)3981      - [Кортежи](https://python-all.ru/3.6/c-api/tuple.html)3982      - [Объекты структурных последовательностей](https://python-all.ru/3.6/c-api/tuple.html#struct-sequence-objects)3983      - [Списки](https://python-all.ru/3.6/c-api/list.html)3984    - [Объекты контейнеров](https://python-all.ru/3.6/c-api/concrete.html#container-objects)39853986      - [Объекты словарей](https://python-all.ru/3.6/c-api/dict.html)3987      - [Множества](https://python-all.ru/3.6/c-api/set.html)3988    - [Объекты функций](https://python-all.ru/3.6/c-api/concrete.html#function-objects)39893990      - [Объекты функций](https://python-all.ru/3.6/c-api/function.html)3991      - [Объекты методов экземпляра](https://python-all.ru/3.6/c-api/method.html)3992      - [Объекты методов](https://python-all.ru/3.6/c-api/method.html#method-objects)3993      - [Объекты ячеек](https://python-all.ru/3.6/c-api/cell.html)3994      - [Объекты кода](https://python-all.ru/3.6/c-api/code.html)3995    - [Прочие объекты](https://python-all.ru/3.6/c-api/concrete.html#other-objects)39963997      - [Объекты файлов](https://python-all.ru/3.6/c-api/file.html)3998      - [Объекты модулей](https://python-all.ru/3.6/c-api/module.html)39994000        - [Инициализация C-модулей](https://python-all.ru/3.6/c-api/module.html#initializing-c-modules)40014002          - [Однофазная инициализация](https://python-all.ru/3.6/c-api/module.html#single-phase-initialization)4003          - [Многофазная инициализация](https://python-all.ru/3.6/c-api/module.html#multi-phase-initialization)4004          - [Функции низкоуровневого создания модулей](https://python-all.ru/3.6/c-api/module.html#low-level-module-creation-functions)4005          - [Вспомогательные функции](https://python-all.ru/3.6/c-api/module.html#support-functions)4006        - [Поиск модуля](https://python-all.ru/3.6/c-api/module.html#module-lookup)4007      - [Объекты итераторов](https://python-all.ru/3.6/c-api/iterator.html)4008      - [Объекты дескрипторов](https://python-all.ru/3.6/c-api/descriptor.html)4009      - [Объекты срезов](https://python-all.ru/3.6/c-api/slice.html)4010      - [Объект Ellipsis](https://python-all.ru/3.6/c-api/slice.html#ellipsis-object)4011      - [Объекты memoryview](https://python-all.ru/3.6/c-api/memoryview.html)4012      - [Объекты слабых ссылок](https://python-all.ru/3.6/c-api/weakref.html)4013      - [Капсулы](https://python-all.ru/3.6/c-api/capsule.html)4014      - [Объекты-генераторы](https://python-all.ru/3.6/c-api/gen.html)4015      - [Объекты корутин](https://python-all.ru/3.6/c-api/coro.html)4016      - [Объекты datetime](https://python-all.ru/3.6/c-api/datetime.html)4017  - [Инициализация, финализация и потоки](https://python-all.ru/3.6/c-api/init.html)40184019    - [Инициализация и финализация интерпретатора](https://python-all.ru/3.6/c-api/init.html#initializing-and-finalizing-the-interpreter)4020    - [Параметры уровня процесса](https://python-all.ru/3.6/c-api/init.html#process-wide-parameters)4021    - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/3.6/c-api/init.html#thread-state-and-the-global-interpreter-lock)40224023      - [Освобождение GIL из кода расширения](https://python-all.ru/3.6/c-api/init.html#releasing-the-gil-from-extension-code)4024      - [Потоки, созданные не в Python](https://python-all.ru/3.6/c-api/init.html#non-python-created-threads)4025      - [Высокоуровневый API](https://python-all.ru/3.6/c-api/init.html#high-level-api)4026      - [Низкоуровневый API](https://python-all.ru/3.6/c-api/init.html#low-level-api)4027    - [Поддержка под-интерпретаторов](https://python-all.ru/3.6/c-api/init.html#sub-interpreter-support)40284029      - [Ошибки и предостережения](https://python-all.ru/3.6/c-api/init.html#bugs-and-caveats)4030    - [Асинхронные уведомления](https://python-all.ru/3.6/c-api/init.html#asynchronous-notifications)4031    - [Профилирование и трассировка](https://python-all.ru/3.6/c-api/init.html#profiling-and-tracing)4032    - [Расширенная поддержка отладчика](https://python-all.ru/3.6/c-api/init.html#advanced-debugger-support)4033  - [Управление памятью](https://python-all.ru/3.6/c-api/memory.html)40344035    - [Обзор](https://python-all.ru/3.6/c-api/memory.html#overview)4036    - [Интерфейс низкоуровневой памяти](https://python-all.ru/3.6/c-api/memory.html#raw-memory-interface)4037    - [Интерфейс памяти](https://python-all.ru/3.6/c-api/memory.html#memory-interface)4038    - [Аллокаторы объектов](https://python-all.ru/3.6/c-api/memory.html#object-allocators)4039    - [Настройка аллокаторов памяти](https://python-all.ru/3.6/c-api/memory.html#customize-memory-allocators)4040    - [Аллокатор pymalloc](https://python-all.ru/3.6/c-api/memory.html#the-pymalloc-allocator)40414042      - [Настройка аренного аллокатора pymalloc](https://python-all.ru/3.6/c-api/memory.html#customize-pymalloc-arena-allocator)4043    - [Примеры](https://python-all.ru/3.6/c-api/memory.html#examples)4044  - [Поддержка реализации объектов](https://python-all.ru/3.6/c-api/objimpl.html)40454046    - [Выделение объектов в куче](https://python-all.ru/3.6/c-api/allocation.html)4047    - [Общие структуры объектов](https://python-all.ru/3.6/c-api/structures.html)4048    - [Объекты типов](https://python-all.ru/3.6/c-api/typeobj.html)4049    - [Структуры числовых объектов](https://python-all.ru/3.6/c-api/typeobj.html#number-object-structures)4050    - [Структуры объектов отображений](https://python-all.ru/3.6/c-api/typeobj.html#mapping-object-structures)4051    - [Структуры объектов последовательностей](https://python-all.ru/3.6/c-api/typeobj.html#sequence-object-structures)4052    - [Структуры буферных объектов](https://python-all.ru/3.6/c-api/typeobj.html#buffer-object-structures)4053    - [Структуры асинхронных объектов](https://python-all.ru/3.6/c-api/typeobj.html#async-object-structures)4054    - [Поддержка циклической сборки мусора](https://python-all.ru/3.6/c-api/gcsupport.html)4055  - [Версионирование API и ABI](https://python-all.ru/3.6/c-api/apiabiversion.html)4056- [Распространение модулей Python](https://python-all.ru/3.6/distributing/index.html)40574058  - [Ключевые термины](https://python-all.ru/3.6/distributing/index.html#key-terms)4059  - [Открытое лицензирование и совместная работа](https://python-all.ru/3.6/distributing/index.html#open-source-licensing-and-collaboration)4060  - [Установка инструментов](https://python-all.ru/3.6/distributing/index.html#installing-the-tools)4061  - [Чтение руководства](https://python-all.ru/3.6/distributing/index.html#reading-the-guide)4062  - [Как мне…?](https://python-all.ru/3.6/distributing/index.html#how-do-i)40634064    - [… выбрать имя для проекта?](https://python-all.ru/3.6/distributing/index.html#choose-a-name-for-my-project)4065    - [… создавать и распространять бинарные расширения?](https://python-all.ru/3.6/distributing/index.html#create-and-distribute-binary-extensions)4066- [Установка модулей Python](https://python-all.ru/3.6/installing/index.html)40674068  - [Ключевые термины](https://python-all.ru/3.6/installing/index.html#key-terms)4069  - [Основы использования](https://python-all.ru/3.6/installing/index.html#basic-usage)4070  - [Как мне …?](https://python-all.ru/3.6/installing/index.html#how-do-i)40714072    - [… установить `pip` в версиях Python до Python 3.4?](https://python-all.ru/3.6/installing/index.html#install-pip-in-versions-of-python-prior-to-python-3-4)4073    - [… установить пакеты только для текущего пользователя?](https://python-all.ru/3.6/installing/index.html#install-packages-just-for-the-current-user)4074    - [… установить научные пакеты Python?](https://python-all.ru/3.6/installing/index.html#install-scientific-python-packages)4075    - [… работать с несколькими версиями Python, установленными параллельно?](https://python-all.ru/3.6/installing/index.html#work-with-multiple-versions-of-python-installed-in-parallel)4076  - [Распространённые проблемы установки](https://python-all.ru/3.6/installing/index.html#common-installation-issues)40774078    - [Установка в системный Python на Linux](https://python-all.ru/3.6/installing/index.html#installing-into-the-system-python-on-linux)4079    - [Pip не установлен](https://python-all.ru/3.6/installing/index.html#pip-not-installed)4080    - [Установка бинарных расширений](https://python-all.ru/3.6/installing/index.html#installing-binary-extensions)4081- [Руководства Python HOWTO](https://python-all.ru/3.6/howto/index.html)40824083  - [Перенос кода с Python 2 на Python 3](https://python-all.ru/3.6/howto/pyporting.html)40844085    - [Краткое объяснение](https://python-all.ru/3.6/howto/pyporting.html#the-short-explanation)4086    - [Подробности](https://python-all.ru/3.6/howto/pyporting.html#details)40874088      - [Прекратить поддержку Python 2.6 и более старых версий](https://python-all.ru/3.6/howto/pyporting.html#drop-support-for-python-2-6-and-older)4089      - [Убедитесь, что в файле `setup.py` указана правильная поддержка версий](https://python-all.ru/3.6/howto/pyporting.html#make-sure-you-specify-the-proper-version-support-in-your-setup-py-file)4090      - [Обеспечьте хорошее покрытие тестами](https://python-all.ru/3.6/howto/pyporting.html#have-good-test-coverage)4091      - [Изучите различия между Python 2 и 3](https://python-all.ru/3.6/howto/pyporting.html#learn-the-differences-between-python-2-3)4092      - [Обновите свой код](https://python-all.ru/3.6/howto/pyporting.html#update-your-code)40934094        - [Деление](https://python-all.ru/3.6/howto/pyporting.html#division)4095        - [Текст и двоичные данные](https://python-all.ru/3.6/howto/pyporting.html#text-versus-binary-data)4096        - [Используйте определение возможностей вместо определения версии](https://python-all.ru/3.6/howto/pyporting.html#use-feature-detection-instead-of-version-detection)4097      - [Предотвращение регрессий совместимости](https://python-all.ru/3.6/howto/pyporting.html#prevent-compatibility-regressions)4098      - [Проверьте, какие зависимости блокируют переход](https://python-all.ru/3.6/howto/pyporting.html#check-which-dependencies-block-your-transition)4099      - [Обновите файл `setup.py`, чтобы указать совместимость с Python 3](https://python-all.ru/3.6/howto/pyporting.html#update-your-setup-py-file-to-denote-python-3-compatibility)4100      - [Используйте непрерывную интеграцию для поддержания совместимости](https://python-all.ru/3.6/howto/pyporting.html#use-continuous-integration-to-stay-compatible)4101      - [Рассмотрите использование необязательной статической проверки типов](https://python-all.ru/3.6/howto/pyporting.html#consider-using-optional-static-type-checking)4102  - [Перенос модулей расширения на Python 3](https://python-all.ru/3.6/howto/cporting.html)41034104    - [Условная компиляция](https://python-all.ru/3.6/howto/cporting.html#conditional-compilation)4105    - [Изменения в объектных API](https://python-all.ru/3.6/howto/cporting.html#changes-to-object-apis)41064107      - [Объединение str/unicode](https://python-all.ru/3.6/howto/cporting.html#str-unicode-unification)4108      - [Объединение long/int](https://python-all.ru/3.6/howto/cporting.html#long-int-unification)4109    - [Инициализация и состояние модулей](https://python-all.ru/3.6/howto/cporting.html#module-initialization-and-state)4110    - [CObject заменён на Capsule](https://python-all.ru/3.6/howto/cporting.html#cobject-replaced-with-capsule)4111    - [Другие опции](https://python-all.ru/3.6/howto/cporting.html#other-options)4112  - [Программирование с curses на Python](https://python-all.ru/3.6/howto/curses.html)41134114    - [Что такое curses?](https://python-all.ru/3.6/howto/curses.html#what-is-curses)41154116      - [Модуль curses в Python](https://python-all.ru/3.6/howto/curses.html#the-python-curses-module)4117    - [Запуск и завершение приложения curses](https://python-all.ru/3.6/howto/curses.html#starting-and-ending-a-curses-application)4118    - [Окна и пады](https://python-all.ru/3.6/howto/curses.html#windows-and-pads)4119    - [Отображение текста](https://python-all.ru/3.6/howto/curses.html#displaying-text)41204121      - [Атрибуты и цвет](https://python-all.ru/3.6/howto/curses.html#attributes-and-color)4122    - [Ввод пользователя](https://python-all.ru/3.6/howto/curses.html#user-input)4123    - [Для получения дополнительных сведений](https://python-all.ru/3.6/howto/curses.html#for-more-information)4124  - [Руководство по дескрипторам](https://python-all.ru/3.6/howto/descriptor.html)41254126    - [Аннотация](https://python-all.ru/3.6/howto/descriptor.html#abstract)4127    - [Определение и введение](https://python-all.ru/3.6/howto/descriptor.html#definition-and-introduction)4128    - [Протокол дескрипторов](https://python-all.ru/3.6/howto/descriptor.html#descriptor-protocol)4129    - [Вызов дескрипторов](https://python-all.ru/3.6/howto/descriptor.html#invoking-descriptors)4130    - [Пример дескриптора](https://python-all.ru/3.6/howto/descriptor.html#descriptor-example)4131    - [Свойства](https://python-all.ru/3.6/howto/descriptor.html#properties)4132    - [Функции и методы](https://python-all.ru/3.6/howto/descriptor.html#functions-and-methods)4133    - [Статические методы и методы класса](https://python-all.ru/3.6/howto/descriptor.html#static-methods-and-class-methods)4134  - [HOWTO по функциональному программированию](https://python-all.ru/3.6/howto/functional.html)41354136    - [Введение](https://python-all.ru/3.6/howto/functional.html#introduction)41374138      - [Формальная доказуемость](https://python-all.ru/3.6/howto/functional.html#formal-provability)4139      - [Модульность](https://python-all.ru/3.6/howto/functional.html#modularity)4140      - [Простота отладки и тестирования](https://python-all.ru/3.6/howto/functional.html#ease-of-debugging-and-testing)4141      - [Композируемость](https://python-all.ru/3.6/howto/functional.html#composability)4142    - [Итераторы](https://python-all.ru/3.6/howto/functional.html#iterators)41434144      - [Типы данных, поддерживающие итераторы](https://python-all.ru/3.6/howto/functional.html#data-types-that-support-iterators)4145    - [Генераторные выражения и списковые включения](https://python-all.ru/3.6/howto/functional.html#generator-expressions-and-list-comprehensions)4146    - [Генераторы](https://python-all.ru/3.6/howto/functional.html#generators)41474148      - [Передача значений в генератор](https://python-all.ru/3.6/howto/functional.html#passing-values-into-a-generator)4149    - [Встроенные функции](https://python-all.ru/3.6/howto/functional.html#built-in-functions)4150    - [Модуль itertools](https://python-all.ru/3.6/howto/functional.html#the-itertools-module)41514152      - [Создание новых итераторов](https://python-all.ru/3.6/howto/functional.html#creating-new-iterators)4153      - [Вызов функций для элементов](https://python-all.ru/3.6/howto/functional.html#calling-functions-on-elements)4154      - [Выбор элементов](https://python-all.ru/3.6/howto/functional.html#selecting-elements)4155      - [Комбинаторные функции](https://python-all.ru/3.6/howto/functional.html#combinatoric-functions)4156      - [Группировка элементов](https://python-all.ru/3.6/howto/functional.html#grouping-elements)4157    - [Модуль functools](https://python-all.ru/3.6/howto/functional.html#the-functools-module)41584159      - [Модуль operator](https://python-all.ru/3.6/howto/functional.html#the-operator-module)4160    - [Небольшие функции и лямбда-выражение](https://python-all.ru/3.6/howto/functional.html#small-functions-and-the-lambda-expression)4161    - [История изменений и благодарности](https://python-all.ru/3.6/howto/functional.html#revision-history-and-acknowledgements)4162    - [Ссылки](https://python-all.ru/3.6/howto/functional.html#references)41634164      - [Общие](https://python-all.ru/3.6/howto/functional.html#general)4165      - [Специфичное для Python](https://python-all.ru/3.6/howto/functional.html#python-specific)4166      - [Документация Python](https://python-all.ru/3.6/howto/functional.html#python-documentation)4167  - [Руководство по логированию](https://python-all.ru/3.6/howto/logging.html)41684169    - [Базовое руководство по логированию](https://python-all.ru/3.6/howto/logging.html#basic-logging-tutorial)41704171      - [Когда использовать логирование](https://python-all.ru/3.6/howto/logging.html#when-to-use-logging)4172      - [Простой пример](https://python-all.ru/3.6/howto/logging.html#a-simple-example)4173      - [Логирование в файл](https://python-all.ru/3.6/howto/logging.html#logging-to-a-file)4174      - [Логирование из нескольких модулей](https://python-all.ru/3.6/howto/logging.html#logging-from-multiple-modules)4175      - [Логирование переменных данных](https://python-all.ru/3.6/howto/logging.html#logging-variable-data)4176      - [Изменение формата отображаемых сообщений](https://python-all.ru/3.6/howto/logging.html#changing-the-format-of-displayed-messages)4177      - [Отображение даты/времени в сообщениях](https://python-all.ru/3.6/howto/logging.html#displaying-the-date-time-in-messages)4178      - [Дальнейшие шаги](https://python-all.ru/3.6/howto/logging.html#next-steps)4179    - [Расширенное руководство по логированию](https://python-all.ru/3.6/howto/logging.html#advanced-logging-tutorial)41804181      - [Поток логирования](https://python-all.ru/3.6/howto/logging.html#logging-flow)4182      - [Логгеры](https://python-all.ru/3.6/howto/logging.html#loggers)4183      - [Обработчики](https://python-all.ru/3.6/howto/logging.html#handlers)4184      - [Форматировщики](https://python-all.ru/3.6/howto/logging.html#formatters)4185      - [Настройка логирования](https://python-all.ru/3.6/howto/logging.html#configuring-logging)4186      - [Что происходит, если конфигурация не предоставлена](https://python-all.ru/3.6/howto/logging.html#what-happens-if-no-configuration-is-provided)4187      - [Настройка логирования для библиотеки](https://python-all.ru/3.6/howto/logging.html#configuring-logging-for-a-library)4188    - [Уровни журналирования](https://python-all.ru/3.6/howto/logging.html#logging-levels)41894190      - [Пользовательские уровни](https://python-all.ru/3.6/howto/logging.html#custom-levels)4191    - [Полезные обработчики](https://python-all.ru/3.6/howto/logging.html#useful-handlers)4192    - [Исключения, возникающие при логировании](https://python-all.ru/3.6/howto/logging.html#exceptions-raised-during-logging)4193    - [Использование произвольных объектов в качестве сообщений](https://python-all.ru/3.6/howto/logging.html#using-arbitrary-objects-as-messages)4194    - [Оптимизация](https://python-all.ru/3.6/howto/logging.html#optimization)4195  - [Рецепты по логированию](https://python-all.ru/3.6/howto/logging-cookbook.html)41964197    - [Использование логирования в нескольких модулях](https://python-all.ru/3.6/howto/logging-cookbook.html#using-logging-in-multiple-modules)4198    - [Логирование из нескольких потоков](https://python-all.ru/3.6/howto/logging-cookbook.html#logging-from-multiple-threads)4199    - [Несколько обработчиков и форматировщиков](https://python-all.ru/3.6/howto/logging-cookbook.html#multiple-handlers-and-formatters)4200    - [Логирование в несколько мест назначения](https://python-all.ru/3.6/howto/logging-cookbook.html#logging-to-multiple-destinations)4201    - [Пример сервера конфигурации](https://python-all.ru/3.6/howto/logging-cookbook.html#configuration-server-example)4202    - [Работа с блокирующими обработчиками](https://python-all.ru/3.6/howto/logging-cookbook.html#dealing-with-handlers-that-block)4203    - [Отправка и получение событий логирования по сети](https://python-all.ru/3.6/howto/logging-cookbook.html#sending-and-receiving-logging-events-across-a-network)4204    - [Добавление контекстной информации в вывод логирования](https://python-all.ru/3.6/howto/logging-cookbook.html#adding-contextual-information-to-your-logging-output)42054206      - [Использование LoggerAdapters для передачи контекстной информации](https://python-all.ru/3.6/howto/logging-cookbook.html#using-loggeradapters-to-impart-contextual-information)42074208        - [Использование объектов, отличных от словаря, для передачи контекстной информации](https://python-all.ru/3.6/howto/logging-cookbook.html#using-objects-other-than-dicts-to-pass-contextual-information)4209      - [Использование фильтров для передачи контекстной информации](https://python-all.ru/3.6/howto/logging-cookbook.html#using-filters-to-impart-contextual-information)4210    - [Логирование в один файл из нескольких процессов](https://python-all.ru/3.6/howto/logging-cookbook.html#logging-to-a-single-file-from-multiple-processes)4211    - [Использование ротации файлов](https://python-all.ru/3.6/howto/logging-cookbook.html#using-file-rotation)4212    - [Использование альтернативных стилей форматирования](https://python-all.ru/3.6/howto/logging-cookbook.html#use-of-alternative-formatting-styles)4213    - [Настройка `LogRecord`](https://python-all.ru/3.6/howto/logging-cookbook.html#customizing-logrecord)4214    - [Наследование от QueueHandler – пример с ZeroMQ](https://python-all.ru/3.6/howto/logging-cookbook.html#subclassing-queuehandler-a-zeromq-example)4215    - [Наследование от QueueListener – пример с ZeroMQ](https://python-all.ru/3.6/howto/logging-cookbook.html#subclassing-queuelistener-a-zeromq-example)4216    - [Пример конфигурации на основе словаря](https://python-all.ru/3.6/howto/logging-cookbook.html#an-example-dictionary-based-configuration)4217    - [Использование rotator и namer для настройки обработки ротации логов](https://python-all.ru/3.6/howto/logging-cookbook.html#using-a-rotator-and-namer-to-customize-log-rotation-processing)4218    - [Более сложный пример многопроцессорной обработки](https://python-all.ru/3.6/howto/logging-cookbook.html#a-more-elaborate-multiprocessing-example)4219    - [Вставка BOM в сообщения, отправляемые в SysLogHandler](https://python-all.ru/3.6/howto/logging-cookbook.html#inserting-a-bom-into-messages-sent-to-a-sysloghandler)4220    - [Реализация структурированного логирования](https://python-all.ru/3.6/howto/logging-cookbook.html#implementing-structured-logging)4221    - [Настройка обработчиков с помощью `dictConfig()`](https://python-all.ru/3.6/howto/logging-cookbook.html#customizing-handlers-with-dictconfig)4222    - [Использование определённых стилей форматирования во всём приложении](https://python-all.ru/3.6/howto/logging-cookbook.html#using-particular-formatting-styles-throughout-your-application)42234224      - [Использование фабрик LogRecord](https://python-all.ru/3.6/howto/logging-cookbook.html#using-logrecord-factories)4225      - [Использование пользовательских объектов сообщений](https://python-all.ru/3.6/howto/logging-cookbook.html#using-custom-message-objects)4226    - [Настройка фильтров с помощью `dictConfig()`](https://python-all.ru/3.6/howto/logging-cookbook.html#configuring-filters-with-dictconfig)4227    - [Настраиваемое форматирование исключений](https://python-all.ru/3.6/howto/logging-cookbook.html#customized-exception-formatting)4228    - [Озвучивание сообщений логирования](https://python-all.ru/3.6/howto/logging-cookbook.html#speaking-logging-messages)4229    - [Буферизация сообщений логирования и их условный вывод](https://python-all.ru/3.6/howto/logging-cookbook.html#buffering-logging-messages-and-outputting-them-conditionally)4230    - [Форматирование времени в UTC (GMT) через конфигурацию](https://python-all.ru/3.6/howto/logging-cookbook.html#formatting-times-using-utc-gmt-via-configuration)4231    - [Использование менеджера контекста для выборочного журналирования](https://python-all.ru/3.6/howto/logging-cookbook.html#using-a-context-manager-for-selective-logging)4232  - [HOWTO по регулярным выражениям](https://python-all.ru/3.6/howto/regex.html)42334234    - [Введение](https://python-all.ru/3.6/howto/regex.html#introduction)4235    - [Простые шаблоны](https://python-all.ru/3.6/howto/regex.html#simple-patterns)42364237      - [Сопоставление символов](https://python-all.ru/3.6/howto/regex.html#matching-characters)4238      - [Повторение](https://python-all.ru/3.6/howto/regex.html#repeating-things)4239    - [Использование регулярных выражений](https://python-all.ru/3.6/howto/regex.html#using-regular-expressions)42404241      - [Компиляция регулярных выражений](https://python-all.ru/3.6/howto/regex.html#compiling-regular-expressions)4242      - [Проблема обратной косой черты](https://python-all.ru/3.6/howto/regex.html#the-backslash-plague)4243      - [Выполнение сопоставлений](https://python-all.ru/3.6/howto/regex.html#performing-matches)4244      - [Функции уровня модуля](https://python-all.ru/3.6/howto/regex.html#module-level-functions)4245      - [Флаги компиляции](https://python-all.ru/3.6/howto/regex.html#compilation-flags)4246    - [Дополнительные возможности шаблонов](https://python-all.ru/3.6/howto/regex.html#more-pattern-power)42474248      - [Дополнительные метасимволы](https://python-all.ru/3.6/howto/regex.html#more-metacharacters)4249      - [Группировка](https://python-all.ru/3.6/howto/regex.html#grouping)4250      - [Незахватывающие и именованные группы](https://python-all.ru/3.6/howto/regex.html#non-capturing-and-named-groups)4251      - [Опережающие проверки](https://python-all.ru/3.6/howto/regex.html#lookahead-assertions)4252    - [Изменение строк](https://python-all.ru/3.6/howto/regex.html#modifying-strings)42534254      - [Разделение строк](https://python-all.ru/3.6/howto/regex.html#splitting-strings)4255      - [Поиск и замена](https://python-all.ru/3.6/howto/regex.html#search-and-replace)4256    - [Распространённые проблемы](https://python-all.ru/3.6/howto/regex.html#common-problems)42574258      - [Использование строковых методов](https://python-all.ru/3.6/howto/regex.html#use-string-methods)4259      - [match() и search()](https://python-all.ru/3.6/howto/regex.html#match-versus-search)4260      - [Жадные и нежадные квантификаторы](https://python-all.ru/3.6/howto/regex.html#greedy-versus-non-greedy)4261      - [Использование re.VERBOSE](https://python-all.ru/3.6/howto/regex.html#using-re-verbose)4262    - [Обратная связь](https://python-all.ru/3.6/howto/regex.html#feedback)4263  - [Руководство по программированию сокетов](https://python-all.ru/3.6/howto/sockets.html)42644265    - [Сокеты](https://python-all.ru/3.6/howto/sockets.html#sockets)42664267      - [История](https://python-all.ru/3.6/howto/sockets.html#history)4268    - [Создание сокета](https://python-all.ru/3.6/howto/sockets.html#creating-a-socket)42694270      - [Межпроцессное взаимодействие](https://python-all.ru/3.6/howto/sockets.html#ipc)4271    - [Использование сокета](https://python-all.ru/3.6/howto/sockets.html#using-a-socket)42724273      - [Двоичные данные](https://python-all.ru/3.6/howto/sockets.html#binary-data)4274    - [Отключение](https://python-all.ru/3.6/howto/sockets.html#disconnecting)42754276      - [Когда сокеты завершают работу](https://python-all.ru/3.6/howto/sockets.html#when-sockets-die)4277    - [Неблокирующие сокеты](https://python-all.ru/3.6/howto/sockets.html#non-blocking-sockets)4278  - [Руководство по сортировке](https://python-all.ru/3.6/howto/sorting.html)42794280    - [Основы сортировки](https://python-all.ru/3.6/howto/sorting.html#sorting-basics)4281    - [Ключевые функции](https://python-all.ru/3.6/howto/sorting.html#key-functions)4282    - [Функции модуля operator](https://python-all.ru/3.6/howto/sorting.html#operator-module-functions)4283    - [По возрастанию и по убыванию](https://python-all.ru/3.6/howto/sorting.html#ascending-and-descending)4284    - [Стабильность сортировки и сложные сортировки](https://python-all.ru/3.6/howto/sorting.html#sort-stability-and-complex-sorts)4285    - [Старый способ: Decorate-Sort-Undecorate](https://python-all.ru/3.6/howto/sorting.html#the-old-way-using-decorate-sort-undecorate)4286    - [Старый способ: использование параметра *cmp*](https://python-all.ru/3.6/howto/sorting.html#the-old-way-using-the-cmp-parameter)4287    - [Разное](https://python-all.ru/3.6/howto/sorting.html#odd-and-ends)4288  - [Руководство по Unicode](https://python-all.ru/3.6/howto/unicode.html)42894290    - [Введение в Unicode](https://python-all.ru/3.6/howto/unicode.html#introduction-to-unicode)42914292      - [История кодов символов](https://python-all.ru/3.6/howto/unicode.html#history-of-character-codes)4293      - [Определения](https://python-all.ru/3.6/howto/unicode.html#definitions)4294      - [Кодировки](https://python-all.ru/3.6/howto/unicode.html#encodings)4295      - [Ссылки](https://python-all.ru/3.6/howto/unicode.html#references)4296    - [Поддержка Unicode в Python](https://python-all.ru/3.6/howto/unicode.html#python-s-unicode-support)42974298      - [Тип str](https://python-all.ru/3.6/howto/unicode.html#the-string-type)4299      - [Преобразование в байты](https://python-all.ru/3.6/howto/unicode.html#converting-to-bytes)4300      - [Unicode-литералы в исходном коде Python](https://python-all.ru/3.6/howto/unicode.html#unicode-literals-in-python-source-code)4301      - [Свойства Unicode](https://python-all.ru/3.6/howto/unicode.html#unicode-properties)4302      - [Регулярные выражения и Unicode](https://python-all.ru/3.6/howto/unicode.html#unicode-regular-expressions)4303      - [Ссылки](https://python-all.ru/3.6/howto/unicode.html#id2)4304    - [Чтение и запись данных Unicode](https://python-all.ru/3.6/howto/unicode.html#reading-and-writing-unicode-data)43054306      - [Имена файлов в Unicode](https://python-all.ru/3.6/howto/unicode.html#unicode-filenames)4307      - [Советы по написанию программ с поддержкой Unicode](https://python-all.ru/3.6/howto/unicode.html#tips-for-writing-unicode-aware-programs)43084309        - [Преобразование между кодировками файлов](https://python-all.ru/3.6/howto/unicode.html#converting-between-file-encodings)4310        - [Файлы в неизвестной кодировке](https://python-all.ru/3.6/howto/unicode.html#files-in-an-unknown-encoding)4311      - [Ссылки](https://python-all.ru/3.6/howto/unicode.html#id3)4312    - [Благодарности](https://python-all.ru/3.6/howto/unicode.html#acknowledgements)4313  - [HOWTO: получение интернет-ресурсов с помощью пакета urllib](https://python-all.ru/3.6/howto/urllib2.html)43144315    - [Введение](https://python-all.ru/3.6/howto/urllib2.html#introduction)4316    - [Получение URL-адресов](https://python-all.ru/3.6/howto/urllib2.html#fetching-urls)43174318      - [Данные](https://python-all.ru/3.6/howto/urllib2.html#data)4319      - [Заголовки](https://python-all.ru/3.6/howto/urllib2.html#headers)4320    - [Обработка исключений](https://python-all.ru/3.6/howto/urllib2.html#handling-exceptions)43214322      - \<[URLError](https://python-all.ru/3.6/howto/urllib2.html#urlerror)\>4323      - [HTTPError](https://python-all.ru/3.6/howto/urllib2.html#httperror)43244325        - [Коды ошибок](https://python-all.ru/3.6/howto/urllib2.html#error-codes)4326      - [Заключение](https://python-all.ru/3.6/howto/urllib2.html#wrapping-it-up)43274328        - [Номер 1](https://python-all.ru/3.6/howto/urllib2.html#number-1)4329        - [Номер 2](https://python-all.ru/3.6/howto/urllib2.html#number-2)4330    - [info и geturl](https://python-all.ru/3.6/howto/urllib2.html#info-and-geturl)4331    - [Открыватели и обработчики](https://python-all.ru/3.6/howto/urllib2.html#openers-and-handlers)4332    - [Базовая аутентификация](https://python-all.ru/3.6/howto/urllib2.html#id5)4333    - [Прокси](https://python-all.ru/3.6/howto/urllib2.html#proxies)4334    - [Сокеты и слои](https://python-all.ru/3.6/howto/urllib2.html#sockets-and-layers)4335    - [Сноски](https://python-all.ru/3.6/howto/urllib2.html#footnotes)4336  - [Учебное пособие по argparse](https://python-all.ru/3.6/howto/argparse.html)43374338    - [Основные понятия](https://python-all.ru/3.6/howto/argparse.html#concepts)4339    - [Основы](https://python-all.ru/3.6/howto/argparse.html#the-basics)4340    - [Знакомство с позиционными аргументами](https://python-all.ru/3.6/howto/argparse.html#introducing-positional-arguments)4341    - [Знакомство с необязательными аргументами](https://python-all.ru/3.6/howto/argparse.html#introducing-optional-arguments)43424343      - [Короткие опции](https://python-all.ru/3.6/howto/argparse.html#short-options)4344    - [Сочетание позиционных и необязательных аргументов](https://python-all.ru/3.6/howto/argparse.html#combining-positional-and-optional-arguments)4345    - [Переходим к более сложным темам](https://python-all.ru/3.6/howto/argparse.html#getting-a-little-more-advanced)43464347      - [Конфликтующие опции](https://python-all.ru/3.6/howto/argparse.html#conflicting-options)4348    - [Заключение](https://python-all.ru/3.6/howto/argparse.html#conclusion)4349  - [Введение в модуль ipaddress](https://python-all.ru/3.6/howto/ipaddress.html)43504351    - [Создание объектов Address/Network/Interface](https://python-all.ru/3.6/howto/ipaddress.html#creating-address-network-interface-objects)43524353      - [Замечание о версиях IP](https://python-all.ru/3.6/howto/ipaddress.html#a-note-on-ip-versions)4354      - [IP-адреса хостов](https://python-all.ru/3.6/howto/ipaddress.html#ip-host-addresses)4355      - [Определение сетей](https://python-all.ru/3.6/howto/ipaddress.html#defining-networks)4356      - [Интерфейсы хоста](https://python-all.ru/3.6/howto/ipaddress.html#host-interfaces)4357    - [Проверка объектов адреса/сети/интерфейса](https://python-all.ru/3.6/howto/ipaddress.html#inspecting-address-network-interface-objects)4358    - [Сети как списки адресов](https://python-all.ru/3.6/howto/ipaddress.html#networks-as-lists-of-addresses)4359    - [Сравнения](https://python-all.ru/3.6/howto/ipaddress.html#comparisons)4360    - [Использование IP-адресов с другими модулями](https://python-all.ru/3.6/howto/ipaddress.html#using-ip-addresses-with-other-modules)4361    - [Получение дополнительных сведений при сбое создания экземпляра](https://python-all.ru/3.6/howto/ipaddress.html#getting-more-detail-when-instance-creation-fails)4362  - [Руководство по Argument Clinic](https://python-all.ru/3.6/howto/clinic.html)43634364    - [Цели Argument Clinic](https://python-all.ru/3.6/howto/clinic.html#the-goals-of-argument-clinic)4365    - [Основные понятия и использование](https://python-all.ru/3.6/howto/clinic.html#basic-concepts-and-usage)4366    - [Преобразование первой функции](https://python-all.ru/3.6/howto/clinic.html#converting-your-first-function)4367    - [Продвинутые темы](https://python-all.ru/3.6/howto/clinic.html#advanced-topics)43684369      - [Символические значения по умолчанию](https://python-all.ru/3.6/howto/clinic.html#symbolic-default-values)4370      - [Переименование C-функций и переменных, генерируемых Argument Clinic](https://python-all.ru/3.6/howto/clinic.html#renaming-the-c-functions-and-variables-generated-by-argument-clinic)4371      - [Преобразование функций с использованием PyArg\_UnpackTuple](https://python-all.ru/3.6/howto/clinic.html#converting-functions-using-pyarg-unpacktuple)4372      - [Необязательные группы](https://python-all.ru/3.6/howto/clinic.html#optional-groups)4373      - [Использование настоящих преобразователей Argument Clinic вместо «устаревших преобразователей»](https://python-all.ru/3.6/howto/clinic.html#using-real-argument-clinic-converters-instead-of-legacy-converters)4374      - [Py\_buffer](https://python-all.ru/3.6/howto/clinic.html#py-buffer)4375      - [Продвинутые преобразователи](https://python-all.ru/3.6/howto/clinic.html#advanced-converters)4376      - [Значения параметров по умолчанию](https://python-all.ru/3.6/howto/clinic.html#parameter-default-values)4377      - [Значение по умолчанию `NULL`](https://python-all.ru/3.6/howto/clinic.html#the-null-default-value)4378      - [Выражения, заданные как значения по умолчанию](https://python-all.ru/3.6/howto/clinic.html#expressions-specified-as-default-values)4379      - [Использование преобразователя возвращаемого значения](https://python-all.ru/3.6/howto/clinic.html#using-a-return-converter)4380      - [Клонирование существующих функций](https://python-all.ru/3.6/howto/clinic.html#cloning-existing-functions)4381      - [Вызов кода Python](https://python-all.ru/3.6/howto/clinic.html#calling-python-code)4382      - [Использование «self converter»](https://python-all.ru/3.6/howto/clinic.html#using-a-self-converter)4383      - [Создание собственного конвертера](https://python-all.ru/3.6/howto/clinic.html#writing-a-custom-converter)4384      - [Создание собственного конвертера возвращаемого значения](https://python-all.ru/3.6/howto/clinic.html#writing-a-custom-return-converter)4385      - [METH\_O и METH\_NOARGS](https://python-all.ru/3.6/howto/clinic.html#meth-o-and-meth-noargs)4386      - [Функции tp\_new и tp\_init](https://python-all.ru/3.6/howto/clinic.html#tp-new-and-tp-init-functions)4387      - [Изменение и перенаправление вывода Clinic](https://python-all.ru/3.6/howto/clinic.html#changing-and-redirecting-clinic-s-output)4388      - [Приём #ifdef](https://python-all.ru/3.6/howto/clinic.html#the-ifdef-trick)4389      - [Использование Argument Clinic в файлах Python](https://python-all.ru/3.6/howto/clinic.html#using-argument-clinic-in-python-files)4390  - [Инструментирование CPython с помощью DTrace и SystemTap](https://python-all.ru/3.6/howto/instrumentation.html)43914392    - [Включение статических маркеров](https://python-all.ru/3.6/howto/instrumentation.html#enabling-the-static-markers)4393    - [Статические зонды DTrace](https://python-all.ru/3.6/howto/instrumentation.html#static-dtrace-probes)4394    - [Статические маркеры SystemTap](https://python-all.ru/3.6/howto/instrumentation.html#static-systemtap-markers)4395    - [Доступные статические маркеры](https://python-all.ru/3.6/howto/instrumentation.html#available-static-markers)4396    - [Тэпсеты SystemTap](https://python-all.ru/3.6/howto/instrumentation.html#systemtap-tapsets)4397    - [Примеры](https://python-all.ru/3.6/howto/instrumentation.html#examples)4398- [Часто задаваемые вопросы по Python](https://python-all.ru/3.6/faq/index.html)43994400  - [Общие вопросы по Python](https://python-all.ru/3.6/faq/general.html)44014402    - [Общая информация](https://python-all.ru/3.6/faq/general.html#general-information)4403    - [Python в реальном мире](https://python-all.ru/3.6/faq/general.html#python-in-the-real-world)4404  - [Вопросы по программированию](https://python-all.ru/3.6/faq/programming.html)44054406    - [Общие вопросы](https://python-all.ru/3.6/faq/programming.html#general-questions)4407    - [Ядро языка](https://python-all.ru/3.6/faq/programming.html#core-language)4408    - [Числа и строки](https://python-all.ru/3.6/faq/programming.html#numbers-and-strings)4409    - [Производительность](https://python-all.ru/3.6/faq/programming.html#performance)4410    - [Последовательности (кортежи/списки)](https://python-all.ru/3.6/faq/programming.html#sequences-tuples-lists)4411    - [Словари](https://python-all.ru/3.6/faq/programming.html#dictionaries)4412    - [Объекты](https://python-all.ru/3.6/faq/programming.html#objects)4413    - [Модули](https://python-all.ru/3.6/faq/programming.html#modules)4414  - [Вопросы по дизайну и истории](https://python-all.ru/3.6/faq/design.html)44154416    - [Почему в Python для группировки инструкций используются отступы?](https://python-all.ru/3.6/faq/design.html#why-does-python-use-indentation-for-grouping-of-statements)4417    - [Почему при простых арифметических операциях получаются странные результаты?](https://python-all.ru/3.6/faq/design.html#why-am-i-getting-strange-results-with-simple-arithmetic-operations)4418    - [Почему вычисления с плавающей запятой такие неточные?](https://python-all.ru/3.6/faq/design.html#why-are-floating-point-calculations-so-inaccurate)4419    - [Почему строки в Python неизменяемы?](https://python-all.ru/3.6/faq/design.html#why-are-python-strings-immutable)4420    - [Почему self нужно явно указывать в определениях и вызовах методов?](https://python-all.ru/3.6/faq/design.html#why-must-self-be-used-explicitly-in-method-definitions-and-calls)4421    - [Почему в выражении нельзя использовать присваивание?](https://python-all.ru/3.6/faq/design.html#why-can-t-i-use-an-assignment-in-an-expression)4422    - [Почему в Python для одних возможностей используются методы (например, list.index()), а для других – функции (например, len(list))?](https://python-all.ru/3.6/faq/design.html#why-does-python-use-methods-for-some-functionality-e-g-list-index-but-functions-for-other-e-g-len-list)4423    - [Почему join() – метод строки, а не списка или кортежа?](https://python-all.ru/3.6/faq/design.html#why-is-join-a-string-method-instead-of-a-list-or-tuple-method)4424    - [Насколько быстры исключения?](https://python-all.ru/3.6/faq/design.html#how-fast-are-exceptions)4425    - [Почему в Python нет оператора switch или case?](https://python-all.ru/3.6/faq/design.html#why-isn-t-there-a-switch-or-case-statement-in-python)4426    - [Разве нельзя эмулировать потоки в интерпретаторе, вместо того чтобы полагаться на реализацию потоков, зависящую от ОС?](https://python-all.ru/3.6/faq/design.html#can-t-you-emulate-threads-in-the-interpreter-instead-of-relying-on-an-os-specific-thread-implementation)4427    - [Почему лямбда-выражения не могут содержать инструкции?](https://python-all.ru/3.6/faq/design.html#why-can-t-lambda-expressions-contain-statements)4428    - [Можно ли скомпилировать Python в машинный код, C или другой язык?](https://python-all.ru/3.6/faq/design.html#can-python-be-compiled-to-machine-code-c-or-some-other-language)4429    - [Как Python управляет памятью?](https://python-all.ru/3.6/faq/design.html#how-does-python-manage-memory)4430    - [Почему CPython не использует более традиционную схему сборки мусора?](https://python-all.ru/3.6/faq/design.html#why-doesn-t-cpython-use-a-more-traditional-garbage-collection-scheme)4431    - [Почему при завершении CPython освобождается не вся память?](https://python-all.ru/3.6/faq/design.html#why-isn-t-all-memory-freed-when-cpython-exits)4432    - [Почему существуют отдельные типы данных кортеж и список?](https://python-all.ru/3.6/faq/design.html#why-are-there-separate-tuple-and-list-data-types)4433    - [Как списки реализованы в CPython?](https://python-all.ru/3.6/faq/design.html#how-are-lists-implemented-in-cpython)4434    - [Как словари реализованы в CPython?](https://python-all.ru/3.6/faq/design.html#how-are-dictionaries-implemented-in-cpython)4435    - [Почему ключи словаря должны быть неизменяемыми?](https://python-all.ru/3.6/faq/design.html#why-must-dictionary-keys-be-immutable)4436    - [Почему list.sort() не возвращает отсортированный список?](https://python-all.ru/3.6/faq/design.html#why-doesn-t-list-sort-return-the-sorted-list)4437    - [Как задать и обеспечить соблюдение спецификации интерфейса в Python?](https://python-all.ru/3.6/faq/design.html#how-do-you-specify-and-enforce-an-interface-spec-in-python)4438    - [Почему нет goto?](https://python-all.ru/3.6/faq/design.html#why-is-there-no-goto)4439    - [Почему сырые строки (r-строки) не могут заканчиваться обратной косой чертой?](https://python-all.ru/3.6/faq/design.html#why-can-t-raw-strings-r-strings-end-with-a-backslash)4440    - [Почему в Python нет оператора with для присваивания атрибутов?](https://python-all.ru/3.6/faq/design.html#why-doesn-t-python-have-a-with-statement-for-attribute-assignments)4441    - [Почему в операторах if/while/def/class требуется двоеточие?](https://python-all.ru/3.6/faq/design.html#why-are-colons-required-for-the-if-while-def-class-statements)4442    - [Почему Python разрешает запятые в конце списков и кортежей?](https://python-all.ru/3.6/faq/design.html#why-does-python-allow-commas-at-the-end-of-lists-and-tuples)4443  - [FAQ по библиотекам и расширениям](https://python-all.ru/3.6/faq/library.html)44444445    - [Общие вопросы по библиотекам](https://python-all.ru/3.6/faq/library.html#general-library-questions)4446    - [Типовые задачи](https://python-all.ru/3.6/faq/library.html#common-tasks)4447    - [Потоки](https://python-all.ru/3.6/faq/library.html#threads)4448    - [Ввод и вывод](https://python-all.ru/3.6/faq/library.html#input-and-output)4449    - [Сетевое и интернет-программирование](https://python-all.ru/3.6/faq/library.html#network-internet-programming)4450    - [Базы данных](https://python-all.ru/3.6/faq/library.html#databases)4451    - [Математика и численные методы](https://python-all.ru/3.6/faq/library.html#mathematics-and-numerics)4452  - [FAQ по расширению и встраиванию](https://python-all.ru/3.6/faq/extending.html)44534454    - [Можно ли создавать собственные функции на C?](https://python-all.ru/3.6/faq/extending.html#can-i-create-my-own-functions-in-c)4455    - [Можно ли создавать собственные функции на C++?](https://python-all.ru/3.6/faq/extending.html#id1)4456    - [Писать на C сложно; есть ли альтернативы?](https://python-all.ru/3.6/faq/extending.html#writing-c-is-hard-are-there-any-alternatives)4457    - [Как выполнить произвольные инструкции Python из C?](https://python-all.ru/3.6/faq/extending.html#how-can-i-execute-arbitrary-python-statements-from-c)4458    - [Как вычислить произвольное выражение Python из C?](https://python-all.ru/3.6/faq/extending.html#how-can-i-evaluate-an-arbitrary-python-expression-from-c)4459    - [Как извлечь значения C из объекта Python?](https://python-all.ru/3.6/faq/extending.html#how-do-i-extract-c-values-from-a-python-object)4460    - [Как использовать Py\_BuildValue() для создания кортежа произвольной длины?](https://python-all.ru/3.6/faq/extending.html#how-do-i-use-py-buildvalue-to-create-a-tuple-of-arbitrary-length)4461    - [Как вызвать метод объекта из C?](https://python-all.ru/3.6/faq/extending.html#how-do-i-call-an-object-s-method-from-c)4462    - [Как перехватить вывод PyErr\_Print() (или любого другого вывода в stdout/stderr)?](https://python-all.ru/3.6/faq/extending.html#how-do-i-catch-the-output-from-pyerr-print-or-anything-that-prints-to-stdout-stderr)4463    - [Как получить доступ к модулю, написанному на Python, из C?](https://python-all.ru/3.6/faq/extending.html#how-do-i-access-a-module-written-in-python-from-c)4464    - [Как организовать взаимодействие с объектами C++ из Python?](https://python-all.ru/3.6/faq/extending.html#how-do-i-interface-to-c-objects-from-python)4465    - [Почему make завершается ошибкой после добавления модуля через файл Setup?](https://python-all.ru/3.6/faq/extending.html#i-added-a-module-using-the-setup-file-and-the-make-fails-why)4466    - [Как отлаживать расширение?](https://python-all.ru/3.6/faq/extending.html#how-do-i-debug-an-extension)4467    - [Почему при компиляции модуля Python в Linux отсутствуют некоторые файлы?](https://python-all.ru/3.6/faq/extending.html#i-want-to-compile-a-python-module-on-my-linux-system-but-some-files-are-missing-why)4468    - [Как отличить «неполный ввод» от «неверного ввода»?](https://python-all.ru/3.6/faq/extending.html#how-do-i-tell-incomplete-input-from-invalid-input)4469    - [Как найти неопределённые символы g++ \_\_builtin\_new или \_\_pure\_virtual?](https://python-all.ru/3.6/faq/extending.html#how-do-i-find-undefined-g-symbols-builtin-new-or-pure-virtual)4470    - [Можно ли создать класс объекта, в котором часть методов реализована на C, а часть – на Python (например, через наследование)?](https://python-all.ru/3.6/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance)4471  - [FAQ по Python в Windows](https://python-all.ru/3.6/faq/windows.html)44724473    - [Как запустить программу Python в Windows?](https://python-all.ru/3.6/faq/windows.html#how-do-i-run-a-python-program-under-windows)4474    - [Как сделать скрипты Python исполняемыми?](https://python-all.ru/3.6/faq/windows.html#how-do-i-make-python-scripts-executable)4475    - [Почему Python иногда так долго запускается?](https://python-all.ru/3.6/faq/windows.html#why-does-python-sometimes-take-so-long-to-start)4476    - [Как создать исполняемый файл из скрипта Python?](https://python-all.ru/3.6/faq/windows.html#how-do-i-make-an-executable-from-a-python-script)4477    - [Является ли файл `*.pyd` тем же, что и DLL?](https://python-all.ru/3.6/faq/windows.html#is-a-pyd-file-the-same-as-a-dll)4478    - [Как встроить Python в приложение Windows?](https://python-all.ru/3.6/faq/windows.html#how-can-i-embed-python-into-a-windows-application)4479    - [Как запретить редакторам вставлять табуляцию в исходный код Python?](https://python-all.ru/3.6/faq/windows.html#how-do-i-keep-editors-from-inserting-tabs-into-my-python-source)4480    - [Как проверить нажатие клавиши без блокировки?](https://python-all.ru/3.6/faq/windows.html#how-do-i-check-for-a-keypress-without-blocking)4481  - [Часто задаваемые вопросы о графическом интерфейсе пользователя](https://python-all.ru/3.6/faq/gui.html)44824483    - [Общие вопросы по GUI](https://python-all.ru/3.6/faq/gui.html#general-gui-questions)4484    - [Какие существуют кроссплатформенные GUI-инструментарии для Python?](https://python-all.ru/3.6/faq/gui.html#what-platform-independent-gui-toolkits-exist-for-python)4485    - [Какие существуют платформозависимые GUI-инструментарии для Python?](https://python-all.ru/3.6/faq/gui.html#what-platform-specific-gui-toolkits-exist-for-python)4486    - [Вопросы по Tkinter](https://python-all.ru/3.6/faq/gui.html#tkinter-questions)4487  - [FAQ «Почему Python установлен на моём компьютере?»](https://python-all.ru/3.6/faq/installed.html)44884489    - [Что такое Python?](https://python-all.ru/3.6/faq/installed.html#what-is-python)4490    - [Почему Python установлен на моём компьютере?](https://python-all.ru/3.6/faq/installed.html#why-is-python-installed-on-my-machine)4491    - [Можно ли удалить Python?](https://python-all.ru/3.6/faq/installed.html#can-i-delete-python)4492- [Глоссарий](https://python-all.ru/3.6/glossary.html)4493- [Об этих документах](https://python-all.ru/3.6/about.html)44944495  - [Участники документации Python](https://python-all.ru/3.6/about.html#contributors-to-the-python-documentation)4496- [Работа с ошибками](https://python-all.ru/3.6/bugs.html)44974498  - [Ошибки в документации](https://python-all.ru/3.6/bugs.html#documentation-bugs)4499  - [Использование трекера задач Python](https://python-all.ru/3.6/bugs.html#using-the-python-issue-tracker)4500  - [Начало работы: участие в разработке Python](https://python-all.ru/3.6/bugs.html#getting-started-contributing-to-python-yourself)4501- [Авторские права](https://python-all.ru/3.6/copyright.html)4502- [История и лицензия](https://python-all.ru/3.6/license.html)45034504  - [История программного обеспечения](https://python-all.ru/3.6/license.html#history-of-the-software)4505  - [Условия доступа и использования Python](https://python-all.ru/3.6/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python)45064507    - [PSF LICENSE AGREEMENT FOR PYTHON 3.6.15](https://python-all.ru/3.6/license.html#psf-license-agreement-for-python-release)4508    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ BEOPEN.COM ДЛЯ PYTHON 2.0](https://python-all.ru/3.6/license.html#beopen-com-license-agreement-for-python-2-0)4509    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ CNRI ДЛЯ PYTHON 1.6.1](https://python-all.ru/3.6/license.html#cnri-license-agreement-for-python-1-6-1)4510    - [ЛИЦЕНЗИОННОЕ СОГЛАШЕНИЕ CWI ДЛЯ PYTHON 0.9.0 – 1.2](https://python-all.ru/3.6/license.html#cwi-license-agreement-for-python-0-9-0-through-1-2)4511  - [Лицензии и благодарности для включённого программного обеспечения](https://python-all.ru/3.6/license.html#licenses-and-acknowledgements-for-incorporated-software)45124513    - [Вихрь Мерсенна](https://python-all.ru/3.6/license.html#mersenne-twister)4514    - [Сокеты](https://python-all.ru/3.6/license.html#sockets)4515    - [Управление исключениями с плавающей точкой](https://python-all.ru/3.6/license.html#floating-point-exception-control)4516    - [Асинхронные службы сокетов](https://python-all.ru/3.6/license.html#asynchronous-socket-services)4517    - [Управление cookie](https://python-all.ru/3.6/license.html#cookie-management)4518    - [Трассировка выполнения](https://python-all.ru/3.6/license.html#execution-tracing)4519    - [Функции UUencode и UUdecode](https://python-all.ru/3.6/license.html#uuencode-and-uudecode-functions)4520    - [XML-вызовы удалённых процедур](https://python-all.ru/3.6/license.html#xml-remote-procedure-calls)4521    - [test\_epoll](https://python-all.ru/3.6/license.html#test-epoll)4522    - [Select kqueue](https://python-all.ru/3.6/license.html#select-kqueue)4523    - [SipHash24](https://python-all.ru/3.6/license.html#siphash24)4524    - [strtod and dtoa](https://python-all.ru/3.6/license.html#strtod-and-dtoa)4525    - [OpenSSL](https://python-all.ru/3.6/license.html#openssl)4526    - [expat](https://python-all.ru/3.6/license.html#expat)4527    - [libffi](https://python-all.ru/3.6/license.html#libffi)4528    - [zlib](https://python-all.ru/3.6/license.html#zlib)4529    - [cfuhash](https://python-all.ru/3.6/license.html#cfuhash)4530    - [libmpdec](https://python-all.ru/3.6/license.html#libmpdec)4531