Nathan Campos
Nathan Campos

Reputation: 29507

Python AppEngine And HTML

I have a simple Hello World application in Python that i'm using with AppEngine, but i want to insert this in a HTML file, like this: I have a file called test.html and on it i have this snippet:

<center><img src="test.png></center>
// Here comes the Python App //

I want to put the output of the Python application in this space, like i can do with Servlets(Java).

Regards.

Upvotes: 0

Views: 213

Answers (3)

user784435
user784435

Reputation:

I would really recommend using a boilerplate template https://github.com/coto/gae-boilerplate This would give you the layout and template structure for developing useful and professional sites

Upvotes: 1

Joe Beda
Joe Beda

Reputation: 2761

You should work through the getting started docs at the AppEngine site. Specifically around templates: http://code.google.com/appengine/docs/python/gettingstarted/templates.html.

Upvotes: 4

Sudhir Jonathan
Sudhir Jonathan

Reputation: 17526

Use the Django templates - the module comes built in with the app engine. I've used it here on line 42. The template used is here.

Upvotes: 2

Related Questions