Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:error': 0.03; 'anyway.': 0.05; 'handler': 0.05; 'defaults': 0.07; 'plug': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'windows': 0.15; '.py': 0.16; 'idle,': 0.16; 'message- id:@4ax.com': 0.16; 'pythonwin': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'right-click': 0.16; 'files.': 0.16; 'skip:p 40': 0.19; 'command': 0.22; 'shell': 0.22; 'install': 0.23; 'installation': 0.23; 'url:home': 0.24; 'versions': 0.24; 'environment': 0.24; 'holds': 0.26; 'header:X -Complaints-To:1': 0.27; 'file': 0.32; 'skip:c 30': 0.32; 'open': 0.33; 'fri,': 0.33; "i'd": 0.34; 'entry': 0.36; 'charset:us- ascii': 0.36; 'changing': 0.37; 'skip:. 20': 0.38; 'to:addr :python-list': 0.38; 'files': 0.38; 'skip:. 10': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'commands': 0.60; 'most': 0.60; 'tell': 0.60; 'subject: ': 0.61; 'for:': 0.64; 'provide': 0.64; 'different': 0.65; 'note:': 0.66; 'line,': 0.68; 'results': 0.69; 'default': 0.69; 'click': 0.77; 'commands.': 0.84; 'opens': 0.91; 'subject:Lists': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: I am out of trial and error again Lists Date: Sat, 25 Oct 2014 15:10:56 -0400 Organization: IISS Elusive Unicorn References: <2412654f-ac5e-4678-8956-afc4e27affb3@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-218-175.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 49 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414264263 news.xs4all.nl 2932 [2001:888:2000:d::a6]:54174 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:79681 On Fri, 24 Oct 2014 22:41:06 -0400, Seymore4Head declaimed the following: >I have a directory of my py files. I right click on one of the py >files and "open with IDLE" Windows XP > >If I try to open a py file I have for Python 2 it still opens using >IDLE 3. > Most likely because the right-click menu holds the last installation entry default... What do you get in command shell for: C:\Users\Wulfraed\Documents>assoc .py .py=Python.File C:\Users\Wulfraed\Documents>assoc .pyw .pyw=Python.NoConFile C:\Users\Wulfraed\Documents>ftype Python.File Python.File="C:\Python_x64\Python27\python.exe" "%1" %* C:\Users\Wulfraed\Documents>ftype Python.NoConFile Python.NoConFile="C:\Python_x64\Python27\pythonw.exe" "%1" %* C:\Users\Wulfraed\Documents> >I don't have many py 2 files anyway. NOTE: I suspect you will get different results from the "assoc" commands -- I install the ActiveState versions of Python (I also don't use IDLE, I prefer the PythonWin environment that most ActiveState installs provide on Windows) -- so plug in your results on the "ftype" commands. Those will tell you what the command line defaults are set to execute. If I were to enter ftype Python.File="C:\Python_x64\Python33\python.exe" "%1" %* on a command line, I'd be changing my default handler to Python 3. I'd don't know how to change the right-click menu, however... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/