from yourapplication import app @app.route('/') def index(): return 'Hello World!'