from circuits.lib.web import Server, Controller


class HelloWorld(Controller):

    def index(self):
        return 'Hello World!'
server = Server(8000)
server += HelloWorld()
server.run()
Embedded Web Server in Python?