First time here? Check out the FAQ!

Revision history  [back]

You can figure this out by

import askbot
import os.path
ASKBOT_DIR = os.path.dirname(askbot.__file__)

If you want to find where the settings file is, then use the same trick in the settings.py file and store that file name in an additional setting.