Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15905

Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python@mrabarnett.plus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'suppose': 0.05; 'subject:Python': 0.06; 'script,': 0.07; 'tab': 0.07; 'python': 0.08; '>>>>': 0.09; 'failing': 0.09; 'from:addr:python': 0.09; 'there?': 0.09; 'value:': 0.09; 'am,': 0.12; 'win32': 0.12; '"invalid': 0.16; '(windows': 0.16; '.py': 0.16; '2.7.2': 0.16; 'advanced,': 0.16; 'entry:': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; "pc's": 0.16; 'python.exe': 0.16; 'received:84.92': 0.16; 'received:84.92.122': 0.16; 'received:84.92.122.60': 0.16; 'reply-to:addr:python-list': 0.16; 'wrote:': 0.18; '>>>': 0.18; 'items.': 0.23; 'header:In- Reply-To:1': 0.23; 'do,': 0.24; 'guess': 0.25; 'settings': 0.26; 'windows': 0.26; 'skip:" 30': 0.28; 'idle': 0.28; 'installing': 0.28; 'unknown': 0.28; 'filed': 0.30; 'menu,': 0.30; 'subject:same': 0.30; 'example': 0.30; 'nov': 0.31; 'pm,': 0.31; 'thu,': 0.32; 'changes': 0.32; 'does': 0.32; "can't": 0.32; "isn't": 0.32; 'to:addr:python-list': 0.32; 'actually': 0.33; "i've": 0.33; 'it.': 0.33; 'that,': 0.33; 'there': 0.33; 'header :User-Agent:1': 0.33; 'received:84': 0.34; 'right,': 0.34; 'file.': 0.34; 'idea': 0.34; 'shows': 0.34; 'duplicate': 0.34; 'executable': 0.34; 'reply-to:addr:python.org': 0.34; 'skip:h 40': 0.34; 'however,': 0.34; 'similar': 0.35; 'folder': 0.35; 'question': 0.35; 'skip:" 20': 0.35; 'file': 0.36; 'something': 0.36; 'example,': 0.36; 'but': 0.37; 'options': 0.37; 'menu': 0.38; 'steven': 0.38; 'allows': 0.38; 'open': 0.38; 'run': 0.38; 'listed': 0.38; 'registered': 0.38; 'some': 0.38; 'ok,': 0.38; 'should': 0.39; 'except': 0.39; "there's": 0.39; "it's": 0.39; 'why': 0.39; 'description': 0.39; 'subject:: ': 0.39; 'under': 0.39; 'to:addr:python.org': 0.39; 'files': 0.40; 'far': 0.40; 'more': 0.60; 'connect': 0.60; 'your': 0.61; 'choose': 0.61; '2011': 0.62; 'adobe': 0.63; 'below': 0.63; 'internet': 0.64; 'view': 0.65; 'here:': 0.66; 'making': 0.67; 'relevant': 0.67; 'header:Reply-To:1': 0.70; 'reply-to:no real name:2**0': 0.71; 'click': 0.80; 'associations': 0.84; 'choices.': 0.84; 'each,': 0.84; 'menu.': 0.84; 'messed': 0.84; 'neither.': 0.84; 'xp,': 0.84; 'panel.': 0.93
X-CM-Score 0.00
X-CNFS-Analysis v=2.0 cv=TvRkdUrh c=1 sm=1 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=9jsOeB20M3cA:10 a=mtTu9BjsdiwA:10 a=OUOv7kDek9cA:10 a=8nJEP1OIZ-IA:10 a=uWO-OpwPAAAA:8 a=tXNp_sQbAAAA:8 a=Fv5aroynoDS8hUtCXJcA:9 a=btCanr0DHEYSeMgOyDgA:7 a=wPNLvfGTeEIA:10 a=StWgnWvxQcYA:10 a=0nF1XD0wxitMEM03M9B4ZQ==:117
X-AUTH mrabarnett:2500
Date Fri, 18 Nov 2011 17:12:40 +0000
From MRAB <python@mrabarnett.plus.com>
User-Agent Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Both Python 2.5.2 and 2.7.2 flop the same way under Win 7
References <ja3eae$rr$1@dont-email.me> <mailman.2812.1321567986.27778.python-list@python.org> <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>
In-Reply-To <ja5tlr$kem$1@dont-email.me>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2837.1321636336.27778.python-list@python.org> (permalink)
Lines 67
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1321636336 news.xs4all.nl 6963 [2001:888:2000:d::a6]:41974
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:15905

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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