code: def join_path(base, *parts: str):
      
      _parts = "/".join((_part.strip("/") for _part in parts))
      # _parts = '/'.join(parts)
      if base.endswith("/"):
          url = base + _parts
      else:
          url = base + "/" + _parts
      return url
docs: Creates urls from base path and additional parts.