/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
- 1 vote159 views1 answer
- 0 vote161 views1 answer
- 0 vote164 views2 answers
- 3 votes158 views3 answers
- 11 votes151 views9 answers
- 0 vote181 views1 answer
- 0 vote173 views1 answer
- 109 votes166 views6 answers
- 16 votes165 views4 answers
- 17 votes174 views4 answers