How do I access IDLE in Win7

W

W. eWatson

It's been many months since I played with Python, and have forgotten how
to bring up IDLE. If I simply click on a py file, I see what may be a
dos window appear and quickly disappear. If I right-click on the file,
and select IDLE, the same thing happens. If I go directly to All
Programs, the same thing happens when I select IDLE.
 
R

rantingrick

It's been many months since I played with Python, and have forgotten how
to bring up IDLE. If I simply click on a py file, I see what may be a
dos window appear and quickly disappear.

"Double-clicking" a [py|pyw] file in windows will auto run the file
(considering you have not changed the association). So if you're
trying to edit the file you'll want to try something else.
If I right-click on the file,
and select IDLE, the same thing happens.

You mean "Right-Click -> Send-To-IDLE"?
If I go directly to All
Programs, the same thing happens when I select IDLE.

You mean "Start_Menu -> All_Programs -> PythonX.X -> IDLE_(Python
GUI)"? Yes typically that is how you'd run IDLE form a winders box.

If you want to edit a python script then first open an editor and then
navigate to the file. There is also a "RightClick -> Open-with-IDLE"
option also but i prefer to navigate from my editor.

However it sounds like you may be experiencing a bug (or configuration
issue). Can you capture the "dos" error with the print screen button
and post it here? You'll have to be quick to catch it!

Also try to run IDLE from this path:
....\PythonXX\Lib\idlelib {double click PyShell.py}
 
W

W. eWatson

It's been many months since I played with Python, and have forgotten how
to bring up IDLE. If I simply click on a py file, I see what may be a
dos window appear and quickly disappear.

"Double-clicking" a [py|pyw] file in windows will auto run the file
(considering you have not changed the association). So if you're
trying to edit the file you'll want to try something else.
If I right-click on the file,
and select IDLE, the same thing happens.

You mean "Right-Click -> Send-To-IDLE"?
A right-click gives me two choices. Edit with IDLE or Open With. The
first produces nothing, or something so quick that I do not see it. The
second gives me a choice of python.exe, Notepad, or Choose Default
Program. None of these are helpful.
You mean "Start_Menu -> All_Programs -> PythonX.X -> IDLE_(Python
GUI)"? Yes typically that is how you'd run IDLE form a winders box.
Yes, that's what I do, but again the result is essentially nothing.
If you want to edit a python script then first open an editor and then
navigate to the file. There is also a "RightClick -> Open-with-IDLE"
option also but i prefer to navigate from my editor.
Edit with IDLE as above. Doesn't work. No editor appears.
However it sounds like you may be experiencing a bug (or configuration
issue). Can you capture the "dos" error with the print screen button
and post it here? You'll have to be quick to catch it! Way too fast.

Also try to run IDLE from this path:
...\PythonXX\Lib\idlelib {double click PyShell.py}
It stays up for about 1/2 second.

If I run cmd.exe and work my way down to .../idlelib, I find nothing
but idle.bat. strange. Hidden? I can get into line mode by using
python.exe. That is, I can type in print "abc", and get a result.

Baffling.
 
J

Jerry Hill

If I run cmd.exe and work my way down to  .../idlelib, I find nothing but
idle.bat. strange. Hidden?  I can get into line mode by using python..exe.
That is, I can type in print "abc", and get a result.

So, you don't have an idle.py or idle.pyw in C:\Python26\Lib\idlelib\
(or where ever you installed python)? If not, it sounds to me like
your python installation is screwed up. I would re-install.

Jerry
 
W

W. eWatson

So, you don't have an idle.py or idle.pyw in C:\Python26\Lib\idlelib\
(or where ever you installed python)? If not, it sounds to me like
your python installation is screwed up. I would re-install.

Jerry
Yes, I have both. Neither shows anything on the monitor when I double
click them.
 
J

Jerry Hill

Yes, I have both. Neither shows anything on the monitor when I double click
them.

Oh, I guess I misunderstood. Go ahead and open that cmd.exe window
back up. Please run the following and report back the results. In
the cmd.exe window run:

assoc .py
assoc .pyw
ftype Python.File
ftype Python.NoConFile

Those four commands should show us how the python file associations
are set up on your computer.

Then, let's try to run idle and capture whatever error message is
popping up. I don't think you've mentioned what version of python you
have installed. The following is for 2.6, since that's what I have
installed here, but it should work on any other version if you swap in
your installation directory for the 2.6 one below. Still in your
cmd.exe window, run the following:

c:\Python26\python.exe C:\Python26\Lib\idlelib\idle.py

If you get an exception, please copy and paste the details for us. If
that works and opens idle, please try running this:

C:\Python26\Lib\idlelib\idle.py

Based on the behavior you've described so far, that ought to fail, and
hopefully give some sort of message or exception for us to diagnose.

PS: If you're just trying to get things working, and don't care what
might be wrong, I would recommend just re-installing python. That
ought to clean up all the file associations and set things up properly
for you. That's likely the quickest way to just get things working.
 
W

W. eWatson

Oh, I guess I misunderstood. Go ahead and open that cmd.exe window
back up. Please run the following and report back the results. In
the cmd.exe window run:

assoc .py
assoc .pyw
ftype Python.File
ftype Python.NoConFile

..py=Python.File
..pyw=Python.NoConFile
Python.File="C:\Python25\python.exe" "%1" %*
Python.File="C:\Python25\python.exe" "%1" %*
Python.NoConFile="C:\Python25\pythonw.exe" "%1" %*
Those four commands should show us how the python file associations
are set up on your computer.

Then, let's try to run idle and capture whatever error message is
popping up. I don't think you've mentioned what version of python you
have installed. The following is for 2.6, since that's what I have
installed here, but it should work on any other version if you swap in
your installation directory for the 2.6 one below. Still in your
cmd.exe window, run the following:

c:\Python26\python.exe C:\Python26\Lib\idlelib\idle.py
I cannot copy from the cmd window. It ends with [errorno 13] Permission
denied to c:||Users\\Wayne\\idlerc\\recent-files.lst'

recent-files.lst !!! weird
If you get an exception, please copy and paste the details for us. If
that works and opens idle, please try running this:

C:\Python26\Lib\idlelib\idle.py

Based on the behavior you've described so far, that ought to fail, and
hopefully give some sort of message or exception for us to diagnose.

PS: If you're just trying to get things working, and don't care what
might be wrong, I would recommend just re-installing python. That
ought to clean up all the file associations and set things up properly
for you. That's likely the quickest way to just get things working.
Yep, I'm thinking about it.
 
T

Thomas Jollans

I cannot copy from the cmd window. It ends with [errorno 13] Permission
denied to c:||Users\\Wayne\\idlerc\\recent-files.lst'

Yes you can. Right-click to bring up a menu with a "select" or "copy"
option (IIRC)

As for the error, see if there is file
/users/wayne/idlerc/recent-files.lst
And if there is, delete it. Or even delete the whole folder «idlerc».
IDLE should be able to cope with it not being there at all: it wouldn't
be there the first time IDLE is started by a user.

- Thomas
 
W

W. eWatson

In the mean time, I punted and re-installed. It's still not quite right.
I uninstalled it. I was asked during install if I wanted to remove
c:\Python25. It was still there and had several folders (Lib, Scripts)
and files (fishe.py, RemovePIL.exe, junk.py). I said yes. It installed
2.5.2.

