13.07.2015 Views

Modern Web Applications with Flask and Backbone.js

Modern Web Applications with Flask and Backbone.js

Modern Web Applications with Flask and Backbone.js

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Crash course: FLSK 101#!/usr/bin/env pythonfrom flask import <strong>Flask</strong>app = <strong>Flask</strong>(__name__)@app.route('/')def hello_world():return 'Hello World!'if __name__ == '__main__':app.run(debug=True)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!