473,569 Members | 2,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: multiple Python versions,but on Windows (how to handle registry updates)

En Fri, 09 May 2008 07:58:33 -0300, Banibrata Dutta <ba************ *@gmail.comescr ibió:
I already have Python25, and need to install Python24. I would prefer not to
remove Python25, but each Python version seems to update the registry, I
guess (not sure), overwriting each other's entries. Any way to have both
versions ?
They can coexist peacefully. The last one you install will be the default version to handle .py files automatically.

You may want to create a batch file like this:

<begin python24.cmd>
@c:\python24\py thon.exe %*
<end python24.cmd>

(and a similar one for 2.5; put them somewhere on your PATH, like c:\windows\syst em32)
Usage: python24 somescript.py

--
Gabriel Genellina

Jun 27 '08 #1
0 1882

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3652
by: Gilles Lenfant | last post by:
Hi, I bought and read most of (excellent) Mark Hammond's book, Python programming on Win32. I started to make some sophisticated "hello world" app using win32ui (...) but I need some more information to make the bridge between this book and the MFC (black hole for me) in depth. Any advise on good reading, and some python examples ?
3
4000
by: Chris Barker | last post by:
Hi all, We've been having a discussion over on the wxPython-users mailing list about how to deal with multiple versions of wxPython. During the discussion it came up that this isn't a problem faced only by wxPython, but would have to be dealt with by virtually all packages. The root of the problem is what to do when you install a new...
8
1307
by: Thomas D'Tak | last post by:
Hi everybody! Recently, I am having more and more problems with the fact that my Python version is far ahead of the Python versions I have to write scripts for (CGI servers, LAN servers & clients etc. of customers, ISPs etc.). Sometimes, these Python versions reach back to Python 2.0. The question is now, how to handle this kind of...
1
2085
by: Max M | last post by:
I would like to install several copies of Python 2.4.2 on my machine, but it doesn't seem to be possible. If I allready has a version installed, the installer only gives the options to: - change python 2.4.2 - repair python 2.4.2 - remove python 2.4.2
5
1779
by: David C. Ullrich | last post by:
Would there be issues (registry settings, environment variables, whatever) if a person tried to install versions 1.x and 2.x simultaneously on one Windows system? Windows 98, if it matters. (I can handle the file associations with no problem.) Thanks. **************************
37
3695
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with Access 2007 installed. It does *not* work under Windows Vista Ultimate. After running Access 2007, when you open an earlier version of Access, no...
1
7181
by: bg_ie | last post by:
Hi, I created a COM object using C# and I installed it with a batch that looks something like this - ECHO OFF PATH = C:\WINNT\Microsoft.NET\Framework\v2.0.50727 set target=C:\mydll.dll echo * Unregister %target% with v2.0.50727 regasm.exe /u %target%
0
172
by: Terry Reedy | last post by:
"Gabriel Genellina" <gagsl-py2@yahoo.com.arwrote in message news:op.uav4dutjx6zn5v@a98gizw.cpe.telecentro.net.ar... En Fri, 09 May 2008 07:58:33 -0300, Banibrata Dutta <banibrata.dutta@gmail.comescribió: |I already have Python25, and need to install Python24. I would prefer not to |remove Python25, but each Python version seems to update...
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7970
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.