Last active
May 10, 2017 18:12
-
-
Save OtavioBraga/53376b210cab9dcef2d7f68c937d0713 to your computer and use it in GitHub Desktop.
Basic flask hello world
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
meu_web_app = Flask('meu_web_app') | |
@meu_web_app.route('/') | |
def pagina_inicial(): | |
return "ok" | |
@meu_web_app.route('/hello') | |
def hello_world(): | |
return "Hello World" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment