Windows embeddable package 64 bit что это

У Pyhon есть прекрасный инсталлятор, который все сдеает сам и установит Python со всеми стандартными модулями. Но, что делать, если ваше приложение использует

Содержание

  1. Электрический блогнот
  2. мои заметки на полях
  3. python embedded или как добавить python в свое приложение
  4. Шаг 1 — загружаем встраиваемый Python
  5. Шаг 2 — устанавливаем встраиваемый Pyton
  6. Шаг 3 — pip
  7. Шаг 4 — модули
  8. Шаг 5 — тестирование
  9. Автоматизированная установка ОС на примере Windows Embedded x64
  10. Пошаговая инструкция с примерами
  11. Требования к рабочей машине:
  12. 1. Создание файла ответов AutoUnattend.xml.
  13. 2. Добавление драйверов в процесс автоматической установки ОС.
  14. 3. Добавление дополнительных приложений и системных настроек с помощью файла ответов, скриптов и команд.
  15. 4. Создание тестового образа.
  16. 5. Снятие образа с тестовой машины и развертывание на целевых устройствах.
  17. Using CPython’s Embeddable Zip File
  18. Why embed Python?
  19. Executing a simple Python string
  20. Executing Python directly
  21. How does the embeddable zip file help?
  22. What about other packages?
  23. Where else can I get help?
  24. Настройка локальной среды
  25. Получение Python
  26. Платформа Windows
  27. Платформа Linux
  28. Mac OS
  29. Настройка PATH
  30. Настройка PATH в Unix / Linux
  31. Настройка PATH в Windows
  32. Переменные среды Python
  33. Запуск Python
  34. Интерактивный интерпретатор
  35. Скрипт из командной строки
  36. Интегрированная среда разработки
  37. реклама
  38. реклама
  39. реклама
  40. реклама

Электрический блогнот

мои заметки на полях

python embedded или как добавить python в свое приложение

python embedded m

У Pyhon есть прекрасный инсталлятор, который все сдеает сам и установит Python со всеми стандартными модулями. Но, что делать, если ваше приложение использует python скрипты, а заставлять пользователя скачивать и устанавливать весь Python вам не хочется. Для этого существует Python Embedded (встраиваемый). Этот пакет не требует установки и может быть просто скопирован в папку с вашим приложением. Так же вы сможете установить все необходимые модули для работы и создать миниокружение для работы. Тем самым полностью избавить пользователя от лишних действий. Он даже и не узнает, что часть вашего приложения запускает Python. Этот прием я использовал в приложении Fpska (конвертация видео в 60 fps).
Далее я подробно распишу, как внедрить Python в свое приложение. Все эллементарно. Несколько простых шагов.

Шаг 1 — загружаем встраиваемый Python

Идем на python.org и скачиваем нужную версию python embedded:

python embedded 1

Шаг 2 — устанавливаем встраиваемый Pyton

Вся установка сводится к простой распаковке архива:

python embedded 2
На этом шаге можно было бы и остановиться, но чистый Python редко, кто использует. Нужны еще и модули. А чтобы поставить модули нужен pip (package installer for Python).

Шаг 3 — pip

Перед устанвкой pip настроим пути к библиотекам. Для этого в файле python37._pth нужно раскомментировать строку:

Скачиваем pip. Для этого рекомендуют использовать утилиту curl:

но можно просто скачать из браузера

Далее переходим в папку с embedded Python и устанавливаем инсталлятор пакетов (pip):

После установки pip появятся папки Lib и Scripts:
python embedded 4

Сразу же проверим работает ли pip:
python embedded 5

python embedded 6

Шаг 4 — модули

Устанавливаем модули. Для примера установим модуль wxPython (добавляет графический интерфейс).

python embedded 7

Шаг 5 — тестирование

Тестируем только что собранный Python. При тестировании очент важно проверить, что получился абсолютно независимый дистрибутив Python со всеми проинсталлированными модулями. Для этого устанавливаем все необходимые модули. Делаем архив папки, где установлен Python Embedded с модулями. И загружаем его куда-нибудь на файлообменник. Затем находим чистый Windows 10, где Python никогда не был установлен. Скачиваем архив и распаковываем. Запускаем любой тестовый скриптик. На следующей картинке тестовый запуск wxPython приложения:

Источник

Автоматизированная установка ОС на примере Windows Embedded x64

Пошаговая инструкция с примерами

d381d2e26487ae266ab2ba8807fc7eb2Наверняка каждый может вручную установить и настроить операционную систему Windows. Но для случая, когда в производственных целях эту задачу следует выполнить десятки или сотни раз, возникает необходимость автоматизированной установки.

В этой статье описываются основные шаги и советы как создать «тихую», автоматизированную установку операционной системы, настроить ее и оттестировать результат. Безусловно, в сети можно найти достаточно большое количество статей и советов про отдельные фазы такой задачи, но общие инструкции и ответы на вопросы: С чего начать? Что необходимо подготовить? Какие основные шаги процесса? – к сожалению, редкость.

Поэтому, ответы на эти вопросы здесь найдут те, кто выполняют такую задачу впервые.

Windows Embedded Standard 7×64 выбрана в качестве операционной системы для примеров.

Требования к рабочей машине:

Должны быть установлены:
Должны быть доступны:
Основные инструменты:
Структура папок в рабочей среде:

Создайте рабочую папку. Например, папку с именем “Work”.
Скопируйте содержание оригинального ISO-образа с установкой Windows в свою рабочую директорию. В результате должно получиться следующее:

image loaderimage loader

Обратите внимание на две подпапки в Distribution Share (DS) folder: “$OEM$ Folders” и “Out-Of-Box Drivers”.

Создайте папку “WorkDSOut-of-Box Drivers”. Тут будут храниться необходимые для целевого устройства драйвера.

Создайте структуру папок “WorkDS$OEM$ Folders(CustomFolder)$OEM$$$”. Тут будут храниться дополнительные файлы, приложения, реестровые файлы, конфигурации и скрипты.

Эти шаги можно поделить на подпункты со множеством деталей. Но в данной статье планируется дать только общее видение выполнения поставленной задачи.

1. Создание файла ответов AutoUnattend.xml.

Чтобы сделать установку полностью автоматизированной, нужно как минимум дать ответы на все вопросы мастера установки Windows. Файл ответов в XML-формате содержит все необходимые для этого поля.

Image Configuration Editor (ICE) может быть использован для создания и редактирования файла ответов автоматизированной установки. Конечно, для этого можно использовать любой текстовый редактор, но уже без удобств и графического интерфейса ориентированного на данную задачу ICE.

ICE позволяет создавать файл ответов, добавлять компоненты (features), драйвера и все необходимые опции, позволяющие сделать установку полностью автоматизированной.

Интуитивный пользовательский интерфейс и расширенная система поиска делают ICE приоритетным при выборе инструмента создания и редактирования файла ответа.

image loader

Для начала работы с ICE:
Features

Windows Features (в данном тексте здесь и дальше в качестве русского эквивалента используется слово «компонент») добавляются в соответствии с требованиями целевого устройства. ICE может автоматически добавить необходимые и опциональные компоненты после того, как вы добавите требуемый минимум.

Если Ваше устройство ограничено в размере дискового пространства – обратите внимание на показатель Estimated Footprint: это предположительный размер, который займет Windows на диске после установки.

image loader

Options

У всех компонентов есть одно или несколько свойств. Как минимум, необходимо определить ответы на вопросы стандартной установки: язык установки по умолчанию, подтверждение Microsoft Software License Terms, ключ продукта, на какой диск и в какой раздел будет установлена Windows, локальные установки.

Также автоматически можно задать следующие настройки Windows Welcome: язык и регион, имя пользователя, имя компьютера, обои рабочего стола, дата и время, текущее местоположение, домашняя группа, беспроводная сеть, пароль администратора.
Все опции настраиваются на одной или несколькоих фазах установки Windows. Обратите внимание на какой конкретной фазе Вы планируете настроить конкретную опцию.

Настройка дисков

На первой фазе установки Windows (Windows PE) можно настроить создание и удаление разделов физического диска. Набор опций позволяет удалить существующие разделы, создать новые разделы, указать типы, задать форматы, буквы и метки разделов, выбрать на какой диск будет установлена Windows.

Чтобы создать новый раздел на диске для опции DiskConfiguration/Disk/CreatePartitions в контекстном меню выберите действие «Insert New CreatePartition«.

image loader

image loader

image loader

Опция ImageInstall позволяет выбрать на какой из разделов будет устанавливаться операционная система.

image loader

Проверка и сохранение файла ответов

Чтобы проверить файл ответов на ошибки используйте F5. Предупреждения и ошибки будут отображены в панели сообщений.

image loader

Если были пропущены обязательные пакеты, их можно добавить автоматически с помощью сочетаний клавиш Ctrl+F5.
Ctrl+Shift+F5 добавляет все обязательные и опциональные пакеты. Используя эту опцию, следует обратить внимание на то, что footprint может быть значительно превышен.

Файл ответов должен быть назван Autounattend.xml и сохранен в корень рабочей директории.

2. Добавление драйверов в процесс автоматической установки ОС.

3. Добавление дополнительных приложений и системных настроек с помощью файла ответов, скриптов и команд.

Чтобы сразу после установки ОС автоматически установить приложения, задать их настройки, добавить записи реестра и файлы, можно использовать следующие способы:

Для «тихой» установки приложений во время установки ОС используйте соответствующие ключи: /s, /silent или /r с setup.iss файлом для InstallShield установки, /qn для MSI-пакетов, /verysilent /SP — для InnoSetup, /s для Wiseinstaller и т.д. Используйте help и опцию /? чтобы ознакомиться с опциями командной строки установки приложения.

4. Создание тестового образа.

Тестовый образ может быть создан как ISO-образ или как загрузочный USB.

Пример создания ISO-образа, используя инструмент oscdimg (%ProgramFiles%Windows Embedded Standard 7ToolsAMD64oscdimg.exe) для случая, если папка Work лежит в корне диска С:

5. Снятие образа с тестовой машины и развертывание на целевых устройствах.

Если запланировано сделать образ с тестовой машины и применить его на целевых устройствах, для начала нужно подготовить тестовую машину с помощью SYSPREP. Это требование от Microsoft. Иначе Microsoft не предоставляет поддержку продукта.

Sysprep подготавливает установку Microsoft Windows к дублированию, аудиту и доставке клиенту.
Sysprep удаляет данные конкретной системы из Windows, такие как ComputerSID. Поэтому подготовка с помощью SYSPREP – важный шаг в создании образа.

Создать образ можно используя WindowsPE с инструментами ImageX или SymantecGhost.
Используя WindowsPE Tools Command Prompt можно создать загрузочный WinPE образ с автоматизированным созданием wim-файла.
Используя Symantec GhostGhost Boot Wizard можно создать загрузочный Ghost образ с автоматизированным созданием ghost-файла.

