importosimportrangerdefrelpath(*paths):"""returns the path relative to rangers library directory"""returnos.path.join(ranger.RANGERDIR,*paths)defrelpath_conf(*paths):"""returns the path relative to rangers configuration directory"""returnos.path.join(ranger.CONFDIR,*paths)