Edit with IDLE still fails, as does a simple py file like junk.py (has
five lines of simple math). That is executing junk.py or trying to get
it into IDLE doesn't work.

For junk.py, I tried Open With->Choose default program. I selected
idle.pyw. When I tried the new default for getting to IDLE, it
complained it was not a valid 32-bit app. That's very strange.
 
D

Dennis Lee Bieber

For junk.py, I tried Open With->Choose default program. I selected
idle.pyw. When I tried the new default for getting to IDLE, it
complained it was not a valid 32-bit app. That's very strange.

Quite expected... idle.pyw is a Python byte code file... IT needs to
be run using a Python interpreter (pythonw.exe to suppress the shell
window).

What happens IN the command/shell if you type (replace the <words>
with the correct string on your installation)

<path to python>python -v <path to idle.pyw>idle.pyw

This is my install:

E:\UserData\Wulfraed\My Documents>e:\Python25\python -v
e:\Python25\Lib\idlelib\idle.pyw

# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# e:\Python25\lib\site.pyc matches e:\Python25\lib\site.py
import site # precompiled from e:\Python25\lib\site.pyc
# e:\Python25\lib\os.pyc matches e:\Python25\lib\os.py
import os # precompiled from e:\Python25\lib\os.pyc
import errno # builtin
import nt # builtin
# e:\Python25\lib\ntpath.pyc matches e:\Python25\lib\ntpath.py
import ntpath # precompiled from e:\Python25\lib\ntpath.pyc
# e:\Python25\lib\stat.pyc matches e:\Python25\lib\stat.py
import stat # precompiled from e:\Python25\lib\stat.pyc
# e:\Python25\lib\UserDict.pyc matches e:\Python25\lib\UserDict.py
import UserDict # precompiled from e:\Python25\lib\UserDict.pyc
# e:\Python25\lib\copy_reg.pyc matches e:\Python25\lib\copy_reg.py
import copy_reg # precompiled from e:\Python25\lib\copy_reg.pyc
# e:\Python25\lib\types.pyc matches e:\Python25\lib\types.py
import types # precompiled from e:\Python25\lib\types.pyc
import _types # builtin
# zipimport: found 45 names in
e:\Python25\lib\site-packages\simplejson-2.0.3-py2.5.egg
# zipimport: found 33 names in
e:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-
win32.egg
# zipimport: found 15 names in
e:\Python25\lib\site-packages\decoratortools-1.7-py2.5.egg
# zipimport: found 9 names in
e:\Python25\lib\site-packages\configobj-4.5.3-py2.5.egg
# zipimport: found 15 names in
e:\Python25\lib\site-packages\extremes-1.1-py2.5.egg
# zipimport: found 43 names in
e:\Python25\lib\site-packages\pyprotocols-1.0a0-py2.5-win32.egg
# e:\Python25\lib\locale.pyc matches e:\Python25\lib\locale.py
import locale # precompiled from e:\Python25\lib\locale.pyc
import encodings # directory e:\Python25\lib\encodings
# e:\Python25\lib\encodings\__init__.pyc matches
e:\Python25\lib\encodings\__init__.py
import encodings # precompiled from
e:\Python25\lib\encodings\__init__.pyc
# e:\Python25\lib\codecs.pyc matches e:\Python25\lib\codecs.py
import codecs # precompiled from e:\Python25\lib\codecs.pyc
import _codecs # builtin
# e:\Python25\lib\encodings\aliases.pyc matches
e:\Python25\lib\encodings\aliases.py
import encodings.aliases # precompiled from
e:\Python25\lib\encodings\aliases.pyc
import _locale # builtin
# e:\Python25\lib\re.pyc matches e:\Python25\lib\re.py
import re # precompiled from e:\Python25\lib\re.pyc
# e:\Python25\lib\sre_compile.pyc matches e:\Python25\lib\sre_compile.py
import sre_compile # precompiled from e:\Python25\lib\sre_compile.pyc
import _sre # builtin
# e:\Python25\lib\sre_constants.pyc matches
e:\Python25\lib\sre_constants.py
import sre_constants # precompiled from
e:\Python25\lib\sre_constants.pyc
# e:\Python25\lib\sre_parse.pyc matches e:\Python25\lib\sre_parse.py
import sre_parse # precompiled from e:\Python25\lib\sre_parse.pyc
import operator # builtin
# e:\Python25\lib\encodings\cp1252.pyc matches
e:\Python25\lib\encodings\cp1252.py
import encodings.cp1252 # precompiled from
e:\Python25\lib\encodings\cp1252.pyc
# e:\Python25\lib\warnings.pyc matches e:\Python25\lib\warnings.py
import warnings # precompiled from e:\Python25\lib\warnings.pyc
# e:\Python25\lib\linecache.pyc matches e:\Python25\lib\linecache.py
import linecache # precompiled from e:\Python25\lib\linecache.pyc
ActivePython 2.5.2.2 (ActiveState Software Inc.) based on
Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import idlelib # directory e:\Python25\lib\idlelib
# e:\Python25\lib\idlelib\__init__.pyc matches
e:\Python25\lib\idlelib\__init__.py
import idlelib # precompiled from e:\Python25\lib\idlelib\__init__.pyc
# e:\Python25\lib\idlelib\PyShell.pyc matches
e:\Python25\lib\idlelib\PyShell.py
import idlelib.PyShell # precompiled from
e:\Python25\lib\idlelib\PyShell.pyc
# e:\Python25\lib\string.pyc matches e:\Python25\lib\string.py
import string # precompiled from e:\Python25\lib\string.pyc
import strop # builtin
# e:\Python25\lib\getopt.pyc matches e:\Python25\lib\getopt.py
import getopt # precompiled from e:\Python25\lib\getopt.pyc
# e:\Python25\lib\socket.pyc matches e:\Python25\lib\socket.py
import socket # precompiled from e:\Python25\lib\socket.pyc
import _socket # dynamically loaded from e:\Python25\DLLs\_socket.pyd
import _ssl # dynamically loaded from e:\Python25\DLLs\_ssl.pyd
import time # builtin
# e:\Python25\lib\threading.pyc matches e:\Python25\lib\threading.py
import threading # precompiled from e:\Python25\lib\threading.pyc
import thread # builtin
# e:\Python25\lib\traceback.pyc matches e:\Python25\lib\traceback.py
import traceback # precompiled from e:\Python25\lib\traceback.pyc
import collections # builtin
# e:\Python25\lib\idlelib\macosxSupport.pyc matches
e:\Python25\lib\idlelib\macosxSupport.py
import idlelib.macosxSupport # precompiled from
e:\Python25\lib\idlelib\macosxSupport.pyc
# e:\Python25\lib\lib-tk\Tkinter.pyc matches
e:\Python25\lib\lib-tk\Tkinter.py
import Tkinter # precompiled from e:\Python25\lib\lib-tk\Tkinter.pyc
# e:\Python25\lib\lib-tk\FixTk.pyc matches
e:\Python25\lib\lib-tk\FixTk.py
import FixTk # precompiled from e:\Python25\lib\lib-tk\FixTk.pyc
import _tkinter # dynamically loaded from e:\Python25\DLLs\_tkinter.pyd
# e:\Python25\lib\lib-tk\Tkconstants.pyc matches
e:\Python25\lib\lib-tk\Tkconstants.py
import Tkconstants # precompiled from
e:\Python25\lib\lib-tk\Tkconstants.pyc
# e:\Python25\lib\code.pyc matches e:\Python25\lib\code.py
import code # precompiled from e:\Python25\lib\code.pyc
# e:\Python25\lib\codeop.pyc matches e:\Python25\lib\codeop.py
import codeop # precompiled from e:\Python25\lib\codeop.pyc
# e:\Python25\lib\__future__.pyc matches e:\Python25\lib\__future__.py
import __future__ # precompiled from e:\Python25\lib\__future__.pyc
# e:\Python25\lib\lib-tk\tkMessageBox.pyc matches
e:\Python25\lib\lib-tk\tkMessageBox.py
import tkMessageBox # precompiled from
e:\Python25\lib\lib-tk\tkMessageBox.pyc
# e:\Python25\lib\lib-tk\tkCommonDialog.pyc matches
e:\Python25\lib\lib-tk\tkCommonDialog.py
import tkCommonDialog # precompiled from
e:\Python25\lib\lib-tk\tkCommonDialog.pyc
# e:\Python25\lib\idlelib\EditorWindow.pyc matches
e:\Python25\lib\idlelib\EditorWindow.py
import idlelib.EditorWindow # precompiled from
e:\Python25\lib\idlelib\EditorWindow.pyc
import imp # builtin
import itertools # builtin
# e:\Python25\lib\lib-tk\tkSimpleDialog.pyc matches
e:\Python25\lib\lib-tk\tkSimpleDialog.py
import tkSimpleDialog # precompiled from
e:\Python25\lib\lib-tk\tkSimpleDialog.pyc
# e:\Python25\lib\idlelib\MultiCall.pyc matches
e:\Python25\lib\idlelib\MultiCall.py
import idlelib.MultiCall # precompiled from
e:\Python25\lib\idlelib\MultiCall.pyc
# e:\Python25\lib\webbrowser.pyc matches e:\Python25\lib\webbrowser.py
import webbrowser # precompiled from e:\Python25\lib\webbrowser.pyc
# e:\Python25\lib\shlex.pyc matches e:\Python25\lib\shlex.py
import shlex # precompiled from e:\Python25\lib\shlex.pyc
import cStringIO # builtin
# e:\Python25\lib\subprocess.pyc matches e:\Python25\lib\subprocess.py
import subprocess # precompiled from e:\Python25\lib\subprocess.pyc
import gc # builtin
import msvcrt # builtin
import _subprocess # builtin
# e:\Python25\lib\idlelib\idlever.pyc matches
e:\Python25\lib\idlelib\idlever.py
import idlelib.idlever # precompiled from
e:\Python25\lib\idlelib\idlever.pyc
# e:\Python25\lib\idlelib\WindowList.pyc matches
e:\Python25\lib\idlelib\WindowList.py
import idlelib.WindowList # precompiled from
e:\Python25\lib\idlelib\WindowList.pyc
# e:\Python25\lib\idlelib\SearchDialog.pyc matches
e:\Python25\lib\idlelib\SearchDialog.py
import idlelib.SearchDialog # precompiled from
e:\Python25\lib\idlelib\SearchDialog.pyc
# e:\Python25\lib\idlelib\SearchEngine.pyc matches
e:\Python25\lib\idlelib\SearchEngine.py
import idlelib.SearchEngine # precompiled from
e:\Python25\lib\idlelib\SearchEngine.pyc
# e:\Python25\lib\idlelib\SearchDialogBase.pyc matches
e:\Python25\lib\idlelib\SearchDialogBase.
py
import idlelib.SearchDialogBase # precompiled from
e:\Python25\lib\idlelib\SearchDialogBase.pyc
# e:\Python25\lib\idlelib\GrepDialog.pyc matches
e:\Python25\lib\idlelib\GrepDialog.py
import idlelib.GrepDialog # precompiled from
e:\Python25\lib\idlelib\GrepDialog.pyc
# e:\Python25\lib\fnmatch.pyc matches e:\Python25\lib\fnmatch.py
import fnmatch # precompiled from e:\Python25\lib\fnmatch.pyc
# e:\Python25\lib\idlelib\ReplaceDialog.pyc matches
e:\Python25\lib\idlelib\ReplaceDialog.py
import idlelib.ReplaceDialog # precompiled from
e:\Python25\lib\idlelib\ReplaceDialog.pyc
# e:\Python25\lib\idlelib\PyParse.pyc matches
e:\Python25\lib\idlelib\PyParse.py
import idlelib.PyParse # precompiled from
e:\Python25\lib\idlelib\PyParse.pyc
# e:\Python25\lib\idlelib\configHandler.pyc matches
e:\Python25\lib\idlelib\configHandler.py
import idlelib.configHandler # precompiled from
e:\Python25\lib\idlelib\configHandler.pyc
# e:\Python25\lib\ConfigParser.pyc matches
e:\Python25\lib\ConfigParser.py
import ConfigParser # precompiled from e:\Python25\lib\ConfigParser.pyc
# e:\Python25\lib\idlelib\aboutDialog.pyc matches
e:\Python25\lib\idlelib\aboutDialog.py
import idlelib.aboutDialog # precompiled from
e:\Python25\lib\idlelib\aboutDialog.pyc
# e:\Python25\lib\idlelib\textView.pyc matches
e:\Python25\lib\idlelib\textView.py
import idlelib.textView # precompiled from
e:\Python25\lib\idlelib\textView.pyc
# e:\Python25\lib\idlelib\configDialog.pyc matches
e:\Python25\lib\idlelib\configDialog.py
import idlelib.configDialog # precompiled from
e:\Python25\lib\idlelib\configDialog.pyc
# e:\Python25\lib\lib-tk\tkColorChooser.pyc matches
e:\Python25\lib\lib-tk\tkColorChooser.py
import tkColorChooser # precompiled from
e:\Python25\lib\lib-tk\tkColorChooser.pyc
# e:\Python25\lib\lib-tk\tkFont.pyc matches
e:\Python25\lib\lib-tk\tkFont.py
import tkFont # precompiled from e:\Python25\lib\lib-tk\tkFont.pyc
# e:\Python25\lib\copy.pyc matches e:\Python25\lib\copy.py
import copy # precompiled from e:\Python25\lib\copy.pyc
# e:\Python25\lib\idlelib\dynOptionMenuWidget.pyc matches
e:\Python25\lib\idlelib\dynOptionMenuW
idget.py
import idlelib.dynOptionMenuWidget # precompiled from
e:\Python25\lib\idlelib\dynOptionMenuWidge
t.pyc
# e:\Python25\lib\idlelib\tabpage.pyc matches
e:\Python25\lib\idlelib\tabpage.py
import idlelib.tabpage # precompiled from
e:\Python25\lib\idlelib\tabpage.pyc
# e:\Python25\lib\idlelib\keybindingDialog.pyc matches
e:\Python25\lib\idlelib\keybindingDialog.
py
import idlelib.keybindingDialog # precompiled from
e:\Python25\lib\idlelib\keybindingDialog.pyc
# e:\Python25\lib\idlelib\configSectionNameDialog.pyc matches
e:\Python25\lib\idlelib\configSect
ionNameDialog.py
import idlelib.configSectionNameDialog # precompiled from
e:\Python25\lib\idlelib\configSectionN
ameDialog.pyc
# e:\Python25\lib\idlelib\configHelpSourceEdit.pyc matches
e:\Python25\lib\idlelib\configHelpSou
rceEdit.py
import idlelib.configHelpSourceEdit # precompiled from
e:\Python25\lib\idlelib\configHelpSourceE
dit.pyc
# e:\Python25\lib\lib-tk\tkFileDialog.pyc matches
e:\Python25\lib\lib-tk\tkFileDialog.py
import tkFileDialog # precompiled from
e:\Python25\lib\lib-tk\tkFileDialog.pyc
# e:\Python25\lib\idlelib\Percolator.pyc matches
e:\Python25\lib\idlelib\Percolator.py
import idlelib.Percolator # precompiled from
e:\Python25\lib\idlelib\Percolator.pyc
# e:\Python25\lib\idlelib\WidgetRedirector.pyc matches
e:\Python25\lib\idlelib\WidgetRedirector.
py
import idlelib.WidgetRedirector # precompiled from
e:\Python25\lib\idlelib\WidgetRedirector.pyc
# e:\Python25\lib\idlelib\Delegator.pyc matches
e:\Python25\lib\idlelib\Delegator.py
import idlelib.Delegator # precompiled from
e:\Python25\lib\idlelib\Delegator.pyc
# e:\Python25\lib\idlelib\ColorDelegator.pyc matches
e:\Python25\lib\idlelib\ColorDelegator.py
import idlelib.ColorDelegator # precompiled from
e:\Python25\lib\idlelib\ColorDelegator.pyc
# e:\Python25\lib\keyword.pyc matches e:\Python25\lib\keyword.py
import keyword # precompiled from e:\Python25\lib\keyword.pyc
# e:\Python25\lib\idlelib\UndoDelegator.pyc matches
e:\Python25\lib\idlelib\UndoDelegator.py
import idlelib.UndoDelegator # precompiled from
e:\Python25\lib\idlelib\UndoDelegator.pyc
# e:\Python25\lib\idlelib\IOBinding.pyc matches
e:\Python25\lib\idlelib\IOBinding.py
import idlelib.IOBinding # precompiled from
e:\Python25\lib\idlelib\IOBinding.pyc
# e:\Python25\lib\tempfile.pyc matches e:\Python25\lib\tempfile.py
import tempfile # precompiled from e:\Python25\lib\tempfile.pyc
# e:\Python25\lib\random.pyc matches e:\Python25\lib\random.py
import random # precompiled from e:\Python25\lib\random.pyc
import math # builtin
import binascii # builtin
import _random # builtin
# e:\Python25\lib\lib-tk\SimpleDialog.pyc matches
e:\Python25\lib\lib-tk\SimpleDialog.py
import SimpleDialog # precompiled from
e:\Python25\lib\lib-tk\SimpleDialog.pyc
# e:\Python25\lib\idlelib\Bindings.pyc matches
e:\Python25\lib\idlelib\Bindings.py
import idlelib.Bindings # precompiled from
e:\Python25\lib\idlelib\Bindings.pyc
# e:\Python25\lib\idlelib\MultiStatusBar.pyc matches
e:\Python25\lib\idlelib\MultiStatusBar.py
import idlelib.MultiStatusBar # precompiled from
e:\Python25\lib\idlelib\MultiStatusBar.pyc
# e:\Python25\lib\tokenize.pyc matches e:\Python25\lib\tokenize.py
import tokenize # precompiled from e:\Python25\lib\tokenize.pyc
# e:\Python25\lib\token.pyc matches e:\Python25\lib\token.py
import token # precompiled from e:\Python25\lib\token.pyc
# e:\Python25\lib\idlelib\FileList.pyc matches
e:\Python25\lib\idlelib\FileList.py
import idlelib.FileList # precompiled from
e:\Python25\lib\idlelib\FileList.pyc
# e:\Python25\lib\idlelib\OutputWindow.pyc matches
e:\Python25\lib\idlelib\OutputWindow.py
import idlelib.OutputWindow # precompiled from
e:\Python25\lib\idlelib\OutputWindow.pyc
# e:\Python25\lib\idlelib\rpc.pyc matches e:\Python25\lib\idlelib\rpc.py
import idlelib.rpc # precompiled from e:\Python25\lib\idlelib\rpc.pyc
import select # dynamically loaded from e:\Python25\DLLs\select.pyd
# e:\Python25\lib\SocketServer.pyc matches
e:\Python25\lib\SocketServer.py
import SocketServer # precompiled from e:\Python25\lib\SocketServer.pyc
# e:\Python25\lib\struct.pyc matches e:\Python25\lib\struct.py
import struct # precompiled from e:\Python25\lib\struct.pyc
import _struct # builtin
import cPickle # builtin
# e:\Python25\lib\Queue.pyc matches e:\Python25\lib\Queue.py
import Queue # precompiled from e:\Python25\lib\Queue.pyc
import marshal # builtin
# e:\Python25\lib\idlelib\Debugger.pyc matches
e:\Python25\lib\idlelib\Debugger.py
import idlelib.Debugger # precompiled from
e:\Python25\lib\idlelib\Debugger.pyc
# e:\Python25\lib\bdb.pyc matches e:\Python25\lib\bdb.py
import bdb # precompiled from e:\Python25\lib\bdb.pyc
# e:\Python25\lib\idlelib\ScrolledList.pyc matches
e:\Python25\lib\idlelib\ScrolledList.py
import idlelib.ScrolledList # precompiled from
e:\Python25\lib\idlelib\ScrolledList.pyc
# e:\Python25\lib\idlelib\RemoteDebugger.pyc matches
e:\Python25\lib\idlelib\RemoteDebugger.py
import idlelib.RemoteDebugger # precompiled from
e:\Python25\lib\idlelib\RemoteDebugger.pyc
# e:\Python25\lib\idlelib\IdleHistory.pyc matches
e:\Python25\lib\idlelib\IdleHistory.py
import idlelib.IdleHistory # precompiled from
e:\Python25\lib\idlelib\IdleHistory.pyc
# e:\Python25\lib\idlelib\CallTips.pyc matches
e:\Python25\lib\idlelib\CallTips.py
import idlelib.CallTips # precompiled from
e:\Python25\lib\idlelib\CallTips.pyc
# e:\Python25\lib\idlelib\CallTipWindow.pyc matches
e:\Python25\lib\idlelib\CallTipWindow.py
import idlelib.CallTipWindow # precompiled from
e:\Python25\lib\idlelib\CallTipWindow.pyc
# e:\Python25\lib\idlelib\HyperParser.pyc matches
e:\Python25\lib\idlelib\HyperParser.py
import idlelib.HyperParser # precompiled from
e:\Python25\lib\idlelib\HyperParser.pyc
# e:\Python25\lib\idlelib\AutoComplete.pyc matches
e:\Python25\lib\idlelib\AutoComplete.py
import idlelib.AutoComplete # precompiled from
e:\Python25\lib\idlelib\AutoComplete.pyc
# e:\Python25\lib\idlelib\AutoCompleteWindow.pyc matches
e:\Python25\lib\idlelib\AutoCompleteWin
dow.py
import idlelib.AutoCompleteWindow # precompiled from
e:\Python25\lib\idlelib\AutoCompleteWindow.
pyc
# e:\Python25\lib\idlelib\ParenMatch.pyc matches
e:\Python25\lib\idlelib\ParenMatch.py
import idlelib.ParenMatch # precompiled from
e:\Python25\lib\idlelib\ParenMatch.pyc
# e:\Python25\lib\idlelib\ZoomHeight.pyc matches
e:\Python25\lib\idlelib\ZoomHeight.py
import idlelib.ZoomHeight # precompiled from
e:\Python25\lib\idlelib\ZoomHeight.pyc
# e:\Python25\lib\idlelib\AutoExpand.pyc matches
e:\Python25\lib\idlelib\AutoExpand.py
import idlelib.AutoExpand # precompiled from
e:\Python25\lib\idlelib\AutoExpand.pyc
# e:\Python25\lib\idlelib\ScriptBinding.pyc matches
e:\Python25\lib\idlelib\ScriptBinding.py
import idlelib.ScriptBinding # precompiled from
e:\Python25\lib\idlelib\ScriptBinding.pyc
# e:\Python25\lib\tabnanny.pyc matches e:\Python25\lib\tabnanny.py
import tabnanny # precompiled from e:\Python25\lib\tabnanny.pyc
# e:\Python25\lib\idlelib\FormatParagraph.pyc matches
e:\Python25\lib\idlelib\FormatParagraph.py

import idlelib.FormatParagraph # precompiled from
e:\Python25\lib\idlelib\FormatParagraph.pyc


{and that was captured by a <right-click> in the command window, "select
all", another <right-click> to capture, then move to the newreader and
<ctrl-v> to paste}
 
W

W. eWatson

For junk.py, I tried Open With->Choose default program. I selected
idle.pyw. When I tried the new default for getting to IDLE, it
complained it was not a valid 32-bit app. That's very strange.

Quite expected... idle.pyw is a Python byte code file... IT needs to
be run using a Python interpreter (pythonw.exe to suppress the shell
window).

What happens IN the command/shell if you type (replace the<words>
with the correct string on your installation)

<path to python>python -v<path to idle.pyw>idle.pyw

This is my install:

E:\UserData\Wulfraed\My Documents>e:\Python25\python -v
e:\Python25\Lib\idlelib\idle.pyw

# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# e:\Python25\lib\site.pyc matches e:\Python25\lib\site.py
import site # precompiled from e:\Python25\lib\site.pyc
# e:\Python25\lib\os.pyc matches e:\Python25\lib\os.py
import os # precompiled from e:\Python25\lib\os.pyc
import errno # builtin
import nt # builtin
# e:\Python25\lib\ntpath.pyc matches e:\Python25\lib\ntpath.py
import ntpath # precompiled from e:\Python25\lib\ntpath.pyc
# e:\Python25\lib\stat.pyc matches e:\Python25\lib\stat.py
import stat # precompiled from e:\Python25\lib\stat.pyc
# e:\Python25\lib\UserDict.pyc matches e:\Python25\lib\UserDict.py
import UserDict # precompiled from e:\Python25\lib\UserDict.pyc
# e:\Python25\lib\copy_reg.pyc matches e:\Python25\lib\copy_reg.py
import copy_reg # precompiled from e:\Python25\lib\copy_reg.pyc
# e:\Python25\lib\types.pyc matches e:\Python25\lib\types.py
import types # precompiled from e:\Python25\lib\types.pyc
import _types # builtin
# zipimport: found 45 names in
e:\Python25\lib\site-packages\simplejson-2.0.3-py2.5.egg
# zipimport: found 33 names in
e:\Python25\lib\site-packages\ruledispatch-0.5a1.dev_r2506-py2.5-
win32.egg
# zipimport: found 15 names in
e:\Python25\lib\site-packages\decoratortools-1.7-py2.5.egg
# zipimport: found 9 names in
e:\Python25\lib\site-packages\configobj-4.5.3-py2.5.egg
# zipimport: found 15 names in
e:\Python25\lib\site-packages\extremes-1.1-py2.5.egg
# zipimport: found 43 names in
e:\Python25\lib\site-packages\pyprotocols-1.0a0-py2.5-win32.egg
# e:\Python25\lib\locale.pyc matches e:\Python25\lib\locale.py
import locale # precompiled from e:\Python25\lib\locale.pyc
import encodings # directory e:\Python25\lib\encodings
# e:\Python25\lib\encodings\__init__.pyc matches
e:\Python25\lib\encodings\__init__.py
import encodings # precompiled from
e:\Python25\lib\encodings\__init__.pyc
# e:\Python25\lib\codecs.pyc matches e:\Python25\lib\codecs.py
import codecs # precompiled from e:\Python25\lib\codecs.pyc
import _codecs # builtin
# e:\Python25\lib\encodings\aliases.pyc matches
e:\Python25\lib\encodings\aliases.py
import encodings.aliases # precompiled from
e:\Python25\lib\encodings\aliases.pyc
import _locale # builtin
# e:\Python25\lib\re.pyc matches e:\Python25\lib\re.py
import re # precompiled from e:\Python25\lib\re.pyc
# e:\Python25\lib\sre_compile.pyc matches e:\Python25\lib\sre_compile.py
import sre_compile # precompiled from e:\Python25\lib\sre_compile.pyc
import _sre # builtin
# e:\Python25\lib\sre_constants.pyc matches
e:\Python25\lib\sre_constants.py
import sre_constants # precompiled from
e:\Python25\lib\sre_constants.pyc
# e:\Python25\lib\sre_parse.pyc matches e:\Python25\lib\sre_parse.py
import sre_parse # precompiled from e:\Python25\lib\sre_parse.pyc
import operator # builtin
# e:\Python25\lib\encodings\cp1252.pyc matches
e:\Python25\lib\encodings\cp1252.py
import encodings.cp1252 # precompiled from
e:\Python25\lib\encodings\cp1252.pyc
# e:\Python25\lib\warnings.pyc matches e:\Python25\lib\warnings.py
import warnings # precompiled from e:\Python25\lib\warnings.pyc
# e:\Python25\lib\linecache.pyc matches e:\Python25\lib\linecache.py
import linecache # precompiled from e:\Python25\lib\linecache.pyc
ActivePython 2.5.2.2 (ActiveState Software Inc.) based on
Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import idlelib # directory e:\Python25\lib\idlelib
# e:\Python25\lib\idlelib\__init__.pyc matches
e:\Python25\lib\idlelib\__init__.py
import idlelib # precompiled from e:\Python25\lib\idlelib\__init__.pyc
# e:\Python25\lib\idlelib\PyShell.pyc matches
e:\Python25\lib\idlelib\PyShell.py
import idlelib.PyShell # precompiled from
e:\Python25\lib\idlelib\PyShell.pyc
# e:\Python25\lib\string.pyc matches e:\Python25\lib\string.py
import string # precompiled from e:\Python25\lib\string.pyc
import strop # builtin
# e:\Python25\lib\getopt.pyc matches e:\Python25\lib\getopt.py
import getopt # precompiled from e:\Python25\lib\getopt.pyc
# e:\Python25\lib\socket.pyc matches e:\Python25\lib\socket.py
import socket # precompiled from e:\Python25\lib\socket.pyc
import _socket # dynamically loaded from e:\Python25\DLLs\_socket.pyd
import _ssl # dynamically loaded from e:\Python25\DLLs\_ssl.pyd
import time # builtin
# e:\Python25\lib\threading.pyc matches e:\Python25\lib\threading.py
import threading # precompiled from e:\Python25\lib\threading.pyc
import thread # builtin
# e:\Python25\lib\traceback.pyc matches e:\Python25\lib\traceback.py
import traceback # precompiled from e:\Python25\lib\traceback.pyc
import collections # builtin
# e:\Python25\lib\idlelib\macosxSupport.pyc matches
e:\Python25\lib\idlelib\macosxSupport.py
import idlelib.macosxSupport # precompiled from
e:\Python25\lib\idlelib\macosxSupport.pyc
# e:\Python25\lib\lib-tk\Tkinter.pyc matches
e:\Python25\lib\lib-tk\Tkinter.py
import Tkinter # precompiled from e:\Python25\lib\lib-tk\Tkinter.pyc
# e:\Python25\lib\lib-tk\FixTk.pyc matches
e:\Python25\lib\lib-tk\FixTk.py
import FixTk # precompiled from e:\Python25\lib\lib-tk\FixTk.pyc
import _tkinter # dynamically loaded from e:\Python25\DLLs\_tkinter.pyd
# e:\Python25\lib\lib-tk\Tkconstants.pyc matches
e:\Python25\lib\lib-tk\Tkconstants.py
import Tkconstants # precompiled from
e:\Python25\lib\lib-tk\Tkconstants.pyc
# e:\Python25\lib\code.pyc matches e:\Python25\lib\code.py
import code # precompiled from e:\Python25\lib\code.pyc
# e:\Python25\lib\codeop.pyc matches e:\Python25\lib\codeop.py
import codeop # precompiled from e:\Python25\lib\codeop.pyc
# e:\Python25\lib\__future__.pyc matches e:\Python25\lib\__future__.py
import __future__ # precompiled from e:\Python25\lib\__future__.pyc
# e:\Python25\lib\lib-tk\tkMessageBox.pyc matches
e:\Python25\lib\lib-tk\tkMessageBox.py
import tkMessageBox # precompiled from
e:\Python25\lib\lib-tk\tkMessageBox.pyc
# e:\Python25\lib\lib-tk\tkCommonDialog.pyc matches
e:\Python25\lib\lib-tk\tkCommonDialog.py
import tkCommonDialog # precompiled from
e:\Python25\lib\lib-tk\tkCommonDialog.pyc
# e:\Python25\lib\idlelib\EditorWindow.pyc matches
e:\Python25\lib\idlelib\EditorWindow.py
import idlelib.EditorWindow # precompiled from
e:\Python25\lib\idlelib\EditorWindow.pyc
import imp # builtin
import itertools # builtin
# e:\Python25\lib\lib-tk\tkSimpleDialog.pyc matches
e:\Python25\lib\lib-tk\tkSimpleDialog.py
import tkSimpleDialog # precompiled from
e:\Python25\lib\lib-tk\tkSimpleDialog.pyc
# e:\Python25\lib\idlelib\MultiCall.pyc matches
e:\Python25\lib\idlelib\MultiCall.py
import idlelib.MultiCall # precompiled from
e:\Python25\lib\idlelib\MultiCall.pyc
# e:\Python25\lib\webbrowser.pyc matches e:\Python25\lib\webbrowser.py
import webbrowser # precompiled from e:\Python25\lib\webbrowser.pyc
# e:\Python25\lib\shlex.pyc matches e:\Python25\lib\shlex.py
import shlex # precompiled from e:\Python25\lib\shlex.pyc
import cStringIO # builtin
# e:\Python25\lib\subprocess.pyc matches e:\Python25\lib\subprocess.py
import subprocess # precompiled from e:\Python25\lib\subprocess.pyc
import gc # builtin
import msvcrt # builtin
import _subprocess # builtin
# e:\Python25\lib\idlelib\idlever.pyc matches
e:\Python25\lib\idlelib\idlever.py
import idlelib.idlever # precompiled from
e:\Python25\lib\idlelib\idlever.pyc
# e:\Python25\lib\idlelib\WindowList.pyc matches
e:\Python25\lib\idlelib\WindowList.py
import idlelib.WindowList # precompiled from
e:\Python25\lib\idlelib\WindowList.pyc
# e:\Python25\lib\idlelib\SearchDialog.pyc matches
e:\Python25\lib\idlelib\SearchDialog.py
import idlelib.SearchDialog # precompiled from
e:\Python25\lib\idlelib\SearchDialog.pyc
# e:\Python25\lib\idlelib\SearchEngine.pyc matches
e:\Python25\lib\idlelib\SearchEngine.py
import idlelib.SearchEngine # precompiled from
e:\Python25\lib\idlelib\SearchEngine.pyc
# e:\Python25\lib\idlelib\SearchDialogBase.pyc matches
e:\Python25\lib\idlelib\SearchDialogBase.
py
import idlelib.SearchDialogBase # precompiled from
e:\Python25\lib\idlelib\SearchDialogBase.pyc
# e:\Python25\lib\idlelib\GrepDialog.pyc matches
e:\Python25\lib\idlelib\GrepDialog.py
import idlelib.GrepDialog # precompiled from
e:\Python25\lib\idlelib\GrepDialog.pyc
# e:\Python25\lib\fnmatch.pyc matches e:\Python25\lib\fnmatch.py
import fnmatch # precompiled from e:\Python25\lib\fnmatch.pyc
# e:\Python25\lib\idlelib\ReplaceDialog.pyc matches
e:\Python25\lib\idlelib\ReplaceDialog.py
import idlelib.ReplaceDialog # precompiled from
e:\Python25\lib\idlelib\ReplaceDialog.pyc
# e:\Python25\lib\idlelib\PyParse.pyc matches
e:\Python25\lib\idlelib\PyParse.py
import idlelib.PyParse # precompiled from
e:\Python25\lib\idlelib\PyParse.pyc
# e:\Python25\lib\idlelib\configHandler.pyc matches
e:\Python25\lib\idlelib\configHandler.py
import idlelib.configHandler # precompiled from
e:\Python25\lib\idlelib\configHandler.pyc
# e:\Python25\lib\ConfigParser.pyc matches
e:\Python25\lib\ConfigParser.py
import ConfigParser # precompiled from e:\Python25\lib\ConfigParser.pyc
# e:\Python25\lib\idlelib\aboutDialog.pyc matches
e:\Python25\lib\idlelib\aboutDialog.py
import idlelib.aboutDialog # precompiled from
e:\Python25\lib\idlelib\aboutDialog.pyc
# e:\Python25\lib\idlelib\textView.pyc matches
e:\Python25\lib\idlelib\textView.py
import idlelib.textView # precompiled from
e:\Python25\lib\idlelib\textView.pyc
# e:\Python25\lib\idlelib\configDialog.pyc matches
e:\Python25\lib\idlelib\configDialog.py
import idlelib.configDialog # precompiled from
e:\Python25\lib\idlelib\configDialog.pyc
# e:\Python25\lib\lib-tk\tkColorChooser.pyc matches
e:\Python25\lib\lib-tk\tkColorChooser.py
import tkColorChooser # precompiled from
e:\Python25\lib\lib-tk\tkColorChooser.pyc
# e:\Python25\lib\lib-tk\tkFont.pyc matches
e:\Python25\lib\lib-tk\tkFont.py
import tkFont # precompiled from e:\Python25\lib\lib-tk\tkFont.pyc
# e:\Python25\lib\copy.pyc matches e:\Python25\lib\copy.py
import copy # precompiled from e:\Python25\lib\copy.pyc
# e:\Python25\lib\idlelib\dynOptionMenuWidget.pyc matches
e:\Python25\lib\idlelib\dynOptionMenuW
idget.py
import idlelib.dynOptionMenuWidget # precompiled from
e:\Python25\lib\idlelib\dynOptionMenuWidge
t.pyc
# e:\Python25\lib\idlelib\tabpage.pyc matches
e:\Python25\lib\idlelib\tabpage.py
import idlelib.tabpage # precompiled from
e:\Python25\lib\idlelib\tabpage.pyc
# e:\Python25\lib\idlelib\keybindingDialog.pyc matches
e:\Python25\lib\idlelib\keybindingDialog.
py
import idlelib.keybindingDialog # precompiled from
e:\Python25\lib\idlelib\keybindingDialog.pyc
# e:\Python25\lib\idlelib\configSectionNameDialog.pyc matches
e:\Python25\lib\idlelib\configSect
ionNameDialog.py
import idlelib.configSectionNameDialog # precompiled from
e:\Python25\lib\idlelib\configSectionN
ameDialog.pyc
# e:\Python25\lib\idlelib\configHelpSourceEdit.pyc matches
e:\Python25\lib\idlelib\configHelpSou
rceEdit.py
import idlelib.configHelpSourceEdit # precompiled from
e:\Python25\lib\idlelib\configHelpSourceE
dit.pyc
# e:\Python25\lib\lib-tk\tkFileDialog.pyc matches
e:\Python25\lib\lib-tk\tkFileDialog.py
import tkFileDialog # precompiled from
e:\Python25\lib\lib-tk\tkFileDialog.pyc
# e:\Python25\lib\idlelib\Percolator.pyc matches
e:\Python25\lib\idlelib\Percolator.py
import idlelib.Percolator # precompiled from
e:\Python25\lib\idlelib\Percolator.pyc
# e:\Python25\lib\idlelib\WidgetRedirector.pyc matches
e:\Python25\lib\idlelib\WidgetRedirector.
py
import idlelib.WidgetRedirector # precompiled from
e:\Python25\lib\idlelib\WidgetRedirector.pyc
# e:\Python25\lib\idlelib\Delegator.pyc matches
e:\Python25\lib\idlelib\Delegator.py
import idlelib.Delegator # precompiled from
e:\Python25\lib\idlelib\Delegator.pyc
# e:\Python25\lib\idlelib\ColorDelegator.pyc matches
e:\Python25\lib\idlelib\ColorDelegator.py
import idlelib.ColorDelegator # precompiled from
e:\Python25\lib\idlelib\ColorDelegator.pyc
# e:\Python25\lib\keyword.pyc matches e:\Python25\lib\keyword.py
import keyword # precompiled from e:\Python25\lib\keyword.pyc
# e:\Python25\lib\idlelib\UndoDelegator.pyc matches
e:\Python25\lib\idlelib\UndoDelegator.py
import idlelib.UndoDelegator # precompiled from
e:\Python25\lib\idlelib\UndoDelegator.pyc
# e:\Python25\lib\idlelib\IOBinding.pyc matches
e:\Python25\lib\idlelib\IOBinding.py
import idlelib.IOBinding # precompiled from
e:\Python25\lib\idlelib\IOBinding.pyc
# e:\Python25\lib\tempfile.pyc matches e:\Python25\lib\tempfile.py
import tempfile # precompiled from e:\Python25\lib\tempfile.pyc
# e:\Python25\lib\random.pyc matches e:\Python25\lib\random.py
import random # precompiled from e:\Python25\lib\random.pyc
import math # builtin
import binascii # builtin
import _random # builtin
# e:\Python25\lib\lib-tk\SimpleDialog.pyc matches
e:\Python25\lib\lib-tk\SimpleDialog.py
import SimpleDialog # precompiled from
e:\Python25\lib\lib-tk\SimpleDialog.pyc
# e:\Python25\lib\idlelib\Bindings.pyc matches
e:\Python25\lib\idlelib\Bindings.py
import idlelib.Bindings # precompiled from
e:\Python25\lib\idlelib\Bindings.pyc
# e:\Python25\lib\idlelib\MultiStatusBar.pyc matches
e:\Python25\lib\idlelib\MultiStatusBar.py
import idlelib.MultiStatusBar # precompiled from
e:\Python25\lib\idlelib\MultiStatusBar.pyc
# e:\Python25\lib\tokenize.pyc matches e:\Python25\lib\tokenize.py
import tokenize # precompiled from e:\Python25\lib\tokenize.pyc
# e:\Python25\lib\token.pyc matches e:\Python25\lib\token.py
import token # precompiled from e:\Python25\lib\token.pyc
# e:\Python25\lib\idlelib\FileList.pyc matches
e:\Python25\lib\idlelib\FileList.py
import idlelib.FileList # precompiled from
e:\Python25\lib\idlelib\FileList.pyc
# e:\Python25\lib\idlelib\OutputWindow.pyc matches
e:\Python25\lib\idlelib\OutputWindow.py
import idlelib.OutputWindow # precompiled from
e:\Python25\lib\idlelib\OutputWindow.pyc
# e:\Python25\lib\idlelib\rpc.pyc matches e:\Python25\lib\idlelib\rpc.py
import idlelib.rpc # precompiled from e:\Python25\lib\idlelib\rpc.pyc
import select # dynamically loaded from e:\Python25\DLLs\select.pyd
# e:\Python25\lib\SocketServer.pyc matches
e:\Python25\lib\SocketServer.py
import SocketServer # precompiled from e:\Python25\lib\SocketServer.pyc
# e:\Python25\lib\struct.pyc matches e:\Python25\lib\struct.py
import struct # precompiled from e:\Python25\lib\struct.pyc
import _struct # builtin
import cPickle # builtin
# e:\Python25\lib\Queue.pyc matches e:\Python25\lib\Queue.py
import Queue # precompiled from e:\Python25\lib\Queue.pyc
import marshal # builtin
# e:\Python25\lib\idlelib\Debugger.pyc matches
e:\Python25\lib\idlelib\Debugger.py
import idlelib.Debugger # precompiled from
e:\Python25\lib\idlelib\Debugger.pyc
# e:\Python25\lib\bdb.pyc matches e:\Python25\lib\bdb.py
import bdb # precompiled from e:\Python25\lib\bdb.pyc
# e:\Python25\lib\idlelib\ScrolledList.pyc matches
e:\Python25\lib\idlelib\ScrolledList.py
import idlelib.ScrolledList # precompiled from
e:\Python25\lib\idlelib\ScrolledList.pyc
# e:\Python25\lib\idlelib\RemoteDebugger.pyc matches
e:\Python25\lib\idlelib\RemoteDebugger.py
import idlelib.RemoteDebugger # precompiled from
e:\Python25\lib\idlelib\RemoteDebugger.pyc
# e:\Python25\lib\idlelib\IdleHistory.pyc matches
e:\Python25\lib\idlelib\IdleHistory.py
import idlelib.IdleHistory # precompiled from
e:\Python25\lib\idlelib\IdleHistory.pyc
# e:\Python25\lib\idlelib\CallTips.pyc matches
e:\Python25\lib\idlelib\CallTips.py
import idlelib.CallTips # precompiled from
e:\Python25\lib\idlelib\CallTips.pyc
# e:\Python25\lib\idlelib\CallTipWindow.pyc matches
e:\Python25\lib\idlelib\CallTipWindow.py
import idlelib.CallTipWindow # precompiled from
e:\Python25\lib\idlelib\CallTipWindow.pyc
# e:\Python25\lib\idlelib\HyperParser.pyc matches
e:\Python25\lib\idlelib\HyperParser.py
import idlelib.HyperParser # precompiled from
e:\Python25\lib\idlelib\HyperParser.pyc
# e:\Python25\lib\idlelib\AutoComplete.pyc matches
e:\Python25\lib\idlelib\AutoComplete.py
import idlelib.AutoComplete # precompiled from
e:\Python25\lib\idlelib\AutoComplete.pyc
# e:\Python25\lib\idlelib\AutoCompleteWindow.pyc matches
e:\Python25\lib\idlelib\AutoCompleteWin
dow.py
import idlelib.AutoCompleteWindow # precompiled from
e:\Python25\lib\idlelib\AutoCompleteWindow.
pyc
# e:\Python25\lib\idlelib\ParenMatch.pyc matches
e:\Python25\lib\idlelib\ParenMatch.py
import idlelib.ParenMatch # precompiled from
e:\Python25\lib\idlelib\ParenMatch.pyc
# e:\Python25\lib\idlelib\ZoomHeight.pyc matches
e:\Python25\lib\idlelib\ZoomHeight.py
import idlelib.ZoomHeight # precompiled from
e:\Python25\lib\idlelib\ZoomHeight.pyc
# e:\Python25\lib\idlelib\AutoExpand.pyc matches
e:\Python25\lib\idlelib\AutoExpand.py
import idlelib.AutoExpand # precompiled from
e:\Python25\lib\idlelib\AutoExpand.pyc
# e:\Python25\lib\idlelib\ScriptBinding.pyc matches
e:\Python25\lib\idlelib\ScriptBinding.py
import idlelib.ScriptBinding # precompiled from
e:\Python25\lib\idlelib\ScriptBinding.pyc
# e:\Python25\lib\tabnanny.pyc matches e:\Python25\lib\tabnanny.py
import tabnanny # precompiled from e:\Python25\lib\tabnanny.pyc
# e:\Python25\lib\idlelib\FormatParagraph.pyc matches
e:\Python25\lib\idlelib\FormatParagraph.py

