I touched Flask

I'm studying the python framework Flask.

I don't know the structure, but it works without an HTTP server. By the way, I'm weak and I run it on virtualenv as it is on the official site.

http://a2c.bitbucket.org/flask/


from flask import Flask
app = Flask(__name__)

@app.route("/")
def index():
	return "index page"

@app.route("/<username>")
def show_name(username):
	return "hello " + username

app.run()

Postscript I'm running on debian 6.0.6 linux don't know

Recommended Posts

I touched Flask
I touched HaikuFinder
I touched TensorFlow's Tensorboard
I touched AWS Chalice
I touched the Qiita API
flask
flask
I touched Wagtail (2). Introducing django-extensions.
I touched Tensorflow and keras
I touched something called Touch Designer
First Flask
I tried linebot with flask (anaconda) + heroku
I touched "Orator" so I made a note
I summarized the folder structure of Flask
I was addicted to Flask on dotCloud
I touched the data preparation tool Paxata
I touched graph-rcnn which generates a scene graph
I tried Flask with Remote-Containers of VS Code
I touched some of the new features of Python 3.8 ①
I made a Mattermost bot with Python (+ Flask)