[Salim Zayat] > But if you wanna import the module, then the path to the open statement > needs to be full path to the file. Is there a fix to this? Put it in a package and use __path__. Consider: /site-packages/ /a/ __init__.py # __init__.py pass This means you can do this: import a print a.__path__[0] // mark