/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
- 8 votes160 views2 answers
- 0 vote156 views1 answer
- 20 votes177 views1 answer
- 1 vote156 views2 answers
- 0 vote185 views2 answers
- 2 votes177 views3 answers
- 0 vote205 views1 answer
- -1 vote172 views2 answers
- 0 vote203 views1 answer
- 0 vote166 views1 answer