DEV Community

Coco
Coco

Posted on

Flask kod

`from flask import Flask
from flask import render_template
from flask import request
import model

app = Flask(name)

@app.route("/")
def home():
return "Hello world!"

if name == "main":
app.run()`

Zapisujemy w app.py

Pytona musisz mieć w systemie.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more