def remove_plugin(self, f):
        """Remvoing a deleted plugin.

        Args:
            f: the filepath for the plugin.
        """
        if f.endswith('.py'):
            plugin_name = os.path.splitext(os.path.basename(f))[0]
            print '- %s %sREMOVED' % (plugin_name, color.Red)
            print '\t%sNote: still in memory, restart Workbench to remove...%s' % \
                  (color.Yellow, color.Normal)
def remove_plugin ( self , f ) : if f . endswith ( '.py' ) : plugin_name = os . path . splitext ( os . path . basename ( f ) ) [ 0 ] print '- %s %sREMOVED' % ( plugin_name , color . Red ) print '\t%sNote: still in memory, restart Workbench to remove...%s' % ( color . Yellow , color . Normal )
Remvoing a deleted plugin.

        Args:
            f: the filepath for the plugin.