Thoughts on Modularizing Flask Applications
I've been playing around with the Flask web framework for a while now. It's the basis for YAWT, the CMS/blogging system I'm currently developing (mostly as an exercise in familiarizing myself with Python)
With Flask, it's dead simple to get a very basic web application up and running:
:::python
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
@app.route("/blah")
def blah():
return "Hello Blah!"
if __name__ == "__main__":
app.run()