Created
March 26, 2017 22:56
-
-
Save drewrothstein/bcae3120729bab482206d990b06e0828 to your computer and use it in GitHub Desktop.
PyDev (webapp framework) w/Eclipse
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
import webapp2 | |
class MainPage(webapp2.RequestHandler): | |
def get(self): | |
self.response.headers['Content-Type'] = 'text/plain' | |
self.response.write('Hello World!') | |
app = webapp2.WSGIApplication([('/', MainPage)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment