Skip to content

Instantly share code, notes, and snippets.

@drewrothstein
Created March 26, 2017 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drewrothstein/bcae3120729bab482206d990b06e0828 to your computer and use it in GitHub Desktop.
Save drewrothstein/bcae3120729bab482206d990b06e0828 to your computer and use it in GitHub Desktop.
PyDev (webapp framework) w/Eclipse
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