import idlelib.FormatParagraph # precompiled from
e:\Python25\lib\idlelib\FormatParagraph.pyc


{and that was captured by a<right-click> in the command window, "select
all", another<right-click> to capture, then move to the newreader and
<ctrl-v> to paste}
I'm quite willing to do this in the command window, but I know of no way
to copy it.
 
J

Jerry Hill

.py=Python.File
.pyw=Python.NoConFile
Python.File="C:\Python25\python.exe" "%1" %*
Python.File="C:\Python25\python.exe" "%1" %*
Python.NoConFile="C:\Python25\pythonw.exe" "%1" %*

That all looks good.
I cannot copy from the cmd window. It ends with [errorno 13] Permission
denied to c:||Users\\Wayne\\idlerc\\recent-files.lst'

That sounds like the root of the problem, then. I'm assuming Wayne is
your username, but I don't know why you wouldn't have permission to
access something in your own user directory. Can you try deleting
that file in the windows explorer? You could try messing with the
permissions, but I doubt you care about a recent file list that sounds
several months old. You might even try removing (or renaming) the
whole C:\Users\Wayne\idlerc folder. Idle should re-build anything it
needs if it's not there when you start up.
 
W

W. eWatson

.py=Python.File
.pyw=Python.NoConFile
Python.File="C:\Python25\python.exe" "%1" %*
Python.File="C:\Python25\python.exe" "%1" %*
Python.NoConFile="C:\Python25\pythonw.exe" "%1" %*

