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