'Return a list corresponding to $PATH, or a default.'

def get_path(self):

    path = ['/bin', '/usr/bin', '/usr/local/bin']
    if ('PATH' in os.environ):
        p = os.environ['PATH']
        if p:
            path = p.split(os.pathsep)
    return path
