[google-appengine] Re: How to list the files in a static directory?

2009-01-25 Thread Rodrigo Moraes
On Sun, Jan 25, 2009 at 2:00 PM, KillIEbrowser wrote: > I'm thinking to put the static files into the "templates" folder: > > open http://shell.appspot.com/ > > type: > import os > os.listdir("templates") by static files i mean those files declared static in app.yaml, independently of the file ty

[google-appengine] Re: How to list the files in a static directory?

2009-01-25 Thread KillIEbrowser
I'm thinking to put the static files into the "templates" folder: open http://shell.appspot.com/ type: import os os.listdir("templates") If I can make a web-app to serve the files into this folder, is it ok? On Jan 25, 10:49 am, Martin wrote: > Hello, > > I am playing with Google App Engine

[google-appengine] Re: How to list the files in a static directory?

2009-01-25 Thread Rodrigo Moraes
On Sun, Jan 25, 2009 at 7:49 AM, Martin wrote: > When I run this code locally on my machine, everything is alright. I > have my Python script at the root of the directory and it walks the > files under the data directory. However, when I upload and run the > exact same code in GAE, it doesn`t work