code: def change_python_path(pythonpath):
      '''Changes the pythonpath (clears all the previous pythonpath)
  
      @param pythonpath: string with paths separated by |
      '''
  
      split = pythonpath.split('|')
      sys.path = []
      for path in split:
          path = path.strip()
          if len(path) > 0:
              sys.path.append(pathf change_python_path(pythonpath):
      '''Changes the pythonpath (clears all the previous pythonpath)
  
      @param pythonpath: string with paths separated by |
      '''
  
      split = pythonpath.split('|')
      sys.path = []
      for path in split:
          path = path.strip()
          if len(path) > 0:
              sys.path.append(path)
docs: Changes the pythonpath (clears all the previous pythonpath)
  
      @param pythonpath: string with paths separated by |