Use a shebang to let the UNIX shell know what interpreter to use.
The top line of the python script should read:
#!/usr/bin/python
Or
#!/usr/bin/env python
This assumes that your script will run with the default python.
Thanks & Regards,
Chandru
CA Technologies