Multiple versions of Python coexisting in the same OS

Chris Rebert clp2 at rebertia.com
Sun Jul 25 01:03:48 EDT 2010


On Sat, Jul 24, 2010 at 7:40 PM, Edward Diener
<eldiener at tropicsoft.invalid> wrote:
> On 7/24/2010 6:25 AM, Mark Lawrence wrote:
>> On 24/07/2010 04:17, Edward Diener wrote:
>>> Are there any documents about multiple versionsof Python coexisting in
>>> the same OS ( Windows in my case ) and what pitfalls to look out for ? I
>>> have already run into a number of them. I installed Python 2.7 and 3.1.2
>>> into completely folders, but immediately ran into serious problems
>>> executing a Python script.
<snip>
> The best solution is some program which changes the PATH and the Python file
> type associations depending on which version of Python one wants to use on
> one's own system when more than one Python version must coexist with others.
> I will probably write such a program for myself.
>
> Are the .py and .pyc extensions the only ones which are associated with
> Python or are there others, for a normal Python installation in Windows ?

There's also .pyw

Cheers,
Chris



More information about the Python-list mailing list