On 5/31/2023 3:52 PM, Dennis Lee Bieber wrote:
Python does not provide, normally, a "click me" icon to run Python.
Python is a command line language INTERPRETER/COMPILER. If file
associations are set up, clicking on a script (.py) file/will/  run it --
but the window it opens goes away as soon as the script completes. Instead
one opens a command shell window and runs Python/scripts from that
window...

Microsoft Windows [Version 10.0.19045.2965]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Owner>python
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929
64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

On Windows, typing "python" may or may not give the expected version depending in what has been installed before. With the python.org installation, it's better to type "py" instead (this is Windows only).

For example, on my Windows 10 computer"

python
Python 3.9.9 (tags/v3.9.9:ccb0e6a, Nov 15 2021, 18:08:50) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

but -

py
Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to