By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,741 Members | 2,033 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,741 IT Pros & Developers. It's quick & easy.

which reg values modified my python installer under windows

P: n/a
Hi,

I am looking for the reg path that is modified/created by the pyton
installer to associate *.pyc with python.exe as I wish to associate *.pyc
with pythonw.exe

Regards,
Philippe

Sep 6 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Philippe,

You wrote: I wish to associate *.pyc with pythonw.exe

is there some reason why Tools->Folder Options->File Types (from a
Windows Explorer menu) won't work?

You could do it from a cmd prompt with assoc and ftype if you needed to
script it.

All the best,

Keir.

Sep 6 '05 #2

P: n/a
Keir,

I forgot to mention that I want to do it automatically from my application's
installer.

Regards,

Philippe

keirr wrote:
Philippe,

You wrote: I wish to associate *.pyc with pythonw.exe

is there some reason why Tools->Folder Options->File Types (from a
Windows Explorer menu) won't work?

You could do it from a cmd prompt with assoc and ftype if you needed to
script it.

All the best,

Keir.


Sep 6 '05 #3

P: n/a
Philippe,

Windows file associations are in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts

Hope that helps you.

All the best,

Keir.

Sep 6 '05 #4

P: n/a
Yes Keir, Thanks a lot.

Regards;

Philippe

keirr wrote:
Philippe,

Windows file associations are in
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts
Hope that helps you.

All the best,

Keir.


Sep 6 '05 #5

P: n/a
Philippe C. Martin wrote:
I forgot to mention that I want to do it automatically from my application's
installer.


Calling the "assoc" and "ftype" commands is one approach. Try them with
the existing settings to see how standard Python sets them up:

c:\> assoc .py
..py=Python.File

c:\> ftype Python.File
....

Use "assoc /?" or "ftype /?" for help.

-Peter
Sep 6 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.