Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python': 0.09; '"run': 0.09; 'ide': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'aug': 0.13; '(the': 0.15; 'file,': 0.15; 'passing': 0.15; "'open": 0.16; '.py': 0.16; 'booted': 0.16; 'idle.': 0.16; 'message-id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'registry': 0.16; 'win7': 0.16; 'worst': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'jan': 0.18; '>>>': 0.18; 'windows': 0.19; 'skip:p 30': 0.20; 'suggested': 0.20; 'defined': 0.22; 'installation': 0.23; 'idea': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'select': 0.26; 'entries': 0.27; 'header:X -Complaints-To:1': 0.28; 'all.': 0.28; 'run': 0.28; 'changed.': 0.29; 'probably': 0.29; 'file': 0.32; '11,': 0.33; 'idle': 0.33; 'to:addr:python-list': 0.33; '(with': 0.33; 'fail': 0.35; 'especially': 0.35; 'open': 0.35; 'pm,': 0.35; 'similar': 0.35; 'received:org': 0.36; 'but': 0.36; 'editor': 0.37; 'itself': 0.37; 'does': 0.37; 'uses': 0.37; 'rather': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'lost': 0.60; 'most': 0.61; "you've": 0.61; 'real': 0.61; 'first': 0.61; 'choose': 0.65; 'laptop': 0.66; 'august': 0.66; 'clicking': 0.75; 'as:': 0.75; 'click': 0.76; 'associations': 0.84; 'easier,': 0.84; 'received:fios.verizon.net': 0.84; 'why?': 0.84; 'dennis': 0.91; 'response,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Idle no longer works Date: Mon, 13 Aug 2012 14:14:35 -0400 References: <94cc6490-ef15-4835-88c1-fa17347e03f4@googlegroups.com> <6ab35ebc-8069-4f07-9ce9-f591bd7163e2@googlegroups.com> <68ei2892hd5cm32pp9e6bnqf6govflujn6@invalid.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <68ei2892hd5cm32pp9e6bnqf6govflujn6@invalid.netcom.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 48 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1344881762 news.xs4all.nl 6868 [2001:888:2000:d::a6]:39346 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:27003 On 8/13/2012 1:43 PM, Dennis Lee Bieber wrote: > On Mon, 13 Aug 2012 00:11:06 -0700 (PDT), jussij@zeusedit.com declaimed > the following in gmane.comp.python.general: > >> On Saturday, August 11, 2012 4:09:16 PM UTC-7, Opap-OJ wrote: >> >>> I can no longer open the Idle IDE for Python on Windows 7. >>> .. >>> Any idea why? >> >> It looks like your registry has changed. Most likely, or the Python installation has be damaged. >> To fix this just use the Windows Explorer, click on a Python file >> and use the 'Open with, Choose default program' menu and then >> select the Idle IDE as the default program. > > That is probably the worst choice to make -- since what you've > defined means double clicking on ANY .py file will NOT RUN IT -- but > rather attempt to open it with the editor (IDLE)... But since IDLE > itself is a .py file, it may fail to start at all. > > If double-clicking an IDLE.py file does not start it, then the > registry has lost the association of .py to python.exe, not to IDLE. OR > -- .py IS associated to python.exe but the association (the "run > command" is not passing the .py file name to the python executable). > > On WinXP (with ActiveState 2.5.x version) my associations are as: > > E:\UserData\Wulfraed\My Documents>assoc .py > .py=py_auto_file > > E:\UserData\Wulfraed\My Documents>ftype py_auto_file > py_auto_file="E:\Python25\python.exe" "%1" %* > > E:\UserData\Wulfraed\My Documents> > > (with similar entries for .pyw to hook into pythonw.exe) > {Just booted the Win7 laptop with Python 2.7.x: The only real difference > is that it uses Python.File where the above has py_auto_file} Re-installing, as I suggested in the first response, is much easier, especially for someone not familiar with the above. -- Terry Jan Reedy