Where are script interpreters
Generally all programs are located in /usr/local/bin on the Vex.Net web and shell servers. Thus /usr/local/bin/perl or /usr/local/bin/python would be the correct path.
It is suggested, however, for portability to use the following directive at the top of your scripts (python in this example):
#!/usr/bin/env python
This format uses the system env program, which is always present, to locate the desired program on the path; therefore if the script interpreter ever moves, your script will not need any changes.

