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

---

# Настройка и использование Python

Эта часть документации посвящена общей информации о настройке окружения Python на разных платформах, запуске интерпретатора и вещах, которые упрощают работу с Python.

- [1. Командная строка и окружение](https://python-all.ru/3.10/using/cmdline.html)

  - [1.1. Командная строка](https://python-all.ru/3.10/using/cmdline.html#command-line)

    - [1.1.1. Параметры интерфейса](https://python-all.ru/3.10/using/cmdline.html#interface-options)
    - [1.1.2. Общие параметры](https://python-all.ru/3.10/using/cmdline.html#generic-options)
    - [1.1.3. Прочие параметры](https://python-all.ru/3.10/using/cmdline.html#miscellaneous-options)
    - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.10/using/cmdline.html#options-you-shouldn-t-use)
  - [1.2. Переменные окружения](https://python-all.ru/3.10/using/cmdline.html#environment-variables)

    - [1.2.1. Переменные режима отладки](https://python-all.ru/3.10/using/cmdline.html#debug-mode-variables)
- [2. Использование Python на платформах Unix](https://python-all.ru/3.10/using/unix.html)

  - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.10/using/unix.html#getting-and-installing-the-latest-version-of-python)

    - [2.1.1. В Linux](https://python-all.ru/3.10/using/unix.html#on-linux)
    - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.10/using/unix.html#on-freebsd-and-openbsd)
    - [2.1.3. В OpenSolaris](https://python-all.ru/3.10/using/unix.html#on-opensolaris)
  - [2.2. Сборка Python](https://python-all.ru/3.10/using/unix.html#building-python)
  - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.10/using/unix.html#python-related-paths-and-files)
  - [2.4. Прочее](https://python-all.ru/3.10/using/unix.html#miscellaneous)
  - [2.5. Настройка OpenSSL](https://python-all.ru/3.10/using/unix.html#custom-openssl)
- [3. Настройка сборки Python](https://python-all.ru/3.10/using/configure.html)

  - [3.1. Параметры конфигурации](https://python-all.ru/3.10/using/configure.html#configure-options)

    - [3.1.1. Общие параметры](https://python-all.ru/3.10/using/configure.html#general-options)
    - [3.1.2. Параметры установки](https://python-all.ru/3.10/using/configure.html#install-options)
    - [3.1.3. Параметры производительности](https://python-all.ru/3.10/using/configure.html#performance-options)
    - [3.1.4. Отладочная сборка Python](https://python-all.ru/3.10/using/configure.html#python-debug-build)
    - [3.1.5. Параметры отладки](https://python-all.ru/3.10/using/configure.html#debug-options)
    - [3.1.6. Параметры компоновщика](https://python-all.ru/3.10/using/configure.html#linker-options)
    - [3.1.7. Параметры библиотек](https://python-all.ru/3.10/using/configure.html#libraries-options)
    - [3.1.8. Параметры безопасности](https://python-all.ru/3.10/using/configure.html#security-options)
    - [3.1.9. Параметры macOS](https://python-all.ru/3.10/using/configure.html#macos-options)
  - [3.2. Система сборки Python](https://python-all.ru/3.10/using/configure.html#python-build-system)

    - [3.2.1. Основные файлы системы сборки](https://python-all.ru/3.10/using/configure.html#main-files-of-the-build-system)
    - [3.2.2. Основные этапы сборки](https://python-all.ru/3.10/using/configure.html#main-build-steps)
    - [3.2.3. Основные цели Makefile](https://python-all.ru/3.10/using/configure.html#main-makefile-targets)
    - [3.2.4. Расширения на C](https://python-all.ru/3.10/using/configure.html#c-extensions)
  - [3.3. Флаги компилятора и компоновщика](https://python-all.ru/3.10/using/configure.html#compiler-and-linker-flags)

    - [3.3.1. Флаги препроцессора](https://python-all.ru/3.10/using/configure.html#preprocessor-flags)
    - [3.3.2. Флаги компилятора](https://python-all.ru/3.10/using/configure.html#compiler-flags)
    - [3.3.3. Флаги компоновщика](https://python-all.ru/3.10/using/configure.html#linker-flags)
- [4. Использование Python в Windows](https://python-all.ru/3.10/using/windows.html)

  - [4.1. Полный установщик](https://python-all.ru/3.10/using/windows.html#the-full-installer)

    - [4.1.1. Шаги установки](https://python-all.ru/3.10/using/windows.html#installation-steps)
    - [4.1.2. Снятие ограничения MAX\_PATH](https://python-all.ru/3.10/using/windows.html#removing-the-max-path-limitation)
    - [4.1.3. Установка без UI](https://python-all.ru/3.10/using/windows.html#installing-without-ui)
    - [4.1.4. Установка без загрузки](https://python-all.ru/3.10/using/windows.html#installing-without-downloading)
    - [4.1.5. Изменение установки](https://python-all.ru/3.10/using/windows.html#modifying-an-install)
  - [4.2. Пакет из Microsoft Store](https://python-all.ru/3.10/using/windows.html#the-microsoft-store-package)

    - [4.2.1. Известные проблемы](https://python-all.ru/3.10/using/windows.html#known-issues)

      - [4.2.1.1. Перенаправление локальных данных, реестра и временных путей](https://python-all.ru/3.10/using/windows.html#redirection-of-local-data-registry-and-temporary-paths)
  - [4.3. Пакеты из nuget.org](https://python-all.ru/3.10/using/windows.html#the-nuget-org-packages)
  - [4.4. Встраиваемый пакет](https://python-all.ru/3.10/using/windows.html#the-embeddable-package)

    - [4.4.1. Приложение Python](https://python-all.ru/3.10/using/windows.html#python-application)
    - [4.4.2. Встраивание Python](https://python-all.ru/3.10/using/windows.html#embedding-python)
  - [4.5. Альтернативные сборки](https://python-all.ru/3.10/using/windows.html#alternative-bundles)
  - [4.6. Настройка Python](https://python-all.ru/3.10/using/windows.html#configuring-python)

    - [4.6.1. Экскурс: установка переменных окружения](https://python-all.ru/3.10/using/windows.html#excursus-setting-environment-variables)
    - [4.6.2. Поиск исполняемого файла Python](https://python-all.ru/3.10/using/windows.html#finding-the-python-executable)
  - [4.7. Режим UTF-8](https://python-all.ru/3.10/using/windows.html#utf-8-mode)
  - [4.8. Запускатель Python для Windows](https://python-all.ru/3.10/using/windows.html#python-launcher-for-windows)

    - [4.8.1. Начало работы](https://python-all.ru/3.10/using/windows.html#getting-started)

      - [4.8.1.1. Из командной строки](https://python-all.ru/3.10/using/windows.html#from-the-command-line)
      - [4.8.1.2. Виртуальные окружения](https://python-all.ru/3.10/using/windows.html#virtual-environments)
      - [4.8.1.3. Из скрипта](https://python-all.ru/3.10/using/windows.html#from-a-script)
      - [4.8.1.4. Из ассоциаций файлов](https://python-all.ru/3.10/using/windows.html#from-file-associations)
    - [4.8.2. Строки shebang](https://python-all.ru/3.10/using/windows.html#shebang-lines)
    - [4.8.3. Аргументы в строках shebang](https://python-all.ru/3.10/using/windows.html#arguments-in-shebang-lines)
    - [4.8.4. Настройка](https://python-all.ru/3.10/using/windows.html#customization)

      - [4.8.4.1. Настройка через INI-файлы](https://python-all.ru/3.10/using/windows.html#customization-via-ini-files)
      - [4.8.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.10/using/windows.html#customizing-default-python-versions)
    - [4.8.5. Диагностика](https://python-all.ru/3.10/using/windows.html#diagnostics)
  - [4.9. Поиск модулей](https://python-all.ru/3.10/using/windows.html#finding-modules)
  - [4.10. Дополнительные модули](https://python-all.ru/3.10/using/windows.html#additional-modules)

    - [4.10.1. PyWin32](https://python-all.ru/3.10/using/windows.html#pywin32)
    - [4.10.2. cx\_Freeze](https://python-all.ru/3.10/using/windows.html#cx-freeze)
  - [4.11. Компиляция Python в Windows](https://python-all.ru/3.10/using/windows.html#compiling-python-on-windows)
  - [4.12. Другие платформы](https://python-all.ru/3.10/using/windows.html#other-platforms)
- [5. Использование Python на Mac](https://python-all.ru/3.10/using/mac.html)

  - [5.1. Получение и установка MacPython](https://python-all.ru/3.10/using/mac.html#getting-and-installing-macpython)

    - [5.1.1. Как запустить скрипт Python](https://python-all.ru/3.10/using/mac.html#how-to-run-a-python-script)
    - [5.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.10/using/mac.html#running-scripts-with-a-gui)
    - [5.1.3. Конфигурация](https://python-all.ru/3.10/using/mac.html#configuration)
  - [5.2. IDE](https://python-all.ru/3.10/using/mac.html#the-ide)
  - [5.3. Установка дополнительных пакетов Python](https://python-all.ru/3.10/using/mac.html#installing-additional-python-packages)
  - [5.4. Программирование GUI на Mac](https://python-all.ru/3.10/using/mac.html#gui-programming-on-the-mac)
  - [5.5. Распространение приложений Python на Mac](https://python-all.ru/3.10/using/mac.html#distributing-python-applications-on-the-mac)
  - [5.6. Прочие ресурсы](https://python-all.ru/3.10/using/mac.html#other-resources)
- [6. Редакторы и среды разработки](https://python-all.ru/3.10/using/editors.html)
