flask how to run app
$ export FLASK_APP=hello.py
$ python -m flask run
* Running on http://127.0.0.1:5000/
flask how to run app
$ export FLASK_APP=hello.py
$ python -m flask run
* Running on http://127.0.0.1:5000/
simple flask app
# Extremely simple flask application, will display 'Hello World!' on the screen when you run it
# Access it by running it, then going to whatever port its running on (It'll say which port it's running on).
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
if __name__ == '__main__':
app.run()
flask tutorials
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello World’
if __name__ == '__main__':
app.run()
what is flask
These are by far the best Flask tutorials there are: https://youtube.com/playlist?list=PLzMcBGfZo4-n4vJJybUVV3Un_NFS5EOgX
what is flask
Flask is a web framework written in Python.
This means flask provides you with tools, libraries and technologies that allow you to build a web application.
Here a a few resources for learning Flask (I have not personally used them before):
https://youtube.com/playlist?list=PLzMcBGfZo4-n4vJJybUVV3Un_NFS5EOgX
https://realpython.com/tutorials/flask/
https://opensource.com/article/18/4/flask
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us