Каждый из этих образов может быть использован для дальнейшей доставки на целевые устройства.

Образ, полученный в результате, может быть использован в lite-touch и zero-touch стратегии развертывания.

Источник

Using CPython’s Embeddable Zip File

Headshot Python

On the download page for CPython 3.5.1, you’ll see a wide range of options. Not all of these are well explained, especially for Windows users who have seven (seven!) choices.

pythoninstallers

Let me restructure the Windows items into a more feature-focused table:

Installer Initial download size Installer requires internet? Compatibility
x86 web-based installer Very small Yes Windows 32-bit and 64-bit
x64 web-based installer Very small Yes Windows 64-bit only
x86 executable installer Large (30MB) Only for debug options Windows 32-bit and 64-bit
x64 executable installer Large (30MB) Only for debug options Windows 64-bit only
x86 embeddable zip file Moderate (7MB) N/A (there is no installer) Windows 32-bit and 64-bit
x64 embeddable zip file Moderate (7MB) N/A (there is no installer) Windows 64-bit only

As is fairly common with installers these days, you have the choice to download everything in advance (the “executable installer”), or a downloader that will let you minimize the download size (the “web installer”). The latter allows you to select options before downloading the components, which can reduce the download size to around 8MB. (For those of us with fast, reliable internet access, this sounds irrelevant – for those of us tethering through a 3G mobile phone connection in the middle of nowhere, it’s a really huge saving!)

But what is the third option – the “embeddable zip file”? It looks like a reasonable download size and it doesn’t have any installer, so it seems quite attractive. However, the embeddable zip file is not actually a regular Python installation. It has a specific purpose and a narrow audience: developers who embed Python in their own native applications.

Why embed Python?

For many users, “Python” is the interactive shell that lets you type code and see immediate results. For others, it is an executable that can run .py files. While these are both true, in reality Python is itself a library that is used to interpreter code. Let’s look at the complete source code for python.exe on Windows:

That’s it! The entire purpose of python.exe is to call a function from python35.dll. Which means it is really easy to create a different executable that will run exactly what you want:

This version will ignore any command line arguments that are passed in, replacing them with an option to always start a particular script. If you give this executable its own name and icon, nobody ever has to know that you used Python at all!

But Python has a much more complete API than this. The official docs are the canonical source of information, but let’s look at a couple of example programs that you may find useful.

Executing a simple Python string

The short program above lets you substitute a different command line, but if you have a string constant you can also execute that. This example is based on the one provided in the docs.

Executing Python directly

Running a string that is predefined or dynamically generated may be useful enough, but the real power of hosting Python comes when you directly interact with the objects. However, this is also when code becomes incredibly complicated.

In almost every situation where it is possible to use Cython or CFFI to generate code for wrapping native objects and values, you should probably use them. However, while they’re great for embedding native code in Python, they aren’t as helpful (at time of writing) for embedding Python into your native code. If you want to allow users to automate your application with a Python script, you’ll need some way of importing the user’s script, and to provide Python functions to call back into your native code.

As an example of hosting Python directly, the program below replicates the one from above but uses direct calls into the Python interpreter rather than a script. (Note that there is no error checking in this sample, and you need a lot of error checking here.)

In a larger application, you’d probably call Py_Initialize as part of your startup and Py_Finalize when exiting, and then have occasional calls into the Python engine wherever it made sense. This way, you can write parts of your application in Python and interact with them directly, or allow your users to extend it by providing their own Python scripts.

How does the embeddable zip file help?

Where does the embeddable zip file come into play? While you need a full Python install to compile these programs, when you install them onto a user’s computer, you only need the contents of the embeddable zip, as well as any (pre-built) packages you need. Header files, documentation, tests and shortcuts are not necessary,

Tools like pynsist will help produce installers for pure Python programs like this, using the embeddable zip file so that you don’t have to worry about whether your users already have Python or not.

Why wouldn’t you just run the regular Python installer as part of your application? Let’s play the “what if two programs did this?” game: program X runs the 3.5.0 installer and then program Y runs the 3.5.1 installer. What version does program X now have? If it ran the installer with a custom install directory, it probably has nothing left at all, but at best it now has 3.5.1.

The regular installer is designed for users, not applications. Programs that are not Python, but use Python, need to handle their own installation to make sure they end up with the correct version in the correct location with all the correct files. The embeddable zip file contains the minimum Python runtime for an application to install by itself.

What about other packages?

The embeddable zip file does not include pip. So how do you install packages? If you didn’t read the last sentence of the previous section, here it is again: the embeddable zip file contains the minimum Python runtime for an application to install by itself.

Using the embeddable zip file implies that you want the minimum required files to run your application, and you have your own installer. So if you need extra files at runtime – such as a Python package – you’ll need to install them with your installer. As mentioned above, for developing an application you should have a full Python installation, that does include pip and can install packages locally. But when distributing your application, you need to take responsibility.

While this seems like more work (and it is more work!), the value is worth it. Do you want your installer to fail because it can’t connect to the internet? Do you want your application to fail because a different version of a library was installed? When you provide a bundle for your users, include everything that it needs (tools like pynsist will help do this automatically).

Where else can I get help?

Though I’m writing about the embeddable distribution on a Microsoft blog, this is actually a CPython feature. The doc page is part of the official Python documentation, and bugs or issues should be filed at the CPython bug tracker.

Источник

Python 3 доступен для Windows, Mac OS и большинства вариантов операционной системы Linux.

Настройка локальной среды

Откройте окно терминала и введите «python», чтобы узнать, установлен ли он и какая версия установлена.

Получение Python

Платформа Windows

Бинарники последней версии Python 3 (Python 3.6.4) доступны на этой странице загрузки

Доступны следующие варианты установки.

Примечание. Для установки Python 3.6.4 минимальными требованиями к ОС являются Windows 7 с пакетом обновления 1 (SP1). Для версий от 3.0 до 3.4.x Windows XP является приемлемым.

Платформа Linux

Различные варианты использования Linux используют разные менеджеры пакетов для установки новых пакетов.

На Ubuntu Linux Python 3 устанавливается с помощью следующей команды из терминала.

Установка из исходников

Загрузите исходный tar-файл Gzipped с URL-адреса загрузки Python https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz

Mac OS

Загрузите установщики Mac OS с этого URL-адреса https://www.python.org/downloads/mac-osx/

Дважды щелкните этот файл пакета и следуйте инструкциям мастера для установки.

Вы можете загрузить документацию Python со следующего сайта. Документация доступна в форматах HTML, PDF и PostScript.

Настройка PATH

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

Важными особенностями являются:

Настройка PATH в Unix / Linux

Настройка PATH в Windows

Переменные среды Python

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

Он используется в Windows, чтобы проинструктировать Python о поиске первого нечувствительного к регистру совпадения в инструкции импорта. Установите эту переменную на любое значение, чтобы ее активировать.

Это альтернативный путь поиска модуля. Он обычно встроен в каталоги PYTHONSTARTUP или PYTHONPATH, чтобы упростить библиотеку модулей коммутации.

Запуск Python

Интерактивный интерпретатор

Вы можете запустить Python из Unix, DOS или любой другой системы, которая предоставляет вам интерпретатор командной строки или окно оболочки.

Введите python в командной строке.

Начните кодирование сразу в интерактивном интерпретаторе.

предоставлять отладочную информацию

не запускайте сайт импорта, чтобы искать пути Python при запуске

подробный вывод (подробная трассировка по операциям импорта)

отключить встроенные исключения на основе классов (просто используйте строки); устаревший, начиная с версии 1.6

запустить скрипт Python, отправленный в виде строки cmd

запустить скрипт Python из заданного файла

Скрипт из командной строки

Сценарий Python можно запустить в командной строке, вызвав интерпретатор в вашем приложении, как показано в следующем примере.

Примечание. Убедитесь, что права файлов разрешают выполнение.

Интегрированная среда разработки

Вы можете запустить Python из среды графического интерфейса пользователя (GUI), если у вас есть приложение GUI в вашей системе, которое поддерживает Python.

Для разработки Python приложений рекомендую PyCharm от компании JetBrains, как наиболее развитую и удобную IDE.

timeweb 120 90

Рекомендуем хостинг TIMEWEB

Рекомендуемые статьи по этой тематике

Источник

Последнее время среди пользователей Windows 7 царит уныние и расстройство, ведь с 14 января 2020 года Microsoft прекратит ее поддержку. Неплохая операционная система была, но всему свое время, надо давать дорогу молодым.
Windows 7 начала свой путь 22 октября 2009 года, то есть к 14 января 2020 будет уже больше 10 лет.

реклама

У меня есть старый ноутбук, Windows 7 для которого подходит гораздо лучше, чем Windows 10. Поэтому я тоже озаботился вопросом завершения поддержки Windows 7 и стал искать выход.

реклама

А ее редакции в виде Windows Embedded POSReady 7 и Windows Embedded Compact 7, будут получать обновления до 12 октября 2022 года и 13 апреля 2022 года соответственно.

Microsoft Windows Embedded — семейство встраиваемых операционных систем Microsoft Windows для применения в специализированных устройствах. Существует несколько категорий продуктов для создания широкого спектра устройств, начиная от простых контроллеров реального времени и заканчивая POS-системами, такими как киоск самообслуживания или кассовый аппарат и промышленными системами. Windows Embedded доступна через специализированных дистрибьюторов Microsoft и должна поставляться конечному потребителю только вместе с устройством. Отличается более выгодной ценой по сравнению с настольными версиями, возможностями блокировки образа (Lockdown), продленным сроком доступности и продажи (до 15-ти лет).

Добавлю, что Windows Embedded еще и потребляет ресурсов меньше, чем обычная Windows 7, поэтому для слабых ноутбуков это то, что доктор прописал.

Я не буду скачивать образ Windows Embedded Standard 7 с торрент трекера, так как это пиратство и в сборках от дяди Васи может быть что угодно: и троян, и майнер, которые не будут видеть антивирусы.

Поэтому идем на сайт Microsoft по ссылке и нажимаем «Download».

реклама

Сайт предложит несколько частей архива, выбирайте нужную вам разрядность галочками и скачивайте.

После скачивания, в папке загрузки будут лежать несколько частей архива.

Щелкайте по первой части архива и он распакуется в iso файл.

реклама

Теперь надо воспользоваться программами UltraISO или Rufus и записать образ на флешку.

Вот содержимое образа.

Но не торопитесь извлекать флешку! Надо сразу добавить и файл русификации.
Его тоже скачиваем с сайта Microsoft по ссылке.

Жмите «Download», в открывшемся списке выбирайте нужный язык галочкой.

Все готово к установке.

Тут выбираем первый пункт.

Выбираем язык.

Далее идет установка. На мой старый ноутбук с медленным HDD устанавливалась довольно долго.

Стартовое окно отличается от обычной Windows 7.

