/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
- 2 votes111 views2 answers
- 2 votes95 views4 answers
- 0 vote95 views2 answers
- -1 vote116 views1 answer
- 2 votes99 views1 answer
- 3 votes101 views1 answer
- 0 vote139 views1 answer
- 0 vote97 views1 answer
- 0 vote101 views1 answer
- 0 vote87 views1 answer