import sys sys.path.insert(0,'/users/figo/public_html/wsgi') #activate_this ='/users/figo/public_html/wsgi/stud/.virtualenv/bin/activate_this.py' #with open(activate_this) as file_: # exec(file_.read(), dict(__file__=activate_this)) from stud import app as application