#! /usr/bin/env python import os installdir = os.environ['GPT_INSTALL_LOCATION'] if installdir == None: raise NameError, 'ERROR: $GPT_INSTALL_LOCATION needs to be set' installdir = installdir + "/lib/python1.5/site-packages/" import sys sys.path.append(installdir) print installdir print "Ola Mundo from the Python Script" import OlaMundo obj = OlaMundo.Class() obj.print_hello_world()