Skip to content

Instantly share code, notes, and snippets.

@infamousjoeg
Created December 7, 2018 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infamousjoeg/8c448045c8f97868d759a67f3dd96391 to your computer and use it in GitHub Desktop.
Save infamousjoeg/8c448045c8f97868d759a67f3dd96391 to your computer and use it in GitHub Desktop.
Joe-and-Rob-MPTest created by infamousjoeg - https://repl.it/@infamousjoeg/Joe-and-Rob-MPTest
from flask import Flask
app = Flask('app')
#@app.route('/')
#def hello_world():
# return 'Hello, World!'
@app.route('/rob')
def rob():
return 'He\'s cooler than Hello World.'
@app.route('/joe')
def joe():
return 'He\'s COMPLETELY AWESOME!'
@app.route('/')
def doshit():
return othershit()
def othershit():
data = ''
for i in range(0, 10):
data = data + str(i) + '<br />'
return data
app.run(host='0.0.0.0', port=8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment