Created
August 25, 2010 02:22
-
-
Save jgeewax/548720 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): | |
| self.response.out.write('About Me!') | |
| class AboutCompanyHandler(helipad.Handler): | |
| def get(self): | |
| self.response.out.write('About Company!') | |
| main, application = helipad.app({ | |
| '/about/me/': AboutMeHandler, | |
| '/about/company/': AboutCompanyHandler, | |
| }) | |
| if __name__ == "__main__": | |
| main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment