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

index.md

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

1> **Источник:** https://python-all.ru/3.10/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.10/using/cmdline.html)1213  - [1.1. Командная строка](https://python-all.ru/3.10/using/cmdline.html#command-line)1415    - [1.1.1. Параметры интерфейса](https://python-all.ru/3.10/using/cmdline.html#interface-options)16    - [1.1.2. Общие параметры](https://python-all.ru/3.10/using/cmdline.html#generic-options)17    - [1.1.3. Прочие параметры](https://python-all.ru/3.10/using/cmdline.html#miscellaneous-options)18    - [1.1.4. Опции, которые не следует использовать](https://python-all.ru/3.10/using/cmdline.html#options-you-shouldn-t-use)19  - [1.2. Переменные окружения](https://python-all.ru/3.10/using/cmdline.html#environment-variables)2021    - [1.2.1. Переменные режима отладки](https://python-all.ru/3.10/using/cmdline.html#debug-mode-variables)22- [2. Использование Python на платформах Unix](https://python-all.ru/3.10/using/unix.html)2324  - [2.1. Получение и установка последней версии Python](https://python-all.ru/3.10/using/unix.html#getting-and-installing-the-latest-version-of-python)2526    - [2.1.1. В Linux](https://python-all.ru/3.10/using/unix.html#on-linux)27    - [2.1.2. В FreeBSD и OpenBSD](https://python-all.ru/3.10/using/unix.html#on-freebsd-and-openbsd)28    - [2.1.3. В OpenSolaris](https://python-all.ru/3.10/using/unix.html#on-opensolaris)29  - [2.2. Сборка Python](https://python-all.ru/3.10/using/unix.html#building-python)30  - [2.3. Пути и файлы, связанные с Python](https://python-all.ru/3.10/using/unix.html#python-related-paths-and-files)31  - [2.4. Прочее](https://python-all.ru/3.10/using/unix.html#miscellaneous)32  - [2.5. Настройка OpenSSL](https://python-all.ru/3.10/using/unix.html#custom-openssl)33- [3. Настройка сборки Python](https://python-all.ru/3.10/using/configure.html)3435  - [3.1. Параметры конфигурации](https://python-all.ru/3.10/using/configure.html#configure-options)3637    - [3.1.1. Общие параметры](https://python-all.ru/3.10/using/configure.html#general-options)38    - [3.1.2. Параметры установки](https://python-all.ru/3.10/using/configure.html#install-options)39    - [3.1.3. Параметры производительности](https://python-all.ru/3.10/using/configure.html#performance-options)40    - [3.1.4. Отладочная сборка Python](https://python-all.ru/3.10/using/configure.html#python-debug-build)41    - [3.1.5. Параметры отладки](https://python-all.ru/3.10/using/configure.html#debug-options)42    - [3.1.6. Параметры компоновщика](https://python-all.ru/3.10/using/configure.html#linker-options)43    - [3.1.7. Параметры библиотек](https://python-all.ru/3.10/using/configure.html#libraries-options)44    - [3.1.8. Параметры безопасности](https://python-all.ru/3.10/using/configure.html#security-options)45    - [3.1.9. Параметры macOS](https://python-all.ru/3.10/using/configure.html#macos-options)46  - [3.2. Система сборки Python](https://python-all.ru/3.10/using/configure.html#python-build-system)4748    - [3.2.1. Основные файлы системы сборки](https://python-all.ru/3.10/using/configure.html#main-files-of-the-build-system)49    - [3.2.2. Основные этапы сборки](https://python-all.ru/3.10/using/configure.html#main-build-steps)50    - [3.2.3. Основные цели Makefile](https://python-all.ru/3.10/using/configure.html#main-makefile-targets)51    - [3.2.4. Расширения на C](https://python-all.ru/3.10/using/configure.html#c-extensions)52  - [3.3. Флаги компилятора и компоновщика](https://python-all.ru/3.10/using/configure.html#compiler-and-linker-flags)5354    - [3.3.1. Флаги препроцессора](https://python-all.ru/3.10/using/configure.html#preprocessor-flags)55    - [3.3.2. Флаги компилятора](https://python-all.ru/3.10/using/configure.html#compiler-flags)56    - [3.3.3. Флаги компоновщика](https://python-all.ru/3.10/using/configure.html#linker-flags)57- [4. Использование Python в Windows](https://python-all.ru/3.10/using/windows.html)5859  - [4.1. Полный установщик](https://python-all.ru/3.10/using/windows.html#the-full-installer)6061    - [4.1.1. Шаги установки](https://python-all.ru/3.10/using/windows.html#installation-steps)62    - [4.1.2. Снятие ограничения MAX\_PATH](https://python-all.ru/3.10/using/windows.html#removing-the-max-path-limitation)63    - [4.1.3. Установка без UI](https://python-all.ru/3.10/using/windows.html#installing-without-ui)64    - [4.1.4. Установка без загрузки](https://python-all.ru/3.10/using/windows.html#installing-without-downloading)65    - [4.1.5. Изменение установки](https://python-all.ru/3.10/using/windows.html#modifying-an-install)66  - [4.2. Пакет из Microsoft Store](https://python-all.ru/3.10/using/windows.html#the-microsoft-store-package)6768    - [4.2.1. Известные проблемы](https://python-all.ru/3.10/using/windows.html#known-issues)6970      - [4.2.1.1. Перенаправление локальных данных, реестра и временных путей](https://python-all.ru/3.10/using/windows.html#redirection-of-local-data-registry-and-temporary-paths)71  - [4.3. Пакеты из nuget.org](https://python-all.ru/3.10/using/windows.html#the-nuget-org-packages)72  - [4.4. Встраиваемый пакет](https://python-all.ru/3.10/using/windows.html#the-embeddable-package)7374    - [4.4.1. Приложение Python](https://python-all.ru/3.10/using/windows.html#python-application)75    - [4.4.2. Встраивание Python](https://python-all.ru/3.10/using/windows.html#embedding-python)76  - [4.5. Альтернативные сборки](https://python-all.ru/3.10/using/windows.html#alternative-bundles)77  - [4.6. Настройка Python](https://python-all.ru/3.10/using/windows.html#configuring-python)7879    - [4.6.1. Экскурс: установка переменных окружения](https://python-all.ru/3.10/using/windows.html#excursus-setting-environment-variables)80    - [4.6.2. Поиск исполняемого файла Python](https://python-all.ru/3.10/using/windows.html#finding-the-python-executable)81  - [4.7. Режим UTF-8](https://python-all.ru/3.10/using/windows.html#utf-8-mode)82  - [4.8. Запускатель Python для Windows](https://python-all.ru/3.10/using/windows.html#python-launcher-for-windows)8384    - [4.8.1. Начало работы](https://python-all.ru/3.10/using/windows.html#getting-started)8586      - [4.8.1.1. Из командной строки](https://python-all.ru/3.10/using/windows.html#from-the-command-line)87      - [4.8.1.2. Виртуальные окружения](https://python-all.ru/3.10/using/windows.html#virtual-environments)88      - [4.8.1.3. Из скрипта](https://python-all.ru/3.10/using/windows.html#from-a-script)89      - [4.8.1.4. Из ассоциаций файлов](https://python-all.ru/3.10/using/windows.html#from-file-associations)90    - [4.8.2. Строки shebang](https://python-all.ru/3.10/using/windows.html#shebang-lines)91    - [4.8.3. Аргументы в строках shebang](https://python-all.ru/3.10/using/windows.html#arguments-in-shebang-lines)92    - [4.8.4. Настройка](https://python-all.ru/3.10/using/windows.html#customization)9394      - [4.8.4.1. Настройка через INI-файлы](https://python-all.ru/3.10/using/windows.html#customization-via-ini-files)95      - [4.8.4.2. Настройка версий Python по умолчанию](https://python-all.ru/3.10/using/windows.html#customizing-default-python-versions)96    - [4.8.5. Диагностика](https://python-all.ru/3.10/using/windows.html#diagnostics)97  - [4.9. Поиск модулей](https://python-all.ru/3.10/using/windows.html#finding-modules)98  - [4.10. Дополнительные модули](https://python-all.ru/3.10/using/windows.html#additional-modules)99100    - [4.10.1. PyWin32](https://python-all.ru/3.10/using/windows.html#pywin32)101    - [4.10.2. cx\_Freeze](https://python-all.ru/3.10/using/windows.html#cx-freeze)102  - [4.11. Компиляция Python в Windows](https://python-all.ru/3.10/using/windows.html#compiling-python-on-windows)103  - [4.12. Другие платформы](https://python-all.ru/3.10/using/windows.html#other-platforms)104- [5. Использование Python на Mac](https://python-all.ru/3.10/using/mac.html)105106  - [5.1. Получение и установка MacPython](https://python-all.ru/3.10/using/mac.html#getting-and-installing-macpython)107108    - [5.1.1. Как запустить скрипт Python](https://python-all.ru/3.10/using/mac.html#how-to-run-a-python-script)109    - [5.1.2. Запуск скриптов с графическим интерфейсом](https://python-all.ru/3.10/using/mac.html#running-scripts-with-a-gui)110    - [5.1.3. Конфигурация](https://python-all.ru/3.10/using/mac.html#configuration)111  - [5.2. IDE](https://python-all.ru/3.10/using/mac.html#the-ide)112  - [5.3. Установка дополнительных пакетов Python](https://python-all.ru/3.10/using/mac.html#installing-additional-python-packages)113  - [5.4. Программирование GUI на Mac](https://python-all.ru/3.10/using/mac.html#gui-programming-on-the-mac)114  - [5.5. Распространение приложений Python на Mac](https://python-all.ru/3.10/using/mac.html#distributing-python-applications-on-the-mac)115  - [5.6. Прочие ресурсы](https://python-all.ru/3.10/using/mac.html#other-resources)116- [6. Редакторы и среды разработки](https://python-all.ru/3.10/using/editors.html)117