def define(self, name, default=None, type=None, help=None, metavar=None,
               multiple=False, group=None, callback=None):
        if name in self._options:
            raise Error("Option %r already defined in %s" %
                        (name, self._options[name].file_name))
        frame = sys._getframe(0)
        options_file = frame.f_code.co_filename
        file_name = frame.f_back.f_code.co_filename
        if file_name == options_file:
            file_name = ""
        if type is None:
            if not multiple and default is not None:
                type = default.__class__
            else:
                type = str
        if group:
            group_name = group
        else:
            group_name = file_name
        self._options[name] = _Option(name, file_name=file_name,
                                      default=default, type=type, help=help,
                                      metavar=metavar, multiple=multiple,
                                      group_name=group_name,
                                      callback=callback)
Name of the current running app.
dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/options.py/OptionParser.define--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/__init__.py/MediaPlayerDevice.app_name