flask load once code example
Example: default flask app
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return 'Flask'
from flask import Flask
app = Flask(__name__)
@app.route('/')
def index():
return 'Flask'