which reg values modified my python installer under windows

  • Thread starter Philippe C. Martin
  • Start date
P

Philippe C. Martin

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
 
K

keirr

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.
 
P

Philippe C. Martin

Keir,

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

Regards,

Philippe
 
K

keirr

Philippe,

Windows file associations are in
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Hope that helps you.

All the best,

Keir.
 
P

Peter Hansen

Philippe said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top