How do I only display simplehttpwebsite_content.html when I visit localhost:8080? So that I can\'t see my filetree, only the webpage. All these fil
simplehttpwebsite_content.html
localhost:8080
you should call your file index.html, that's the page that gets served automatically instead of listing the directory.
index.html
the other possibility would be to override the handlers list_directory(self, path) method.
list_directory(self, path)