Flask: Difference between revisions
no edit summary
(Created page with "Installation: pip3 install flask Hello World: <syntaxhighlight lang="python"> from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): return 'He...") |
No edit summary |
||
Line 14:
app.run()
</syntaxhighlight>
Access the above app from:
http://127.0.0.1:5000/
|