I Just want to show image on Google app Engine Website. I am new to Google app engine. I made changes in App.yaml and Main.py app.yaml looks like :
application: simplegraph-007
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /images
static_dir: static/images
mime_type: image/png
- url: .*
script: main.app
libraries:
- name: webapp2
version: "2.5.2"
Main.py looks like.
import webapp2
class MainHandler(webapp2.RequestHandler):
def get(self):
self.response.out.write("""<img src = 'D:\download\rel.png/>""")
app = webapp2.WSGIApplication([
('/', MainHandler)
], debug=True)
What else I need to change. I hope to get help.
Thanks,