import sys sys.path.insert(0, '/var/www/stock.tetalab.org') from stock_tetalab import app as application