Much thanks for helps!

Yes I put an empty __init__.py in that folder and it is fine now.

On Jan 4, 1:36 am, gops <patelgo...@gmail.com> wrote:
> the usual mistake i make is to put __init__.py file in that folder...
>
> On Jan 3, 12:30 pm, Youngfe <ywfee...@gmail.com> wrote:
>
> > I have a file(xPhotoHandler.py) with following codes inside:
>
> > from google.appengine.ext import webapp
> > from google.appengine.api import users
> > from xphoto import xPhoto
> > class xPhotoHandler(webapp.RequestHandler):
> >    def get(self):
> >         pass
>
> > I have defined xPhoto class in file(xphoto.py) in the my app root
> > folder
>
> > but when I call from web there's an error show as below:
>
> > xphoto undefined, xPhoto undefined
>
> > I don't know why? Can anyone help it out? Thanks!
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to