Skip to content Skip to sidebar Skip to footer

Import Custom Package In Python Google App Engine

OK guys I can't find a solution anywhere for my problem, and I hope the solution is a simple one. Previously I had a flat file system for my gae project with no folders. I've been

Solution 1:

I think the problem is that you need to explicitly import site1_ripper unless it's specified in __init__.py. Make your main import be:

import SiteCrawlers.site1_ripper

Solution 2:

In your main file try:

from SiteCrawlers.site1_ripper import siteCrawler

classUpdater(webapp.RequestHandler):
    defget(self):
        siteCrawler()

Post a Comment for "Import Custom Package In Python Google App Engine"