You cannot access the static files in app engine.
http://code.google.com/appengine/docs/configuringanapp.html#Static_File_Handlers

If you need to read your image, keep it with the application files or
in the datastore.

Alex
--
www.muspy.com

On Nov 20, 6:12 am, charles <[EMAIL PROTECTED]> wrote:
> I tried to create a image object:
>  avatar = images.Image(os.path.join(os.path.dirname(__file__),'images/
> head.jpg')
> but this will lead to error, can anyone help me with this?
--~--~---------~--~----~------------~-------~--~----~
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