Make sure it's not a static HTML file
file = open('blabla.html')
content = file.read()
file.close()
2009/3/16 jago :
>
> 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?
> >
>
--~--~-~--~~--
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 wrote:
> Make sure it's not a static HTML file
>
> file = open('blabla.html')
> content = file.read()
> file.close()
>
> 2009/3/16 jago :
>
>
>
> > Hi,
>
> > There is a
Static files are stored differently on GAE. You can't open them in
your python code.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appengine@go