Hello!
Where are my error?
<type 'exceptions.SyntaxError'>: invalid syntax (holamundo.py, line 1)
args = ('invalid syntax',
(r'd:\google\trabajos\holamundo\holamundo.py', 1, 40, 'from
google.appengine.ext import webapp\rfrom goo...iAplicacion)\r\t\rif __name__
== "__main__":\r\tmain()'))
filename = r'd:\google\trabajos\holamundo\holamundo.py'
lineno = 1
message = ''
msg = 'invalid syntax'
offset = 40
print_file_and_line = None
text = 'from google.appengine.ext import webapp\rfrom
goo...iAplicacion)\r\t\rif __name__ == "__main__":\r\tmain()'
Thank“s
my code:
---------------8< --------------
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
class paginaPrincipal(webapp.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('holanda')
miAplicacion = webapp.WSGIApplication(
[('/', paginaPrincipal)],
debug=True)
def main():
run_wsgi_app(miAplicacion)
if __name__ == "__main__":
main()
---------------8< --------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
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
-~----------~----~----~----~------~----~------~--~---