That all looks good.
I cannot copy from the cmd window. It ends with [errorno 13] Permission
denied to c:||Users\\Wayne\\idlerc\\recent-files.lst'

That sounds like the root of the problem, then. I'm assuming Wayne is
your username, but I don't know why you wouldn't have permission to
access something in your own user directory. Can you try deleting
that file in the windows explorer? You could try messing with the
permissions, but I doubt you care about a recent file list that sounds
several months old. You might even try removing (or renaming) the
whole C:\Users\Wayne\idlerc folder. Idle should re-build anything it
needs if it's not there when you start up.
It's a hidden file. I tried deleting w/o success so changed the name.
The file was dated 5/??/2010.

I tried the usual method of right-click on junk.py to see if Edit with
IDLE would appear in the menu. It didn't, so I tried a right-click to
Choose default program to idle.pyw. Using it again gave me an invalid
32-bit message.

I am able to get a proper response at the command level by entering
pythonw.exe. >>> print "abc" works fine. I've forgotten how to get out
of >>>. I'm killing the command window.
 
W

W. eWatson

.py=Python.File
.pyw=Python.NoConFile
Python.File="C:\Python25\python.exe" "%1" %*
Python.File="C:\Python25\python.exe" "%1" %*
Python.NoConFile="C:\Python25\pythonw.exe" "%1" %*

