pip install bjoern python import bjoern def hello_world(environ, start_response): status = '200 OK' headers = [('Content-type', 'text/plain')] start_response(status, headers) return [b"Hello, World!"] if __name__ == "__main__": bjoern.run(hello_world, 'localhost', 8000) python bjoern.run(hello_world, 'localhost', 8000)


上一篇:
下一篇:
切换中文