Created
March 28, 2018 17:24
-
-
Save davidmlentz/5c186016b0ebfc8df8905ed118a8ee0f to your computer and use it in GitHub Desktop.
This file contains 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 http://webpy.org/docs/0.3/tutorial | |
import web | |
urls = ( | |
'/', 'index' | |
) | |
class index: | |
def GET(self): | |
return "Hello, world!" | |
if __name__ == "__main__": | |
app = web.application(urls, globals()) | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment