[Python-Dev] IDLE in the stdlib

Terry Reedy tjreedy at udel.edu
Tue Mar 26 07:01:58 CET 2013

On 3/22/2013 2:51 PM, francis wrote:

> ~$ python2.7 -m idlelib
> /usr/bin/python2.7: No module named idlelib.__main__; 'idlelib' is a
> package and cannot be directly executed
> Same with python3...

C:\Programs>python33\python.exe -m idlelib

brings up IDLE on Windows. 2.7 and 3.2 do not work as above but require 
'idlelib.idle' instead of just 'idlelib'.

C:\Programs>python32\python.exe -m idlelib.idle

C:\Programs>python27\python.exe -m idlelib.idle

I have no idea if the change is to '-m' processing or to idlelib. If the 
latter, it is an example of a patch that might have been harmlessly 
backported with PEP434 accepted.

Terry Jan Reedy

More information about the Python-Dev mailing list