import os, sys

curdir, curfile = os.path.split(os.path.abspath(__file__))
parentdir = os.path.normpath(os.path.join(curdir, '..'))
sys.path.append(parentdir)

os.environ["DJANGO_SETTINGS_MODULE"] = "eyebrowse.settings"
add a setup_django file for scripts folder. import this in first line of any script in this folder so it can run from the shell