How To Kill a Python

Moshe Zadka m at moshez.org
Sun Nov 25 11:57:54 CET 2001


On Sun, 25 Nov 2001, Ben Ocean <zope at thewebsons.com> wrote:

> I continually run into problems adding new software to my server that is 
> dependent on Python because I have 2 versions, one of which is completely 
> unnecessary; namely, 1.5.2. I want to kill it, or at least make it so that 
> when Python is called it automatically calls 2.1 instead of 1.5.2, but I 
> don't want to screw anything else up on the server. 
> How should I go about this?

If you're using shebang lines, you might change the line to

#!/usr/bin/python2.1

instead of 

#!/usr/bin/python
-- 
The Official Moshe Zadka FAQ: http://moshez.geek
The Official Moshe Zadka FAQ For Dummies: http://moshez.org
Read the FAQ




More information about the Python-list mailing list