17 Aug
2012
17 Aug
'12
10:42 p.m.
Damjan wrote:
The only problem with this approach is that /usr/bin/python is owned by the python package, so if you upgrade the python package it might create problems. Any one know of some way to work around this problem?
Just put your script in /usr/local/bin
But then some scripts use #!/usr/bin/python. Putting it in /usr/local/bin would only work if the script uses #!/usr/local/bin/python or #!/usr/bin/env python.