473,840 Members | 1,523 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 1913

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

Similar topics

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 ?
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 version of wxPython, and want to be able to keep using the old one. This question comes up frequently...
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 problems?
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
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. **************************
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 code works, because the references are fouled up. And Access 97 does not work at all. Access should...
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%
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 the registry, I |guess (not sure), overwriting each other's entries. Any way to have both |versions...
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.