标签:sts -- tun pre out tar name handle install
-----------------------------------------------
from flask import Flask
app= Flask(__name__)
@app.route("/")
def hello():
return "flask"
if __name__ == "__main__":
app.run()
---------------------------------------------
import tornado.ioloop
import tornado.web
class MainHandler(tornado.web.RequestHandler):
def get(self):
self.write("tornado")
def make_app():
return tornado.web.Application([(r"/",MainHandler),])
if __name__ == "__main__":
app=make_app()
app.listen(8888)
tornado.ioloop.IOLoop.current().start()
标签:sts -- tun pre out tar name handle install
原文地址:https://www.cnblogs.com/alamps/p/9165420.html