Re: Running Multiple Versions



that is correct, you can work several version of python in same machine.
When you execute some script you only need redirect %PATH% and
%PYTHONPATH%

2008/1/15, noel@xxxxxxxxxx <noel@xxxxxxxxxx>:
Hi,

We are windows shop with some unix servers as well. We run 2.4.1 and
want to begin migrating to 2.5.1. I am looking for information
dealing with having more than one version of python on a server at one
time. I believe this is called side-by-side and all that is needed to
select a version on a windows box is to set the path to the desired
version of python prior to launching the script.

Does this sound correct?

Is there doc online that describes this?

For windows, has anyone come up with a way to have the script launch
the correct version at load time - similar to the she-bang method used
in unix?

Thanks

Noel
--
http://mail.python.org/mailman/listinfo/python-list



--
Atentamente,
Moisés Alberto Lindo Gutarra
Asesor - Desarrollador Java / Open Source
.



Relevant Pages

  • Re: newbie question
    ... Python is fun and it's easier to use a real OS to develop the programs, ... Grant it I am a command line junky, ... "The script can be given a executable mode, or permission, using the ... the above seems to me like you are useing windows. ...
    (comp.lang.python)
  • Re: 2.4->2.5 current directory change?
    ... > This appears to be a change in behavior from Python 2.4 to Python 2.5, ... > related to Windows behavior. ... > appears to be the base directory of the running script. ... > modules/etc in your current working directory will not be found. ...
    (comp.lang.python)
  • Re: perl to python
    ... sed and perl can let you do all that quick command line stuff. ... into a full blown script. ... scripts, call it from the python interpreter, whatever I need. ... If I stick to the traditional unix approach, ...
    (comp.lang.python)
  • Re: Learning Tkinter
    ... and how the command option is used to call the function callback. ... gui programming to see if the python programs I have written can be made ... search their computer for this file, execute the python code and then ... This is the meaning of the test on __name__: this magical variable is set to the string '__main__' if and only if the current script is the top-most one, i.e the one you ran python on. ...
    (comp.lang.python)
  • Correct way to handle independent interpreters when embedding in a single-threaded C++ app
    ... The Python interpreter is ... interpreter and provides an extension module to expose ... manage each script runs in a new interpreter. ... globals that could cause issues. ...
    (comp.lang.python)