def METHOD_NAME(self):
    self._args_defined, self._args_remaining = self._parser.parse_known_args()
    self._logger.debug("defined args\n" + str(self._args_defined))
    self._logger.debug("remaining args\n" + str(self._args_remaining))
    self._current_dir = os.getcwd()
    #self._script_dir = os.path.dirname(os.path.abspath(__file__))
    # Robustly get this script's directory, even when started by exec or execfiles:
    script_rel_path = inspect.getframeinfo(inspect.currentframe()).filename
    self._script_dir = os.path.dirname(os.path.abspath(script_rel_path))