def main(): my_server = HttpServer(IP, PORT, ROOT_DIR) # able to have endless connections!!! while True: my_server.run_server()