flask keep going

maybe django is amazing, but i am interseting in flask now. because it is simple and easy(maybe).

process checker flask code

i want to check some process in linux works or not. so i write a flask code .and happy ,it works.

what is flask

flask is a python web framework

how use flask

simple ?

from flask import Flask

app = Flask(__name__)

@app.route("/")
def hello_world():
    return "<p>Hello, World!</p>"

flask with sqlalchemy

https://www.digitalocean.com/community/tutorials/how-to-use-flask-sqlalchemy-to-interact-with-databases-in-a-flask-application

posted @ 2023-03-26 17:37  叶常落  阅读(6)  评论(0)    收藏  举报  来源