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

---

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

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

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

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

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

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

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

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

  - [3.1. Установка Python](https://python-all.ru/3.4/using/windows.html#installing-python)
  - [3.2. Альтернативные сборки](https://python-all.ru/3.4/using/windows.html#alternative-bundles)
  - [3.3. Настройка Python](https://python-all.ru/3.4/using/windows.html#configuring-python)

    - [3.3.1. Экскурс: Установка переменных окружения](https://python-all.ru/3.4/using/windows.html#excursus-setting-environment-variables)
    - [3.3.2. Поиск исполняемого файла Python](https://python-all.ru/3.4/using/windows.html#finding-the-python-executable)
    - [3.3.3. Поиск модулей](https://python-all.ru/3.4/using/windows.html#finding-modules)
    - [3.3.4. Выполнение скриптов](https://python-all.ru/3.4/using/windows.html#executing-scripts)
    - [3.3.5. Выполнение скриптов без лаунчера Python](https://python-all.ru/3.4/using/windows.html#executing-scripts-without-the-python-launcher)
  - [3.4. Запускатор Python для Windows](https://python-all.ru/3.4/using/windows.html#python-launcher-for-windows)

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

      - [3.4.1.1. Из командной строки](https://python-all.ru/3.4/using/windows.html#from-the-command-line)
      - [3.4.1.2. Из скрипта](https://python-all.ru/3.4/using/windows.html#from-a-script)
      - [3.4.1.3. Из ассоциаций файлов](https://python-all.ru/3.4/using/windows.html#from-file-associations)
    - [3.4.2. Строки shebang](https://python-all.ru/3.4/using/windows.html#shebang-lines)
    - [3.4.3. Аргументы в shebang-строках](https://python-all.ru/3.4/using/windows.html#arguments-in-shebang-lines)
    - [3.4.4. Настройка](https://python-all.ru/3.4/using/windows.html#customization)

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

    - [3.5.1. PyWin32](https://python-all.ru/3.4/using/windows.html#pywin32)
    - [3.5.2. cx\_Freeze](https://python-all.ru/3.4/using/windows.html#cx-freeze)
    - [3.5.3. WConio](https://python-all.ru/3.4/using/windows.html#wconio)
  - [3.6. Компиляция Python в Windows](https://python-all.ru/3.4/using/windows.html#compiling-python-on-windows)
  - [3.7. Другие ресурсы](https://python-all.ru/3.4/using/windows.html#other-resources)
- [4. Использование Python на Macintosh](https://python-all.ru/3.4/using/mac.html)

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

    - [4.1.1. Как запустить скрипт Python](https://python-all.ru/3.4/using/mac.html#how-to-run-a-python-script)
    - [4.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.4/using/mac.html#running-scripts-with-a-gui)
    - [4.1.3. Конфигурация](https://python-all.ru/3.4/using/mac.html#configuration)
  - [4.2. IDE](https://python-all.ru/3.4/using/mac.html#the-ide)
  - [4.3. Установка дополнительных пакетов Python](https://python-all.ru/3.4/using/mac.html#installing-additional-python-packages)
  - [4.4. Программирование графического интерфейса на Mac](https://python-all.ru/3.4/using/mac.html#gui-programming-on-the-mac)
  - [4.5. Распространение приложений Python на Mac](https://python-all.ru/3.4/using/mac.html#distributing-python-applications-on-the-mac)
  - [4.6. Прочие ресурсы](https://python-all.ru/3.4/using/mac.html#other-resources)
- [5. Дополнительные инструменты и сценарии](https://python-all.ru/3.4/using/scripts.html)

  - [5.1. pyvenv - Создание виртуальных окружений](https://python-all.ru/3.4/using/scripts.html#pyvenv-creating-virtual-environments)
