Hi there,
Trying to get started with Google App Engine and Python 2.7. I've followed
the first tutorial for writing a hello world program. Unfortunately, when I
test the program all I'm getting is a blank screen. I've got both .py and
.yaml files present. I get the same blank screen when I try the Using Users
program as well. I've looked through the instructions a dozen times a can't
see what I've missed.
I'm using Firefox as my default browser, and my .py and .yaml files are as
follows:
import webapp2
class MainPage(webapp2.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello, webapp World!')
app = webapp2.WSGIApplication([('/', MainPage)],
debug=True)
application: helloworld
version: 1
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /.*
script: helloworld.app
Can anybody spot what I'm doing wrong?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-appengine/-/QgNTGD083XYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.