Flask: Difference between revisions
Content added Content deleted
(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: | Line 14: | ||
app.run() |
app.run() |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
Access the above app from: |
|||
http://127.0.0.1:5000/ |