/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
- 0 vote66 views1 answer
- 9 votes103 views3 answers
- -1 vote58 views1 answer
- 1 vote100 views1 answer
- 24 votes98 views3 answers
- 0 vote105 views1 answer
- 3 votes152 views2 answers
- 0 vote108 views1 answer
- 0 vote105 views1 answer
- -2 votes102 views1 answer