![]() ![]() 3.8-32 C:\Users\Larvoire\AppData\Local\Programs\Python\Python38-32\python.exe ![]() There's also a -0p option to list both the version and pathname of the python.exe instances it can use: C:\Temp>py -0p Installed Pythons found by py Launcher for Windows The -0 option tells py.exe to just list the available instances: C:\Temp>py -0 You can also specify the minor version, like -3.5, or even the target processor size, i.e. The -2 option is a py.exe option that tells it to run the latest Python 2 version. In the second, it was python.exe version 2.7.12 that did. In the first case, it was python.exe version 3.9.2 that ran. Here, in both cases, the -version option was interpreted by python.exe, not by py.exe. But it has options to select another version at will. By default, it runs the latest installed version of python.exe. If you ever install more that one Python version on your system (Python 2.7 and Python 3.x maybe), then it's a no-brainer:įirst and foremost, py.exe is a front end to python.exe. Unfortunately its installation is optional and usually not selected by default. The py.exe launcher tool is a critically important tool that comes with Python 3 distributions for Microsoft Windows. This diversity is proof of the vitality of the Python ecosystem.īut this is also the source of many problems, as different versions make different, sometimes conflicting, installation choices! The py.exe launcher tool There are many other possible alternatives, the ones above being just some of the most common. With all modules that you can think of built-in.Ĭaution: These ActivePython distributions are free for development use, but not for production use. If you still need Python 2.7, their ActivePython 2.7 is an all-batteries included distribution, Advantage: Their version is slightly more recent than the one supported by Microsoft.Īnother possibility is to use a third party build for Microsoft Windows, like the ActivePythonĭistribution maintained by ActiveState. Just run python at the command prompt and follow the instructions on the Microsoft Store page.Īn alternative is to go to, and get the official Python releases for Microsoft Windows. Recent versions of Microsoft Windows 10 have a python.exe stub pre-installed that gets you directly to a Microsoft Store page.įrom there you can download a free version of Python officially supported by Microsoft. Where to get Python for Microsoft Windows In this blog post, I'll share with you what I learned.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |