Created
December 25, 2015 05:35
-
-
Save xiantail/3ad031b3cbab7f4e8096 to your computer and use it in GitHub Desktop.
Introducing Python / Chapter 9
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 bottle import route, run, static_file | |
@route('/') | |
def main(): | |
return static_file('index.html', root='.') | |
run(host='localhost', port=9999) |
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
My <b>new</b> and <i>improved</i> home page!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment