import os basedir = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))