Смотрим, что получилось.

Вот окно свойств системы и диспетчер задач. Памяти ест совсем немного. Пробный период равен 30 дням. Его можно законно продлить до 120 или 180 дней.

Теперь перейдем к русификации. Открываем панель управления.

Выбираем место хранения файла с языком.

Далее я опробовал обновление с помощью UpdatePack7R2 от simplix. Все прекрасно обновляется.

Но на таком медленном железе процесс длится очень долго, несколько часов, гораздо быстрее интегрировать UpdatePack7R2 в образ Windows.

После вышеописанных манипуляций мы имеем практически обычный Windows 7, но более шустрый и занимающий меньше места на жестком диске. И о поддержке обновлениями можно не беспокоиться еще больше года.

Я оставлю его у себя на ноутбуке и рекомендую вам попробовать.

Источник

Adblock
detector

S.No. Вариант и описание
1
  1. 1. Настройка локальной среды
  2. 2. Получение Python
    1. 1. Платформа Windows
    2. 2. Платформа Linux
    3. 3. Mac OS
  3. 3. Настройка PATH
    1. 1. Настройка PATH в Unix / Linux
    2. 2. Настройка PATH в Windows
    3. 3. Переменные среды Python
    4. 4. Запуск Python
      1. 1. Интерактивный интерпретатор
      2. 2. Скрипт из командной строки
      3. 3. Интегрированная среда разработки

Python 3 доступен для Windows, Mac OS и большинства вариантов операционной системы Linux.

Настройка локальной среды

Откройте окно терминала и введите «python», чтобы узнать, установлен ли он и какая версия установлена.

Получение Python

Платформа Windows

Бинарники последней версии Python 3 (Python 3.6.4) доступны на этой странице

загрузки

Доступны следующие варианты установки.

  • Windows x86-64 embeddable zip file
  • Windows x86-64 executable installer
  • Windows x86-64 web-based installer
  • Windows x86 embeddable zip file
  • Windows x86 executable installer
  • Windows x86 web-based installer

Примечание. Для установки Python 3.6.4 минимальными требованиями к ОС являются Windows 7 с пакетом обновления 1 (SP1). Для версий от 3.0 до 3.4.x Windows XP является приемлемым.


Платформа Linux

Различные варианты использования Linux используют разные менеджеры пакетов для установки новых пакетов.

На Ubuntu Linux Python 3 устанавливается с помощью следующей команды из терминала.

sudo apt-get install python3-minimal

Установка из исходников

Загрузите исходный tar-файл Gzipped с URL-адреса загрузки Python

https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz

Extract the tarball
tar xvfz Python-3.5.1.tgz
Configure and Install:
cd Python-3.5.1
./configure --prefix = /opt/python3.5.1
make  
sudo make install

Mac OS

Загрузите установщики Mac OS с этого URL-адреса

https://www.python.org/downloads/mac-osx/

Дважды щелкните этот файл пакета и следуйте инструкциям мастера для установки.

Самый современный и текущий исходный код, двоичные файлы, документация, новости и т.д. Доступны на официальном сайте Python —


Python Official Website

https://www.python.org/

Вы можете загрузить документацию Python со следующего сайта. Документация доступна в форматах HTML, PDF и PostScript.


Python Documentation Website

www.python.org/doc/

Настройка PATH

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

Важными особенностями являются:

  • Путь хранится в переменной среды, которая является именованной строкой, поддерживаемой операционной системой. Эта переменная содержит информацию, доступную для командной оболочки и других программ.
  • Переменная пути называется PATH в Unix или Path в Windows (Unix чувствительна к регистру, Windows — нет).
  • В Mac OS установщик обрабатывает детали пути. Чтобы вызвать интерпретатор Python из любого конкретного каталога, вы должны добавить каталог Python на свой путь.

Настройка PATH в Unix / Linux

Чтобы добавить каталог Python в путь для определенного сеанса в Unix —


  • В csh shell

    — введите setenv PATH «$ PATH:/usr/local/bin/python3» и нажмите Enter.

  • В оболочке bash (Linux)

    — введите PYTHONPATH=/usr/local/bin/python3.4 и нажмите Enter.

  • В оболочке sh или ksh

    — введите PATH = «$PATH:/usr/local/bin/python3» и нажмите Enter.

Примечание.

/usr/local/bin/python3

— это путь к каталогу Python.

Настройка PATH в Windows

Чтобы добавить каталог Python в путь для определенного сеанса в Windows —

  • В командной строке введите путь

    %path%;C:Python

    и нажмите Enter.

Примечание.

C:Python

— это путь к каталогу Python.

Переменные среды Python

S.No. Переменная и описание
1
PYTHONPATH

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

Он содержит путь к файлу инициализации, содержащему исходный код Python. Он выполняется каждый раз, когда вы запускаете интерпретатор. Он называется как .pythonrc.py в Unix и содержит команды, которые загружают утилиты или изменяют PYTHONPATH.
3
PYTHONCASEOK

Он используется в Windows, чтобы проинструктировать Python о поиске первого нечувствительного к регистру совпадения в инструкции импорта. Установите эту переменную на любое значение, чтобы ее активировать.
4
PYTHONHOME

Это альтернативный путь поиска модуля. Он обычно встроен в каталоги PYTHONSTARTUP или PYTHONPATH, чтобы упростить библиотеку модулей коммутации.

Запуск Python

Существует три разных способа запуска Python —

Интерактивный интерпретатор

Вы можете запустить Python из Unix, DOS или любой другой системы, которая предоставляет вам интерпретатор командной строки или окно оболочки.

Введите

python

в командной строке.

Начните кодирование сразу в интерактивном интерпретаторе.

$python             # Unix/Linux
or 
python%             # Unix/Linux
or 
C:>python           # Windows/DOS

Вот список всех доступных параметров командной строки —

S.No. Вариант и описание
1
-d

предоставлять отладочную информацию
2
-O

генерировать оптимизированный байт-код (приводящий к .pyo-файлам)
3
-S

не запускайте сайт импорта, чтобы искать пути Python при запуске
4
-v

подробный вывод (подробная трассировка по операциям импорта)
5
-X

отключить встроенные исключения на основе классов (просто используйте строки); устаревший, начиная с версии 1.6
6
-c cmd

запустить скрипт Python, отправленный в виде строки cmd
7
file

запустить скрипт Python из заданного файла

Скрипт из командной строки

Сценарий Python можно запустить в командной строке, вызвав интерпретатор в вашем приложении, как показано в следующем примере.

$python  script.py          # Unix/Linux
or 
python% script.py           # Unix/Linux
or 
C:>python script.py         # Windows/DOS

Примечание. Убедитесь, что права файлов разрешают выполнение.

Интегрированная среда разработки

Вы можете запустить Python из среды графического интерфейса пользователя (GUI), если у вас есть приложение GUI в вашей системе, которое поддерживает Python.

Для разработки Python приложений рекомендую PyCharm от компании JetBrains, как наиболее развитую и удобную IDE.

fpim

Embeddable distribution

If there is anything I like about Windows as a pythonist, it must be that you can use embedded distribution of python.

The embedded distribution is a ZIP file containing a minimal Python environment. It is intended for acting as part of another application, rather than being directly accessed by end-users.

In my opinion, it is a portable, ready-to-ship virtualenv. However, the embedded distribution comes with some limitation:

Third-party packages should be installed by the application installer alongside the embedded distribution. Using pip to manage dependencies as for a regular Python installation is not supported with this distribution, though with some care it may be possible to include and use pip for automatic updates. In general, third-party packages should be treated as part of the application (“vendoring”) so that the developer can ensure compatibility with newer versions before providing updates to users.

Sounds scary right? It said it doesn’t even support pip. Don’t worry, followthese simple steps, you will have a fully workable embedded environment.

Get the distribution

  1. Go to https://www.python.org/downloads/windows/
  2. Choose the version python you like and download the corresponding Windows x86-64 embeddable zip file.
  3. Unzip the file.

To make this tutorial easy to follow, I am assuming that you have downloaded Python3.7 and unzipped it toC:python.

Get pip

The distribution does not have pip installed in place, you need to install it yourself:1. Download get-pip.py at https://bootstrap.pypa.io/get-pip.py2. Save it to c:pythonget-pip.py3. In command-line run C:pythonpython get-pip.py4. pip is now installed

Config path

The runtime of this distribution doesn’t have an empty string '' added in sys.path,so that the current directory is not added into sys.path, to solve the problem,you need to:

  1. Open C:pythonpython37._pth.
  2. Uncomment the line #import site and save.
  3. Create a new .py file and save it as c:pythonsitecustomize.py:
import sys
sys.path.insert(0, '')

Enter fullscreen mode

Exit fullscreen mode

lib2to3 issue

You will encounter the following error when you try to install some packages:

error: [Errno 0] Error: 'lib2to3\Grammar3.6.5.final.0.pickle'

Enter fullscreen mode

Exit fullscreen mode

  1. Unzip C:pythonpython37.zip to a new folder
  2. Delete C:pythonpython37.zip
  3. Rename the new folder to python37.zip (yes, a new folder called python37.zip)

Python’s import module is able to treat zip file as folder however, it cannot read pickle file inside a zip file, so unzip it and rename it.

Running pip

If you don’t want to mess with you PATH, you can simply do the following in your window command prompt:

  1. CD C:pythonScripts
  2. pip install xxxxx

Running Scripts

Again if you don’t want to mess with you PATH, you can simply do in your window command prompt:

  1. C:pythonpython <path to your script>

Done!

Posted: 6th November 2016
Category: Python
Tags: python, windows

Those who have been following Python development on Windows recently will be aware that I’ve been actively redeveloping the installer. And if you’ve been watching closely you’ll know that there are now many more ways to install the official python.org release than in the past, not even including distributions such as WinPython or Anaconda.

In this post, I’m going to discuss each of the ways you can install the official releases of Python (since version 3.5), provide some context on when and why you would choose one over another, and discuss the positives and negatives of each approach.

History

Historically, there was one single MSI installer available that was intended to cover the needs of all Python users.

Python 3.4.4 installer

This installer would allow you to select a target directory and some features from its user interface or the command line (if you know the magic words), and would generally install the full distribution with all entry points (shortcuts, etc.).

Unfortunately, due to the nature of how MSIs work, there are some limitations that affect the user experience. The most major of these is the fact that MSIs cannot decide whether elevate as part of the install — it has to be hardcoded. As a result, the old installer always requires administrative privileges just in case you choose to install for all users. This prevents installation of Python on machines where you do not have full control over the system.

Secondly, while Python is often seen as one monolithic package, it is actually made up of a number of unrelated components. For example, the test suite is often not required for correct operation, nor is the documentation and often the development headers and libraries. While MSIs do support optional features, they tend to encounter issues when performing upgrades between versions (such as forgetting which options you had selected), and in general you always need to carry around the optional components even if you’re never going to install them.