That all looks good.
I cannot copy from the cmd window. It ends with [errorno 13] Permission
denied to c:||Users\\Wayne\\idlerc\\recent-files.lst'

That sounds like the root of the problem, then. I'm assuming Wayne is
your username, but I don't know why you wouldn't have permission to
access something in your own user directory. Can you try deleting
that file in the windows explorer? You could try messing with the
permissions, but I doubt you care about a recent file list that sounds
several months old. You might even try removing (or renaming) the
whole C:\Users\Wayne\idlerc folder. Idle should re-build anything it
needs if it's not there when you start up.
It's a hidden file. I tried deleting w/o success so changed the name.
The file was dated 5/??/2010.

I tried the usual method of right-click on junk.py to see if Edit with
IDLE would appear in the menu. It didn't, so I tried a right-click to
Choose default program to idle.pyw. Using it again gave me an invalid
32-bit message.

I am able to get a proper response at the command level by entering
pythonw.exe. >>> print "abc" works fine. I've forgotten how to get out
of >>>. I'm killing the command window.
idle.pyw brings up IDLE at the command level.
 
W

W. eWatson

I've given this problem over to the Python Tutor mail-list. I can
capture screens more easily than manipulate in cmd.exe. It may be a
preference problem on who owns what. SYSTEM seems to be the owner, and
not me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top