In Python, how do I perform the equivalent of the following
import http.client
but using a relative import:
from . import http.client
import .http.client
For a package http
in the current package? I want to then access the client
module through it's parent name, http.client
, as I would be able if I did the top level import.