code: def _guess_caller():
      
      import inspect
      global _caller_path
  
      caller = inspect.stack()[1]
      caller_module = inspect.getmodule(caller[0])
      if hasattr(caller_module, '__file__'):
          _caller_path = os.path.abspath(caller_module.__file__)
      return _caller_path
docs: try to guess which module import app.py