# Change between Python 2.3 and 2.4 under WinXP

Peter Hansen peter at engcorp.com
Thu Mar 31 23:00:09 CEST 2005

```Martin v. Löwis wrote:
> Franz Steinhäusler wrote:
>> Is there any possibility under WinXP, to alterntate quickly (with
>> batch file or similary) between python23 and python24.

> If you are concerned that the .py association changes, you
> have two options:
>
> 1. manually edit the registry. Under HKEY_CLASSES_ROOT,
>    find Python.File (or Python.NoConFile), then shell\open\command,
>    and switch between paths.

Or even quicker: write a batch file that calls the
"ftype" command to change the registry setting.
(I believe changes made with ftype are persistent,
but haven't tested.)

about what these do for Python.

-Peter

```