[Tutor] some web and python version questions

eryksun eryksun at gmail.com
Tue Mar 5 05:57:02 CET 2013


On Mon, Mar 4, 2013 at 10:54 PM, Lolo Lolo <losermeloser at yahoo.com> wrote:
> no if i double click the .py file, Python 3.3 opens all of my python 3
> files. A lot of 3.0 files won't run but that's okay. Now on my command line
> if i enter the correct version's directory, and use: python myfile.py then
> the correct version's .exe opens the file. When i said "it works fine", i
> was just suprised why my files lost their python icon but are still opened
> by python when i double click them

Installing 3.3 associated .py files with %windir%\py.exe, but it seems
the icon cache wasn't refreshed. You can trigger a refresh by setting
any default in the "Default Programs" control panel applet. If that
fails, you can manually delete the cache from the cmd shell:

    del /a %localappdata%\IconCache.db

It will be rebuilt at your next login.


More information about the Tutor mailing list