/Python/From flask import flask app = flask(__name__) @app.route("/") def hello_world(): return "<p>hello, world!</p>"
From flask import flask app = flask(__name__) @app.route("/") def hello_world(): return "<p>hello, world!</p>"
From flask import Flask app = Flask(__name__) @app.route('/',methods = ('GET')) def home(): return ('Hello World!!1') if __name__== '_main_': app.run()
0
Source: grepper.com
- 4 votes210 views2 answers
- 0 vote230 views1 answer
- 0 vote246 views1 answer
- 0 vote206 views1 answer
- -1 vote164 views1 answer
- 0 vote211 views1 answer
- 44 votes243 views3 answers
- 14 votes287 views2 answers
- 1 vote214 views1 answer
- 7 votes223 views4 answers