from flask import Flask
app = Flask(__name__)

@app.route('/')
def index():
	return '<H1>Measure Anything</H1>'

if __name__ == '__main__':
	app.run(debug=True)
from flask import Flask
from flask.ext.script import Manager

app = Flask(__name__)
manager = Manager(app)

@app.route('/')
def index():
	return '<H1>Measure Anything</H1>'

if __name__ == '__main__':
	manager.run()
Use flask-script so command line parameters can be used.