Ok...I dont know where module x is, but I know that I need to get the path to the directory two levels up.
x
So, is there a more elegant way to do:
I have found that the following works well in 2.7.x
import os two_up = os.path.normpath(os.path.join(__file__,'../'))