docs: def find_in_path(name, path):
      "Find a file in a search path"
      # adapted fom http://code.activestate.com/recipes/52224-find-a-file-given-a-search-path/
      for dir in path.split(os.pathsep):
          binpath = os.path.join(dir, name)
          if os.path.exists(binpath):
              return os.path.abspath(binpath)
      return None