class_docstr: A very basic web server.
class_docstr_tok: ["A","very","basic","web","server","."]
code: def where_is(self, path: Path) -> str:
      path = str(path.relative_to(HTML_ROOT)).replace(
          "\\", "/"
      )  # Windows-proof
      return f"http://{self.host}:{self.port}/{path}"
  
file_path: bokeh/tests/support/plugins/file_server.py
imports: from __future__ import annotations
  import logging
  import os
  import threading
  from http.server import BaseHTTPRequestHandler, HTTPServer
  from pathlib import Path
  from typing import Any
  from urllib.request import urlopen
  import pytest
label_desc: Use image node_id 5 for calling the SimpleWebServer obj's underlying member method code with example usage: obj.where_is(path) and returns: str, self, str, self, str, path