I searched google but could not find the answer to this rather simple question. I have a python script that has hash-bang (#!) In the first line:
However, what if it runs on a python machine in / bin / python or / usr / local / bin / python or another place? There should be a better way to install an interpreter for a shell script. It should be possible to install it via $ PATH, as this will know where to find python if it is installed on the system.
source
share