Created
January 30, 2013 14:36
-
-
Save vfaronov/4673677 to your computer and use it in GitHub Desktop.
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
import BaseHTTPServer | |
import turq | |
turq.TurqHandler.install_code(''' | |
with path() as r: | |
r.text('blah blah') | |
''') | |
BaseHTTPServer.HTTPServer(('0.0.0.0', 13085), turq.TurqHandler).serve_forever() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment