index.md
1> **Источник:** https://python-all.ru/3.12/using/index.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Настройка и использование Python89Эта часть документации посвящена общей информации о настройке окружения Python на разных платформах, запуске интерпретатора и вещах, которые упрощают работу с Python.1011- [1. Командная строка и окружение](https://python-all.ru/3.12/using/cmdline.html)1213 - [1.1. Командная строка](https://python-all.ru/3.12/using/cmdline.html#command-line)1415 - [1.1.1. Параметры интерфейса](https://python-all.ru/3.12/using/cmdline.html#interface-options)16 - [1.1.2. Общие параметры](https://python-all.ru/3.12/using/cmdline.html#generic-options)17 - [1.1.3. Прочие параметры](https://python-all.ru/3.12/using/cmdline.html#miscellaneous-options)18 - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.12/using/cmdline.html#options-you-shouldn-t-use)19 - [1.2. Переменные окружения](https://python-all.ru/3.12/using/cmdline.html#environment-variables)2021 - [1.2.1. Переменные режима отладки](https://python-all.ru/3.12/using/cmdline.html#debug-mode-variables)22- [2. Использование Python на платформах Unix](https://python-all.ru/3.12/using/unix.html)2324 - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.12/using/unix.html#getting-and-installing-the-latest-version-of-python)2526 - [2.1.1. В Linux](https://python-all.ru/3.12/using/unix.html#on-linux)2728 - [2.1.1.1. Установка IDLE](https://python-all.ru/3.12/using/unix.html#installing-idle)29 - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.12/using/unix.html#on-freebsd-and-openbsd)30 - [2.2. Сборка Python](https://python-all.ru/3.12/using/unix.html#building-python)31 - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.12/using/unix.html#python-related-paths-and-files)32 - [2.4. Прочее](https://python-all.ru/3.12/using/unix.html#miscellaneous)33 - [2.5. Настройка OpenSSL](https://python-all.ru/3.12/using/unix.html#custom-openssl)34- [3. Настройка сборки Python](https://python-all.ru/3.12/using/configure.html)3536 - [3.1. Требования к сборке](https://python-all.ru/3.12/using/configure.html#build-requirements)37 - [3.2. Сгенерированные файлы](https://python-all.ru/3.12/using/configure.html#generated-files)3839 - [3.2.1. Скрипт configure](https://python-all.ru/3.12/using/configure.html#configure-script)40 - [3.3. Параметры configure](https://python-all.ru/3.12/using/configure.html#configure-options)4142 - [3.3.1. Общие параметры](https://python-all.ru/3.12/using/configure.html#general-options)43 - [3.3.2. Опции WebAssembly](https://python-all.ru/3.12/using/configure.html#webassembly-options)44 - [3.3.3. Опции установки](https://python-all.ru/3.12/using/configure.html#install-options)45 - [3.3.4. Опции производительности](https://python-all.ru/3.12/using/configure.html#performance-options)46 - [3.3.5. Отладочная сборка Python](https://python-all.ru/3.12/using/configure.html#python-debug-build)47 - [3.3.6. Опции отладки](https://python-all.ru/3.12/using/configure.html#debug-options)48 - [3.3.7. Параметры компоновщика](https://python-all.ru/3.12/using/configure.html#linker-options)49 - [3.3.8. Параметры библиотек](https://python-all.ru/3.12/using/configure.html#libraries-options)50 - [3.3.9. Параметры безопасности](https://python-all.ru/3.12/using/configure.html#security-options)51 - [3.3.10. Параметры macOS](https://python-all.ru/3.12/using/configure.html#macos-options)52 - [3.3.11. Параметры кросскомпиляции](https://python-all.ru/3.12/using/configure.html#cross-compiling-options)53 - [3.4. Система сборки Python](https://python-all.ru/3.12/using/configure.html#python-build-system)5455 - [3.4.1. Основные файлы системы сборки](https://python-all.ru/3.12/using/configure.html#main-files-of-the-build-system)56 - [3.4.2. Основные этапы сборки](https://python-all.ru/3.12/using/configure.html#main-build-steps)57 - [3.4.3. Основные цели Makefile](https://python-all.ru/3.12/using/configure.html#main-makefile-targets)58 - [3.4.4. Расширения C](https://python-all.ru/3.12/using/configure.html#c-extensions)59 - [3.5. Флаги компилятора и компоновщика](https://python-all.ru/3.12/using/configure.html#compiler-and-linker-flags)6061 - [3.5.1. Флаги препроцессора](https://python-all.ru/3.12/using/configure.html#preprocessor-flags)62 - [3.5.2. Флаги компилятора](https://python-all.ru/3.12/using/configure.html#compiler-flags)63 - [3.5.3. Флаги компоновщика](https://python-all.ru/3.12/using/configure.html#linker-flags)64- [4. Использование Python в Windows](https://python-all.ru/3.12/using/windows.html)6566 - [4.1. Полный установщик](https://python-all.ru/3.12/using/windows.html#the-full-installer)6768 - [4.1.1. Шаги установки](https://python-all.ru/3.12/using/windows.html#installation-steps)69 - [4.1.2. Снятие ограничения MAX\_PATH](https://python-all.ru/3.12/using/windows.html#removing-the-max-path-limitation)70 - [4.1.3. Установка без UI](https://python-all.ru/3.12/using/windows.html#installing-without-ui)71 - [4.1.4. Установка без загрузки](https://python-all.ru/3.12/using/windows.html#installing-without-downloading)72 - [4.1.5. Изменение установки](https://python-all.ru/3.12/using/windows.html#modifying-an-install)73 - [4.2. Пакет из Microsoft Store](https://python-all.ru/3.12/using/windows.html#the-microsoft-store-package)7475 - [4.2.1. Известные проблемы](https://python-all.ru/3.12/using/windows.html#known-issues)7677 - [4.2.1.1. Перенаправление локальных данных, реестра и временных путей](https://python-all.ru/3.12/using/windows.html#redirection-of-local-data-registry-and-temporary-paths)78 - [4.3. Пакеты из nuget.org](https://python-all.ru/3.12/using/windows.html#the-nuget-org-packages)79 - [4.4. Встраиваемый пакет](https://python-all.ru/3.12/using/windows.html#the-embeddable-package)8081 - [4.4.1. Приложение Python](https://python-all.ru/3.12/using/windows.html#python-application)82 - [4.4.2. Встраивание Python](https://python-all.ru/3.12/using/windows.html#embedding-python)83 - [4.5. Альтернативные сборки](https://python-all.ru/3.12/using/windows.html#alternative-bundles)84 - [4.6. Настройка Python](https://python-all.ru/3.12/using/windows.html#configuring-python)8586 - [4.6.1. Экскурс: установка переменных окружения](https://python-all.ru/3.12/using/windows.html#excursus-setting-environment-variables)87 - [4.6.2. Поиск исполняемого файла Python](https://python-all.ru/3.12/using/windows.html#finding-the-python-executable)88 - [4.7. Режим UTF-8](https://python-all.ru/3.12/using/windows.html#utf-8-mode)89 - [4.8. Запускатель Python для Windows](https://python-all.ru/3.12/using/windows.html#python-launcher-for-windows)9091 - [4.8.1. Начало работы](https://python-all.ru/3.12/using/windows.html#getting-started)9293 - [4.8.1.1. Из командной строки](https://python-all.ru/3.12/using/windows.html#from-the-command-line)94 - [4.8.1.2. Виртуальные окружения](https://python-all.ru/3.12/using/windows.html#virtual-environments)95 - [4.8.1.3. Из скрипта](https://python-all.ru/3.12/using/windows.html#from-a-script)96 - [4.8.1.4. Из ассоциаций файлов](https://python-all.ru/3.12/using/windows.html#from-file-associations)97 - [4.8.2. Строки shebang](https://python-all.ru/3.12/using/windows.html#shebang-lines)98 - [4.8.3. Аргументы в строках shebang](https://python-all.ru/3.12/using/windows.html#arguments-in-shebang-lines)99 - [4.8.4. Настройка](https://python-all.ru/3.12/using/windows.html#customization)100101 - [4.8.4.1. Настройка через INI-файлы](https://python-all.ru/3.12/using/windows.html#customization-via-ini-files)102 - [4.8.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.12/using/windows.html#customizing-default-python-versions)103 - [4.8.5. Диагностика](https://python-all.ru/3.12/using/windows.html#diagnostics)104 - [4.8.6. Пробный запуск](https://python-all.ru/3.12/using/windows.html#dry-run)105 - [4.8.7. Установка по требованию](https://python-all.ru/3.12/using/windows.html#install-on-demand)106 - [4.8.8. Коды возврата](https://python-all.ru/3.12/using/windows.html#return-codes)107 - [4.9. Поиск модулей](https://python-all.ru/3.12/using/windows.html#finding-modules)108 - [4.10. Дополнительные модули](https://python-all.ru/3.12/using/windows.html#additional-modules)109110 - [4.10.1. PyWin32](https://python-all.ru/3.12/using/windows.html#pywin32)111 - [4.10.2. cx\_Freeze](https://python-all.ru/3.12/using/windows.html#cx-freeze)112 - [4.11. Компиляция Python в Windows](https://python-all.ru/3.12/using/windows.html#compiling-python-on-windows)113 - [4.12. Другие платформы](https://python-all.ru/3.12/using/windows.html#other-platforms)114- [5. Использование Python на Mac](https://python-all.ru/3.12/using/mac.html)115116 - [5.1. Получение и установка Python](https://python-all.ru/3.12/using/mac.html#getting-and-installing-python)117118 - [5.1.1. Как запустить скрипт Python](https://python-all.ru/3.12/using/mac.html#how-to-run-a-python-script)119 - [5.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.12/using/mac.html#running-scripts-with-a-gui)120 - [5.1.3. Конфигурация](https://python-all.ru/3.12/using/mac.html#configuration)121 - [5.2. IDE](https://python-all.ru/3.12/using/mac.html#the-ide)122 - [5.3. Установка дополнительных пакетов Python](https://python-all.ru/3.12/using/mac.html#installing-additional-python-packages)123 - [5.4. Программирование GUI](https://python-all.ru/3.12/using/mac.html#gui-programming)124 - [5.5. Распространение приложений Python](https://python-all.ru/3.12/using/mac.html#distributing-python-applications)125 - [5.6. Прочие ресурсы](https://python-all.ru/3.12/using/mac.html#other-resources)126- [6. Редакторы и среды разработки](https://python-all.ru/3.12/using/editors.html)127128 - [6.1. IDLE – редактор и оболочка Python](https://python-all.ru/3.12/using/editors.html#idle-python-editor-and-shell)129 - [6.2. Другие редакторы и среды разработки](https://python-all.ru/3.12/using/editors.html#other-editors-and-ides)130