> **Источник:** https://python-all.ru/3.14/genindex-K.html
>
> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.

---

# Индекс – K

| [kbhit() (в модуле msvcrt)](https://python-all.ru/3.14/library/msvcrt.html#msvcrt.kbhit) [kde() (в модуле statistics)](https://python-all.ru/3.14/library/statistics.html#statistics.kde) [kde\_random() (в модуле statistics)](https://python-all.ru/3.14/library/statistics.html#statistics.kde_random) [KEEP (атрибут enum.FlagBoundary)](https://python-all.ru/3.14/library/enum.html#enum.FlagBoundary.KEEP) [kevent() (в модуле select)](https://python-all.ru/3.14/library/select.html#select.kevent) [**ключ**](https://python-all.ru/3.14/glossary.html#term-key), [\[1\]](https://python-all.ru/3.14/reference/expressions.html#index-17) [(атрибут http.cookies.Morsel)](https://python-all.ru/3.14/library/http.cookies.html#http.cookies.Morsel.key) [(атрибут zoneinfo.ZoneInfo)](https://python-all.ru/3.14/library/zoneinfo.html#zoneinfo.ZoneInfo.key) [**ключевая функция**](https://python-all.ru/3.14/glossary.html#term-key-function) [пара ключ/значение](https://python-all.ru/3.14/reference/expressions.html#index-17) [KEY\_A1 (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_A1) [KEY\_A3 (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_A3) [KEY\_ALL\_ACCESS (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_ALL_ACCESS) [KEY\_B2 (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_B2) [KEY\_BACKSPACE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_BACKSPACE) [KEY\_BEG (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_BEG) [KEY\_BREAK (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_BREAK) [KEY\_BTAB (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_BTAB) [KEY\_C1 (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_C1) [KEY\_C3 (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_C3) [KEY\_CANCEL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_CANCEL) [KEY\_CATAB (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_CATAB) [KEY\_CLEAR (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_CLEAR) [KEY\_CLOSE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_CLOSE) [KEY\_COMMAND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_COMMAND) [KEY\_COPY (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_COPY) [KEY\_CREATE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_CREATE) [KEY\_CREATE\_LINK (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_CREATE_LINK) [KEY\_CREATE\_SUB\_KEY (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_CREATE_SUB_KEY) [KEY\_CTAB (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_CTAB) [KEY\_DC (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_DC) [KEY\_DL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_DL) [KEY\_DOWN (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_DOWN) [KEY\_EIC (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_EIC) [KEY\_END (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_END) [KEY\_ENTER (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_ENTER) [KEY\_ENUMERATE\_SUB\_KEYS (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_ENUMERATE_SUB_KEYS) [KEY\_EOL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_EOL) [KEY\_EOS (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_EOS) [KEY\_EXECUTE (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_EXECUTE) [KEY\_EXIT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_EXIT) [KEY\_F0 (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_F0) [KEY\_FIND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_FIND) [KEY\_Fn (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_Fn) [KEY\_HELP (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_HELP) [KEY\_HOME (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_HOME) [KEY\_IC (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_IC) [KEY\_IL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_IL) [KEY\_LEFT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_LEFT) [KEY\_LL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_LL) [KEY\_MARK (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_MARK) [KEY\_MAX (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_MAX) [KEY\_MESSAGE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_MESSAGE) [KEY\_MIN (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_MIN) [KEY\_MOUSE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_MOUSE) [KEY\_MOVE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_MOVE) [KEY\_NEXT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_NEXT) [KEY\_NOTIFY (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_NOTIFY) [KEY\_NPAGE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_NPAGE) [KEY\_OPEN (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_OPEN) [KEY\_OPTIONS (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_OPTIONS) [KEY\_PPAGE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_PPAGE) [KEY\_PREVIOUS (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_PREVIOUS) [KEY\_PRINT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_PRINT) [KEY\_QUERY\_VALUE (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_QUERY_VALUE) [KEY\_READ (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_READ) [KEY\_REDO (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_REDO) [KEY\_REFERENCE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_REFERENCE) [KEY\_REFRESH (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_REFRESH) [KEY\_REPLACE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_REPLACE) [KEY\_RESET (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_RESET) [KEY\_RESIZE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_RESIZE) [KEY\_RESTART (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_RESTART) | [KEY\_RESUME (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_RESUME) [KEY\_RIGHT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_RIGHT) [KEY\_SAVE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SAVE) [KEY\_SBEG (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SBEG) [KEY\_SCANCEL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SCANCEL) [KEY\_SCOMMAND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SCOMMAND) [KEY\_SCOPY (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SCOPY) [KEY\_SCREATE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SCREATE) [KEY\_SDC (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SDC) [KEY\_SDL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SDL) [KEY\_SELECT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SELECT) [KEY\_SEND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SEND) [KEY\_SEOL (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SEOL) [KEY\_SET\_VALUE (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_SET_VALUE) [KEY\_SEXIT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SEXIT) [KEY\_SF (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SF) [KEY\_SFIND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SFIND) [KEY\_SHELP (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SHELP) [KEY\_SHOME (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SHOME) [KEY\_SIC (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SIC) [KEY\_SLEFT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SLEFT) [KEY\_SMESSAGE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SMESSAGE) [KEY\_SMOVE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SMOVE) [KEY\_SNEXT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SNEXT) [KEY\_SOPTIONS (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SOPTIONS) [KEY\_SPREVIOUS (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SPREVIOUS) [KEY\_SPRINT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SPRINT) [KEY\_SR (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SR) [KEY\_SREDO (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SREDO) [KEY\_SREPLACE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SREPLACE) [KEY\_SRESET (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SRESET) [KEY\_SRIGHT (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SRIGHT) [KEY\_SRSUME (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SRSUME) [KEY\_SSAVE (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SSAVE) [KEY\_SSUSPEND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SSUSPEND) [KEY\_STAB (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_STAB) [KEY\_SUNDO (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SUNDO) [KEY\_SUSPEND (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_SUSPEND) [KEY\_UNDO (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_UNDO) [KEY\_UP (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.KEY_UP) [KEY\_WOW64\_32KEY (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_WOW64_32KEY) [KEY\_WOW64\_64KEY (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_WOW64_64KEY) [KEY\_WRITE (в модуле winreg)](https://python-all.ru/3.14/library/winreg.html#winreg.KEY_WRITE) [KeyboardInterrupt](https://python-all.ru/3.14/library/exceptions.html#KeyboardInterrupt) [(встроенное исключение)](https://python-all.ru/3.14/c-api/exceptions.html#index-1), [\[1\]](https://python-all.ru/3.14/c-api/exceptions.html#index-2), [\[2\]](https://python-all.ru/3.14/c-api/exceptions.html#index-3) [keycode (атрибут tkinter.Event)](https://python-all.ru/3.14/library/tkinter.html#tkinter.Event.keycode) [KeyError](https://python-all.ru/3.14/library/exceptions.html#KeyError) [keylog\_filename (атрибут ssl.SSLContext)](https://python-all.ru/3.14/library/ssl.html#ssl.SSLContext.keylog_filename) [keyname() (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.keyname) [keypad() (метод curses.window)](https://python-all.ru/3.14/library/curses.html#curses.window.keypad) [keyrefs() (метод weakref.WeakKeyDictionary)](https://python-all.ru/3.14/library/weakref.html#weakref.WeakKeyDictionary.keyrefs) [keys() (метод contextvars.Context)](https://python-all.ru/3.14/library/contextvars.html#contextvars.Context.keys) [(метод dict)](https://python-all.ru/3.14/library/stdtypes.html#dict.keys) [(метод email.message.EmailMessage)](https://python-all.ru/3.14/library/email.message.html#email.message.EmailMessage.keys) [(метод email.message.Message)](https://python-all.ru/3.14/library/email.compat32-message.html#email.message.Message.keys) [(метод mailbox.Mailbox)](https://python-all.ru/3.14/library/mailbox.html#mailbox.Mailbox.keys) [(метод sqlite3.Row)](https://python-all.ru/3.14/library/sqlite3.html#sqlite3.Row.keys) [(метод tkinter.Misc)](https://python-all.ru/3.14/library/tkinter.html#tkinter.Misc.keys) [(метод types.MappingProxyType)](https://python-all.ru/3.14/library/types.html#types.MappingProxyType.keys) [(метод xml.etree.ElementTree.Element)](https://python-all.ru/3.14/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.keys) [KeysView (класс в collections.abc)](https://python-all.ru/3.14/library/collections.abc.html#collections.abc.KeysView) [(класс в typing)](https://python-all.ru/3.14/library/typing.html#typing.KeysView) [keysym (атрибут tkinter.Event)](https://python-all.ru/3.14/library/tkinter.html#tkinter.Event.keysym) [keysym\_num (атрибут tkinter.Event)](https://python-all.ru/3.14/library/tkinter.html#tkinter.Event.keysym_num) [ключевое слово](https://python-all.ru/3.14/reference/lexical_analysis.html#index-10), [\[1\]](https://python-all.ru/3.14/reference/lexical_analysis.html#index-11) [as](https://python-all.ru/3.14/reference/compound_stmts.html#index-18), [\[1\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-20), [\[2\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-9), [\[3\]](https://python-all.ru/3.14/reference/simple_stmts.html#index-34) [async](https://python-all.ru/3.14/reference/compound_stmts.html#index-52) [await](https://python-all.ru/3.14/reference/compound_stmts.html#index-52), [\[1\]](https://python-all.ru/3.14/reference/expressions.html#index-56) [**case**](https://python-all.ru/3.14/reference/compound_stmts.html#index-20) [elif](https://python-all.ru/3.14/reference/compound_stmts.html#index-3) [else](https://python-all.ru/3.14/reference/compound_stmts.html#index-14), [\[1\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-3), [\[2\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-4), [\[3\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-6), [\[4\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-9), [\[5\]](https://python-all.ru/3.14/reference/simple_stmts.html#index-31) [except](https://python-all.ru/3.14/reference/compound_stmts.html#index-9) [except\_star](https://python-all.ru/3.14/reference/compound_stmts.html#index-13) [finally](https://python-all.ru/3.14/reference/compound_stmts.html#index-15), [\[1\]](https://python-all.ru/3.14/reference/compound_stmts.html#index-9), [\[2\]](https://python-all.ru/3.14/reference/simple_stmts.html#index-25), [\[3\]](https://python-all.ru/3.14/reference/simple_stmts.html#index-32), [\[4\]](https://python-all.ru/3.14/reference/simple_stmts.html#index-33) [from](https://python-all.ru/3.14/reference/expressions.html#index-23), [\[1\]](https://python-all.ru/3.14/reference/simple_stmts.html#index-34) [if](https://python-all.ru/3.14/reference/compound_stmts.html#index-20) [in](https://python-all.ru/3.14/reference/compound_stmts.html#index-6) [модуль](https://python-all.ru/3.14/library/keyword.html#module-keyword) [yield](https://python-all.ru/3.14/reference/expressions.html#index-23) [keyword (класс в ast)](https://python-all.ru/3.14/library/ast.html#ast.keyword) [**именованный аргумент**](https://python-all.ru/3.14/glossary.html#term-keyword-argument) [keywords (атрибут functools.partial)](https://python-all.ru/3.14/library/functools.html#functools.partial.keywords) [kill() (метод asyncio.subprocess.Process)](https://python-all.ru/3.14/library/asyncio-subprocess.html#asyncio.subprocess.Process.kill) [(метод asyncio.SubprocessTransport)](https://python-all.ru/3.14/library/asyncio-protocol.html#asyncio.SubprocessTransport.kill) [(в модуле os)](https://python-all.ru/3.14/library/os.html#os.kill) [(метод multiprocessing.Process)](https://python-all.ru/3.14/library/multiprocessing.html#multiprocessing.Process.kill) [(метод subprocess.Popen)](https://python-all.ru/3.14/library/subprocess.html#subprocess.Popen.kill) [kill\_python() (в модуле test.support.script\_helper)](https://python-all.ru/3.14/library/test.html#test.support.script_helper.kill_python) [kill\_workers() (метод concurrent.futures.ProcessPoolExecutor)](https://python-all.ru/3.14/library/concurrent.futures.html#concurrent.futures.ProcessPoolExecutor.kill_workers) [killchar() (в модуле curses)](https://python-all.ru/3.14/library/curses.html#curses.killchar) [killpg() (в модуле os)](https://python-all.ru/3.14/library/os.html#os.killpg) [kind (атрибут inspect.Parameter)](https://python-all.ru/3.14/library/inspect.html#inspect.Parameter.kind) [knownfiles (в модуле mimetypes)](https://python-all.ru/3.14/library/mimetypes.html#mimetypes.knownfiles) [kqueue() (в модуле select)](https://python-all.ru/3.14/library/select.html#select.kqueue) [KqueueSelector (класс в selectors)](https://python-all.ru/3.14/library/selectors.html#selectors.KqueueSelector) [KW\_ONLY (в модуле dataclasses)](https://python-all.ru/3.14/library/dataclasses.html#dataclasses.KW_ONLY) [kwargs (атрибут inspect.BoundArguments)](https://python-all.ru/3.14/library/inspect.html#inspect.BoundArguments.kwargs) [(атрибут typing.ParamSpec)](https://python-all.ru/3.14/library/typing.html#typing.ParamSpec.kwargs) [kwlist (в модуле keyword)](https://python-all.ru/3.14/library/keyword.html#keyword.kwlist) |
| --- | --- |
