Created
August 25, 2010 02:38
-
-
Save jgeewax/548738 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 helipad | |
| class AboutMeHandler(helipad.Handler): | |
| def get(self): | |
| about_me = helipad.open_file('templates/about_me.html') | |
| self.response.out.write(about_me.read()) | |
| # This sets the root to our project module | |
| helipad.root('hellohelipad') | |
| main, application = helipad.app(AboutMeHandler) | |
| if __name__ == "__main__": | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment