473,474 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

which reg values modified my python installer under windows

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
5 1049
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Matthias Baas | last post by:
Hi, are there any guidelines about what to do if a Windows extension for Python 2.4 requires the C++ runtime (msvcp71.dll)? If I want to distribute a binary installer of an extension that...
10
by: Svein Brekke | last post by:
Hi. Thank you Gordon McMillan for a very nice freeze tool for python. (I use it on Windows XP SP2 for creating a single-file self-extracting wxPython based installation script for a non-python...
0
by: Philippe C. Martin | last post by:
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
17
by: Anthony Baxter | last post by:
On behalf of the Python development team and the Python community, I'm happy to announce the release of Python 2.4.2 (final). Python 2.4.2 is a bug-fix release. See the release notes at the ...
6
by: Sambo | last post by:
Some time ago I bought a newer computer with W2000 already on it so I moved my old drive to it as secondary( python was installed on non primary partition ). Not sure if the .msi installers were...
3
by: Padraig | last post by:
Hi all, Just a quick question... when I try to install Python on Windows Vista Beta 2 the installer seems to hang after I select the destination folder, saying that it will "return when it has...
8
by: mistral | last post by:
I need compile code written in Python. I use Windows 98SE. Should I download Python for Windows installer? http://www.python.org/ftp/python/2.4.3/python-2.4.3.msi Will the msi installer modify...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 430 open ( -4) / 3447 closed (+17) / 3877 total (+13) Bugs : 922 open ( -7) / 6316 closed (+31) / 7238 total (+24) RFE : 245 open...
2
by: Dudeja, Rajat | last post by:
Hi, So, now I've finally started using Eclipse and PyDev as an IDE for my GUI Application. I just wrote some sample programs as an hands on. Now I would like to take up Tkinter. I'm using...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.