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:
Assuming you want to access folder named xzy two folders up your python file. This works for me and platform independent.
".././xyz"