__init__.py ----------- (empty) interpreter ----------- >>> import threadedhttp; dir(threadedhttp) ['__builtins__', '__doc__', '__file__', '__name__', '__path__'] __init__.py ----------- from http import Http interpreter ----------- >>> import threadedhttp; dir(threadedhttp) ['Http', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'connectionpool', 'cookiejar', 'dummy', 'http'] __init__.py ----------- from http import Http from threadedhttp import HttpRequest, HttpProcessor interpreter ----------- >>> import threadedhttp; dir(threadedhttp) ['Http', 'HttpProcessor', 'HttpRequest', '__builtins__', '__doc__', '__file__', '__name__', '__path__', 'connectionpool', 'cookiejar', 'dummy', 'http', 'threadedhttp']