On 11/14/2011 6:17 PM, Marc Tompkins wrote:
On Mon, Nov 14, 2011 at 4:55 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote:


On 11/14/2011 4:04 PM, Marc Tompkins wrote:
On Mon, Nov 14, 2011 at 4:00 PM, Wayne Watson <sierra_mtnv...@sbcglobal.net> wrote:
I do not see Python listed there. I see Word Pad, Winamp, Paint, ...

I'm at CP/All CP Items/Default prgrms/Set Defaults


My bad.  It's Control Panel\Programs\Default Programs\Set Associations.

(I could be wrong, but wasn't this all in one place in previous versions...?)  Anyway, scroll down to .py/.pyc/.pyo/.pyw, and I bet you'll find it pointing to a no-longer-valid installation.
py is listed as idle.pyw
This is NOT the default behavior (the default is python.exe) - I suspect you must have changed this for convenience when you first installed your old version of Python.
 
pyw as pythonw.exe (no console)
pyc/pyo as python.exe.

Whoops, pyo/c  are compiled python file.
It's stupid and irritating, but Windows only gives you the executable name - not the path.  Out of curiosity, does it show you the correct icons, or does it show you some generic Windows program icon, or something broken? 
The icons look python-ish.  I just used Win7 magnifier. Py looks like a window with a red spot on the left and blue one on the right.  pyc looks like a blue and a yellow snake of some sort one top of one another.

I tried adding python25 to the path as suggested by Wayne Werner. It had no affect.

In any case, click "Change program...", then "Browse" to the current proper locations, and click OK.  This should (finally) fix your problem...
Change Program?  Do you mean on the installed program list?

The uninstall/install should have fixed this, but there are a lot of things that could interfere - perhaps you didn't run it as Administrator, perhaps it tripped over your previously-modified setting, perhaps the installer is buggy, perhaps gremlins are trying to mess with your head...?
Probably the latter. :-)  Well, I may just punt and go to a 64-bit install. Maybe up matters by going to 2.6.  I think my 2.5.2 need may have disappeared.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to