Finally, some operations that are not simple file installations can be complicated. For example, when pip is installed or the standard library is precompiled, the MSI executes a background task rather than normally installing files. Without careful configuration of the MSI, these files will not be properly uninstalled or repaired, and issues in the extraction process can cause the entire task to fail. At worst, the uninstall step could fail, which can make it impossible to uninstall Python.

Modern Era

The issues described above have been addressed by the installers available since Python 3.5. However, there are also other uses for Python that do not lend themselves to a regular installer. For example, applications that want to include Python as a runtime dependency may not want to install a global copy of Python, build machines may require semi-public but non-conflicting installs of different versions, and platform-as-a-service web hosts may not allow normal installers.

Since Python 3.5.2, the official Python releases have been made available as executable installers, embeddable ZIP packages, nuget packages and Azure site extensions. There are also a range of third-party distributions that include the official Python binaries, along with other useful tools or libraries.

How do I know if a third-party distribution has the official binaries? Find the install directory, right-click each of the exe, dll or pyd files and select Properties, then Digital Signatures. If the signature is from the Python Software Foundation, it’s the official binary and has not been modified. If there is a different signature or no signature, it may not be the same as what is released on python.org.

The Python Software Foundation certificate

Executable installers

The executable installers are the main way that users download Python, and are the featured downloads at python.org. I think of these as the Python Developer Kit.

Python 3.5.0 installer

These installers provide the most flexible user interface, include all dependencies such as system updates and the Python launcher, generate shortcuts for the interpreter, the manuals and the IDLE editor, and correctly support upgrades without forgetting about feature selection.

Two versions of the executable installer are available for any given release — one labelled “executable installer” and the other “web-based installer”.

The web-based installer is typically a small initial download (around 1MB), which gets you the installer UI shown above. After you have selected or deselected optional components, the minimum set of packages necessary to install Python will be downloaded and installed. This makes it easy to minimize overall download size since unused or unnecessary components are never downloaded, though it does require that you be connected to the internet at install time. (There’s also a command-line option to download all the packages you may ever need, which will then be used later instead of downloading them over and over again.)

The other installer includes the default set of features in the EXE itself. As a result, the initial download is around 30MB, but in most cases you can install without requiring any further internet access. For a single installation, your download will likely be 3-5MB larger compared to using the web-based installer, but if you use it to install on multiple machines then you’ll likely come out ahead.

Both executable installers result in identical installations and can be automated with identical command-line options. As I mentioned above, I think of this as the Python Developer Kit, which is why there are optional features to download debugging symbols or a complete debug build, which are not available in any other options. The Python Developer Kit provides everything necessary for someone to develop a complete Python application.

What about having a single MSI installer? There’s a section coming up about this. Just keep reading.

Embeddable package

If the executable installer is the Python Developer Kit, then the embeddable package is the Python runtime redistributable. Rather than trying to be an easy-to-use installer, this package is a simple ZIP file containing the bare minimum of Python required to run applications. This includes the python[w].exe executables, the python35.dll (or later) and python3.dll modules, the standard library extension modules (*.pyd), and a precompiled copy of the standard library stored in another ZIP file.

The resulting package is about 7MB to download and around 12MB when extracted. Documentation, tools, and shortcuts are not included, and the embeddable package does not reliably build and install packages. However, once your application is ready, rather than instructing users to install Python themselves, you can include the contents of this package in your own installer. (For example, Microsoft’s command-line tools for Azure will likely do this, and installers created using pynsist can include this package automatically.)

Using the embeddable package allows you to distribute applications on Windows that use Python as a runtime without exposing it to your users. By default, a configuration file is also included to force the use of isolated mode and prevents environment variables and registry settings from affecting it (python36._pth on Python 3.6; pyvenv.cfg for Python 3.5). On Python 3.6 this file can also specify additional search paths. If your application is hosting Python, you can also choose not to distribute python.exe or any extension modules that are not used in your application.

There is no support for pip, setuptools or distutils in the embeddable package, since the idea is that you will develop against the Python Developer Kit and then lock your dependencies when you release your application. Depending on the installer technology you are using for your application, you will probably vendor any third-party packages by copying them directly into the directory with your Python code.

See this blog post for more information about how to take advantage of the embeddable distribution.

Nuget package

Nuget is a packaging technology typically used on Windows to manage development dependencies. There are many packages available as source code or pre-built binaries, mostly for .NET assemblies, as well as build tools and extensions.

There are four Python packages available on nuget, released under my name (steve.dower) but built as part of the official python.org releases. The packages are:

  • python — the latest 3.x 64-bit
  • pythonx86 — the latest 3.x 32-bit
  • python2 — the latest 2.x 64-bit
  • python2x86 — the latest 2.x 32-bit

These may be referenced by projects in Visual Studio or directly using nuget.exe to easily install a copy of Python into a build directory. It will typically install into a directory like packagespython.3.5.2toolspython.exe, though this can often be customised.

rem Install Python 2.7
nuget.exe install -OutputDirectory packages python2

rem Add -Prerelease to get Python 3.6
nuget.exe install -OutputDirectory packages -Prerelease python

rem More options are available
nuget.exe install -Help

The contents of the nuget package is somewhere between the full installation and the embeddable package. The headers, libs and pip are included so that you can install dependencies or build your own modules. The standard library is not zipped, but also does not include the CPython test suite or libraries intended for user interaction. Operating system updates are not included, so you will need to ensure your build machine is up to date before using these packages.

There is no configuration in these packages to restrict search paths or environment variables, as these are very important to control in build definitions. As a result, there is a high likelihood that a regular installation of Python may conflict with these packages. In general, it’s best to avoid installing Python on build machines where you are using these packages. If you need a full installation, avoid using the nuget packages or test for conflicts thoroughly. (Note that conflicts typically only occur within the same x.y version, so you can safely install 2.7 and use the 3.5 nuget packages.)

Azure Site Extensions

Update 2019: These packages have been deprecated and removed. This section is of historical interest only.

Note: This particular package is released by Microsoft and is managed by my team there. The Python Software Foundation is not responsible for this package.

Azure App Service is a platform-as-a-service offering for web services (including web apps, mobile backends, and triggered jobs). It uses site extensions to customise and enhance your web services, including a range of Python versions to simplify configuration of Python-based servers.

Because web services are sensitive to even the smallest change in a dependency, each version is available as its own package. This allows you to be confident that when your site uses one of these it is not going to change without you explicitly updating your site. The current packages available at time of writing are:

  • python352x64
  • python352x86
  • python351x64
  • python2712x64
  • python2712x86
  • python2711x64

The contents of these packages is almost entirely unmodified from the official python.org releases. Some extra files for correct installation, configuration and behaviour of the web server are included, as well as copies of pip, setuptools, and certifi. Occasionally a package will include targeted patches to fix or work around issues with the platform, but we always aim to upstream fixes as soon as possible. Under the hood, these are simply nuget packages that can also be installed using nuget.exe on any copy of Windows.

C:> nuget.exe list python -Source https://www.siteextensions.net/api/v2/
python2711x64 2.7.11.3
python2712x64 2.7.12.2
python2712x86 2.7.12.1
python351x64 3.5.1.6
python352x64 3.5.2.2
python352x86 3.5.2.1

Visit aka.ms/PythonOnAppService for the most up-to-date information about how to use these packages on Azure App Service.

Hypothetical Futures

While that covers the current set of available installers, there are some further use-cases that are not as well served. In this section I will briefly discuss the cases that I am currently aware of and their status. There are no promises that official installation packages for these will ever be produced (bearing in mind that Python is developed almost entirely by volunteers with limited free time), but there is also nothing preventing third-parties from producing and distributing these formats.

Are you already distributing Python in any of these formats? Let me know and I’m happy to link to you, provided I’m not concerned about the contents of your distribution.

Nuget package for source/runtime dependency

Earlier I discussed the nuget packages as build tools, but the more common use of nuget packages is for build dependencies. Normally a project (typically a Visual Studio project, but nuget can also be used independently) will specify a dependency on a source or binary package and obtain build steps or configuration from a known location within the package.

Providing a nuget package containing either the Python source code or the embeddable package may simplify projects that host the runtime. These would predominantly be C/C++ projects rather than pure Python projects, but some installer toolkits may prefer a ready-to-embed nuget package rather than a plain ZIP file.

There has not been much demand for this particular format. In general, a C/C++ project can make equally good use of the current nuget packages, and would require those for the headers and libraries anyway, while the embeddable package is not always suitable for installation completely unmodified. These reduce the value of a dependency nuget package to nearly zero, which is why we currently don’t have one.

Universal Windows Platform

The Universal Windows Platform is part of Windows 10 and specifies a common API set that is available across all Windows devices. This includes PCs, tablets, phone, IoT Core, XBox, HoloLens, and likely any new Windows hardware into the future.

Providing a UWP package of Python would allow developers to distribute Python code across all of these platforms. Indeed, the team behind IoT Core have already provided their version of this package. However, as the API set is not always compatible with the Win32 API, this task requires supporting a new platform within Python (that is, sys.platform would return a value other than 'win32'). Currently nobody has completely adapted Python for UWP, added the extensions required to access new platform APIs, or fully implemented the deployment tools needed for this to be generally useful (though the IoT Core support is a huge step towards this).

Administrative Deployment

System administrators will often deploy software to some or all machines on their network using management tools such as Group Policy or System Center. While it is possible to remotely install from the executable installers, these tools often require or have enhanced functionality when the installer is a pure MSI.

Unfortunately, the issues and limitations of MSI described at the start of this post still apply. It is not possible for an MSI to install all required dependencies, create an MSI that can run without administrator privileges, and robustly ensure that upgrade and remove operations behave correctly. However, it would be possible to produce a suitable MSI and installation instructions for the limited use case of administrative deployment. Such a package would likely have these characteristics:

  • Fails if certain operating system updates are missing
  • Always requires administrator privileges
  • Only allows installation for all users
  • Only allows configuration at the command line (via msiexec)
  • Requires a separate task to precompile the standard library and install pip
  • Requires additional cleanup task when uninstalling
  • Prevents the executable installer from installing for all users

System administrators would be responsible for following the documentation associated with such an MSI, and I have no doubt that most are entirely capable of doing this. However, as this would not be a good experience for most users it cannot be the default or recommended installer. I’m aware that there are some people who are grieved by this, but interactive installs are vastly more common and so take priority when determining what to offer from python.org.

Summary

Installing Python on Windows has always been a fairly reliable process. The ability to select precisely which version you would like without fear of damaging system components allows a lot of confidence that is not always available on other platforms. Improvements in recent releases make it easier to install, upgrade and manage Python, even for non-administrator users.

We have a number of different formats in which Python may be obtained depending on your intended use. The executable installers provide the full Python Developer Kit; the embeddable package contains the runtime dependencies; nuget packages allow easy use of Python as a build tool; and site extensions for Azure App Service make it easier to manage Python as a web server dependency.

