I am out of trial and error again Lists

Terry Reedy tjreedy at udel.edu
Sun Oct 26 00:48:59 CEST 2014


On 10/25/2014 2:23 PM, Dennis Lee Bieber wrote:
> On Fri, 24 Oct 2014 10:38:31 -0400, Seymore4Head
> <Seymore4Head at Hotmail.invalid> declaimed the following:
>
>>
>> I do get the difference.  I don't actually use Python 2.  I use
>> CodeSkulptor.  I do have Python 3 installed.  Actually I have Python 2
>> installed but IDLE defaults to Python 3.

This is wrong.  Pythonx.y runs Idlex.y, not vice versa.
Seymore installed some version of Python 3 as default, as he should 
have, and 'Edit with Idle' opens the default version of Python, with its 
version of Idle.

 >> So it is a pain to actually load Python 2.

Not really, neither on linux or Windows.

> 	So don't use Idle...

Since Seymore analysis is wrong, this advice in not the answer.
If he is running on Windows, it is dubious in that the Windows console 
interpreter is a pain to use.

 > Open up a Windows command shell and invoke Python
> without giving a script file to execute.
>
> C:\Users\Wulfraed\Documents>python

python -m idlelib will open the corresponding Idle. So will the Start 
menu entry or an icon pinned to the taskbar.

> C:\Users\Wulfraed\Documents>python3

You must have done something extra to make this work on Windows.

-- 
Terry Jan Reedy




More information about the Python-list mailing list