How to make web in Python

How to add web to Python

Simple

from flask import Flask
app = Flask('app')

@app.route('/')
def index():
  return 'hello'

app.run(host='0.0.0.0',port=8080)
4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.