Re: executable python scripts

Mats Lidell (konmsll@eua.ericsson.se)
28 Mar 1995 07:48:50 GMT

>>>>> Tim recently wrote:

Tim> Yes, this is almost certanly the problem. It's not always
Tim> possible to make a shorter path so I use the following:

Tim> #!/bin/sh

Tim> a=''' '
Tim> exec python $0 "$@"
Tim> '''

Another trick is to make a link to the python binary at some place
with a short path (like /tmp/<your-user-id>-bin). I have used this
technique when testing new python versions. A small script can on
login install the programs you want to access this way.

%% Mats