Flask
pip install -U Flask
Flask
pip install -U Flask
flask
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
flask
from flask import Flask
app = Flask('app')
@app.route('/')
def hello_world():
return 'Hello, World!'
app.run(host='0.0.0.0', port=8080)
flask
Flask is a Python framework for web development.
When creating simple static sites, there is no need to use backend frameworks.
However, when creating complex and large sites that are backend heavy,
you will want to use a backend framework. Currently, the 2 Python frameworks
that are the most useful to learn are Flask and Django.
Flask:
Micro and light-weight framework that is easy to learn.
Django:
Complex, full-stack framework that is extremely powerful.
For smaller projects, Flask will work. However, for large ones, you might
consider learning Django. I suggest you learn Flask first and then Django.
Additionally, considering learning Node JS because even though it is in
Javascript, it is extremely popular.
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