[PythonCE] File association image for .py

Luke Dunstan coder_infidel at hotmail.com
Mon Jul 24 17:01:10 CEST 2006


----- Original Message ----- 
From: "Alex Mandel" <tech_dev at wildintellect.com>
To: <pythonce at python.org>
Sent: Friday, July 21, 2006 5:13 AM
Subject: [PythonCE] File association image for .py


>I know it's a little trivial but it's the kind of thing that end users 
> really like. Anyone know how to add a registry entry so the .py files 
> get a nice python icon in the File Explorer.

Create a registry key: HKEY_CLASSES_ROOT\Python.File\DefaultIcon
Set the default value of this key to: \Program Files\Python24\python.exe,0

> I'm assuming that it can be done in the PythonCE.inf for the CAB but I 
> don't know the syntax. If someone knows how, I think it should be added 
> to the next release.

Yes, it will be in the next release.

Luke

> Thanks,
> Alex


More information about the PythonCE mailing list