There is also potential to add new formats in the future, either through third-party distributions or as new maintainers volunteer their time towards core development. For an open-source project that is run almost entirely on volunteer time, Python is an amazing example of a robust, trustworthy product with as much flexibility as any professionally developed product.

Discussion of this post is welcome here in the comments. If you are having issues installing Python, please file an issue on bugs.python.org.

В то время как доля Windows 10 продолжает расти, среди пользователей по-прежнему остаются такие, которые продолжают работать на Windows XP. У каждого из них есть своя причина не переходить на более новые версии системы, но объективной можно назвать только одну — слишком слабый компьютер, неспособный в полной мере потянуть семерку или восьмерку. Не то чтобы XP плоха, ни в коем случае, это замечательная система.

Но она отжила свое, и уже мало кто из разработчиков программного обеспечения оптимизирует под нее свои продукты. Программы же от известных брендов могут на ней вообще не работать или работать некорректно.

Получается, выход только один — покупать новый компьютер? Да, это было бы самым правильным решением, но есть и другой путь. Существует семейство ОС Windows, среди которых есть как версия 7, так и 8, отличающееся весьма и весьма скромными требованиями к аппаратным ресурсам. И вот как раз такую Windows можно установить на слабенькую машину, убив таким образом двух зайцев, то есть и проапдейтиться, и в производительности не потерять.

Это системы отдельного семейства NTWindows Embedded, используемые в различных программно-технических комплексах: банкоматах, терминалах, медицинских приборах и тому подобное. Будучи основанными на настольных версиях NT, системы Embedded отличаются от первых модифицированным ядром, урезанным функционалом и более низкой стоимостью. Как и у прочих версий Windows, у Windows Embedded есть свои редакции. Например, Windows 7 Embedded распространяется в редакциях POSReady, Compact, Standard и Enterprise.

Место в семействе Embedded нашлось и более современной Windows 8.1, доступной в редакциях Compact, POSRead, Standard, Enterprise и Industry Pro. Что касается Windows 10, у этой версии также есть отдельная ветка для использования в программно-технических комплексах, но называется она IoT, что переводится как для интернета вещей. Более подробно мы рассмотрим ее как-нибудь потом, а сейчас вернёмся к основной теме. Редакции типа POSReady слишком специфичны, в силу своего ограниченного функционала они не подходят пользователю, чего нельзя сказать о редакциях Standard и Enterprise.

Версия 7 более скромна в плане требований к аппаратным ресурсам, чем версия 8.1. Для Windows Embedded Standard 7, к примеру, вполне хватит процессора с частотой 1 ГГц и 512 Мб ОЗУ, а вот восьмерку лучше устанавливать на ПК с памятью не менее 1 Гб. Давайте для начала взглянем на Windows 7 Embedded Standard 32-бит.

Основные отличия Windows 7 Embedded

По сути, это та же самая «семерка», но с урезанным функционалом. В ней есть панель управления, встроенный браузер, плеер, набор системных утилит, командная строка и редакторы реестра и групповых политик, стандартные темы оформления, поддерживаются технологии Multitouch, Silverlight и DirectX, EWF и HORM. Внешне Windows 7 Embedded почти не отличается от десктопной, разве что логотипом и экраном приветствия. В ней отсутствуют некоторые драйвера, отключен файл подкачки, ряд служб и системных компонентов, при установке не создается раздел «Зарезервировано системой», русский язык придется устанавливать отдельно. Ограничений на инсталляции стороннего ПО нет. Последнее очень важно, так как для полноценной работы с периферийными устройствами может понадобиться установка дополнительных драйверов.

Загрузка и установка

Скачать Windows 7 Embedded можно как с торрентов вместе с ключами активации, так и с официальной страницы www.microsoft.com/en-in/download/details.aspx?id=11887. На официальном ресурсе дистрибутив представлен несколькими самораспаковывающимися архивами, пусть вас это не смущает, отметьте галочками все пять частей архива как показано на скриншоте, скачайте их и запустив первую часть, распакуйте. В результате вы получите обычный загрузочный образ ISO.

Windows 7 Embedded

Windows 7 Embedded

Процедура установки будет немного отличаться. Когда появится окно мастера, нужно нажать «Build an Image», принять лицензионное соглашение, а в следующем окне выбрать совместимую со сторонним программным обеспечением конфигурацию «Application Compatibility». Далее выбираем русскую локализацию времени и раскладку клавиатуры, на следующем этапе, если в этом есть необходимость, модифицируем сборку. Опция «Modify Drivers» позволяет добавлять в процессе установки системы драйвера устройств, а опция «Modify Features» — включать или отключать компоненты Windows.

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Дальше все идет как обычно. Разбиваем диск, после копирования файлов, создаем пользователя, вводим ключ продукта. Если ключа нет, пропускаем шаг и производим привычные настройки, которыми обычно завершается установка любой версии Windows. Вскоре вы увидите привычный рабочий стол, украшенный фирменными обоями «семерки».

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Настройка

После установки первым делом нужно включить файл подкачки, так как в Windows 7 Embedded он отключен по умолчанию. Откройте командой systempropertiesperformance «Параметры быстродействия», переключитесь на вкладку Advanced, нажмите Change -> Custom size, в поля минимального и максимального значения выставите 2048 Мб, что является оптимальным для Windows 7 Embedded. Сохраняем настройки и перезагружаемся.

Windows 7 Embedded

Windows 7 Embedded

Теперь русифицируем интерфейс. Языковой файл качаем по приложенным внизу ссылкам. Браузер IE может отображать страницу загрузки некорректно, так что лучше сразу установите Chrome. Скачав CAB-файл, запустите командой lpksetup утилиту установки языкового пакета, в открывшемся окошке нажмите «Install display language» -> «Browse computer or network» и укажите путь к пакету CAB. Следуя указаниям мастера, установите пакет, затем нажмите «Next», выберите русский в качестве основного языка и примените настройки. Изменения вступят в силу после перезагрузки.

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Windows 7 Embedded

Продлеваем срок тестового режима

У официальной версии Windows 7 Embedded есть один недостаток — ее пробный период составляет всего 30 дней, после чего система начнет автоматически перезагружаться каждые 20 минут. К счастью, встроенную активацию можно сбросить три раза. Когда триал-срок подходит к концу, запустите от имени администратора командную строку, выполните в ней команду сброса slmgr -rearm и перезагрузитесь.

Windows 7 Embedded

Windows Embedded 8.1 Industry Pro

Кто желает пойти еще дальше, могут установить более новую версию системы Windows Embedded 8.1. Как и «семерка», она подходит для работы на маломощных ПК. В ней отсутствуют некоторые второстепенные компоненты и большая часть универсальных программ, кроме metro-версии IE, Магазина, приложений OneDrive, Фотографии и Камера. Установленная система весит немногим более 6,5 Гб. В остальном это практически та же Windows 8.1 Pro.

Windows Embedded 8.1 Industry Pro

Windows Embedded 8.1 Industry Pro

Загрузка и установка

Скачать дистрибутив с системой можно с официальной страницы www.microsoft.com/ru-RU/download/details.aspx?id=40745. Процедура установки системы несколько отличается, хотите вы того или нет, но при установке официальной сборки ключ придется ввести сразу.

Windows Embedded 8.1 Industry Pro

Windows Embedded 8.1 Industry Pro

Далее все как обычно: принимаем лицензионное соглашение, разбиваем дисковое пространство, производим первичные настройки профиля пользователя. Настраивать в установленной системе особо ничего не требуется. Файл подкачки в Windows Embedded 8.1 включен по умолчанию, русский язык присутствует, остается лишь активировать систему любым способом.

Русский язык для Windows 7 Embedded:

Языковой файл для 32-битных Windows 7 Embedded: www.microsoft.com/en-us/download/details.aspx?id=26215

Языковой файл для 64-битных Windows 7 Embedded: www.microsoft.com/en-us/download/details.aspx?id=26216

Загрузка…

Windows Embeddable Python with virtualenv support

The repository contains code to repackage Windows Embeddable version of Python with virtualenv.

What is Windows Embeddable Python?

Windows Embeddable Python is a minimalistic Python distribution suitable for bundling Python inside applications for Windows.

The package is stored in downloads: https://www.python.org/downloads

The name of the package is: Windows x86-64 embeddable zip file

Why is it necessary to repackage ZIP with Embeddable Python?

The official version has the following limitations:

  • the package does not contain pip
  • the package does not support virtualenv
  • resolution of module path behaves slightly different
    • more details: https://dev.to/fpim/setting-up-python-s-windows-embeddable-distribution-properly-1081

How it works

  • download and unpack Windows Embeddable Python
  • extract content of pythonYY.zip to Lib, remove pythonYY.zip
  • remove pythonYY._pth file
    • this file controls behavior of imports when starting Python
  • download get-pip.py and install pip
  • pip install virtualenv
  • download or use full version of python and copy Libvenvscriptsnt*.exe to python bundle
    • during the creation of virtualenv these python.exe and pythonw.exe files are being copied to virtual environment location
    • these two files are different from python.exe and pythonw.exe in the top Python directory

How to build

PowerShell:

.Bundle-Python.ps1 -PythonVersion 3.8.6

Result Python distribution will be available in python directory.

How to build with GitHub Actions

Check the version of Python in .github/workflow/bundle-python.yaml.
Commit the change and check Actions at GitHub.com.
Zip file with the result will be available as artifact in build details.

Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.

  • Latest Python 3 Release — Python 3.11.1

