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

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

P: n/a
En Fri, 09 May 2008 07:58:33 -0300, Banibrata Dutta <ba*************@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 ?
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\python.exe %*
<end python24.cmd>

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

--
Gabriel Genellina

Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.