Why should I make sure it is not an HTML file. It actually may be one
in some cases. Is this bad?

On Mar 16, 1:34 am, djidjadji <[email protected]> wrote:
> Make sure it's not a static HTML file
>
> file = open('blabla.html')
> content = file.read()
> file.close()
>
> 2009/3/16 jago <[email protected]>:
>
>
>
> > Hi,
>
> > There is a html-file whose content I want to use inside the app
> > engine. Whats the python code to get this file as a string?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to