Stable Releases

  • Python 3.11.1 — Dec. 6, 2022

    Note that Python 3.11.1 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.10.9 — Dec. 6, 2022

    Note that Python 3.10.9 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.16 — Dec. 6, 2022

    Note that Python 3.9.16 cannot be used on Windows 7 or earlier.

    • No files for this release.
  • Python 3.8.16 — Dec. 6, 2022

    Note that Python 3.8.16 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.16 — Dec. 6, 2022

    Note that Python 3.7.16 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.11.0 — Oct. 24, 2022

    Note that Python 3.11.0 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.9.15 — Oct. 11, 2022

    Note that Python 3.9.15 cannot be used on Windows 7 or earlier.

    • No files for this release.
  • Python 3.8.15 — Oct. 11, 2022

    Note that Python 3.8.15 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.10.8 — Oct. 11, 2022

    Note that Python 3.10.8 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.7.15 — Oct. 11, 2022

    Note that Python 3.7.15 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.14 — Sept. 6, 2022

    Note that Python 3.7.14 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.8.14 — Sept. 6, 2022

    Note that Python 3.8.14 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.9.14 — Sept. 6, 2022

    Note that Python 3.9.14 cannot be used on Windows 7 or earlier.

    • No files for this release.
  • Python 3.10.7 — Sept. 6, 2022

    Note that Python 3.10.7 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.6 — Aug. 2, 2022

    Note that Python 3.10.6 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.5 — June 6, 2022

    Note that Python 3.10.5 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.13 — May 17, 2022

    Note that Python 3.9.13 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.4 — March 24, 2022

    Note that Python 3.10.4 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.12 — March 23, 2022

    Note that Python 3.9.12 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.3 — March 16, 2022

    Note that Python 3.10.3 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.11 — March 16, 2022

    Note that Python 3.9.11 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.13 — March 16, 2022

    Note that Python 3.8.13 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.13 — March 16, 2022

    Note that Python 3.7.13 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.9.10 — Jan. 14, 2022

    Note that Python 3.9.10 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.2 — Jan. 14, 2022

    Note that Python 3.10.2 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.1 — Dec. 6, 2021

    Note that Python 3.10.1 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.9 — Nov. 15, 2021

    Note that Python 3.9.9 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.8 — Nov. 5, 2021

    Note that Python 3.9.8 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0 — Oct. 4, 2021

    Note that Python 3.10.0 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.7.12 — Sept. 4, 2021

    Note that Python 3.7.12 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.6.15 — Sept. 4, 2021

    Note that Python 3.6.15 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.9.7 — Aug. 30, 2021

    Note that Python 3.9.7 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.12 — Aug. 30, 2021

    Note that Python 3.8.12 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.9.6 — June 28, 2021

    Note that Python 3.9.6 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.11 — June 28, 2021

    Note that Python 3.8.11 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.11 — June 28, 2021

    Note that Python 3.7.11 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.6.14 — June 28, 2021

    Note that Python 3.6.14 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.9.5 — May 3, 2021

    Note that Python 3.9.5 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.10 — May 3, 2021

    Note that Python 3.8.10 cannot be used on Windows XP or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.4 — April 4, 2021

    Note that Python 3.9.4 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.3 — April 2, 2021

    Note that Python 3.9.3 cannot be used on Windows 7 or earlier.

    • No files for this release.
  • Python 3.8.9 — April 2, 2021

    Note that Python 3.8.9 cannot be used on Windows XP or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.2 — Feb. 19, 2021

    Note that Python 3.9.2 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.8 — Feb. 19, 2021

    Note that Python 3.8.8 cannot be used on Windows XP or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.6.13 — Feb. 15, 2021

    Note that Python 3.6.13 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.10 — Feb. 15, 2021

    Note that Python 3.7.10 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.8.7 — Dec. 21, 2020

    Note that Python 3.8.7 cannot be used on Windows XP or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.1 — Dec. 7, 2020

    Note that Python 3.9.1 cannot be used on Windows 7 or earlier.

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.0 — Oct. 5, 2020

    Note that Python 3.9.0 cannot be used on Windows 7 or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.6 — Sept. 24, 2020

    Note that Python 3.8.6 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.6rc1 — Sept. 8, 2020

    Note that Python 3.8.6rc1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.10 — Sept. 5, 2020

    Note that Python 3.5.10 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.9 — Aug. 17, 2020

    Note that Python 3.7.9 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.12 — Aug. 17, 2020

    Note that Python 3.6.12 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.8.5 — July 20, 2020

    Note that Python 3.8.5 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.4 — July 13, 2020

    Note that Python 3.8.4 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.4rc1 — June 30, 2020

    Note that Python 3.8.4rc1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.8 — June 27, 2020

    Note that Python 3.7.8 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.11 — June 27, 2020

    Note that Python 3.6.11 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.8.3 — May 13, 2020

    Note that Python 3.8.3 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.3rc1 — April 29, 2020

    Note that Python 3.8.3rc1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.18 — April 20, 2020

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.7.7 — March 10, 2020

    Note that Python 3.7.7 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.2 — Feb. 24, 2020

    Note that Python 3.8.2 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.1 — Dec. 18, 2019

    Note that Python 3.8.1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.6 — Dec. 18, 2019

    Note that Python 3.7.6 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.10 — Dec. 18, 2019

    Note that Python 3.6.10 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.5.9 — Nov. 2, 2019

    Note that Python 3.5.9 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.5.8 — Oct. 29, 2019

    Note that Python 3.5.8 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 2.7.17 — Oct. 19, 2019

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.7.5 — Oct. 15, 2019

    Note that Python 3.7.5 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0 — Oct. 14, 2019

    Note that Python 3.8.0 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.4 — July 8, 2019

    Note that Python 3.7.4 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.9 — July 2, 2019

    Note that Python 3.6.9 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.7.3 — March 25, 2019

    Note that Python 3.7.3 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.10 — March 18, 2019

    • No files for this release.
  • Python 3.5.7 — March 18, 2019

    Note that Python 3.5.7 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 2.7.16 — March 4, 2019

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.7.2 — Dec. 24, 2018

    Note that Python 3.7.2 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.8 — Dec. 24, 2018

    Note that Python 3.6.8 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.1 — Oct. 20, 2018

    Note that Python 3.7.1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.7 — Oct. 20, 2018

    Note that Python 3.6.7 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.6 — Aug. 2, 2018

    Note that Python 3.5.6 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.4.9 — Aug. 2, 2018

    • No files for this release.
  • Python 3.7.0 — June 27, 2018

    Note that Python 3.7.0 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.6 — June 27, 2018

    Note that Python 3.6.6 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.15 — May 1, 2018

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.6.5 — March 28, 2018

    Note that Python 3.6.5 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.8 — Feb. 5, 2018

    • No files for this release.
  • Python 3.5.5 — Feb. 5, 2018

    Note that Python 3.5.5 cannot be used on Windows XP or earlier.

    • No files for this release.
  • Python 3.6.4 — Dec. 19, 2017

    Note that Python 3.6.4 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.3 — Oct. 3, 2017

    Note that Python 3.6.3 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.3.7 — Sept. 19, 2017

    • No files for this release.
  • Python 2.7.14 — Sept. 16, 2017

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.7 — Aug. 9, 2017

    • No files for this release.
  • Python 3.5.4 — Aug. 8, 2017

    Note that Python 3.5.4 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.2 — July 17, 2017

    Note that Python 3.6.2 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.1 — March 21, 2017

    Note that Python 3.6.1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.6 — Jan. 17, 2017

    • No files for this release.
  • Python 3.5.3 — Jan. 17, 2017

    Note that Python 3.5.3 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0 — Dec. 23, 2016

    Note that Python 3.6.0 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.13 — Dec. 17, 2016

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.5 — June 27, 2016

    • No files for this release.
  • Python 3.5.2 — June 27, 2016

    Note that Python 3.5.2 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.12 — June 25, 2016

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.4 — Dec. 21, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.1 — Dec. 7, 2015

    Note that Python 3.5.1 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.11 — Dec. 5, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.0 — Sept. 13, 2015

    Note that Python 3.5.0 cannot be used on Windows XP or earlier.

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.10 — May 23, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.3 — Feb. 25, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.9 — Dec. 10, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.2 — Oct. 13, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.6 — Oct. 12, 2014

    • No files for this release.
  • Python 3.2.6 — Oct. 12, 2014

    • No files for this release.
  • Python 2.7.8 — July 2, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.7 — June 1, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.1 — May 19, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.0 — March 17, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.5 — March 9, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.4 — Feb. 9, 2014

    • Download Windows X86-64 MSI Installer
    • Download Windows x86 MSI Installer
  • Python 3.3.3 — Nov. 17, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.6 — Nov. 10, 2013

    • Download Windows help file
    • Download Windows X86-64 MSI Installer
    • Download Windows X86-64 MSI program database
    • Download Windows x86 MSI Installer
    • Download Windows x86 MSI program database
  • Python 2.6.9 — Oct. 29, 2013

    • No files for this release.
  • Python 3.3.2 — May 15, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.2.5 — May 15, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.5 — May 12, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.1 — April 6, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.2.4 — April 6, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.4 — April 6, 2013

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.0 — Sept. 29, 2012

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.8 — April 10, 2012

    • No files for this release.
  • Python 3.2.3 — April 10, 2012

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.1.5 — April 9, 2012

    • No files for this release.
  • Python 2.7.3 — April 9, 2012

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.2.2 — Sept. 3, 2011

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.2.1 — July 9, 2011

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.1.4 — June 11, 2011

    • Download Windows debug information files
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.2 — June 11, 2011

    • Download Windows debug information files
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.7 — June 3, 2011

    • No files for this release.
  • Python 2.5.6 — May 26, 2011

    • No files for this release.
  • Python 3.2.0 — Feb. 20, 2011

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.1 — Nov. 27, 2010

    • Download Windows debug information files
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.1.3 — Nov. 27, 2010

    • Download Windows debug information files
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.6 — Aug. 24, 2010

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.0 — July 3, 2010

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.1.2 — March 20, 2010

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.5 — March 18, 2010

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.5.5 — Jan. 31, 2010

    • No files for this release.
  • Python 2.6.4 — Oct. 26, 2009

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.3 — Oct. 2, 2009

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.1.1 — Aug. 17, 2009

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.1.0 — June 26, 2009

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.2 — April 14, 2009

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.0.1 — Feb. 13, 2009

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.5.4 — Dec. 23, 2008

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.4.6 — Dec. 19, 2008

    • No files for this release.
  • Python 2.5.3 — Dec. 19, 2008

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.1 — Dec. 4, 2008

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.0.0 — Dec. 3, 2008

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.6.0 — Oct. 2, 2008

    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.3.7 — March 11, 2008

    • No files for this release.
  • Python 2.4.5 — March 11, 2008

    • No files for this release.
  • Python 2.5.2 — Feb. 21, 2008

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.5.1 — April 19, 2007

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.3.6 — Nov. 1, 2006

    • No files for this release.
  • Python 2.4.4 — Oct. 18, 2006

    • Download Windows help file
    • Download Windows x86 MSI installer
  • Python 2.5.0 — Sept. 19, 2006

    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.4.3 — April 15, 2006

    • Download Windows help file
    • Download Windows x86 MSI installer
  • Python 2.4.2 — Sept. 27, 2005

    • Download Windows help file
    • Download Windows x86 MSI installer
  • Python 2.4.1 — March 30, 2005

    • Download Windows x86 MSI installer
  • Python 2.3.5 — Feb. 8, 2005

    • Download Windows installer
  • Python 2.4.0 — Nov. 30, 2004

    • Download Windows x86 MSI installer
  • Python 2.3.4 — May 27, 2004

    • Download Windows installer
  • Python 2.3.3 — Dec. 19, 2003

    • Download Windows installer
  • Python 2.3.2 — Oct. 3, 2003

    • Download Windows installer
  • Python 2.3.1 — Sept. 23, 2003

    • Download Windows installer
  • Python 2.3.0 — July 29, 2003

    • Download Windows installer
  • Python 2.2.3 — May 30, 2003

    • Download Windows installer
  • Python 2.2.2 — Oct. 14, 2002

    • Download Windows installer
  • Python 2.2.1 — April 10, 2002

    • Download Windows installer
  • Python 2.1.3 — April 9, 2002

    • Download Windows installer
  • Python 2.2.0 — Dec. 21, 2001

    • Download Windows installer
  • Python 2.0.1 — June 22, 2001

    • Download Windows debug information files
    • Download Windows installer

