Verifying I installed Python correctly
Dennis Lee Bieber
wlfraed at ix.netcom.com
Mon Apr 25 16:56:36 EDT 2022
On Mon, 25 Apr 2022 21:49:05 +0100, Barry <barry at barrys-emacs.org>
declaimed the following:
>
>
>> On 25 Apr 2022, at 21:14, Jack Dangler <tdldev at gmail.com> wrote:
>> Have you tried
>>
>> python3 hello.py
>
>Will not work on windows. Python is always installed as python.exe and py.exe only.
>
Microsoft Windows [Version 10.0.19044.1645]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Wulfraed>python3
Python ActivePython 3.8.2 (ActiveState Software Inc.) based on
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
C:\Users\Wulfraed>python3.8
Python ActivePython 3.8.2 (ActiveState Software Inc.) based on
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
C:\Users\Wulfraed>
C:\Users\Wulfraed>echo %path%
C:\Python38\;C:\Python38\DLLs\;C:\Python38\Scripts\;C:\Python38\Tools\;C:\Python38\Tools\ninja\;C:\Program
Files\PuTTY\;C:\Apps\SQLite3\;C:\Apps\Firebird_4_0;C:\Apps\gnuplot\bin;C:\Apps\R\R-4.0.5\bin\x64;C:\Program
Files
(x86)\SciTE;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program
Files\rexx.org\Regina;C:\Apps\Rexx-Extensi
<SNIP>
C:\Users\Wulfraed>dir c:\Python38\*.exe
Volume in drive C is OS
Volume Serial Number is 4ACC-3CB4
Directory of c:\Python38
08/25/2020 06:52 PM 998,328 py.exe
08/25/2020 06:53 PM 102,328 python.exe
08/25/2020 06:53 PM 102,336 python3.8.exe
08/25/2020 06:53 PM 102,336 python3.exe
08/25/2020 06:53 PM 26,568 pythonservice.exe
08/25/2020 06:53 PM 100,800 pythonw.exe
08/25/2020 06:53 PM 999,352 pyw.exe
10/08/2020 05:24 PM 587,776 Removepywin32.exe
08/25/2020 06:55 PM 123,848 update_check.exe
9 File(s) 3,143,672 bytes
0 Dir(s) 650,737,926,144 bytes free
C:\Users\Wulfraed>
Yes, it is an older version of the ActiveState release, but they did
install with the various versioned names. All I had to do was ensure the
directory was on the system PATH.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed at ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
More information about the Python-list
mailing list