I have a module with a function below I use __name__ to return the module name. However, when I call the function from outside, it returns '__builtin__'. Is there a way to have this function return the module name regardless of where it is called? def myName(): return __name__ Thanks! Clark