Pre-releases

  • Python 3.12.0a4 — Jan. 10, 2023

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.12.0a3 — Dec. 6, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.12.0a2 — Nov. 15, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.12.0a1 — Oct. 25, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0rc2 — Sept. 12, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0rc1 — Aug. 8, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0b5 — July 26, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0b4 — July 11, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0b3 — June 1, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0b2 — May 31, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0b1 — May 8, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0a7 — April 5, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows embeddable package (ARM64)
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0a6 — March 7, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0a5 — Feb. 3, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
    • Download Windows installer (ARM64)
  • Python 3.11.0a4 — Jan. 14, 2022

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.11.0a3 — Dec. 8, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.11.0a2 — Nov. 5, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.11.0a1 — Oct. 5, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0rc2 — Sept. 7, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0rc1 — Aug. 2, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0b4 — July 10, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0b3 — June 17, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0b2 — May 31, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0b1 — May 3, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0a7 — April 5, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0a6 — March 1, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.2rc1 — Feb. 16, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.8rc1 — Feb. 16, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0a5 — Feb. 2, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0a4 — Jan. 4, 2021

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.8.7rc1 — Dec. 7, 2020

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0a3 — Dec. 7, 2020

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.9.1rc1 — Nov. 26, 2020

    • Download Windows embeddable package (32-bit)
    • Download Windows embeddable package (64-bit)
    • Download Windows help file
    • Download Windows installer (32-bit)
    • Download Windows installer (64-bit)
  • Python 3.10.0a2 — Nov. 3, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.10.0a1 — Oct. 5, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0rc2 — Sept. 17, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.10rc1 — Aug. 22, 2020

    • No files for this release.
  • Python 3.9.0rc1 — Aug. 11, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0b5 — July 20, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0b4 — July 3, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.8rc1 — June 17, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.11rc1 — June 17, 2020

    • No files for this release.
  • Python 3.9.0b3 — June 9, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0b2 — June 9, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0b1 — May 19, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0a6 — April 28, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.18rc1 — April 4, 2020

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.9.0a5 — March 23, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.7rc1 — March 4, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0a4 — Feb. 26, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.2rc2 — Feb. 17, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.2rc1 — Feb. 10, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0a3 — Jan. 24, 2020

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0a2 — Dec. 18, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.6rc1 — Dec. 11, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.10rc1 — Dec. 11, 2019

    • No files for this release.
  • Python 3.8.1rc1 — Dec. 10, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.9.0a1 — Nov. 19, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.8rc2 — Oct. 12, 2019

    • No files for this release.
  • Python 2.7.17rc1 — Oct. 9, 2019

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.7.5rc1 — Oct. 2, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0rc1 — Oct. 1, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.8rc1 — Sept. 9, 2019

    • No files for this release.
  • Python 3.8.0b4 — Aug. 29, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0b3 — July 29, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0b2 — July 4, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.9rc1 — June 18, 2019

    • No files for this release.
  • Python 3.7.4rc1 — June 18, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0b1 — June 4, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0a4 — May 6, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.8.0a3 — March 25, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.3rc1 — March 12, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.10rc1 — March 4, 2019

    • No files for this release.
  • Python 3.5.7rc1 — March 4, 2019

    • No files for this release.
  • Python 3.8.0a2 — Feb. 25, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.16rc1 — Feb. 17, 2019

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.8.0a1 — Feb. 3, 2019

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.2rc1 — Dec. 11, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.8rc1 — Dec. 11, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.1rc2 — Oct. 13, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.7rc2 — Oct. 13, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.1rc1 — Sept. 26, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.7rc1 — Sept. 26, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.9rc1 — July 20, 2018

    • No files for this release.
  • Python 3.5.6rc1 — July 20, 2018

    • No files for this release.
  • Python 3.6.6rc1 — June 12, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0rc1 — June 11, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0b5 — May 30, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.15rc1 — April 15, 2018

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.6.5rc1 — March 13, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0b2 — Feb. 28, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0b1 — Jan. 31, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.8rc1 — Jan. 23, 2018

    • No files for this release.
  • Python 3.5.5rc1 — Jan. 23, 2018

    • No files for this release.
  • Python 3.7.0a4 — Jan. 9, 2018

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0a3 — Dec. 5, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.4rc1 — Dec. 5, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0a2 — Oct. 17, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.7.0a1 — Sept. 19, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.3rc1 — Sept. 19, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.3.7rc1 — Sept. 6, 2017

    • No files for this release.
  • Python 2.7.14rc1 — Aug. 27, 2017

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.4rc1 — July 25, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.7rc1 — July 25, 2017

    • No files for this release.
  • Python 3.6.2rc2 — July 7, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.2rc1 — June 17, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.1rc1 — March 5, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.3rc1 — Jan. 3, 2017

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.6rc1 — Jan. 3, 2017

    • No files for this release.
  • Python 3.6.0rc2 — Dec. 16, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0rc1 — Dec. 6, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.13rc1 — Dec. 4, 2016

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.6.0b4 — Nov. 21, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0b3 — Oct. 31, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0b2 — Oct. 10, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0b1 — Sept. 12, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0a4 — Aug. 15, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0a3 — July 12, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.6.0a2 — June 13, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.12rc1 — June 13, 2016

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.2rc1 — June 13, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.5rc1 — June 13, 2016

    • No files for this release.
  • Python 3.6.0a1 — May 17, 2016

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.4rc1 — Dec. 7, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.1rc1 — Nov. 23, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.11rc1 — Nov. 21, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.0rc4 — Sept. 9, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0rc3 — Sept. 8, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0rc2 — Aug. 25, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0rc1 — Aug. 11, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0b4 — July 26, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0b3 — July 5, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0b2 — June 1, 2015

    • Download Windows help file
    • Download Windows x86-64 embeddable zip file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 embeddable zip file
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0b1 — May 24, 2015

    • Download Windows AMD64 embeddable installer
    • Download Windows AMD64 executable installer
    • Download Windows AMD64 web-based installer
    • Download Windows help file
    • Download Windows x86 embeddable installer
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 2.7.10rc1 — May 11, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.5.0a4 — April 20, 2015

    • Download Windows amd64 embeddable installer
    • Download Windows amd64 web-based installer
    • Download Windows amd executable installer
    • Download Windows help file
    • Download Windows x86 embeddable installer
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0a3 — March 30, 2015

    • Download Windows help file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0a2 — March 9, 2015

    • Download Windows help file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.5.0a1 — Feb. 8, 2015

    • Download Windows help file
    • Download Windows x86-64 executable installer
    • Download Windows x86-64 web-based installer
    • Download Windows x86 executable installer
    • Download Windows x86 web-based installer
  • Python 3.4.3rc1 — Feb. 8, 2015

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.9rc1 — Nov. 26, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.6rc1 — Oct. 4, 2014

    • No files for this release.
  • Python 3.2.6rc1 — Oct. 4, 2014

    • No files for this release.
  • Python 3.4.2rc1 — Sept. 22, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 2.7.7rc1 — May 17, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.1rc1 — May 5, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.4.0rc3 — March 10, 2014

    • Download Windows debug information files
    • Download Windows debug information files for 64-bit binaries
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.5rc2 — March 2, 2014

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer
  • Python 3.3.5rc1 — Feb. 23, 2014

    • Download Windows X86-64 MSI Installer
    • Download Windows x86 MSI Installer
  • Python 3.3.5rc1 — Feb. 23, 2014

    • Download Windows debug information files
    • Download Windows help file
    • Download Windows x86-64 MSI installer
    • Download Windows x86 MSI installer

Содержание

  1. Электрический блогнот
  2. мои заметки на полях
  3. python embedded или как добавить python в свое приложение
  4. Шаг 1 — загружаем встраиваемый Python
  5. Шаг 2 — устанавливаем встраиваемый Pyton
  6. Шаг 3 — pip
  7. Шаг 4 — модули
  8. Шаг 5 — тестирование
  9. Python 3 — Урок 002. Настройка среды
  10. Настройка локальной среды
  11. Получение Python
  12. Платформа Windows
  13. Платформа Linux
  14. Mac OS
  15. Настройка PATH
  16. Настройка PATH в Unix / Linux
  17. Настройка PATH в Windows
  18. Переменные среды Python
  19. Запуск Python
  20. Интерактивный интерпретатор
  21. Скрипт из командной строки
  22. Интегрированная среда разработки
  23. Setting up python’s Windows embeddable distribution (properly)
  24. Embeddable distribution
  25. Get the distribution
  26. Get pip
  27. Config path
  28. lib2to3 issue
  29. Running pip
  30. Running Scripts
  31. Discussion (5)
  32. How to install Python using the “embeddable zip file”
  33. 1 Answer 1

Электрический блогнот

мои заметки на полях

python embedded или как добавить python в свое приложение

У Pyhon есть прекрасный инсталлятор, который все сдеает сам и установит Python со всеми стандартными модулями. Но, что делать, если ваше приложение использует python скрипты, а заставлять пользователя скачивать и устанавливать весь Python вам не хочется. Для этого существует Python Embedded (встраиваемый). Этот пакет не требует установки и может быть просто скопирован в папку с вашим приложением. Так же вы сможете установить все необходимые модули для работы и создать миниокружение для работы. Тем самым полностью избавить пользователя от лишних действий. Он даже и не узнает, что часть вашего приложения запускает Python. Этот прием я использовал в приложении Fpska (конвертация видео в 60 fps).
Далее я подробно распишу, как внедрить Python в свое приложение. Все эллементарно. Несколько простых шагов.

Шаг 1 — загружаем встраиваемый Python

Идем на python.org и скачиваем нужную версию python embedded:

Шаг 2 — устанавливаем встраиваемый Pyton

Вся установка сводится к простой распаковке архива:


На этом шаге можно было бы и остановиться, но чистый Python редко, кто использует. Нужны еще и модули. А чтобы поставить модули нужен pip (package installer for Python).

Шаг 3 — pip

Перед устанвкой pip настроим пути к библиотекам. Для этого в файле python37._pth нужно раскомментировать строку:

Скачиваем pip. Для этого рекомендуют использовать утилиту curl:

но можно просто скачать из браузера

Далее переходим в папку с embedded Python и устанавливаем инсталлятор пакетов (pip):

После установки pip появятся папки Lib и Scripts:

Сразу же проверим работает ли pip:

Шаг 4 — модули

Устанавливаем модули. Для примера установим модуль wxPython (добавляет графический интерфейс).

Шаг 5 — тестирование

