def get_plugins(self, force=False):

        if self.plugins_loaded == False:
            self.plugins_loaded = load_plugins(self.debug)
        elif force:
            if self.debug:
                print("Forced reloading of plugins")

            # For Python2/3 compatibility
            try:
                # Python2
                reload(plugins)
            except NameError:
                # Python3
                from imp import reload
                reload(plugins)

            self.plugins_loaded = load_plugins(self.debug)

        return self.plugins_loaded
Returns a list of loaded plugins
dataset/ETHPy150Open markjones112358/dmenu-extended/dmenu_extended.py/dmenu.get_plugins