Complete frustration

Scott David Daniels Scott.Daniels at Acm.Org
Fri May 8 20:39:33 EDT 2009


hellcats wrote:
> On May 8, 5:36 pm, Emile van Sebille <em... at fenx.com> wrote:
>> On 5/8/2009 3:08 PM hellcats said...
>>
>>> On May 8, 4:18 pm, Emile van Sebille <em... at fenx.com> wrote:
>> <snip>
>>>> This is a windows question -- you'll need to reassign the default
>>>> association of PYW files.  Look in explorer|tools|folder options.
>>>> Emile
>>> I know that. I've tried reassigning it from pythonw.exe to python.exe,
>>> and like I said, it will work for one invocation. But it seems to
>>> revert back the next time I double click. But also, what is wrong with
>>> it being pythonw.exe? Why does pythonw.exe open up IDLE?
>> When you right click your source file, do you have an 'open with' python
>> option?  Does that do the right thing?  If so, you're fighting your
>> windows installation which is where you'll need to address this problem.
>>
>> You might try downloading and installing the activestate python
>> distribution (assuming you're not already there).  That will likely set
>> your windows registry appropriately.
>>
>> Emile
> 
> Thanks everyone for the suggestions. I played with the registry a
> little bit. It looks like I had Python2.6 installed at one point, so
> maybe that corrupted things. I uninstalled everything and reinstalled
> Python2.5 (but without Tk/Tcl) and now double clicking a .pyw runs the
> program without IDLE or the MSDOS window showing up (as I had hoped).
> So I am happy now. Thanks again.

You probably can have Tk/Tcl there, I suspect something like VPython
or the 2.6 and remove it caused the problem.  By the way, it is safe
to simply uninstall-reinstall a python .msi in order to make that
version of python be the default.  uninstalling only removes that
which it installs, so after a reinstall, your other libraries are
still safely there.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list