Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #15905
| Date | 2011-11-18 17:12 +0000 |
|---|---|
| From | MRAB <python@mrabarnett.plus.com> |
| Subject | Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 |
| References | (2 earlier) <ja47c6$bt2$2@dont-email.me> <4ec5a5cf$0$29967$c3e8da3$5496439d@news.astraweb.com> <ja4n7b$3fd$1@dont-email.me> <9in3r9F5j3U2@mid.individual.net> <ja5tlr$kem$1@dont-email.me> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2837.1321636336.27778.python-list@python.org> (permalink) |
On 18/11/2011 15:29, W. eWatson wrote: > On 11/18/2011 5:11 AM, Neil Cerutti wrote: >> On 2011-11-18, W. eWatson<wolftracks@invalid.com> wrote: >>> On 11/17/2011 4:24 PM, Steven D'Aprano wrote: >>>> On Thu, 17 Nov 2011 16:03:14 -0800, W. eWatson wrote: >>>> >>>>> I have not found any successful way to get to IDLE. It's on on the >>>>> right-click of a py menu, and, if I go the ...lib/idle.pyw, it fails >>>>> with a "invalid Win32 app" msg. >>>> >>>> If you associate .pyw files with pythonw.exe, and then open idle.pyw, >>>> does it work? >>>> >>>> Failing that, go to your laptop where the associations are right, >>>> and see >>>> what they are, then duplicate the settings on your Windows 7 machine. >>> >>> Sounds like a good idea except I've not used associations in so >>> long under XP, I have no idea where to start. Control Panel. My >>> Computer Tools? >> >> Open Windows Explorer. >> With the menu, to to Tools->Folder Options >> Click the File Types tab in the Folder Options menu. >> >> There will be an upper view with registered filed types, and some >> buttons below far making changes to them. >> > OK, I've found that. I see > Py > Pyc > Pyo > Pyw > If I click on each, it basically it gives a short description of each. > If I click advanced, there's more info. For example for py, Actions are > IDLE and Open. > > What does this tell me that's relevant to Win7? > > If on Win7, I go to Default Programs I see under associations various > python items. Py shows Unknown application. Since installing 2.7.2 I > have not messed with these associations. If I right-click on Unknown, I > see Notepad and python.exe for choices to open the file. I want neither. > Why isn't IDLE listed there? > > If I right-click on junk.py, I see "Open with". Notepad and python.exe > are choices. However, that menu allows me to choose something else. For > example, Adobe Reader, or Internet Explorer. I suppose the next question > is should I use the browse there and try to connect to IDLE in > ...\Lib\idlelib? My guess is that if I do, I will run into the "invalid > Win32 app", when I try to use it. > You can't associate .py with Idle because Idle is a Python script, not an executable (an .exe). Have a look here: http://superuser.com/questions/68852/change-windows-7-explorer-edit-context-menu-action-for-jpg-and-other-image-fil In my PC's registry (Windows XP, but Windows 7 should be similar or the same) it has the entry: Key: HKEY_CLASSES_ROOT\Python.File\shell\Edit with IDLE\command Value: "C:\Python31\pythonw.exe" "C:\Python31\Lib\idlelib\idle.pyw" -n -e "%1" Note how it actually associates the Edit action of Python files with an .exe file.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 08:55 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 ray <ray040123@gmail.com> - 2011-11-18 01:37 +0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "spartan.the" <spartan.the@gmail.com> - 2011-11-17 09:37 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 John Gordon <gordon@panix.com> - 2011-11-17 17:39 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 12:22 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 12:31 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Chris Angelico <rosuav@gmail.com> - 2011-11-18 07:43 +1100
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Alan Meyer <ameyer2@yahoo.com> - 2011-11-21 17:43 -0500
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 MRAB <python@mrabarnett.plus.com> - 2011-11-17 20:59 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 16:00 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "spartan.the" <spartan.the@gmail.com> - 2011-11-17 12:46 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 15:54 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "Martin P. Hellwig" <martin.hellwig@gmail.com> - 2011-11-18 01:55 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Dave Angel <d@davea.name> - 2011-11-17 22:59 -0500
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 20:21 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Benjamin Kaplan <benjamin.kaplan@case.edu> - 2011-11-18 00:25 -0500
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 09:59 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 alex23 <wuwei23@gmail.com> - 2011-11-20 21:04 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 alex23 <wuwei23@gmail.com> - 2011-11-17 22:06 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Tony the Tiger <tony@tiger.invalid> - 2011-11-18 15:46 -0600
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-17 18:42 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Terry Reedy <tjreedy@udel.edu> - 2011-11-17 17:12 -0500
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 16:03 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-11-18 00:24 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 20:33 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Neil Cerutti <neilc@norwich.edu> - 2011-11-18 13:11 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 07:29 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 MRAB <python@mrabarnett.plus.com> - 2011-11-18 17:12 +0000
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 rusi <rustompmody@gmail.com> - 2011-11-18 09:19 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 09:48 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 09:45 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-18 17:17 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-18 10:04 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Terry Reedy <tjreedy@udel.edu> - 2011-11-18 02:35 -0500
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 09:57 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 alex23 <wuwei23@gmail.com> - 2011-11-17 19:04 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-17 20:34 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Stephen Hansen <me+list/python@ixokai.io> - 2011-11-18 14:31 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 alex23 <wuwei23@gmail.com> - 2011-11-20 21:09 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-11-17 20:34 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 07:54 -0800
Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7 "W. eWatson" <wolftracks@invalid.com> - 2011-11-18 07:57 -0800
csiph-web