Can't install Python

Eryk Sun eryksun at gmail.com
Mon Sep 28 18:19:44 EDT 2020


On 9/28/20, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>
> 	Python is not a GUI. You do not "click on the phyton.exe file" (sic).
> You open a command shell and, in a proper install which sets up the PATH
> environment variable, enter "python" as the command to execute.

You can run python.exe directly from Explorer -- typically from the
start menu or the Win+R run dialog. The only issue is that by default
the console that python.exe creates will close when the Python shell
exits. If you need to keep the console output around, you can simply
spawn a system shell before exiting, e.g.

    >>> subprocess.Popen('pwsh'); exit()


More information about the Python-list mailing list