Gaia dhuit, On Oct 25, 10:45 pm, "sam" <[EMAIL PROTECTED]> dropped 2 cents into the slot and wrote: > Hi..
Well, hello > > I'm looking to install dual versions of python 2.3, 2.4 on the same box. I'm > trying to figure out if there's something I'm missing, some kind of gotchas > that I haven't seen. > I know what you mean - sometimes things are just *too easy* to believe with Python. This is one of those: Just make sure you get the prefix right at installation time, and Python takes care of the rest., the two installations will be kept as separate as as the directories you choose. > I'm also trying to figure out how to allow my script to determine which > version to use??? Other things are more difficult: I cannot see how your script can choose an interpreter before the script is running.# OTOH one script could easily choose the correct interpreter for another script, e.g. #! /bin/bash if $MOON_IS_BLUE then ~/python24/bin/python script.py else /usr/bin/python script.py fi > Thanks Tá fáilte romhat -- jab Gaia leat
-- http://mail.python.org/mailman/listinfo/python-list