On 8/10/06, Nico Grubert <[EMAIL PROTECTED]> wrote: > Hi there, > > I have installed Python 2.3.5 on Suse Linux 10. > If I enter "python" in the shell, the Python 2.3.5 interpreter is called. > > After I installed Python 2.4.3. the Python 2.4.3 interpreter is called > which is the default behaviour I guess. > > "which python" brings me "/usr/local/bin/python" which calls the Python > 2.4.3 interpreter. > > My question now is: > What do I have to do in order to get the Python 2.3.5 interpreter each > time I enter "python" in the shell?
There could be various ways of doing so, like: Option 1: open your shell preference file ( ex. for bash ~/.bashrc) and add an alias: alias python="/path/to/python/version/of/your/choise" Option 2: make /usr/local/bin/python a symlink to python2.3.5 cheers, amit. -- ---- Amit Khemka -- onyomo.com Home Page: www.cse.iitd.ernet.in/~csd00377 Endless the world's turn, endless the sun's Spinning, Endless the quest; I turn again, back to my own beginning, And here, find rest. -- http://mail.python.org/mailman/listinfo/python-list