Тестируем только что собранный Python. При тестировании очент важно проверить, что получился абсолютно независимый дистрибутив Python со всеми проинсталлированными модулями. Для этого устанавливаем все необходимые модули. Делаем архив папки, где установлен Python Embedded с модулями. И загружаем его куда-нибудь на файлообменник. Затем находим чистый Windows 10, где Python никогда не был установлен. Скачиваем архив и распаковываем. Запускаем любой тестовый скриптик. На следующей картинке тестовый запуск wxPython приложения:

Python 3 — Урок 002. Настройка среды

Python 3 доступен для Windows, Mac OS и большинства вариантов операционной системы Linux.

Настройка локальной среды

Откройте окно терминала и введите «python», чтобы узнать, установлен ли он и какая версия установлена.

Получение Python

Платформа Windows

Бинарники последней версии Python 3 (Python 3.6.4) доступны на этой странице загрузки

Доступны следующие варианты установки.

  • Windows x86-64 embeddable zip file
  • Windows x86-64 executable installer
  • Windows x86-64 web-based installer
  • Windows x86 embeddable zip file
  • Windows x86 executable installer
  • Windows x86 web-based installer

Примечание. Для установки Python 3.6.4 минимальными требованиями к ОС являются Windows 7 с пакетом обновления 1 (SP1). Для версий от 3.0 до 3.4.x Windows XP является приемлемым.

Платформа Linux

Различные варианты использования Linux используют разные менеджеры пакетов для установки новых пакетов.

На Ubuntu Linux Python 3 устанавливается с помощью следующей команды из терминала.

Установка из исходников

Загрузите исходный tar-файл Gzipped с URL-адреса загрузки Python https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz

Mac OS

Загрузите установщики Mac OS с этого URL-адреса https://www.python.org/downloads/mac-osx/

Дважды щелкните этот файл пакета и следуйте инструкциям мастера для установки.

Самый современный и текущий исходный код, двоичные файлы, документация, новости и т.д. Доступны на официальном сайте Python —

Вы можете загрузить документацию Python со следующего сайта. Документация доступна в форматах HTML, PDF и PostScript.

Настройка PATH

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

Важными особенностями являются:

  • Путь хранится в переменной среды, которая является именованной строкой, поддерживаемой операционной системой. Эта переменная содержит информацию, доступную для командной оболочки и других программ.
  • Переменная пути называется PATH в Unix или Path в Windows (Unix чувствительна к регистру, Windows — нет).
  • В Mac OS установщик обрабатывает детали пути. Чтобы вызвать интерпретатор Python из любого конкретного каталога, вы должны добавить каталог Python на свой путь.

Настройка PATH в Unix / Linux

Чтобы добавить каталог Python в путь для определенного сеанса в Unix —

  • В csh shell — введите setenv PATH «$ PATH:/usr/local/bin/python3» и нажмите Enter.
  • В оболочке bash (Linux) — введите PYTHONPATH=/usr/local/bin/python3.4 и нажмите Enter.
  • В оболочке sh или ksh — введите PATH = «$PATH:/usr/local/bin/python3» и нажмите Enter.

Примечание. /usr/local/bin/python3 — это путь к каталогу Python.

Настройка PATH в Windows

Чтобы добавить каталог Python в путь для определенного сеанса в Windows —

  • В командной строке введите путь %path%;C:Python и нажмите Enter.

Примечание. C:Python — это путь к каталогу Python.

Переменные среды Python

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

Он содержит путь к файлу инициализации, содержащему исходный код Python. Он выполняется каждый раз, когда вы запускаете интерпретатор. Он называется как .pythonrc.py в Unix и содержит команды, которые загружают утилиты или изменяют PYTHONPATH.

Он используется в Windows, чтобы проинструктировать Python о поиске первого нечувствительного к регистру совпадения в инструкции импорта. Установите эту переменную на любое значение, чтобы ее активировать.

Это альтернативный путь поиска модуля. Он обычно встроен в каталоги PYTHONSTARTUP или PYTHONPATH, чтобы упростить библиотеку модулей коммутации.

Запуск Python

Существует три разных способа запуска Python —

Интерактивный интерпретатор

Вы можете запустить Python из Unix, DOS или любой другой системы, которая предоставляет вам интерпретатор командной строки или окно оболочки.

Введите python в командной строке.

Начните кодирование сразу в интерактивном интерпретаторе.

Вот список всех доступных параметров командной строки —

предоставлять отладочную информацию

генерировать оптимизированный байт-код (приводящий к .pyo-файлам)

не запускайте сайт импорта, чтобы искать пути Python при запуске

подробный вывод (подробная трассировка по операциям импорта)

отключить встроенные исключения на основе классов (просто используйте строки); устаревший, начиная с версии 1.6

запустить скрипт Python, отправленный в виде строки cmd

запустить скрипт Python из заданного файла

Скрипт из командной строки

Сценарий Python можно запустить в командной строке, вызвав интерпретатор в вашем приложении, как показано в следующем примере.

Примечание. Убедитесь, что права файлов разрешают выполнение.

Интегрированная среда разработки

Вы можете запустить Python из среды графического интерфейса пользователя (GUI), если у вас есть приложение GUI в вашей системе, которое поддерживает Python.

Для разработки Python приложений рекомендую PyCharm от компании JetBrains, как наиболее развитую и удобную IDE.

Рекомендуем хостинг TIMEWEB

Рекомендуемые статьи по этой тематике

Setting up python’s Windows embeddable distribution (properly)

Embeddable distribution

If there is anything I like about Windows as a pythonist, it must be that you can use embedded distribution of python.

The embedded distribution is a ZIP file containing a minimal Python environment. It is intended for acting as part of another application, rather than being directly accessed by end-users.

In my opinion, it is a portable, ready-to-ship virtualenv. However, the embedded distribution comes with some limitation:

Third-party packages should be installed by the application installer alongside the embedded distribution. Using pip to manage dependencies as for a regular Python installation is not supported with this distribution, though with some care it may be possible to include and use pip for automatic updates. In general, third-party packages should be treated as part of the application (“vendoring”) so that the developer can ensure compatibility with newer versions before providing updates to users.

Sounds scary right? It said it doesn’t even support pip. Don’t worry, followthese simple steps, you will have a fully workable embedded environment.

Get the distribution

  1. Go to https://www.python.org/downloads/windows/
  2. Choose the version python you like and download the corresponding Windows x86-64 embeddable zip file .
  3. Unzip the file.

To make this tutorial easy to follow, I am assuming that you have downloaded Python3.7 and unzipped it to C:python .

Get pip

The distribution does not have pip installed in place, you need to install it yourself:1. Download get-pip.py at https://bootstrap.pypa.io/get-pip.py2. Save it to c:pythonget-pip.py 3. In command-line run C:pythonpython get-pip.py 4. pip is now installed

Config path

The runtime of this distribution doesn’t have an empty string » added in sys.path ,so that the current directory is not added into sys.path , to solve the problem,you need to:

  1. Open C:pythonpython37._pth .
  2. Uncomment the line #import site and save.
  3. Create a new .py file and save it as c:pythonsitecustomize.py :

Exit fullscreen mode

lib2to3 issue

You will encounter the following error when you try to install some packages:

Exit fullscreen mode

  1. Unzip C:pythonpython37.zip to a new folder
  2. Delete C:pythonpython37.zip
  3. Rename the new folder to python37.zip (yes, a new folder called python37.zip )

Python’s import module is able to treat zip file as folder however, it cannot read pickle file inside a zip file, so unzip it and rename it.

Running pip

If you don’t want to mess with you PATH, you can simply do the following in your window command prompt:

  1. CD C:pythonScripts
  2. pip install xxxxx

Running Scripts

Again if you don’t want to mess with you PATH, you can simply do in your window command prompt:

Discussion (5)

Great info.
I’m fiddling with that ’embbeded’ incarnation too. (v 3.8)

Do you know where to change the configuration
(maybe a configuration file. or registry in Windows. )
so that we can extract python37.zip to a folder ( Lib is an idea 😉 )
(and delete the zip file)
So python will work as usual.

Favorite heart outline button

just signed up for an account on DEV to like your article . Thanks for the valuable information

How to install Python using the “embeddable zip file”

I downloaded the Windows x86-64 embeddable zip file from https://www.python.org/downloads/release/python-365/.

(I cannot use the executable/web-based installer on my computer)

I want to install this on my PyCharm. How do I achieve this?

1 Answer 1

There are 2 main steps (each with its own set of substeps) that need to be followed:

Download and unpack the interpreter on your machine:

  1. Download the .zip file (e.g. [Python]: python-3.6.5-embed-amd64.zip) on your computer, in an empty dir (on my machine it’s: «e:WorkDevStackOverflowq050818078python36x64»)
  2. Unzip the file (some (.pyd, .dll, .exe, .zip, ._pth) files will appear). At the end, you can delete the .zip file that you downloaded in previous step

Configure PyCharm to use it:

Notes:

  • In order for the images below to be a small as possible (from size and display PoV), I have reduced the sizes of all windows from their default values
  • Some PyCharm stuff is specific to my machine / environment, (obviously) that will be different in your case
  • The script that I used for testing, is a dummy one that just prints some paths (that’s why I didn’t add it as code, it’s just in the 1 st image)
  • I only illustrate the minimal required steps to get you going, so even if for some steps there are options to customize them, I’m not going to mention them
  • I am using PyCharm Community Edition 2017.3.3 (in other versions things could be slightly different)

Steps:

In PyCharm main window (considering your project is open), go to menu «File -> Settings. «:

You could also go to «File -> Default Settings. «, check [JetBrains]: Project and IDE Settings for differences between them.

In the «Settings» window, click «Project Interpreter -> Show All» (you might need to scroll down — if you have multiple interpreters configured)

In the «Project Interpreters» window, click the «Add» button (green + on upper right side). Also, you might have to click an «Add Local. » control that appears when you click «Add«

In the «Add Local Python Interpreter«, make sure to:

  • Check «Exiting environment» radio button
  • Click the «. » («Browse«) button

In the «Select Python Interpreter» window, go to the folder where you unzipped the file at #1.1., select python.exe and then click «OK«

Click the «OK» button in all the windows opened at previous steps (in reversed order), until you’re back to main window

In order to test, on the code editor window, right click and from the popup menu choose «Run ‘code’«. Here’s console output window content:

As a final note, naming the test file code.py was «a bit» uninspired, as there is such a module in Python‘s standard library (in the meantime, I renamed it to code00.py), but I don’t feel like doing all the screenshots (that contain it) again.

Adblock
detector

S.No. Вариант и описание
1

Понравилась статья? Поделить с друзьями:
  • Windows eltsc dev uplic aaa 12384
  • Windows error 216 occurred while loading the java vm
  • Windows failed to start winload efi
  • Windows failed to start windows server 2008
  • Windows error 193 itunes как исправить